tag:blogger.com,1999:blog-28517886403722505522024-03-05T22:35:16.088-08:00rixmatRixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-2851788640372250552.post-29964425130029393862018-02-20T17:51:00.001-08:002018-02-20T17:51:38.807-08:001:Reviving the habit of writing<div dir="ltr" style="text-align: left;" trbidi="on">
It's been a long time since I wrote my last blog. Of late I have been inspired by looking at some good blogs and how people are able to express their thoughts using choice words. Maybe it requires a calmer mind which has ability to synthesise words better. I hope to write more frequently and express thoughts in a much better manner.<br />
<br />
I recently started listening to Pink Floyd again. When I had started to listen to classical rock they used to be one of my favourite bands. On listening to Pulse album I realised why I liked their sound so much. It helps me beat the the blues out of the commute. The clean crunching sound of David Gilmour's guitar transports you to another dimension. Words like psychedelic are not difficult to recall when I hear that. I have always been fascinated by the sounds of Guitar and this just reinforces that fascination. It is time that I should revive that habit </div>
Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-75706114476678940932012-12-11T03:03:00.001-08:002012-12-11T03:03:39.792-08:00Who is Wayne Gretzky.<div dir="ltr" style="text-align: left;" trbidi="on">
"I skate to where the puck is going to be, now where it has been". I got this quote while I was reading the book Presentation Secrets of Steve Jobs. I was intrigued but I could guess that he must be an ice hockey player since the term puck is used in that context. A little search in Wikipedia confirmed my guess that he is an ice hockey player. Now He is not just any ice hockey player but rather that greatest ice hockey player.<br />
<br />
You can read more about Wayne Gretzky <a href="http://en.wikipedia.org/wiki/Wayne_Gretzky">@ Wikipedia</a>. Ice Hockey as I know is fun for the part where players can officially hit other players. Wayne is of the view that fighting in hockey is not good. That's great for the sport but for people with weak association skills it takes away a great crown from the same.<br />
<br /></div>
Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-75942915270773752382011-11-22T09:58:00.000-08:002011-11-22T10:13:02.654-08:00Code that generates codeOne satisfying exercise that I carried out today was to automate a seemingly mundane task :-) Using Velocity templates and some reflection in Java I was able to create a bunch of Transfer Objects from Java classes to Objective C source code. No verbose xmls were required but just the jar containing the classes and voila. 234 Objective C classes generated in under 10 secs.<div><br /></div><div>With the prevalence of patterns in programming and seemingly routine stuff that we write one way to make things interesting would be to not write the code itself but write code generators that produces the required code. This would be especially valuable in code bases where multiple modules all have similar code but differ only due to the attributes of the source classes. </div><div><br /></div><div>Thinking in terms of meta programming would also mean that LOC's of generated code does not matter. If you can do it for 1 class then you can do it for any number of classes. </div><div><br /></div><div>Some things I see as a potential problem </div><div>1) Version history of the generated classes would be meaning less. They would be a by product of code generators version history</div><div>2) Exceptions in logic individual modules would lead to lot of branching in code generators.</div><div><br /></div><div>I feel that the typical service calls, data mapping from layer to layer etc. are excellent candidates for Code generation. This also would be much much more interesting than simply churning out routine code.</div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-33015620018436149202011-11-15T10:35:00.000-08:002011-11-15T11:02:29.350-08:00Dichotomy of FameSince the music of Rockstar has released I have must listened to the entire album atleast 50 times. The album is incredibly deep and Mr. Rahman never ceases to surpass himself. While enough has been written about the popular numbers sung by Mohit Chauhan , there are few other hidden gems too. The two instrumental tunes that are equally brilliant are the Tango for Taj and Dichotomy of fame.<div><br /></div><div>Dichotomy of Fame is a beautiful layered song with a classical guitar and nadaswaram. The subdued plucks of the nylon string adds a wonderful life to the soulful sound of nadaswaram. The way these two instruments alternate as lead instrument is seamless. You can almost visualize a spanish beauty swaying to the music. The melody of nadaswaram seems heard before but the guitar's backing sound gives the song a unique feel. And as it is with many songs of Mr. Rahman the diverging melodies resonate into a brialliant finale as sound progresses. You just think that this is how its meant to be.</div><div><br /></div><div>All you guitarists/keyboardist's this is a wonder song to transcribe</div><div><br /></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-26597467561384857192011-11-14T11:38:00.000-08:002011-11-15T10:15:42.198-08:00TSP and TDD<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3SNXfeNxKpk42rxFucJV9S24YL7wO9zp_3vS9hP36nYD6x6hKJt1as8GIw1lTPEKIgvz3n4NzMbXbZd74SEXMegHcGQggZs1V_jCnR5VvLGO7Y-Be5LtuJjSOK9jfY4YDLHW5yrusk2Ok/s1600/tsp.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3SNXfeNxKpk42rxFucJV9S24YL7wO9zp_3vS9hP36nYD6x6hKJt1as8GIw1lTPEKIgvz3n4NzMbXbZd74SEXMegHcGQggZs1V_jCnR5VvLGO7Y-Be5LtuJjSOK9jfY4YDLHW5yrusk2Ok/s320/tsp.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5675283470308984962" /></a><br />One of the goals I had started this year was to model the Travelling Salesman Problem as a Coding Kata exercise. The benefit of the same would be three fold<div>1) Get an exposure in trying to solve the problem</div><div>2) Get a hang of modelling the problem using OOPS</div><div>3) Using TDD to develop the solution</div><div><br /></div><div>While I have not solved the problem fully the solution developed till date is satisfying. The classes that have been created seem to be apt for the job that they are doing. They are not too verbose and following TDD has resulted in beautiful abstractions. The solution developed till date has flexibility to use multiple algorithms to solve the problem and at the same time can visualize the solution</div><div><br /></div><div>While reading about TSP came across a lot of other interesting facts namely </div><div>a) Seven bridges of Konigsberg</div><div>b) Hamilton path</div><div><br /></div><div>Rather than doing old age CRUD problems liked Library Management and others we should have folks practice algorithms and solve them using computer programs. I think that's a more involved exercise and keeps everybody interested. It's especially fun to pair up with and try solving the problem</div><div><br /></div><div>Project available on github @</div><div><a href="https://github.com/rixonmathew/tsp">https://github.com/rixonmathew/tsp</a></div><div><br /></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-35616234208138136402011-11-12T07:41:00.000-08:002011-11-15T10:21:48.534-08:00Setting up a Mac machine<p class="MsoNormal" style="text-align:justify"></p><p class="MsoNormal">For quite some time I was thinking about getting a Mac based machine. My interest was primarily for learning the Mac and the iOS platform. I had made quite a lot of investment on Win and Linux based platforms so wanted to keep the cost to as minimum as possible</p><p class="MsoNormal"><br /></p><p class="MsoNormal">There are quite a few devices available for Mac</p><p class="MsoNormal"><span class="Apple-tab-span" style="white-space:pre"> </span>1) iMac : All in one desktop costing around Rs 70-90k</p><p class="MsoNormal"><span class="Apple-tab-span" style="white-space:pre"> </span>2) Macbook Pro: Sturdy and sleek laptops. If you have the cash for the same go for it. It starts from Rs 70k and goes till Rs 125k</p><p class="MsoNormal"><span class="Apple-tab-span" style="white-space:pre"> </span>3) Macbook Air : Sleek and stylish. I found it too fragile for my use</p><p class="MsoNormal"><span class="Apple-tab-span" style="white-space:pre"> </span>4) Macbook: It’s basically one notch below the pro and costed close to Rs 60k. Not worth it.</p><p class="MsoNormal"><span class="Apple-tab-span" style="white-space:pre"> </span>5) Mac Mini. Just the core of a Mac machine with no display/keyboards/tracking device. Incredibly small box. Costs around Rs 34k</p><p class="MsoNormal"><br /></p><p class="MsoNormal">After spending close to 2 hours at the shop I finally decided to go with Mac Mini. I persuaded myself by promising that with the extra Rs 40k I saved ( by not going for a Macbook pro) I can gift myself a iPad2 J</p><p class="MsoNormal"><br /></p><p class="MsoNormal">While a simple USB keyboards and mouse will do I will recommend an apple keyboard and magic trackpad.</p><p class="MsoNormal"><br /></p><p class="MsoNormal">The experience on Mac so far has been satisfying. I was able to setup the internet connection connect to a monitor using the bundled HDM to DVI adaptor. I was also able to hook up the internet connection using photon+. I had to get the dashboard software from Huawei site.</p><p class="MsoNormal"><br /></p><p class="MsoNormal">Xcode is a huge software ( almost 3 gigs). However my primary objective in getting a mac was to get the hang of Objective C and iOS platform so I did not have a choice.</p><p class="MsoNormal"><br /></p><p class="MsoNormal">I have a Viewsonic monitor ( VA2226w) and it has both DVI and VGA pins. So I have hooked my mac and win based machine to the same display and can swich from one to other at a click of a button.</p><p class="MsoNormal"><br /></p><p class="MsoNormal">Win7 is not all that bad but there is no clean option to try out iOS development and entire java setup with all app servers db’s ide’s are in Win environment. Additionally I have a host of virtual machines within windows ( Solaris, Slackware, Ubuntu etc.) which are handy</p><p></p> <p class="MsoNormal" style="margin-left:.25in;text-align:justify"><o:p> </o:p></p> <p class="MsoNormal" style="margin-left:.25in;text-align:justify"><o:p> </o:p></p> <p class="MsoNormal" style="text-align:justify"> <o:p></o:p></p> <p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-56572441798768032102011-01-23T09:26:00.003-08:002011-01-23T09:55:17.536-08:00Arthur and ZachThere was a great bang. Nobody heard it. Arthur heard it. Zach reacted. Nobody was sure whether it's real or not . I liked it. A bang at the start makes me feel like the narrator with booming voice.<div><br /></div><div>"It's a dream. I am going to wake up any minute now" thought Arthur. </div><div>It was not a dream. I did not wish my characters to think that my imagination is their dream. Arthur woke up. He rubbed his eyes and slapped himself hard. I was happy</div><div><br /></div><div>Well getting back to the bang let me proceed with the story. It's not everyday that the characters you make up have a say in how the story proceeds. What's the fun in being a writer then.</div><div><br /></div><div>" You are going to miss the bus , Zoe. Move it now !!!" yelled Arthur. Zach scratched a bit. </div><div>" Who the hell is Zoe?" I wondered. </div><div><br /></div><div>Zoe was Arthur's 8 year old daughter. I was surprised and angry. Surprised because this was my story and no character got created without me creating it. Angry as Arthur seemed to have found a will of his own.</div><div><br /></div><div>"It's all good!!" I calmed myself. Arthur looked me in the eye. I wished to make peace. I could have bought Mount Everest on top of him but was not sure where to take my story from there. Zoe was pretty like any 8 year old. She was all set up in her little checkered uniform complete with bag, lunch bag and water bottle.</div><div><br /></div><div>"Bye Daddy" chimed Zoe as she boarded the bus. Maybe the bang must be the loud honking of big yellow bus. </div><div><br /></div><div>It was a nice day. Warm and sunny. A nice breeze flowing over the garden nearby bought the fresh whiff of air. Arthur stayed there for a moment. " I am going to enjoy this day. I am going to enjoy this day come what may!".</div><div><br /></div><div>I cleared my throat. I expected a reaction from him. I am your creator. I did not sense a tone of request or prayer in what Arthur said. Arthur went back in.</div><div><br /></div><div>"Did you actually go till the school to drop Zoe off??" inquired Holly, rather sternly. I smiled. Arthur snapped as if he head heard a ghost. " Who the hell are you?? " Arthur stammered. </div><div><br /></div><div>" Meet your wife, son" I whispered. </div><div><br /></div><div>"Take Zach out before he pees all over the house" came another round of orders. </div><div><br /></div><div>Pretty soon both master and dog were out. There was nothing better any one of them could have done at that moment. I felt content. </div><div><br /></div><div>What I was feeling after doing this was well in the spectral range between benevolence and ruthlessness. Another day another way.</div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-86215622265681939582010-12-24T21:59:00.001-08:002010-12-24T22:18:56.779-08:00The last week of the yearThe thing with getting old is that you that like to look back. The more you old you get the more you like to look back because the more there is to see. Well, let me get to the point. the last week of the year generally tends to unfold the same way every where. The anticipation of the new and the reality of the past often puts people in decisive mode. <div><br /></div><div>It's been 3 score years on this planet and I still feel sometimes that I have not drafted a course that I can look back at and figure out where this will lead to. Life it seems has its own course that we are following. It's not destiny but I am sure there is some amount of control that we are not aware of. Is it God or is it chance? </div><div><br /></div><div>Well I am more philosophical than I used to be (Another definite sign of getting old) but I can't help wonder. Solomon the wise king of the old testament lamented " Everything is vanity, vanity of all vanities". I feel the same (Of course that does not put me in the same league ;-)). It definitely helps to see what have we done for the year that is not vanity. What should we do to control the controllable outcome of our actions. Perhaps its time to to submit ourselves to the higher power within us to discern what truly will hold and create a course. </div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-57863282222842343972010-08-08T09:13:00.000-07:002010-08-08T09:40:40.797-07:00Comment trailsThe digital world has grown at break neck speed. The amount of information and channels to create more information is growing like an expanding spiral. Blogs, news sites, tech sites, social networking sites and the likes have become a mine where majority of netizens spend a significant amount of time either contributing or being influenced by it <div><br /></div><div>One particular area that has caught my attention is the comment trails that are being generated . Collaborative information authoring ( made popular by Wikipedia) seems to be at play here as well. The whole world of facts for a given point of view seems incomplete without the thousands of comments posted under interesting names. It's quite an experience reading the trail and trying to understand the polarized positions of the readers and the unsubstantiated facts provided in the feedback. While consciously you keep telling yourself that there is no basis for what is being written an opinion starts forming deep in your sub-conscious. And soon enough this image gets associated with that fact in your memory. And further down the line your decisions will be influenced by this</div><div><br /></div><div>Somehow we humans have more faith in these trails than the main article itself. I guess it's somehow because of the exaggerated world that the advertisement fraternity has created that it's impossible to take anything at a face value. In such cases there is more faith in what a user has to say about an aspect. The more such feedbacks the more we begin to form opinions. Site's like Glassdoor, mouthshut etc. have made a business out of this.</div><div><br /></div><div>These comment trails are not just vents for the suppressed souls who amplify their voice through the voice of the anonymous. One of the most respectable software services companies in the world is a victim of such a trail that has caused a perception change as well as policies being enforced preventing employees from engaging in such an exercise. With the power of changing the tide I wonder how soon before this form gets regulated or worse exploited further. But to do anything else would be to stifle our freedom of expression, isn't it. </div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-12198065298267718482010-06-05T05:30:00.000-07:002010-06-05T05:31:16.325-07:00The carrot at the end of the stick…<p class="MsoNormal" style="text-align:justify">I consider this to be the greatest invention that man has made. Think about it. This is one single big invention that is keeping the wheels in motion. This is one biggest invention that is the fuel for the one single emotion that has kept everybody going; Hope. That emotion that keeps us all going and telling us that whatever we are running after is just round the corner while the fact is that you are as far from it as you were when you started. We mistake the occasional sway of the carrot to inspire us to stand up and move.</p> <p class="MsoNormal" style="text-align:justify">Who has tied that stick onto us? Who has decided that if the carrot were handed out to us we would be sitting ducks and there will be nothing left to run after? Who my friend, who? Well as it as said by many great people who came before us it is you. It’s you who decide that you don’t want you carrot. You want your carrot tied to a stick which is at a distance more than your reach to ensure that you can just touch it with the tip of your index finger but never grasp it. It’s your subconscious mind which thankfully is involuntary and decides what you need to run after? So get up and run. If you are lucky you might just get a whiff of the sweet smell that it emanates when you are running in top gear.</p> <p class="MsoNormal" style="text-align:justify">Now what is the greatest kick in the butt invention handed out to humans. And the answer is the horizon. Well just when we thought we knew it all and we reached there we found that what we claim to know or what we were staring at was just a horizon. There is a vast sprawling sky of unfathomable knowledge that just overwhelmed few who understood it. Are our quest to be be God and know everything ever going to be fruitful. No never; <span style="mso-spacerun:yes"> </span>It’s the carrot at the end of the stick that has been placed so firmly on our back. The delicious red and juicy carrot that is beckoning each one of us.</p> <p class="MsoNormal" style="text-align:justify"><o:p> </o:p></p>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-42846620759649162382010-04-13T08:12:00.000-07:002010-04-13T08:19:37.936-07:00Creating InertiaWhile thinking about many things that I think this one little thought popped up in my mind. Why is it so difficult to change? My mechanical degree in engineering immediately supplied me the answer. Inertia. Its not just a an intangible phenomenon that keeps a gyroscope alive. Its the restraining force that resists change.<div><br /></div><div>But then the almost the next moment I argued that Inertia is not just a restraining force but a balancing and guiding force. I wish to be at a certain level. To reach there I have to overcome the inertia at my current level. Once I reach the level that I need to be I can relax only when the Inertial force will keep me at that level. Else almost immediately back to my current level. So to be at whatever level we need to calculate how much inertial force we need to overcome. A great philosopher once said " We are what we do; Excellence therefor is not an act but a habit". I think he was also alluding to creating inertia.</div><div><br /></div><div><br /></div><div>PS: While googling for the term "create inertia" I came across this blog of my former company. <a href="http://www.infosysblogs.com/ea/2010/01/transformation_inertia_and_ent_1.html">http://www.infosysblogs.com/ea/2010/01/transformation_inertia_and_ent_1.html</a>. It talks about the same thing but more in the context of Trasnformation @ an enterprise level.</div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com1tag:blogger.com,1999:blog-2851788640372250552.post-2241486649018023822010-04-12T19:25:00.001-07:002010-04-12T19:30:14.841-07:00Executing private methods of an objectFor a long time I thought Private methods of a class cannot be called outside of the class. That was till I read Effective Java. I gave this a try and voila. I could. <div><br /></div><div>Here is a simple class and corresponding main code to execute private method. pretty cool. So the next time you do not want your private method to be called at all consider throwing an Exception from within the method.</div><div><br /></div><div><span class="Apple-style-span" style="font-family:'courier new';">MainWrapper.java</span></div><div><span class="Apple-style-span" style="font-family:'courier new';">=============</span></div><div><div><span class="Apple-style-span" style="font-family:'courier new';">package com.rixon.scjp.samples;</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">import java.lang.reflect.AccessibleObject;</span></div><div><span class="Apple-style-span" style="font-family:'courier new';">import java.lang.reflect.Method;</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">public class MainWrapper {</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">public static void main(String[] args) throws Exception</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">Simple s = new Simple();</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">//s.mePublic();</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">Method[] m = Class.forName("com.rixon.scjp.samples.Simple").getDeclaredMethods(); //Simple.class.getMethod("mePublic",);</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">for(Method m1:m)</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">System.out.println(m1.getName());</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">if (m1.getName().equals("mePrivate"))</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">try {</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">AccessibleObject[] a = {m1};</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">AccessibleObject.setAccessible(a,true);</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">System.out.println("invoking");</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">Object[] o = new Object[]{};</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">m1.invoke(s,o);</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">} catch (Exception e) {</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">e.printStackTrace();</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">Simple.java</span></div><div><span class="Apple-style-span" style="font-family:'courier new';">========</span></div><div><div><span class="Apple-style-span" style="font-family:'courier new';">package com.rixon.scjp.samples;</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">public class Simple {</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">Simple()</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">System.out.println("hello");</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">public void mePublic()</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">System.out.println("public");</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">private void mePrivate()</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">{</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">System.out.println("private");</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span><span class="Apple-style-span" style="font-family:'courier new';">}</span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-family:'courier new';"> </span></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">}</span></div></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-78349629885562612782010-03-29T11:06:00.000-07:002010-03-29T18:44:41.660-07:00The empty erudite<p class="MsoNormal" align="center" style="text-align: justify;text-indent: 0.5in; "><span class="Apple-style-span" style=" line-height: 13px; "><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">Duan McLblitz was distraught. Human spirit maybe strong in fables and self help books but the things you are accustomed for decades better not change when the spirit lives in a body that loves the idea of inertia. The highly chatty brain was brimming with quotes to match the emotion. The one thought that kept popping up every third beat seemed to sound like “Ignorance is bliss”</span></span></span></p> <p class="MsoNormal" style="text-align:justify"><span style=" line-height:115%;Verdana","sans-serif""><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">Duan was a self made man. He was born in times where you don’t want to know about. He was born in a country you don’t talk about. His childhood was spent in coal mines and dark alleys. Although not being able to afford a pair of clean clothes his love for books and things he could not understand was indefatigable. A group of old heads were all the education that he had and he lapped it up like a panting dog presented with ice cream. In no time he was part of that group and learned to talk about everything under the sun.<o:p></o:p></span></span></span></p> <p class="MsoNormal" style="text-align:justify"><span style=" line-height:115%;Verdana","sans-serif""><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">Jeff, Duan’s grandson had casually remarked “Grandpa, all the things you used to tell about meta physical aspects of Universe and their unintended effect on the rationality of economic sustenance of the world is being made into a song by Pussy Cat Dolls”. He had a twinkle in his eyes and Duan knew that he did not understand a word of what Jeff said. For the first time since he could not remember whence Juan was not able to understand and counter spoken words. He closed his eyes and wished for the first time his head would go to sleep.</span></span><o:p></o:p></span></p>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0tag:blogger.com,1999:blog-2851788640372250552.post-59645599078465637042009-12-05T07:43:00.000-08:002009-12-05T08:34:48.864-08:00The problem with binary way of thinking..One of my most favorite movies of all times is the "The Matrix" trilogy. I just love the idea of a super advanced world where entire reality that we know of is a fabrication. It changed my thinking about the possibilities in the future. One of the things that struck me out was the basis of this artificial world i.e Choice. It is essentially the manifestation of the binary. <div><br /></div><div>Well as we all know at the core of every computer is a bit. its either 0 or 1. That's how the digital world has simplified the real world. By building upon this we have moved forward at an amazing pace. What has been achieved in last couple of decades is simply mind boggling. I am grateful for that </div><div><br /></div><div>For any scientific exercise it is imperative to create a model to do away with some unwanted complexities while dealing with the problems. But we like it or not the reverse is becoming true. A common adage goes that art imitates life but now life has started imitating art. An increasing number of people I know think in a binary fashion. Its either good or bad, its either simple or complex. We either win or lose, it either can be done or can't be done. I can go on and on. What i hear and see is choice. Everybody around us is either making a choice or is expecting others to make a choice. </div><div><br /></div><div>Inadvertently our lives represent a binary tree where people are creating choices and constraining themselves. Imagine a world which is not constrained by choices created by few but everybody free from this shackle of thinking in terms of choices. To quote Merovingian from Matrix "Choice is an illusion created between those with power and those without power". I couldn't agree more.</div><div><br /></div><div>Another problem with the binary way of thinking is how a lot of context around your end results gets lost because the focus is just on the end result. To simplify this further consider a sporting match in which a team wins and another loses. In the end we all remember is who won. The information on how spectacular the contest was or how hard fought it was lives in the minds of people who have seen it for a while. As we are thrusting more and more of our lives information into the hands of digital servants I wish there was a way to move away from binary to continuum way of thinking. We are so enslaved to the computers that someday a generation might start thinking beyond choices in trying to imitate the computers</div><div><br /></div><div>( Note: Is there a word that alludes to a person or phenomenon that gets imitated/copied by majority of people. For e.g MJ's moon walk that's been copied by millions. In terms of subject and predicate if the people who are copying are called imitators what would MJ be called as?)<br /><div><br /></div><div><br /></div></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com3tag:blogger.com,1999:blog-2851788640372250552.post-74277558130926812552009-11-29T08:31:00.000-08:002009-11-29T08:38:54.513-08:00I raise my hand to say..<span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">Hello World. These two words have generally been my opening lines while trying out new programming languages. Well I use these today to reach out to all the bloggers out there. Being an active blogger has been on my wish list for quite some time. I am taking the first step today. Hope this forms part of my routine.</span></span><div><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div><div><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">I am generally at a loss when I have to make a start. Be it with anything. I have lot of apprehensions on whether will it unfold as it should. A lot of my plans are hence gathering dust in my shelves. </span></span></div><div><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div><div><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family:'courier new';">I want to write about many things that both fascinate me and that which I wish to be educated more about. I always love to imagine learning multiple subjects the way I studied in school and college. I wish I could devote equal times to Economics, Music, Computer Science and Christianity the way I studied English, Maths, Science and History. Well unfortunately my brain has been working other way. Keep watching this space for more. </span></span></div>Rixonhttp://www.blogger.com/profile/10125433450615351209noreply@blogger.com0