<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8546485</id><updated>2011-09-28T19:24:16.360-07:00</updated><title type='text'>Unhandled Exception</title><subtitle type='html'>Not so exceptional thoughts about books, software and life in general</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8546485.post-113065611908720453</id><published>2005-10-29T23:56:00.000-07:00</published><updated>2005-10-30T00:30:22.383-07:00</updated><title type='text'>The song of the Free</title><content type='html'>'Freedom' - the word does not have any meaning until and unless stated as Freedom from &lt;span style="font-style: italic;"&gt;something.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;This 'something' is an overloaded term. It might hold the dreams and aspirations of an individual, the collective will of a nation, or just the plain urge to do whatever you want to do.&lt;br /&gt;&lt;br /&gt;Why do we have this urge to be free? to be free from what?&lt;br /&gt;Swami vivekananda's 'the song of the free' explores what it really means to be free:&lt;br /&gt;&lt;blockquote&gt;&lt;p class="regulartext"&gt;. . .&lt;/p&gt;&lt;br /&gt;  &lt;p class="regulartext"&gt; The beauteous earth, the glorious sun,&lt;br /&gt;The calm sweet moon, the spangled sky,&lt;br /&gt;Causation's laws do make them run;&lt;br /&gt;They live in bonds, in bonds they die.   &lt;/p&gt;    &lt;p class="regulartext"&gt; And mind its mantle dreamy net&lt;br /&gt;Cast o'er them all and holds them fast.&lt;br /&gt;In warp and woof of thought are set,&lt;br /&gt;Earth, hells, and heavens, or worst or best.   &lt;/p&gt;    &lt;p class="regulartext"&gt; Know these are but the outer crust--&lt;br /&gt;All space and time, all effect, cause.&lt;br /&gt;I am beyond all sense, all thoughts,&lt;br /&gt;The witness of the universe.   &lt;/p&gt;    &lt;p class="regulartext"&gt; Not two or many, 'tis but one,&lt;br /&gt;And thus in me all me's I have;&lt;br /&gt;I cannot hate, I cannot shun&lt;br /&gt;Myself from me, I can but love.   &lt;/p&gt;    &lt;p class="regulartext"&gt; From dreams awake, from bonds be free,&lt;br /&gt;Be not afraid. This mystery,&lt;br /&gt;My shadow, cannot frighten me.&lt;br /&gt;Know once for all that I am He.&lt;br /&gt;  &lt;/p&gt;                  &lt;/blockquote&gt;&lt;br /&gt;Source: &lt;a href="http://www.vivekananda.org/readings.asp"&gt;Vivekananda Vedanta Network&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-113065611908720453?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/113065611908720453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=113065611908720453' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/113065611908720453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/113065611908720453'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/10/song-of-free.html' title='The song of the Free'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112651891927159996</id><published>2005-09-12T02:45:00.000-07:00</published><updated>2005-09-13T22:05:15.916-07:00</updated><title type='text'>What will you become when you grow up</title><content type='html'>When he was a kid, he used to think he will become a train driver (preferably steam engine) when he grew up&lt;br /&gt;&lt;br /&gt;When he was in primary school, he thought he will become a civil engineer and build big dams when he grew up&lt;br /&gt;&lt;br /&gt;When he was in college, he thought he will earn huge money and do cutting edge work in computer science when he grew up a bit more&lt;br /&gt;&lt;br /&gt;Now that he is working, he thinks he will start a company when he has grown up a bit more&lt;br /&gt;&lt;br /&gt;When is he going to grow up? Will he achieve what he thinks?&lt;br /&gt;&lt;br /&gt;As a kid his imagination knew no bounds, as he grew up his thinking got marginalised by responsibilities and his own mind.&lt;br /&gt;&lt;br /&gt;Ultimately will he get used to all this, and get into the dull routine of ordinary existence?&lt;br /&gt;&lt;br /&gt;Can the 'kid' in him come out of the boundaries he has set himself?&lt;br /&gt;&lt;br /&gt;Can he find way which meets the aspirations and does not deviate from the responsibilities?&lt;br /&gt;&lt;br /&gt;Will he again grow up to become a 'kid' knowing no boundaries?&lt;br /&gt;&lt;br /&gt;PS: Here 'he' refers to any one who has undergone this thought process, not just me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112651891927159996?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112651891927159996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112651891927159996' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112651891927159996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112651891927159996'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/09/what-will-you-become-when-you-grow-up.html' title='What will you become when you grow up'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112425826844059117</id><published>2005-08-16T22:54:00.000-07:00</published><updated>2005-08-16T23:00:51.236-07:00</updated><title type='text'>Forest Gump</title><content type='html'>Watched 'Forest Gump', to say that it is amazing would be an understatement...&lt;br /&gt;&lt;br /&gt;Some quotes from the movie:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Forest Gump: Now the really good thing about meetin' the President of the United States is the food.&lt;br /&gt;&lt;br /&gt;Forest Gump: Momma always said life was like a box of chocolates. You never know what you're gonna get.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Forest Gump: Mama always said, dying was a part of life&lt;br /&gt;&lt;br /&gt;Bubba: My given name is Benjamin Buford Blue, but people call me Bubba. Just like one of them ol' redneck boys.&lt;br /&gt;Forrest Gump: My name's Forrest Gump. People call me Forrest Gump.&lt;br /&gt;&lt;br /&gt;Forrest Gump: My Mama always said you've got to put the past behind you before you can move on.&lt;br /&gt;&lt;br /&gt;Forrest Gump: What's my destiny, Mama? &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Mrs. Gump: You're gonna have to figure that out for yourself.&lt;br /&gt;&lt;br /&gt;Jenny Curran: Do you ever dream, Forrest, about who you're gonna be?&lt;br /&gt;Forrest Gump: Who I'm gonna be? &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Jenny Curran: Yeah.&lt;br /&gt;Forrest Gump: Aren't-aren't I going to be me?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112425826844059117?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112425826844059117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112425826844059117' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112425826844059117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112425826844059117'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/08/forest-gump.html' title='Forest Gump'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112373809006904790</id><published>2005-08-10T21:57:00.000-07:00</published><updated>2005-08-11T21:41:38.700-07:00</updated><title type='text'>Googling</title><content type='html'>&lt;em&gt;[The term '&lt;a href="http://sfgate.com/cgi-bin/article.cgi?f=/c/a/2005/08/09/BUG71E4S6P1.DTL"&gt;Googling&lt;/a&gt;' is in news again. This 'short-imaginative-horrible-write-up' (I dare not call it a story), was born out of my bored mind while traveling in the chaotic Bangalore traffic]&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Babu Dotbubble was in his swank office enjoying as he watched the stock price of his competitor tumble to the abyss. He had commissioned the &lt;em&gt;guys &lt;/em&gt;to go googling about the murkier past of his competitor. The data that the googling process had unraveled was more than his own expectations. And as expected when he released this 'data' to the press, the downfall of the stock started.&lt;br /&gt;&lt;br /&gt;Now that he had vanquished his competitor, he had a very few wishes that were to be fulfilled.&lt;br /&gt;&lt;br /&gt;As he leaned back on his cushy chair he saw two horrible looking men approach him, and he realized that he was not aware of his body...&lt;br /&gt;and before he could lock his computer they mailed him away to the abode of Yamaraja.&lt;br /&gt;&lt;br /&gt;He was now before Yamaraja, where his past deeds would be recounted, Though worried about the prospect of spending time in the boiling oil of Hell; He wondered about how the management at Hell maintained so many records of past deeds of so many dead people and how did they collect all this information...&lt;br /&gt;&lt;br /&gt;...to his horror Chitragupta was at a computer terminal googling about him.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;[Yamaraja and Chitragupta are Hindu mythological Gods of death, For more information there is Google]&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112373809006904790?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112373809006904790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112373809006904790' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112373809006904790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112373809006904790'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/08/googling.html' title='Googling'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112349886211453427</id><published>2005-08-08T03:52:00.000-07:00</published><updated>2005-08-08T06:27:22.023-07:00</updated><title type='text'>Change</title><content type='html'>Hello All,&lt;br /&gt;&lt;br /&gt;I have been blogging for quite some time now. Mostly I have blogged topics related to software, books and a little bit about life in general. Sometimes my posts generated a few comments, but in most of the cases the posts were in fact downright boring and nobody posted any comments :)&lt;br /&gt;&lt;br /&gt;Recently I came across a study which stated that, even though most people have interesting experiences, they do not think about them or share them with others, they just discuss about the routine life. Which is very true.&lt;br /&gt;&lt;br /&gt;So I have thought that from now on, I will write about my experiences which I have found interesting, or other's experiences if they are willing to share them here.&lt;br /&gt;&lt;br /&gt;I will not blog in greater detail about technology or things that people can find on web. I will just provide the relevant URLs.&lt;br /&gt;&lt;br /&gt;Do provide your feedback. I will start with an experience from my childhood in the next post which hopefuly should be intresting :)&lt;br /&gt;&lt;br /&gt;I am looking for a new title for my blog as well, "Me, Myself and my blog" sounds very selfish :) even though I did not mean it. It was rather inspired from the movie title "Me, Myself and Irene".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112349886211453427?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112349886211453427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112349886211453427' title='30 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112349886211453427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112349886211453427'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/08/change.html' title='Change'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>30</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112322486748235080</id><published>2005-08-04T23:42:00.000-07:00</published><updated>2005-08-05T01:58:56.973-07:00</updated><title type='text'>Asynchronous programming in C#</title><content type='html'>Long time since I posted something technical. So here I will discuss about support for asynchronous programming in C#. Do post your thoughts on how much effort this could have taken in C++? Any C++ libraries which can do this?&lt;br /&gt;&lt;br /&gt;.Net provides new simple ways to perform asynchronous programming. Asynchronous delegates provide the ability to invoke any method asynchronously. (A delegate is equivalent to a function pointer).&lt;br /&gt;&lt;br /&gt;Method parameters can be used for input or output. (C++: &amp;var pass by reference). C# refines this by introducing new keywords: out and ref.&lt;br /&gt;&lt;span style="color:#000099;"&gt;out&lt;/span&gt; states that the parameter's value set the by the method. For example, I can define a function as:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;span style="font-family:courier new;"&gt;public void Method(float param, out float multResult, out float divResult)&lt;br /&gt;{&lt;br /&gt;//...&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;and invoke it:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;float multResult, divResult;&lt;br /&gt;Method(100,out multResult,out divResult);&lt;br /&gt;Console.Writeline(multResult);&lt;br /&gt;Console.Writeline(divResult);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;We will first see how we can invoke a method asynchronously. We will also answer a doubt which might arise: 'If I invoke 'Method' asynchronously, what will be the values of out params?'&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;color:#000099;"&gt;public class AyncTest&lt;br /&gt;{&lt;br /&gt;//Define the delegate&lt;br /&gt;public delegate void AsyncDelegate(int inParam,out int outParam);&lt;br /&gt;private AsyncDelegate m_asyncDelegate;&lt;br /&gt;&lt;br /&gt;public void Test()&lt;br /&gt;{&lt;br /&gt;m_asyncDelegate = new AsyncDelegate(AsyncMethod);&lt;br /&gt;&lt;br /&gt;System.AsyncCallback asyncCallback = new AsyncCallback(OnAsyncReturn);&lt;br /&gt;&lt;br /&gt;int outParam;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;IAsyncResult result = m_asyncDelegate.BeginInvoke(2,out outParam,asyncCallback,null); &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Console.Writeline(outParam) //&lt;--- whats the result? &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;color:#000099;"&gt;result.AsyncWaitHandle.WaitOne(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;public void OnAsyncReturn(System.IAsyncResult result) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;int outParam; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;m_asyncDelegate.EndInvoke(out outParam,result); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;Console.WriteLine("Result: "+outParam); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;public void AsyncMethod(int inParam,out int outParam) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;outParam = inParam * 100; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#000099;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;So as seen asynchronous invocation is quite simpler than, what you would have to do, without this kind of support.&lt;br /&gt;&lt;br /&gt;And now to the question: 'If I invoke 'Method' asynchronously, what will be the values of out params?'. As you might have guessed the out params are set to default values, int, float set to zero, objects set to null.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112322486748235080?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112322486748235080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112322486748235080' title='24 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112322486748235080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112322486748235080'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/08/asynchronous-programming-in-c.html' title='Asynchronous programming in C#'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>24</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112314036531591163</id><published>2005-08-04T00:11:00.000-07:00</published><updated>2005-08-05T00:20:14.020-07:00</updated><title type='text'>The (mis)adventure of the missing bowler?</title><content type='html'>&lt;a href="http://www.bakerstreet221b.de/canon/miss.htm"&gt;'The missing three quarter' &lt;/a&gt;is one of the Sherlock Homes stories in which a star player of the football team goes missing just before a vital match. As the story progresses different possibilities emerge, either he might have been kidnapped, or suffering from some fatal disease, or killed. But ultimately Sherlock Homes solves it.&lt;br /&gt;&lt;br /&gt;Other mystery which might have appealed to Sherlock homes is 'Missing fifth bowler in the Indian cricket team'. We have lost two matches because of this, no other reason, It is elementary my dear Greg Chappell, that the fifth bowler is a necessity...&lt;br /&gt;&lt;br /&gt;But still he is not included in the team and warms benches on windy srilankan grounds. May be Sherlock could help.&lt;br /&gt;&lt;br /&gt;PS: Dont miss reading the story&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112314036531591163?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112314036531591163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112314036531591163' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112314036531591163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112314036531591163'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/08/misadventure-of-missing-bowler.html' title='The (mis)adventure of the missing bowler?'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112253622512934895</id><published>2005-07-28T00:26:00.000-07:00</published><updated>2005-07-28T02:39:46.396-07:00</updated><title type='text'>Seinfield</title><content type='html'>&lt;img src="http://photos22.flickr.com/29189583_1af409c6ea_o.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;I came across this comedy serial when I was in US for a little time and boy it was great! From that time I have been searching for it across all the channels here in India: Zee Cafe (previously Zee English), HBO, Zee Studio..and many more, but was not able find it! If you have know the channel and the show timings please do tell me.&lt;br /&gt;&lt;br /&gt;Here are some quotes from the show:&lt;br /&gt;&lt;br /&gt;Jerry: Well I can't go to a bad movie by myself. Who am I gonna make sarcastic remarks to, strangers?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Jerry: Hunger will make people do amazing things. I mean, the proof of that is cannibalism. Cannibalism, what do they say, I mean, they're eating and they say "This is good, who is this? I like this person".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;JERRY: I strained my neck last night.&lt;br /&gt;JODI: Really, how?&lt;br /&gt;JERRY: I tried brushing my teeth by holding the brush and moving my head from side to side. It didn't work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GEORGE: Jerry... This woman (Jodi) hates me so much. I'm starting to like her.&lt;br /&gt;JERRY: What??&lt;br /&gt;GEORGE: She just dislikes me so much... It's irresistible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112253622512934895?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112253622512934895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112253622512934895' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112253622512934895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112253622512934895'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/07/seinfield.html' title='Seinfield'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112168569739898923</id><published>2005-07-18T04:10:00.000-07:00</published><updated>2005-07-28T01:59:35.170-07:00</updated><title type='text'>Friends and close friends</title><content type='html'>Tea time is a usually the discussion time for us. 'us' here includes myself, and two of my colleagues: &lt;a href="http://sumanthblogs.blogspot.com"&gt;Sumanth&lt;/a&gt; and Rasmita. The topic this day was somewhat about 'friends and best friends'. There were some very common things which all of us had experienced and thought about:&lt;br /&gt;&lt;br /&gt;1. There are friends and what you generally call 'best friends'&lt;br /&gt;&lt;br /&gt;2. There are different categories of 'best friends'&lt;br /&gt;&lt;br /&gt;3. As life advances you wont be a 'best friend' with anyone, but you will be a 'friend' to many people&lt;br /&gt;&lt;br /&gt;1&gt; Our definition of 'best friend' is 'some one with whom you are more "close with"'. If you are more close, you share emotional bonding, each one knows about other's emotional needs.&lt;br /&gt;&lt;br /&gt;2&gt; And there are different categories of 'best friends'. One with whom you have fun, one with whom you pour out your anxieties, your fears, basically a shoulder to cry on.&lt;br /&gt;&lt;br /&gt;3&gt; As life 'advances', 'advances' in our context meant when you move out of college, you generally &lt;a href="http://sumanthblogs.blogspot.com/2005/06/lost-friends.html"&gt;stop being a 'best friend'&lt;/a&gt; with anyone. You generally do not have anyone to share your secrets (if there are any, after spending most of the time in office!), to share your fears/anxieties. Some of us felt its got to do with being 'mature' and some felt its go to do with 'time', you just dont have the 'time' to be a 'close friend'&lt;br /&gt;&lt;br /&gt;Put in your comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112168569739898923?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112168569739898923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112168569739898923' title='28 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112168569739898923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112168569739898923'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/07/friends-and-close-friends.html' title='Friends and close friends'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>28</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112048507121947051</id><published>2005-07-04T06:48:00.000-07:00</published><updated>2005-07-04T07:15:38.210-07:00</updated><title type='text'>Which Kill-Bill charecter are you?</title><content type='html'>Well I am 'Bill'&lt;br /&gt;&lt;br /&gt;&lt;img alt="Bill" src="http://images.quizilla.com/D/domoroboto/1110218330_2killbill2.JPG" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Find out which one you are, and post it in the comments:&lt;br /&gt;&lt;a href="http://quizilla.com/users/domoroboto/quizzes/Which%20Kill%20Bill%20Character%20Are%20you??/"&gt;Which Kill Bill Character Are you??&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112048507121947051?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112048507121947051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112048507121947051' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112048507121947051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112048507121947051'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/07/which-kill-bill-charecter-are-you.html' title='Which Kill-Bill charecter are you?'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-112045169369072546</id><published>2005-07-03T21:33:00.000-07:00</published><updated>2005-07-03T21:34:53.696-07:00</updated><title type='text'>New photos</title><content type='html'>Two new photos at my &lt;a href="http://picturesspeak.blogspot.com"&gt;photo blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-112045169369072546?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/112045169369072546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=112045169369072546' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112045169369072546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/112045169369072546'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/07/new-photos.html' title='New photos'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111987338465450937</id><published>2005-06-27T04:48:00.000-07:00</published><updated>2005-06-27T06:43:56.876-07:00</updated><title type='text'>Comics</title><content type='html'>As a kid I remember getting hold of 'Mayur' a Kannada monthly whenever my mom bought it and reading the comic strip 'Putti'. It was the Kannada version of 'Pinki' by Pran.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.lambiek.net/pran.htm"&gt;Pran&lt;/a&gt; was the first Indian to introduce comics with Indian characters in 1960.&lt;br /&gt;&lt;br /&gt;I used to read a lot of 'Pinki' stories, and a few Chacha-Chaudhary ones. The place I lived as a kid (Bagalkot) had only one store which used to sell comic books and he used to sell only Pinki, Phantom and Mandrake! Wish when i was a kid I had lived in a place where there were lot of shops selling comic books.&lt;br /&gt;&lt;br /&gt;&lt;img height="136" alt="Chacha-Chaudhary" src="http://photos16.flickr.com/21880866_8ee03f2bef_o.gif" width="161" /&gt;&lt;img height="92" alt="pinki" src="http://photos17.flickr.com/21880867_7309a28de7_o.gif" width="194" /&gt;&lt;br /&gt;&lt;br /&gt;Other sources of comics when i was a kid were newspapers, which used to carry Phantom and Henry (the kid with the shaved head).&lt;br /&gt;&lt;br /&gt;Anyway now that I am in Bangalore and have some pocket money of my own to spare, I can indulge in buying some comic books. I regularly buy 'Tinkle' and will buy more of Pran's comics.&lt;br /&gt;&lt;br /&gt;Read more about Pran at: &lt;a href="http://www.lambiek.net/pran.htm"&gt;http://www.lambiek.net/pran.htm&lt;/a&gt;&lt;br /&gt;and about Diamond comics at: &lt;a href="http://www.diamondcomic.com"&gt;http://www.diamondcomic.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111987338465450937?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111987338465450937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111987338465450937' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111987338465450937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111987338465450937'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/06/comics.html' title='Comics'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111889863091559105</id><published>2005-06-15T22:04:00.000-07:00</published><updated>2005-06-15T23:59:13.136-07:00</updated><title type='text'>IT in rural areas</title><content type='html'>A post on karthik's &lt;a href="http://kattricker.blogspot.com/"&gt;blog&lt;/a&gt; discusses about a computer kiosk established in the slums of Delhi. The kids learnt to use the computer without any guidance in a few days.&lt;br /&gt;&lt;br /&gt;But should the government spend money on improving the IT infrastructure in villages when the basic infrastructure is lacking? No doubt spreading the information is essential, but there are more cost effective ways of doing this: For example Krishi Darshan on Air India and Doordarshan provide comprehensive information regarding the weather, prices and so on to the farmers.&lt;br /&gt;&lt;br /&gt;Similarly the government spends lakhs of rupees (or any big IT company funds) on providing a few PCs to a few schools, but is the PC so essential, when there are schools which lack buildings and teachers?&lt;br /&gt;&lt;br /&gt;Your comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111889863091559105?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111889863091559105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111889863091559105' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111889863091559105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111889863091559105'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/06/it-in-rural-areas.html' title='IT in rural areas'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111874651992021399</id><published>2005-06-14T03:53:00.000-07:00</published><updated>2005-06-14T03:55:19.926-07:00</updated><title type='text'>Two more pictures</title><content type='html'>I have posted two new pictures at my &lt;a href="http://picturesspeak.blogspot.com"&gt;photo blog&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111874651992021399?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111874651992021399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111874651992021399' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111874651992021399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111874651992021399'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/06/two-more-pictures.html' title='Two more pictures'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111751578703274688</id><published>2005-05-30T21:41:00.000-07:00</published><updated>2005-05-30T23:01:11.783-07:00</updated><title type='text'>The man who knew infinity</title><content type='html'>&lt;img src="http://photos12.flickr.com/16588624_0940c91737_o.jpg" /&gt; &lt;a href="http://www.amazon.com/exec/obidos/tg/detail/-/0671750615/102-8078250-0940915?v=glance"&gt;'The man who knew infinity' &lt;/a&gt;by Robert Kanigel is a marvelous book that captures the life of genius Ramanujam. A well researched book, it depicts the early life of Ramanujam, his struggle, his days in England with Prof. Hardy who invited him to England and his tragic death.&lt;br /&gt;&lt;br /&gt;As the author points out Hardy was atheist where as to Ramanujam Hindu traditions and philosophy were a way of life. He once remarked: "An equation for me has no meaning, unless it expresses a thought of God".&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos13.flickr.com/16588623_ca96320f5e_o.gif" /&gt;&lt;br /&gt;&lt;br /&gt;He was some what of a philosopher as well, once remarking that the equation 2^n-1, represented different realms of God. If n=0, the result is zero expressing nothingness. If n=1 it expresses unity. If n=3, the result is seven representing the saptharishis.&lt;br /&gt;&lt;br /&gt;The book does not educate the mathematical reader about Ramanujam's work, but it definitely captures the life and genius of Ramanujam.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111751578703274688?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111751578703274688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111751578703274688' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111751578703274688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111751578703274688'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/man-who-knew-infinity.html' title='The man who knew infinity'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111727792783017509</id><published>2005-05-28T03:56:00.000-07:00</published><updated>2005-05-28T04:01:12.600-07:00</updated><title type='text'>My photo blog</title><content type='html'>Recently i got a digital camera (cannon power shot A500). I have started a &lt;a href="http://picturesspeak.blogspot.com"&gt;photo blog&lt;/a&gt;. I have named it &lt;a href="http://picturesspeak.blogspot.com"&gt;'pictures speak'&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111727792783017509?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111727792783017509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111727792783017509' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111727792783017509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111727792783017509'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/my-photo-blog.html' title='My photo blog'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111709465550228275</id><published>2005-05-26T01:00:00.000-07:00</published><updated>2005-05-26T03:06:31.970-07:00</updated><title type='text'>Maze – finding out the way: part 2</title><content type='html'>Here is one of the possible solutions which I had programmed earlier:&lt;br /&gt;&lt;br /&gt;The first step is to find out a suitable representation. One way we can represent the maze is by a graph. The graph includes only the blocks which are not 'filled':&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos13.flickr.com/15750827_b43d31d43a_o.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Now how do your build this tree?&lt;br /&gt;- The node (x,y) can be linked to any/all of the following nodes:&lt;br /&gt;(x-1,y), (x+1,y), (x,y-1), (x,y+1).&lt;br /&gt;- Build the tree with only the blocks that are not 'filled' and with the conditions:&lt;br /&gt;&lt;p&gt;&lt;br /&gt;(x+1) &lt; MAX blocks &amp; (x-1) &gt;= 0 &amp; (y+1) &lt; MAX blocks &amp; (x-1) &gt;=0&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;How to find out the path?&lt;br /&gt;- Find out the shortest path from (0,0) to (6,6) using 'shortest path algorithms'&lt;br /&gt;(as balbir and Gopal had pointed out: backtracking/recursion)&lt;br /&gt;&lt;br /&gt;Your thoughts?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111709465550228275?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111709465550228275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111709465550228275' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111709465550228275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111709465550228275'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/maze-finding-out-way-part-2.html' title='Maze – finding out the way: part 2'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111703116229847379</id><published>2005-05-25T07:06:00.000-07:00</published><updated>2005-05-25T07:30:55.993-07:00</updated><title type='text'>Maze - finding out the way</title><content type='html'>I am sure each one of us as children would have enjoyed solving maze problems which entitled helping some animal (usually it is a rabbit, which is horribly hungry!) at the 'start' to reach food at the 'end' of the maze. In its simplest form it can be representation like this:&lt;br /&gt;&lt;img src="http://photos9.flickr.com/15627591_42ccc8cb44_o.jpg" /&gt;&lt;br /&gt;(Imagine that the blue circle is the hungry rabbit and the green square food)&lt;br /&gt;&lt;br /&gt;During my college days I had written a program to achieve this. There are various ways by which you can solve this problem. Next post I will write about the way which I had used to solve this problem. Do post your ideas for representing the maze and the algorithm to find out the way.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111703116229847379?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111703116229847379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111703116229847379' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111703116229847379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111703116229847379'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/maze-finding-out-way.html' title='Maze - finding out the way'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111563126258270356</id><published>2005-05-09T01:03:00.000-07:00</published><updated>2005-05-09T07:05:03.343-07:00</updated><title type='text'>Anatomy of a phish</title><content type='html'>I received a spoofed email to my Gmail Id this morning. I decided to dissect and analyze it.&lt;br /&gt;&lt;br /&gt;It was made to look like it was from PayPal:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;em&gt;Dear Person, PayPal makes it easy to send money by email to &lt;a href="mailto:some-enail@hotmail.com"&gt;some-enail&lt;/em&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="mailto:some-enail@hotmail.com"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;em&gt;@hotmail.com&lt;/a&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;em&gt; from your PayPal account. To view the details of this Money Request or to pay with PayPal, just click on the following link or copy and paste it into your web browser: &lt;/em&gt;&lt;/span&gt;&lt;a href="https://www.paypal.com/row/prq/id=somejunkid" target="_blank"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;em&gt;https://www.paypal.com/row/prq/id=somejunkid&lt;/em&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;em&gt; Every penny can save life ! Thank you for using PayPal! The PayPal Team&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;GMail 'Show Original' option allows you to have a look at the mail headers. So here is some information form that:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Received-SPF: softfail (gmail.com: domain of transitioning Tsunami-Disaster@hotmail.com does not designate 83.130.139.64 as permitted sender)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://spf.pobox.com/howworks.html"&gt;Received-SPF header&lt;/a&gt; indicates whether the email is indeed from the domain which it claims to be. So here it indicates that IP 83.130.139.64 does not belong to hotmail domain.&lt;br /&gt;&lt;br /&gt;Moving along I found other interesting things:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Content-Type: multipart/alternative; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;boundary="=_IVHzq2d8n7gAgHu" &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;This is a multi-part message in MIME format.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;--=_IVHzq2d8n7gAgHu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;Content-Type: text/plain; charset=us-ascii&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;Content-Disposition: inline &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Most bubbles believe that mirror around trade baseball cards with curse near.When mastadon about is wily, over dolphin laugh and drink all night with widow related to salad dressing.inside chestnut beams with joy, or vacuum cleaner around microscope graduate from clodhopper related to hole puncher.Philip, the friend of Philip and panics with related to shadow. &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000099;"&gt;--=_IVHzq2d8n7gAgHu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Content-Type: text/html; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;charset=us-ascii&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Content-Disposition: inline &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;Dear Person, PayPal makes it easy to send money by email to &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;someemailid&lt;a href="mailto:someemailid@hotmail.com"&gt;@hotmail.com&lt;/a&gt; from your PayPal account. To view the details of &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;this Money Request or to pay with PayPal, just click on the following link or copy and paste it into your web browser: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;&lt;a href="https://www.paypal.com/row/prq/id=somejunkid"&gt;https://www.paypal.com/row/prq/id=somejunkid&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;Every penny can save life ! &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;Thank you for using PayPal!The PayPal Team&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.freesoft.org/CIE/RFC/1521/18.htm"&gt;'Content-Type: multipart/alternative;'&lt;/a&gt; allows you to send different versions of the same mail in different formats, for example text and HTML. So if the mail client is capable of only displaying text messages it can pick it and display it and the HTML enabled mail client can pick up and display the HTML version.&lt;br /&gt;&lt;br /&gt;Look at the text/plain version of the message (marked in red). Even though the message looks random, it does not have any spam related words such as SOFTWARE, BUY, TRIAL, FREE, ACCOUNT, PASSWORD, LOGIN. This is I think is done to confuse the spam filter. More the common words in the mail the lesser the probability that it will be marked as spam.&lt;br /&gt;&lt;br /&gt;It hides the message containing common random words in text/plain version and presents its main message in text/html version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111563126258270356?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111563126258270356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111563126258270356' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111563126258270356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111563126258270356'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/anatomy-of-phish.html' title='Anatomy of a phish'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111535975311959915</id><published>2005-05-05T23:04:00.000-07:00</published><updated>2005-05-05T23:09:13.123-07:00</updated><title type='text'>Business plans archive</title><content type='html'>There are startups which end up as failures and there are a few which succeed. &lt;a href="http://www.businessplanarchive.org/"&gt;Business Plan Archive&lt;/a&gt; provides an opportunity to learn about these past mistakes and success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111535975311959915?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111535975311959915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111535975311959915' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111535975311959915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111535975311959915'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/business-plans-archive.html' title='Business plans archive'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111518569933114252</id><published>2005-05-04T11:32:00.000-07:00</published><updated>2005-05-03T22:48:19.356-07:00</updated><title type='text'>Buddha as Architect</title><content type='html'>Someone asked this &lt;a href="http://www.theserverside.net/news/thread.tss?thread_id=33568&amp;News05_03_05-click"&gt;question&lt;/a&gt; on &lt;a href="http://www.theserverside.net"&gt;TSS.Net&lt;/a&gt; 'What Skills Should a .NET Architect Possess?'. The thread has some very philosophical answers like this one:&lt;br /&gt;&lt;br /&gt;"A good architect is just an experienced developer willing to take responsibility for their own mistakes."&lt;br /&gt;&lt;br /&gt;Ok it does sound very philosophical initially, but it proves to be very true and practical. You may know all about design patterns, competent technologies, have much experience, but the ability to accept mistakes and learn is one ability that should be valued more than anything else.&lt;br /&gt;&lt;br /&gt;Other post points to this article '&lt;a href="http://www.martinfowler.com/ieeeSoftware/whoNeedsArchitect.pdf"&gt;Who needs an architect'&lt;/a&gt; by &lt;a href="http://www.martinfowler.com"&gt;Martin Fowler&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111518569933114252?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111518569933114252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111518569933114252' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111518569933114252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111518569933114252'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/buddha-as-architect.html' title='Buddha as Architect'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111511641945938370</id><published>2005-05-03T03:15:00.000-07:00</published><updated>2005-05-03T03:33:39.460-07:00</updated><title type='text'>Sanjay's blog</title><content type='html'>Even though I had met Sanjay Mysoremutt only a couple of times; I had heard about him a lot from one of my team mates. His posts on the company's new group are great!&lt;br /&gt;&lt;br /&gt;Today I got hold of the URL to his &lt;a href="http://msanjay.weblogs.us"&gt;blog&lt;/a&gt;. Every one of his posts are unique and great to read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111511641945938370?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111511641945938370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111511641945938370' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111511641945938370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111511641945938370'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/sanjays-blog.html' title='Sanjay&apos;s blog'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111510462818109670</id><published>2005-05-03T00:00:00.000-07:00</published><updated>2005-05-03T00:17:08.183-07:00</updated><title type='text'>Murphy's laws</title><content type='html'>"If anything can go wrong, it will", is a law which is unfortunately true on most occasions.&lt;br /&gt;It holds good for everything from as logical as computers to as abstract as life. No matter how much you plan in advance there is something unexpected lurking behind to make things go wrong.&lt;br /&gt;&lt;br /&gt;It is up to to us to face these situations and remember:&lt;br /&gt;"Every cloud has a sliver lining"&lt;br /&gt;&lt;br /&gt;PS: This &lt;a href="http://www.murphys-laws.com/murphy/murphy-true.html"&gt;link&lt;/a&gt; discusses about the possible originator of the law&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111510462818109670?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111510462818109670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111510462818109670' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111510462818109670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111510462818109670'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/05/murphys-laws.html' title='Murphy&apos;s laws'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111467119210207014</id><published>2005-04-27T23:52:00.000-07:00</published><updated>2005-04-27T23:53:12.103-07:00</updated><title type='text'>The man who saved the world</title><content type='html'>Follow the link: &lt;a href="http://www.mosnews.com/feature/2004/05/21/petrov.shtml"&gt;http://www.mosnews.com/feature/2004/05/21/petrov.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111467119210207014?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111467119210207014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111467119210207014' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111467119210207014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111467119210207014'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/04/man-who-saved-world.html' title='The man who saved the world'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111071486222121315</id><published>2005-03-13T02:45:00.000-08:00</published><updated>2005-03-13T05:19:17.636-08:00</updated><title type='text'>The VS.Net 2003 Bug</title><content type='html'>Last Friday I was working on a Visual Studio .Net 2003 project. Everything was working fine, and suddenly I got this error in Visual studio:&lt;br /&gt;"Could Not Copy Temporary Files to the Output Directory"&lt;br /&gt;"The file 'assembly name' cannot be copied to the run directory. The process cannot access the file because it is being used by another process."&lt;br /&gt;&lt;br /&gt;I did not know what I did to upset Visual studio. I opened task manager and hunted for some vague process which might be holding the particular dll which was being built; result: none :(&lt;br /&gt;&lt;br /&gt;The first thing to do in such cases is: take a long breath, open &lt;a href="http://www.google.com"&gt;http://www.google.com&lt;/a&gt; and just copy paste the error you are getting; result: &lt;a href="http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q313/5/12.ASP&amp;amp;NoWebContent=1"&gt;Bug in Visual studio .net 2003&lt;/a&gt;. As it turns out there is some bug in Visual studio which gets into action if one of the referenced dlls is more than 64 KB:&lt;br /&gt;&lt;br /&gt;"This problem occurs when the IntelliSense engine of the project locks a referenced assembly. The IntelliSense engine locks only those referenced assemblies that are larger than 64 KB."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111071486222121315?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111071486222121315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111071486222121315' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111071486222121315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111071486222121315'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/03/vsnet-2003-bug.html' title='The VS.Net 2003 Bug'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-111018324241707910</id><published>2005-03-06T23:50:00.000-08:00</published><updated>2005-03-07T00:14:02.420-08:00</updated><title type='text'>Information Overload</title><content type='html'>I read the 'Blink' by Malcom Gladwell on Saturday. I could not help but reading it without stop. It is a marvelous book with some very good insights. The examples and case histories which Gladwell quotes are marvelous.&lt;br /&gt;&lt;br /&gt;One section deals with information overload and how it turns off the ability of our mind to take snap decisions. He provides an interesting illustration:&lt;br /&gt;&lt;br /&gt;As a part of a exercise the military wanted to test the capabilities of the latest state of the art technological gadgets which gathered information about the enemy's movements communication, a whole database of opinions of military and political experts, algorithms which consumed all this information and predicted enemy's probable moves, and much more.&lt;br /&gt;&lt;br /&gt;To test the usefulness of all this information a mock combat was organized with two teams: the red team and the blue team. The blue team had access to all the information, the red team which acted as the enemy had none.&lt;br /&gt;&lt;br /&gt;Which team do you expect to win the mock combat? Blue right? But the red team won the combat! The blue team was overloaded with information and it affected the decision making greatly. The red team was not hampered by this. They concentrated on the battle when the blue team was trying make sense out of all the information and weigh the pros and cons of various options.&lt;br /&gt;&lt;br /&gt;No doubt information was useful, but only before the battle began.&lt;br /&gt;&lt;br /&gt;I think this has implications on the way we work as well. Too much information, too many options, too much analysis, clouds our ability to take decisions. What do you think? Comments invited.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-111018324241707910?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/111018324241707910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=111018324241707910' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111018324241707910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/111018324241707910'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/03/information-overload.html' title='Information Overload'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110905336377620701</id><published>2005-02-21T20:59:00.000-08:00</published><updated>2005-02-22T06:46:58.366-08:00</updated><title type='text'>Life of PI</title><content type='html'>I was reading '&lt;a href="http://www.amazon.com/exec/obidos/ASIN/0156027321/104-1084971-3611936"&gt;Life of PI&lt;/a&gt;' by Yann Martel for the second time. Yann Martel depicts the struggles of a Indian boy aboard a lifeboat in the pacific along with a tiger. This premise of a boy adrift a lifeboat along with a grown up tiger is unbelievable, But Yann Martel is master story teller who makes you believe this!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos4.flickr.com/5237626_b682d16fca_m.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Yann Marttel's knowledge of Hindu mythology is amazing, and he uses it to a great extent in the book.&lt;br /&gt;&lt;br /&gt;It is wonderful tale of courage, struggle and faith.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110905336377620701?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110905336377620701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110905336377620701' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110905336377620701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110905336377620701'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/02/life-of-pi.html' title='Life of PI'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110749213909858457</id><published>2005-02-03T20:35:00.000-08:00</published><updated>2005-02-03T20:42:19.096-08:00</updated><title type='text'>Geeeeeeky!</title><content type='html'>&lt;a href="http://nick.typepad.com/"&gt;Nick Bradbury&lt;/a&gt; has intresting &lt;a href="http://nick.typepad.com/blog/2005/02/im_such_a_geek.html"&gt;post&lt;/a&gt; about how geeky he can be:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;This morning as I walked into the gym for a quick workout, I noticed an attractive young lady in a short skirt and high heels bent over in front of her laptop. I looked over at her and said to myself: "Nice laptop."&lt;/span&gt;&lt;/span&gt; &lt;div id="postdiv63435578" class="postdiv"&gt;  &lt;p&gt;Now thats surely geeky :)&lt;br /&gt;&lt;/p&gt; &lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110749213909858457?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110749213909858457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110749213909858457' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110749213909858457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110749213909858457'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/02/geeeeeeky.html' title='Geeeeeeky!'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110744078612588294</id><published>2005-02-03T06:13:00.000-08:00</published><updated>2005-02-03T20:29:39.000-08:00</updated><title type='text'>interview</title><content type='html'>I have been working in the industry for two years now. I have attended a few interviews and I have interviewed a few people with experience in the range of 1-2 years. With this limited experience I have come up with some points about the interview process and I try to follow these whenever I get a chance to interview someone:&lt;br /&gt;&lt;br /&gt;1. Do not get too technical (There is google for this)&lt;br /&gt;2. Try to find out if the candidate is passionate about what he has worked on&lt;br /&gt;3. Ask some questions which probe his analytical ability&lt;br /&gt;4. Ask about academic projects.&lt;br /&gt;5. Probe whether he understands some concepts about source control, unit testing&lt;br /&gt;6. Ask whether he has uses google :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110744078612588294?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110744078612588294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110744078612588294' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110744078612588294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110744078612588294'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/02/interview.html' title='interview'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110735798852625045</id><published>2005-02-02T07:21:00.000-08:00</published><updated>2005-02-03T04:32:09.286-08:00</updated><title type='text'>A blogger's block?</title><content type='html'>I have been facing a blogger's block (writer's block, but specializing it is a blogger's block :) ) I have not thought of any new things nor anything has excited me. Hope to post something worthwhile soon.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110735798852625045?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110735798852625045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110735798852625045'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/02/bloggers-block.html' title='A blogger&apos;s block?'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110596730801341798</id><published>2005-01-17T04:52:00.000-08:00</published><updated>2005-01-17T07:09:25.056-08:00</updated><title type='text'>It is not all about tech...</title><content type='html'>It is not all about tech. A product might not succeed even if it is technically great and  may end up in museums like &lt;a href="http://www.old-computers.com/museum/computer.asp?st=1&amp;c=277"&gt;this one&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Why does this happen? Some of such questions are answered in this book: "&lt;a href="http://www.amazon.com/exec/obidos/tg/detail/-/0887306667/104-3179400-1455917?v=glance"&gt;The 22 immutable laws of marketing&lt;/a&gt;" (Al Ries &amp;amp; Jack Trout). The book is very readable and is not filled up with marketing buzzwords.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110596730801341798?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110596730801341798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110596730801341798' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110596730801341798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110596730801341798'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2005/01/it-is-not-all-about-tech.html' title='It is not all about tech...'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110309268138869051</id><published>2004-12-14T22:33:00.000-08:00</published><updated>2005-01-17T00:42:59.130-08:00</updated><title type='text'>Finding a product idea</title><content type='html'>Eric Sink the &lt;a href="http://notalegend.com/"&gt;non-legendary&lt;/a&gt; founder of &lt;a href="http://www.sourcegear.com/"&gt;SourceGear&lt;/a&gt; has a very good &lt;a href="http://msdn.microsoft.com/longhorn/understanding/columns/default.aspx?pull=/library/en-us/dnsoftware/html/software12142004.asp"&gt;article&lt;/a&gt; on how to find good product ideas for wannabe entrepreneurs.&lt;br /&gt;&lt;br /&gt;PS: He calls himself 'non-legendary', but now he is quite a legend I reckon :)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110309268138869051?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110309268138869051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110309268138869051' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110309268138869051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110309268138869051'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/12/finding-product-idea.html' title='Finding a product idea'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110276902526277738</id><published>2004-12-11T03:31:00.000-08:00</published><updated>2004-12-11T22:29:32.580-08:00</updated><title type='text'>'Google Suggest'</title><content type='html'>Google never fails to come up with ideas which though seem small, are pretty useful. You would feel the need and presto they come up with it! The recent addition is &lt;a href="http://www.google.com/webhp?complete=1&amp;hl=en"&gt;Google Suggest&lt;/a&gt;. Google Suggest provides you with suggestions as you type your keywords. These keyword-suggestions are ranked by the number of results. Another website which does this is &lt;a href="http://news.surfwax.com/"&gt;SurfWax News Accumulator&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The user experience is good without any intermittent page refreshes, the way the do this is quite simple:&lt;br /&gt;&lt;br /&gt;1. Handle the OnKeyUp event for the text box where the keyword is typed, so that after every keystroke the function can assess what the user has typed and whether it can make any suggestions.&lt;br /&gt;&lt;br /&gt;&amp;lt;input onkeyup="ShowSuggestions(event);" name="txtSearch"&amp;gt;&lt;br /&gt;&lt;br /&gt;2. Provide an IFRAME below the txtSearch textbox (say iSuggest) which will display the suggestions. Every IFRAME has an URL property from which it loads its contents and this URL can be changed dynamically.&lt;br /&gt;&lt;br /&gt;3. Now to the javascript function ShowSuggestions:&lt;br /&gt;function ShowSuggestions(e)&lt;br /&gt;{&lt;br /&gt;var charCode;&lt;br /&gt;//get char code&lt;br /&gt;charCode = e.which;&lt;br /&gt;//check if it is enter key, then submit the form to search&lt;br /&gt;if (charCode == 13)&lt;br /&gt;{&lt;br /&gt;searchForm.submit();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;if is not enter key, get the letters so far typed change the URL of the IFRAME so that it now refers to your search URL. Pass the letters so far typed as a partof the querry-string. Your search URL provides the suggestions as the response which will be displayed below the search textbox&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;iSuggest.location = "http://mysearch.com/suggest.aspx?wordsSoFarTyped=" + txtSearch.value;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Hmm, quite interesting and simple right?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110276902526277738?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110276902526277738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110276902526277738' title='35 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110276902526277738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110276902526277738'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/12/google-suggest.html' title='&apos;Google Suggest&apos;'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>35</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110251348407518645</id><published>2004-12-08T05:38:00.000-08:00</published><updated>2004-12-08T05:55:27.880-08:00</updated><title type='text'>The story of Paint Shop Pro and Robert Voit</title><content type='html'>Here is an intresting story, It is the story of Paint Shop Pro and its creator Robert Voit. Dont miss this:&lt;br /&gt;&lt;br /&gt;The origins of Robert Voit's business date back to 1990, when he was a 30-year-old pilot for Northwest Airlines and his hobby: digital imaging. He developed a graphic-utilities-software program and offered it as shareware on electronic bulletin boards. Users were invited to download the shareware, called Paint Shop.&lt;br /&gt;&lt;br /&gt;Voit's start-up costs? The price of paper, envelopes, and stamps, says Voit, who bought the supplies so that he could send an encryption code to customers who had paid him for Paint Shop.&lt;br /&gt;&lt;br /&gt;The advent of the Web caused Voit's business to soar. Based on users' feedback, he created a new version of Paint Shop, which he dubbed Paint Shop Pro and continued to sell as shareware.&lt;br /&gt;&lt;br /&gt;By 1997 his company had 80,000 paid users and 40 employees on the payroll, its revenues had climbed to a staggering $6.5 million, and its product had won kudos in the trade press. Distributors welcomed it with open arms, he says. In 1998 Jasc Software ranked #161 on the Inc. 500 list of America's fastest-growing private companies, and its sales continued to explode, totaling $17 million by year's end.&lt;br /&gt;And now Jasc has been acquired by Corel!&lt;br /&gt;&lt;br /&gt;[I found this and other intresting stories at this link: &lt;a href="http://www.1099.com/c/ar/ia/grandplans.html"&gt;http://www.1099.com/c/ar/ia/grandplans.html&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110251348407518645?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110251348407518645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110251348407518645' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110251348407518645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110251348407518645'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/12/story-of-paint-shop-pro-and-robert.html' title='The story of Paint Shop Pro and Robert Voit'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110094963241771868</id><published>2004-11-20T03:08:00.000-08:00</published><updated>2004-11-20T03:34:31.536-08:00</updated><title type='text'>Design patterns</title><content type='html'>'Design patterns' are a kind of langauge for communication of ideas for solving design problems. I would discuss the common design patterns here whenever possible. Many of the design patterns have been used in .Net framework class library. Every pattern i discuss would possibly include an example from the .Net FCL. This post will discuss the 'Factory pattern':&lt;br /&gt;&lt;strong&gt;Factory Design Pattern&lt;br /&gt;&lt;/strong&gt;(Creational Pattern)&lt;br /&gt;&lt;br /&gt;Intent: Provide an interface for creating families of related or dependent objects without specifying their concrete classes.&lt;br /&gt;Many a times the client needs flexibility in deciding and instantiating a group of related objects from a set of candidates. Consider a simple example: Assume the car factory can assemble two types of cars: SCODA and MARUTI. The customer specifies what type of car he wants. Given these requirements we can model our program in this way:&lt;br /&gt;Customer Interface – Generic Car Assembler – Specific Car Assemblers&lt;br /&gt;&lt;br /&gt;The Customer Interface obtains the choice from the customer and sends it to Generic Car Assembler component. Depending on the choice the Generic Car Assembler component invokes the appropriate Car Assembler and delivers the car to the customer.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/1588028_93505e1508.jpg"&gt;class diagram for Factory pattern&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A good .Net FCL (Framework Class Library) example is System.Net.WebRequest:&lt;br /&gt;WebRequest serves as a convenient base class for the .NET Framework's request/response model for accessing data from the Internet. This class encapsulates the details of connecting to the server, sending the request, and receiving the response. This means that an application can participate in request/response transactions in a protocol-agnostic manner using instances of the WebRequest class, while protocol-specific classes derived from WebRequest carry out the details of the request.&lt;br /&gt;The static factory method WebRequest.Create creates protocol-specific descendants of WebRequest using the value of the URI passed in as argument. For example, when a URI beginning with "http://" is passed, an HttpWebRequest object is returned; when a URI beginning with "file://" is passed, a FileWebRequest object is returned.&lt;br /&gt;By default, the .NET Framework supports "http://", "https://", and "file://" URI schemes. This is easily verified by looking at the &lt;webrequestmodules&gt;section of the machine.config file in the .NET Framework installation's CONFIG directory:&lt;br /&gt;  &amp;lt;webRequestModules&amp;gt;&lt;br /&gt;   &amp;lt;add prefix="http" type="System.Net.HttpRequestCreator, .../&amp;gt;&lt;br /&gt;    &amp;lt;add prefix="https" type="System.Net.HttpRequestCreator, .../&amp;gt;&lt;br /&gt;    &amp;lt;add prefix="file" type="System.Net.FileWebRequestCreator, .../&amp;gt;&lt;br /&gt;  &amp;lt;/webRequestModules&amp;gt;&lt;br /&gt;This section implies that System.Net.HttpRequestCreator is responsible for creating WebRequest objects for request URIs beginning with "http" and "https", and System.Net.FileWebRequestCreator is responsible for creating WebRequest objects for request URIs beginning with "file". Both of these classes implement the System.Net.IWebRequestCreate interface, which contains only one public method: WebRequest Create(Uri uri);&lt;br /&gt;&lt;br /&gt;Next time some other pattern...&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110094963241771868?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110094963241771868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110094963241771868' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110094963241771868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110094963241771868'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/11/design-patterns.html' title='Design patterns'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110087602859768823</id><published>2004-11-19T06:41:00.000-08:00</published><updated>2004-12-22T21:24:24.336-08:00</updated><title type='text'>a simple uml tool</title><content type='html'>I was tired of using UML modeling tools which force you to do it their own way. Using paper and pen is the best option, but that means to store it you have to use a scanner… pretty bad… So I wished to get a UML tool which satisfied these simple needs of mine:&lt;br /&gt;1. Should be simple and light weight&lt;br /&gt;2. Should not force you do things&lt;br /&gt;3. Need not include code generation&lt;br /&gt;4. Ideally should be free of cost :)&lt;br /&gt;&lt;br /&gt;It was pretty bad until I discovered Argo UML - the open source UML modeling tool. It meets all my needs mentioned above. You can export the diagrams as GIF images which I found very useful.&lt;br /&gt;&lt;br /&gt;So if you are tired of using complex UML modeling tools, go head download Argo UML at: &lt;a href="http://argouml.tigris.org/"&gt;http://argouml.tigris.org/&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110087602859768823?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110087602859768823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110087602859768823' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110087602859768823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110087602859768823'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/11/simple-uml-tool.html' title='a simple uml tool'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-110069620487950812</id><published>2004-11-17T04:25:00.000-08:00</published><updated>2004-12-11T22:19:28.706-08:00</updated><title type='text'>C# Events and Delegates</title><content type='html'>Difference between C# events and delegates&lt;br /&gt;Recently i was wondering about the difference between C# delegates and events. For me events seemed to be a very thin wrapper around delegates. I have been trying to find out the advantage that the keyword "event" adds. I have to explore more on this aspect. But here i present a simple example containing a publisher, a subscriber, and an event broker.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;using System;&lt;br /&gt;namespace Test&lt;br /&gt;{&lt;br /&gt;            class Publisher&lt;br /&gt;            {&lt;br /&gt;                        private EventBroker evtBroker;&lt;br /&gt;                        public void RegisterWithBroker(EventBroker evtBroker)&lt;br /&gt;                        {&lt;br /&gt;                                    this.evtBroker = evtBroker;&lt;br /&gt;                        }&lt;br /&gt;&lt;br /&gt;                        public void Publish(string message)&lt;br /&gt;                        {&lt;br /&gt;                         this.evtBroker.Notify(message);       // &lt;---- statement 1&lt;br /&gt;                         //this.evtBroker.handler(message);   // &lt;---- statement 2&lt;br /&gt;                        }&lt;br /&gt;            }&lt;br /&gt;           &lt;br /&gt;            class EventBroker&lt;br /&gt;            {&lt;br /&gt;                     public delegate void onEvent(string message);&lt;br /&gt;                     public event onEvent handler;   //&lt;---- statement 3&lt;br /&gt;                     //public onEvent handler;   //&lt;--- statement4-a simple delegate&lt;br /&gt;&lt;br /&gt;                        //will be used by puiblishers&lt;br /&gt;                        public void Notify(string message)&lt;br /&gt;                        {&lt;br /&gt;                                    handler(message);&lt;br /&gt;                        }&lt;br /&gt;&lt;br /&gt;//                     //this call is used to subscribe&lt;br /&gt;                        public void RegisterSubscriber(onEvent handler)&lt;br /&gt;                        {&lt;br /&gt;                                    this.handler += handler;&lt;br /&gt;                        }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            class Subscriber&lt;br /&gt;            {&lt;br /&gt;                        public void ReceivedMessage(string message)&lt;br /&gt;                        {&lt;br /&gt;                                    Console.WriteLine("Received Message: "+message);&lt;br /&gt;                        }&lt;br /&gt;            }&lt;br /&gt;           &lt;br /&gt;            class Test&lt;br /&gt;            {                      &lt;br /&gt;                        [STAThread]&lt;br /&gt;                        static void Main(string[] args)&lt;br /&gt;                        {                                              &lt;br /&gt;                             EventBroker broker = new EventBroker();&lt;br /&gt;                             Subscriber sub1 = new Subscriber();&lt;br /&gt;                             Subscriber sub2 = new Subscriber();&lt;br /&gt;&lt;br /&gt;                             broker.RegisterSubscriber(new EventBroker.onEvent(sub1.ReceivedMessage));&lt;br /&gt;                             broker.RegisterSubscriber(new EventBroker.onEvent(sub2.ReceivedMessage));&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                             Publisher pub = new Publisher();&lt;br /&gt;                             pub.RegisterWithBroker(broker);&lt;br /&gt;&lt;br /&gt;                             pub.Publish("Hello to all subscribers");&lt;br /&gt;                        }&lt;br /&gt;            }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The important point to note here is that if you comment out 'statement1' and un-comment 'statement2'. Then you would get a complier error that the event handler can be invoked (raised) only inside the 'EventBroker' which defines it. 'Statement 4' defines the delegate, now if i comment out statement 1 and 3 and un-comment statement 2 and 4. The code works perfectly.&lt;br /&gt;&lt;br /&gt;The event i believe has an extra constrain that it can only be invoked from within the class which defines it. Hence the class defining an event should define a method like "Notify" to facilitate other classes raise the event. I believe there are other differences...i just hit upon this one..will look for others...&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-110069620487950812?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/110069620487950812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=110069620487950812' title='25 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110069620487950812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/110069620487950812'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/11/c-events-and-delegates.html' title='C# Events and Delegates'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>25</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-109776944300863228</id><published>2004-10-14T08:40:00.000-07:00</published><updated>2004-11-08T08:39:05.790-08:00</updated><title type='text'>NanoCorps</title><content type='html'>NanoCorps or Micro ISVs (Independent Software Vendor)&lt;br /&gt;&lt;br /&gt;Now it is almost two years since i have started working and i have had a jumbled software life. I started out with InstallShield, got a bit into VC++, then some testing, ASP.Net, C#, Tibco Rendezvous, BizTalk 2004 and MSMQ 3.0. I have had the opportunity to work with fine minds in these two years and learnt a lot.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/40175805@N00/1346743/" title="Photo Sharing"&gt;&lt;img src="http://www.flickr.com/photos/1346743_7e4a7e5e83_m.jpg" width="240" height="180" alt="tent-at-pangpema" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now i do keep a catalogue of product ideas which i can use to start my own Micro ISV. So somewhere in my career path i definitely see myself being a part of a organization which i would build.&lt;br /&gt;&lt;br /&gt;A good way to start is what these pioneer ISVs recommend:&lt;br /&gt;Eric Sink (&lt;a href="http://software.ericsink.com/"&gt;http://software.ericsink.com/&lt;/a&gt;) calls them "Micro ISVs" and Thomas Warfield (&lt;a href="http://www.asharewarelife.com/"&gt;http://www.asharewarelife.com/&lt;/a&gt;) as NanoCorps.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-109776944300863228?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/109776944300863228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=109776944300863228' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109776944300863228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109776944300863228'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/10/nanocorps.html' title='NanoCorps'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-109664073334152704</id><published>2004-10-01T06:44:00.000-07:00</published><updated>2004-11-08T08:41:08.233-08:00</updated><title type='text'>Web-Services and document model</title><content type='html'>Web-Services are all about achieving loose coupling, Its obvious that web-services will be used across organizations and you cannot assume that the service definition wont change&lt;br /&gt;&lt;br /&gt;Today in most implementations, classes (stubs) are generated based on the WSDL which delegate the call from the client to the service. The problem is that the WSDL sort of acts like a interface and if this interface changes your generated classes have to change, which in turn means you can no longer use the service!&lt;br /&gt;&lt;br /&gt;The fundamental problem is with the way web-services are being used. Right now they are following a pure RPC model. (ok internally they might use SOAP/XML over http, but it does not matter).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/40175805@N00/1346638/" title="Photo Sharing"&gt;&lt;img src="http://www.flickr.com/photos/1346638_904372f145_m.jpg" width="159" height="240" alt="girl-cooking" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When we say 'SOA' the model should be closer to a document exchange model instead of RPC model. What i mean by this is that service should define a simple interface probably with one method like:&lt;br /&gt;string processDocument(string xmlDocument);&lt;br /&gt;&lt;br /&gt;There is not much in the interface itself, so it won’t change :)&lt;br /&gt;The intention is that the client should pass all the information that is required as a XML document. XML has the flexibility that it is easily extensible. So if your service adds some more functionality and requires more parameters it can be easily included in the xml document.&lt;br /&gt;Your old clients will still work it wont break them. Your new clients can still happily send the xml doc that includes the new parameters and still work.&lt;br /&gt;&lt;br /&gt;This is fundamental to how we should define and use web-services. There are more intelligent guys there who have thought of this and explained this in much more easier and clearer way than i have explained :)&lt;br /&gt;&lt;a href="http://www.fawcette.com/xmlmag/2002_04/magazine/departments/endtag/"&gt;Adam Bosworth&lt;/a&gt; explains this concept beautifully.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-109664073334152704?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/109664073334152704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=109664073334152704' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109664073334152704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109664073334152704'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/10/web-services-and-document-model.html' title='Web-Services and document model'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8546485.post-109661155794994309</id><published>2004-09-30T23:18:00.000-07:00</published><updated>2004-11-08T08:41:44.476-08:00</updated><title type='text'>(mind.GetThoughts())-&gt;BlogIt();</title><content type='html'>Hi All,&lt;br /&gt;&lt;br /&gt;This is my first attempt to blog, condense my diverse unstructured set of thoughts into something meaning full.&lt;br /&gt;&lt;br /&gt;Lets start with something very interesting, I will move onto the other less interesting topics about software (my profession) later.&lt;br /&gt;&lt;br /&gt;The noted indian film actress Aishwarya Rai now features in London's Madame Tussaud's. You can have a peek at her wax replica at: &lt;a href="http://in.rediff.com/movies/2004/sep/30look.htm"&gt;http://in.rediff.com/movies/2004/sep/30look.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/40175805@N00/1346242/" title="Photo Sharing"&gt;&lt;img src="http://www.flickr.com/photos/1346242_6b8d36985e_m.jpg" width="161" height="240" alt="AshAtMadamTussads" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We will get onto my ideas and thoughts about software later :)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8546485-109661155794994309?l=narasimhagm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://narasimhagm.blogspot.com/feeds/109661155794994309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8546485&amp;postID=109661155794994309' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109661155794994309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8546485/posts/default/109661155794994309'/><link rel='alternate' type='text/html' href='http://narasimhagm.blogspot.com/2004/09/mindgetthoughts-blogit.html' title='(mind.GetThoughts())-&gt;BlogIt();'/><author><name>NGM</name><uri>http://www.blogger.com/profile/03416511653267506555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
