<?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-1088234578235236423</id><updated>2011-11-26T23:31:52.351+05:30</updated><category term='artificial intelligence failed'/><category term='statistical probability'/><category term='square root'/><category term='latex on blogger'/><category term='wings'/><category term='ai'/><category term='divisors'/><category term='movies'/><category term='books'/><category term='rama'/><category term='likes'/><category term='kalidasa'/><category term='C'/><category term='optimal time management'/><category term='latex'/><category term='free'/><category term='good'/><category term='light'/><category term='blogspot'/><category term='algorithms'/><category term='reward'/><category term='big number factorial'/><category term='cryptarithmetic c program'/><category term='manchester united'/><category term='train'/><category term='mediocrity'/><category term='permutations'/><category term='why ai failed'/><category term='sorting algorithms'/><category term='marvin minsky'/><category term='cryptarithmetic program'/><category term='audio'/><category term='abhiram'/><category term='factorial'/><category term='optimal time scheduling'/><category term='optimum sleep'/><category term='intelligence'/><category term='dream soccer team'/><category term='fantasy'/><category term='bird'/><category term='movies vs books'/><category term='open door'/><category term='video'/><category term='math in blogspot'/><category term='proclamation'/><category term='probability'/><category term='download turbo C++'/><category term='fest'/><category term='reverse'/><category term='job scheduling'/><category term='broken'/><category term='chants'/><category term='large factorial'/><category term='ai winter'/><category term='infinite trips'/><category term='soccer'/><category term='bad'/><category term='zidane'/><category term='aisha movie review'/><category term='close door'/><category term='alphametic solver'/><category term='aisha'/><category term='philosophy'/><category term='determinism'/><category term='bernoulli'/><category term='great'/><category term='manners'/><category term='latex in blogger'/><category term='equation of life'/><category term='dream team of decade'/><category term='multiplication'/><category term='large numbers'/><category term='cryptarithmetic solver'/><category term='respect'/><category term='dream team'/><category term='effort'/><category term='latex on blogspot'/><category term='a r rahman'/><category term='doors problem'/><category term='indian national anthem'/><category term='alphametic'/><category term='8 hours of sleep'/><category term='gibran'/><category term='sitar'/><category term='love'/><category term='optimal productivity'/><category term='beckham'/><category term='osp'/><category term='i am the greatest'/><category term='fly'/><category term='kahlil'/><category term='jana gana mana'/><category term='best'/><category term='maximizing productivity'/><category term='dislikes'/><category term='google chat'/><category term='reminiscence'/><category term='salutation of the dawn'/><category term='google talk'/><category term='snake'/><category term='gtalk'/><category term='fly puzzle'/><category term='solutions'/><category term='minuta'/><category term='modesty'/><category term='bharatbala productions'/><category term='string'/><category term='C++'/><category term='codes'/><category term='think'/><category term='push singh'/><category term='bicyclists'/><category term='download'/><category term='bicycle'/><category term='analysis'/><category term='arithmetic restorations'/><category term='CPU Job scheduling'/><category term='good time-management'/><category term='codefinger'/><category term='decade'/><category term='infinity'/><category term='infinity flight'/><category term='cryptarithm'/><category term='ravi shankar'/><category term='right amount of sleep'/><category term='computer science'/><category term='bharat'/><category term='math'/><category term='wrong'/><category term='bala'/><category term='proclaim'/><category term='krishna'/><category term='programming'/><category term='007'/><category term='views'/><category term='bbp'/><category term='factorial of large numbers'/><category term='biginteger'/><category term='cryptarithmetic'/><category term='value of factorial'/><category term='music'/><category term='free download'/><category term='google talk etiquette'/><category term='greatest'/><category term='imagination'/><category term='life'/><category term='rahman'/><category term='gchat'/><category term='shabari'/><category term='bicycle fly puzzle'/><category term='blogger'/><category term='muhammad ali'/><category term='chants of india'/><category term='ramayana'/><category term='history'/><category term='sonam kapoor'/><category term='god'/><category term='mathematics'/><category term='finite'/><category term='footballer'/><category term='sonam kapoor aisha'/><category term='job scheduling in life'/><category term='national anthem'/><title type='text'>Abhiramusings</title><subtitle type='html'>...This is a place where I preach what I don't practice...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-7459103952986407258</id><published>2011-03-24T09:56:00.008+05:30</published><updated>2011-03-26T09:42:43.584+05:30</updated><title type='text'>Indian Cricket: My Views</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;The Indian Cricket Team did not lose to South Africa because Dhoni gave Nehra the final over. They did not lose because the middle order fell very quickly. They lost because Gautam Gambhir failed to give enough strike to Sachin when they were batting together. Often, there would be spells where Gambhir hogged most of the strike, but scored at low rates. With Sachin at the other end, and that too in the mood, it was undesirable for reasons anyone can enumerate. This caused Sachin to play a rash shot, and be dismissed. If not, Sachin would have been under lesser pressure and India would have easily scored at least 30-40 runs more.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Coming to my main point - Often, the Indian public's reaction to the cricket team's losses are both shallow and unsavoury. Just because Dhoni has not scored big over the past year, it does not mean marriage has caused him to lose focus. Just because the middle order falls cheaply once in a while, it does not mean the batsmen are making too much money from advertisements. And just because there are times when Sachin is the only batsman who bats well, it does not mean he is carrying the team on his own.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;I don't blame Gambhir for not scoring quickly. Simply put, no Indian batsman can match the exalted batting abilities of Sachin. The class of the man is evident; the same ball that Gambhir finds hard to hit, Sachin hits it for a four. That said, we must not forget that a lot of the cricket team's greatest victories have been in matches where he has not particularly done well. The Indian Cricket team is comprised of fantastic crickets, very diverse and very talented. From Yuvraj's charm to Laxman's genius, from Zaheer's accuracy to Bhajji's guile, we are lucky to have a team like that. And enough has been said about Sachin; watching him bat is like watching Zidane or Ronaldo (the Brazilian, NOT THE PORTUGUESE) with the ball at their feet. It is an absolute honour to have been able to watch him all these years.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;I love the cricket team and I am very proud of them. We must learn to savour their triumphs more than complain about the failures. They won following on! They beat Australia so many times, and in such emphatic ways. They have beaten Pakistan whenever it was really important. They beat SA having scored just 194. Why?! Why do we forget these and only dwell upon recent failures?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;On a deeper note, why are we so bothered about their prowess really? Why do we attach our self-worth to their success? After all, India beating Australia does not mean it is a better country than Australia. Why then are we so bothered? It is not Dhoni's fault that he makes millions with advertisement money!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;We must learn to appreciate them and enjoy their victories and ignore the losses. We must avoid making flippant comments like "They don't bowl yorkers in the final overs" or "There is no good team spirit because they earn too much money", it simply makes no sense whatsoever.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;It is this Abrahamovic-ish (Chelsea owner) attitude that has caused us to lose a lot of very talented cricketers over the years. One that stands out, for me at least, is Hrishikesh Kanitkar. I really liked this guy, and I strongly believe he would have done great for our team. Him and a lot of other people lost their place in the team and were never given a second chance. One must realise that team-selection can never be an exact science; there is always a bit of a gamble, the perform-or-get-thrown-out attitude is extremely unhelpful.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The team is being run by people with far more cricketing knowledge than we have, must be place our trust in them and not view everything they do superficially. It is extremely hard to manage the team, given that the public has such high expectations. The least we can do is to be less-critical.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;It has always been a dear wish of mine to see the cricket team win a world cup. Aside from sending positive thoughts, there is nothing that I can do. I do hope for the best from today's match. Having said that, I will not let a defeat affect my mood. I am and will always be proud of our team and will always be a proud spectator to their progress. Good luck team India.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;P.S. - I think Sachin's best innings, and the best innings I have ever seen was his&amp;nbsp;&lt;a href="http://www.espncricinfo.com/ci/engine/current/match/63828.html"&gt;136 against Pakistan in Chennai&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-pEl5bho4Zlo/TYrHiWIXGLI/AAAAAAAAFNw/bZPCTDXXBFA/s1600/104914%252Cxcitefun-indian-cricket-team-players-celebrate-wh.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="191" src="https://lh3.googleusercontent.com/-pEl5bho4Zlo/TYrHiWIXGLI/AAAAAAAAFNw/bZPCTDXXBFA/s320/104914%252Cxcitefun-indian-cricket-team-players-celebrate-wh.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-7459103952986407258?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/7459103952986407258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=7459103952986407258' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/7459103952986407258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/7459103952986407258'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2011/03/indian-cricket-my-views.html' title='Indian Cricket: My Views'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-pEl5bho4Zlo/TYrHiWIXGLI/AAAAAAAAFNw/bZPCTDXXBFA/s72-c/104914%252Cxcitefun-indian-cricket-team-players-celebrate-wh.jpg' height='72' width='72'/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-5658962847966591634</id><published>2010-12-14T16:04:00.006+05:30</published><updated>2011-03-24T10:24:01.968+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='reminiscence'/><title type='text'>Letter to a 10 year old Abhiram</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://1.bp.blogspot.com/_F4pTsBbUp3g/TQdIX43kWKI/AAAAAAAAE_I/ynzkoqJS-YM/s1600/2809515525_f528470da3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5550484640997071010" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/TQdIX43kWKI/AAAAAAAAE_I/ynzkoqJS-YM/s320/2809515525_f528470da3.jpg" style="cursor: hand; cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 294px;" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;Dear 10 year old Abhiram,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; Hope you are well.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; Very recently, I was wondering what it was like to be you. I contrasted my current situation (goals, priorities, responsibilities, etc) with what they must be for you and I have come to the conclusion that I am far cooler than you. This letter is to rub your face in it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; Look around you. You are probably surrounded by a lot of stupid friends, just like you, happily playing silly games like hide-and-seek, chor-police and what not. Life probably seems great to you. No big decisions to make, no interviews to take, no advisors to answer... Your only worries are your final exams and whether or not you will pass them. You probably read articles of people reminiscing their childhood with great pleasure, telling yourself that you are actually living their dream. Let me tell you something, life is far more awesome than what you make of it now, and I am getting to see it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; You know what, I don't have to be back at home after 6. I can drive, legally. The same parents you have, who give you instructions on how to cross a busy road, now go to the extent of trusting me with amounts of money you can't even say in one breath. At public gatherings, adults don't just make nonsense small talk with me like - &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;which class are you studying in, which subject do you like the most&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;; they treat me like an equal. I understand and do math that you don't even know exists. I don't have to study history and geography like you do. I know what it feels like to have money of my own and decide what I want to spend it on. Your parents, whom you turn to for everything, now turn to me for quite a few things. I get to travel alone. And you know that thing you heard of called a computer - I own one today. I will not even begin to go into what all it can do, you will only think I am lying. You know something even better, I can even make it do things. I get marks for studying it well.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; I understand the world far better than you do. Those college graduates who make you stop playing cricket just so that they can play, I AM ONE OF THEM! To top it all, I know all that is going to happen to you in your next 13 years. Don't worry, nothing too bad will happen :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; Yes, the bad news is you are not living anyone's dream; in fact, I am living your secret dream. But you know what, you are going to have all that I have now. And once you grow older than me, you will have even more and can even make fun of me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt; I write this letter, not to mock you, but to advise you to concentrate on the present and fully enjoy it. That is all you have in your hand. There are things in your present you have never had nor will ever have again. Not that you will miss them; but you better enjoy whatever you have right now, rather than thinking about what you had when you were younger or what you can have when you are older. That way you will have had fun at every point in life. God bless you.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;Yours affectionately,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;23 year old Abhiram.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;P.S. - The Indian cricket team has still not won a world cup. I am waiting for it too.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-5658962847966591634?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/5658962847966591634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=5658962847966591634' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/5658962847966591634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/5658962847966591634'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/12/letter-to-10-year-old-abhiram.html' title='Letter to a 10 year old Abhiram'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F4pTsBbUp3g/TQdIX43kWKI/AAAAAAAAE_I/ynzkoqJS-YM/s72-c/2809515525_f528470da3.jpg' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-7023538795429011101</id><published>2010-08-22T09:35:00.008+05:30</published><updated>2011-03-26T09:43:41.113+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='aisha'/><category scheme='http://www.blogger.com/atom/ns#' term='aisha movie review'/><category scheme='http://www.blogger.com/atom/ns#' term='sonam kapoor'/><category scheme='http://www.blogger.com/atom/ns#' term='sonam kapoor aisha'/><title type='text'>Aisha - Movie Review</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://4.bp.blogspot.com/_F4pTsBbUp3g/THC5YllXbXI/AAAAAAAAEHc/wSvCdhd_SRU/s1600/Sonam+Kapoor.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5508106176330952050" src="http://4.bp.blogspot.com/_F4pTsBbUp3g/THC5YllXbXI/AAAAAAAAEHc/wSvCdhd_SRU/s200/Sonam+Kapoor.jpg" style="cursor: pointer; float: left; height: 186px; margin: 0pt 10px 10px 0pt; width: 200px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;Normally, I stay away from movie and restaurant reviews. But Aisha was so quick to take second spot in my personal "worst movies ever watched" list that I thought a post was warranted.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Yes, Aisha occupies second spot in my list. And this is coming from someone who has watched, &lt;i&gt;inter alia,&lt;/i&gt; movies like (a) Tushar Kapoor starrer "&lt;a href="http://en.wikipedia.org/wiki/Kucch_To_Hai"&gt;Kuchh to Hain&lt;/a&gt;" (b) &lt;a href="http://en.wikipedia.org/wiki/Thoda_Pyaar_Thoda_Magic"&gt;Thoda Pyar Thoda Magic&lt;/a&gt; - Saif Ali Khan and Rani Mukherjee (c) &lt;a href="http://en.wikipedia.org/wiki/Golmaal_Returns"&gt;Golmaal Returns&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;My entire Aisha experience was like a root canal session.&amp;nbsp;The story is decent, the supporting actors are decent, but Sonam Kapoor, like a true father's daughter, ruined an otherwise destined-to-be-nice movie. She is good-looking as well as hot, no doubt. Sadly, that does not mean you are allowed to be unbearable on all other fronts.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;She needs to attend an acting school where they teach more than two expressions - &lt;a href="http://4.bp.blogspot.com/_WnCJlq_kUA8/R4eJC1K3vMI/AAAAAAAAHj8/kvcqkEXDCHs/s320/monkey_smiling.jpg"&gt;one&lt;/a&gt; and &lt;a href="http://1.bp.blogspot.com/_FK6bPG6cV8s/TDTSkXcV6fI/AAAAAAAAB6M/VNYoWVyB0YI/s1600/still+angry-monkey-fullpic.jpg"&gt;two&lt;/a&gt; &lt;/span&gt;&lt;span style="font-size: small;"&gt;(closest matches I could find on the internet)&lt;/span&gt;&lt;span style="font-size: small;"&gt;. In addition to that, she needs fake accent training either from Priyanka Chopra (&lt;a href="http://www.youtube.com/watch?v=rnU7AkVwW5A"&gt;example&lt;/a&gt;) or Freida Pinto (&lt;a href="http://www.youtube.com/watch?v=ZqJR24lj4pI"&gt;example&lt;/a&gt;).&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Aisha was a forgettable experience. I suggest you stay away from it.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-7023538795429011101?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/7023538795429011101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=7023538795429011101' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/7023538795429011101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/7023538795429011101'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/08/aisha-movie-review.html' title='Aisha - Movie Review'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F4pTsBbUp3g/THC5YllXbXI/AAAAAAAAEHc/wSvCdhd_SRU/s72-c/Sonam+Kapoor.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-3757612266409695494</id><published>2010-08-16T04:59:00.017+05:30</published><updated>2011-03-24T07:16:35.346+05:30</updated><title type='text'>Things Money Can't Buy</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Return trip from Boston to Bangalore - $12xx&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Cab ride from bus-stop to department and back (because I had forgotten to take printouts of tickets) - $10&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Change Charges on ticket to fly directly to Frankfurt from Boston, instead of going through Toronto (because I did not have a Canadian Visa) - $120&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Food at Frankfurt Airport - $9&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Ride from BLR Airport to home - $15&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Expressions of surprise (they did not know I was coming) on the faces of loved ones - &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Priceless&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_F4pTsBbUp3g/TGodXj8YopI/AAAAAAAAEGk/Vti_D0y3ngc/s1600/untitled.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5506245785036563090" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/TGodXj8YopI/AAAAAAAAEGk/Vti_D0y3ngc/s400/untitled.jpg" style="cursor: pointer; display: block; height: 258px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Leads to the following question: Do all &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;priceless&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt; things have a price?&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Examples in favour of the argument: Look at the mastercard advertisement. The camera costed some money, and a photograph with "five generations in it" could be taken only because they had the camera. Also, the advertisement where the parents spend money on expensive toys for their kid and the kid plays with the packing box instead of the toys - the parents found that priceless only because they realised how paying money cannot make a kid happy. If they had not purchased toys and found the kid playing with a random box, they would have simply thought "stupid kid" (&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;peddu mundedu &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;in Kannada).&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: lucida grande; font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;P.S. - Thanks to &lt;/span&gt;&lt;/span&gt;&lt;a href="http://iissarayu.blogspot.com/"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;S&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt; for helping with the arragements.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-3757612266409695494?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/3757612266409695494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=3757612266409695494' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3757612266409695494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3757612266409695494'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/08/things-money-cant-buy.html' title='Things Money Can&apos;t Buy'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F4pTsBbUp3g/TGodXj8YopI/AAAAAAAAEGk/Vti_D0y3ngc/s72-c/untitled.jpg' height='72' width='72'/><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-1460885830036077497</id><published>2010-07-18T08:57:00.028+05:30</published><updated>2011-05-25T14:57:39.982+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='optimal time scheduling'/><category scheme='http://www.blogger.com/atom/ns#' term='good time-management'/><category scheme='http://www.blogger.com/atom/ns#' term='optimal time management'/><category scheme='http://www.blogger.com/atom/ns#' term='maximizing productivity'/><category scheme='http://www.blogger.com/atom/ns#' term='optimal productivity'/><category scheme='http://www.blogger.com/atom/ns#' term='right amount of sleep'/><category scheme='http://www.blogger.com/atom/ns#' term='optimum sleep'/><category scheme='http://www.blogger.com/atom/ns#' term='8 hours of sleep'/><title type='text'>8 Hours of Sleep</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;I often get forwards telling me how sleep-deprivation is dangerous and why 8 hours of sleep is mandatory. They specifically say how sleep-deprivation decreases your productivity. Obvious yes, but I wanted to take a mathematical look at the problem and remove all doubts.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Disclaimer:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt; Questionable Assumptions, Flippant Arguments&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;I shall assume we take, on work days, an average of 6 hours for (in no particular order): Travelling, Bathing, Eating, Dressing, Cleaning, Ablutions, Chatting, Waiting (ex:- waiting for facebook to load photo albums, waiting for some &amp;amp;*^#%s reply on gchat), Searching (ex:- keys, spectacles, wallet), and tons of other worthless things. These are things we &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;HAVE &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;to do. Although I do know that the actual amount of time we collectively spend on these things could vary heavily, I think 6 hours as an average value is a reasonable assumption (obviously not valid on weekends).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;This leaves us with 18 hours in a day for mental-health and work. I shall also assume that we should aim to maximize &lt;i&gt;overall-benefit&lt;/i&gt; and that it is partially explained by the equation: $overallBenefit \propto output_{work} * mentalHealth$. Further, I take $output_{work} \propto f_1(x)$ and $mentalHealth \propto f_2(y)$, where $x$ is amount of work time and $y$ is amount of time spent for mental-health, both in hours, with the equation $x + y = 18$ holding good.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lemma 1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: $f_1(x) = 1-2^{-x}$&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Proof&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: I decided, for $f_1$, an exponential function of x would be best and that polynomial and logarithmic functions of x did not make sense for some reason. And according to &lt;/span&gt;&lt;/span&gt;&lt;a href="http://abhiramn.blogspot.com/2009/09/reward-2-effort.html"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Abhiram (2009)&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;, 2 would be a wise choice for the radix. $2^x$ would be in $[1,\infty)$ when $\usepackage{amssymb} x \in \mathbb{R}_{\geq 0}$. I take the reciprocal of it to force its range to be $(0,1]$. Now, to make it an increasing function, I subtract it from 1. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Q.E.D."&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;qed&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lemma 2&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lemma 1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt; is not total nonsense.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Proof&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: A plot of $1-2^{-x}$ looks like this.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/TEJ1hzI_alI/AAAAAAAAEBE/kY3snk-TnFY/s1600/Lemma2.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_F4pTsBbUp3g/TEJ1hzI_alI/AAAAAAAAEBE/kY3snk-TnFY/s320/Lemma2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5495083718869477970" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 239px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;This shows that there is a sharp increase in output initially and that it plateaus after a while. Kind of makes sense. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Q.E.D."&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;qed&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lemma&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: $f_2(y) = log(y)$&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Proof&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;: We would once again need an increasing function of y. In general, spending twice the amount of time you are already spending on mental health cannot increase $f_2$ by a factor of 2. Thus we would need to &lt;i&gt;attenuate &lt;/i&gt;y. Given this, and some other considerations, a logarithmic function was the only thing that made sense. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Q.E.D."&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;qed&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;By &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lemma 1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt; and &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;, we have &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;$overall-benefit = f(x) \propto log(18-x) * (1-2^{-x})$.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The plot of $f(x)$ versus $x$ looks like this.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/TEJ29nagTZI/AAAAAAAAEBU/QDgkmSL0yxg/s1600/Final.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_F4pTsBbUp3g/TEJ29nagTZI/AAAAAAAAEBU/QDgkmSL0yxg/s320/Final.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5495085296269675922" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 239px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Deduction: &lt;b&gt;&lt;u&gt;Maximum benefit is achieved by working for 6 hours, i.e. &lt;/u&gt;$x=6$&lt;u&gt; is the optimum&lt;/u&gt;&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;This leaves us with 12 hours for mental-health. Of course, using all that for sleep would not be wise, because sleep is not the only thing that influences mental-health. General reading, playing, music, praying.... and a tons of other things could and probably SHOULD be done! Catching up with news, making &lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Small_talk_(phatic_communication)"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;small-talk&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;..... Helping your computer-illiterate neighbours setup their video cam is also not a bad idea. It buys you good-will, which can sometimes enhance overall-benefit all by itself. I shall assume an average of 3.5 hours for all this. This, and half an hour everyday for latency (various things...)&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;gives us 8 hours of sleep!&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;b&gt;&lt;u&gt;&lt;span class="Apple-style-span"  style=" font-weight: normal; -webkit-text-decorations-in-effect: none; font-family:Georgia, serif;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F4pTsBbUp3g/TEJ2wRTW5FI/AAAAAAAAEBM/XLXrTubikFo/s1600/sleeping_baby_small.jpg"&gt;&lt;img src="http://4.bp.blogspot.com/_F4pTsBbUp3g/TEJ2wRTW5FI/AAAAAAAAEBM/XLXrTubikFo/s320/sleeping_baby_small.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5495085066995819602" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 300px; height: 309px; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P.S. Read &lt;/span&gt;&lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/PowerfulSleep.pdf"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;this&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; manual sometime if you can, it is about how you get the maximum out of your sleep.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-1460885830036077497?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/1460885830036077497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=1460885830036077497' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1460885830036077497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1460885830036077497'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/07/8-hours-of-sleep.html' title='8 Hours of Sleep'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F4pTsBbUp3g/TEJ1hzI_alI/AAAAAAAAEBE/kY3snk-TnFY/s72-c/Lemma2.jpg' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-8705950644558724780</id><published>2010-06-13T08:32:00.021+05:30</published><updated>2010-06-28T00:48:13.769+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bernoulli'/><category scheme='http://www.blogger.com/atom/ns#' term='finite'/><category scheme='http://www.blogger.com/atom/ns#' term='bicycle'/><category scheme='http://www.blogger.com/atom/ns#' term='train'/><category scheme='http://www.blogger.com/atom/ns#' term='bicyclists'/><category scheme='http://www.blogger.com/atom/ns#' term='infinite trips'/><category scheme='http://www.blogger.com/atom/ns#' term='minuta'/><category scheme='http://www.blogger.com/atom/ns#' term='fly puzzle'/><category scheme='http://www.blogger.com/atom/ns#' term='infinity flight'/><category scheme='http://www.blogger.com/atom/ns#' term='bicycle fly puzzle'/><category scheme='http://www.blogger.com/atom/ns#' term='infinity'/><category scheme='http://www.blogger.com/atom/ns#' term='fly'/><category scheme='http://www.blogger.com/atom/ns#' term='bird'/><title type='text'>Flight to Infinity</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/TBRewIMmvFI/AAAAAAAAD8w/krepWgc33Fc/s1600/2639589591_4129f4b035.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/TBRewIMmvFI/AAAAAAAAD8w/krepWgc33Fc/s320/2639589591_4129f4b035.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5482110827343821906" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Two trains start 20 miles apart and head toward each other, each going at a steady speed of 10 m.p.h. At the same time, a &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;bird that travels at a steady 15 m.p.h. starts from the front of the first train and flies to the front of the second one, &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;and then turns around and flies to the front of the first train again, and continues in this manner till the trains meet.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Questions:-&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;(1) How much distance will the bird cover before the trains meet?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;(2) How many trips will the bird make?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Question 1 is easy. The relative speed between the two trains is 20 mph. So they meet after $\frac{20}{20} = 1$ hour. The &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;bird would have travelled $15 * 1 = 15$ miles.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Question 2 however is not so simple. Consider that the trains are $x$ miles apart. The bird takes $\frac{x}{15 + 10}$&lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt; hours to make a trip. The distance between the trains reduces to $x - \left(2 * 10 * \frac{x}{25}\right) = \frac{x}{5}$&lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt; miles. This means that one trip of the bird reduces the distance between the trains to one-fifth. Given that the trains &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;start 20 miles apart, we can say the distance between the trains after $t$ trips of the bird would be $\frac{20}{5^t}$. Thus &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;we get the total number of trips of the bird as $T$:&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;$\frac{20}{5^T} = 0 \Rightarrow T = \infty$&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The answer, though mathematically logical and valid, is a little hard to digest. At least I found it so. How can a bird make &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;infinite trips? Bicyclists, flies, speed.. all seem so real and yet the answer seems so detached from reality. The trains &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;meet in finite time, the bird travels a finite distance (answer of question 1) and yet the bird seems to have made infinite &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;trips... How can infinity exist within things that are seemingly finite?&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Infinity is a hard concept to understand and feel. I will not claim to have understood it. I have just made my peace with &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;it. I do however seem to have an explanation as to how this seemingly realistic problem transcends to the unreal. When I say &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;"seemingly realistic", I mean that it is perfectly possible to have trains which travel at constant speed and birds which fly at constant speed. By unreal, I am referring to how hard it is to believe that a bird can make infinite trips.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Although the speeds and situations are realistic, it is impossible to have a bird which touches a train and turns back &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;immediately. The problem assumes that, if the bird is perched on a train at time $t$, it is in flight at times $t - \epsilon$ and $t + \epsilon$, for all $\epsilon &gt; 0$. This is exactly where it moves to the unreal.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;However, if we did consider the bird to take even a minimal, but non-zero, time to switch between the trains (say &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;$\lambda$), we would have - &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;bird takes $\frac{x}{25} + \lambda$ hours to make a trip. Thus one trip of the bird would reduce the distance between the &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;trains to $\frac{x}{5} - 20 \times \lambda$. Obviously, then, we would have a finite number of trips.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Coming back to the concept of infinity, it is hard to feel it. The best you can do is have a fleeting image of it when you &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;close your eyes and imagine the universe. A mosquito itch on your knee immediately brings you back to your sad room lit with &lt;/span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;fluorescent light. I end with this exquisite quote by Jacob Bernoulli&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;... Even as the finite encloses an infinite series&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;And in the unlimited limits appear,&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;So the soul of immensity dwells in minuta&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;And in the narrowest limits, no limits inhere&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;What joy to discern the minute in infinity!&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The vast to perceive in the small, what Divinity ...&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style=" color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; font-family:Georgia, serif;"&gt;&lt;img src="http://2.bp.blogspot.com/_F4pTsBbUp3g/TBRezzecnzI/AAAAAAAAD84/XYKjy8TGy6c/s320/060124c.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5482110890500988722" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 180px; " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-8705950644558724780?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/8705950644558724780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=8705950644558724780' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8705950644558724780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8705950644558724780'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/06/flight-to-infinity.html' title='Flight to Infinity'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F4pTsBbUp3g/TBRewIMmvFI/AAAAAAAAD8w/krepWgc33Fc/s72-c/2639589591_4129f4b035.jpg' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-3826270766319836222</id><published>2010-06-11T02:34:00.023+05:30</published><updated>2011-05-21T23:06:35.505+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='latex on blogspot'/><category scheme='http://www.blogger.com/atom/ns#' term='latex in blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='blogspot'/><category scheme='http://www.blogger.com/atom/ns#' term='math in blogspot'/><category scheme='http://www.blogger.com/atom/ns#' term='math'/><category scheme='http://www.blogger.com/atom/ns#' term='latex on blogger'/><title type='text'>LATEX Works on Blogspot!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;Today I chanced upon a &lt;a href="http://watchmath.com/vlog/?p=438"&gt;webpage&lt;/a&gt; which had instructions on how one could enable &lt;a href="http://en.wikipedia.org/wiki/LaTeX"&gt; LATEX&lt;/a&gt; on blogspot, and write stuff like $\LaTeX$, $\frac{1}{2}$, $\mathcal{P}^r(\mathcal{L})$ or even:&lt;br /&gt;&lt;br /&gt;\[ \frac{numerator1}{denominator1 + \frac{numerator2}{denominator2 + \frac{numerator3}{denominator3}}} \]&lt;br /&gt;Needless to say, I am pretty excited.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;Edit: The link with the instructions seems to be down. However, following these instructions will have latex working on your blog.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: times new roman; text-align: justify;"&gt;&lt;span style="font-size: 100%;"&gt;(1) Copy the piece of code below and paste it in a "HTML/Javascript" blogger box.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;textarea cols="40" name="textarea" rows="4" wrap="VIRTUAL"&gt;&amp;lt;script src="https://sites.google.com/site/abhiramfiles1/Home/blog-files/mathtex3.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script type="text/javascript"&amp;gt; replaceMath( document.body );&amp;lt;/script&amp;gt;&lt;/textarea&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(2) Type latex code between $ signs.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(3) Publish the post.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(4) Behold and enjoy.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-3826270766319836222?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/3826270766319836222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=3826270766319836222' title='32 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3826270766319836222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3826270766319836222'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/06/latex-on-blogspot.html' title='LATEX Works on Blogspot!'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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>32</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-1466078294466006076</id><published>2010-06-09T05:54:00.014+05:30</published><updated>2010-06-14T01:33:00.089+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistical probability'/><category scheme='http://www.blogger.com/atom/ns#' term='wrong'/><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>"Probably" Wrong</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;a style="font-family: times new roman;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/TA7kAL_QGiI/AAAAAAAAD7c/TyQNSZ5z1IU/s1600/shr1126l.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 285px; height: 320px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/TA7kAL_QGiI/AAAAAAAAD7c/TyQNSZ5z1IU/s320/shr1126l.jpg" alt="" id="BLOGGER_PHOTO_ID_5480568488425691682" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;If you are writing a program involving probabilities and it is buggy, you would first check if you are getting your probabilities right. The primary thing you would do would be to ensure that for all &lt;span style="font-style: italic;"&gt;p&lt;/span&gt;: $0 \le p \le 1$&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;It has been two semesters here at Brown for me and the highest wrong probability I ever got was 3.5. Today, however, I broke the boundaries and achieved a probability of 237.56, my personal best by a whopping margin. Given that I find nearly a 6500% increase over my previous best, I could not resist sharing my success.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;I dedicate my success to hours of game-playing and not-doing anything, which in turn forces me to do things in such a hurry that I end up with state-of-art results.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-1466078294466006076?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/1466078294466006076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=1466078294466006076' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1466078294466006076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1466078294466006076'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/06/probably-wrong.html' title='&quot;Probably&quot; Wrong'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F4pTsBbUp3g/TA7kAL_QGiI/AAAAAAAAD7c/TyQNSZ5z1IU/s72-c/shr1126l.jpg' height='72' width='72'/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-1506002447239266031</id><published>2010-03-19T18:53:00.012+05:30</published><updated>2011-03-26T14:51:53.053+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='gchat'/><category scheme='http://www.blogger.com/atom/ns#' term='google talk etiquette'/><category scheme='http://www.blogger.com/atom/ns#' term='google talk'/><category scheme='http://www.blogger.com/atom/ns#' term='respect'/><category scheme='http://www.blogger.com/atom/ns#' term='CPU Job scheduling'/><category scheme='http://www.blogger.com/atom/ns#' term='manners'/><category scheme='http://www.blogger.com/atom/ns#' term='google chat'/><category scheme='http://www.blogger.com/atom/ns#' term='gtalk'/><category scheme='http://www.blogger.com/atom/ns#' term='job scheduling'/><category scheme='http://www.blogger.com/atom/ns#' term='job scheduling in life'/><title type='text'>Gtalk Etiquette</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;When in the middle of an online chat, I get extremely pissed off if I have to wait more than 20 seconds to get each reply. Yes, the other person might be doing something important and I might be interrupting, but I expect to be told that so I don't wait staring at the chat window waiting for a reply. If you are available, i.e. green, and you are in the middle of a conversation with me, I expect you to give replies instantaneously.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In a face-to-face conversation, you would need to give undivided attention to the person you are talking to. It would be inappropriate to do anything else mentally/physically involving when in the middle of the conversation. It would be inappropriate to talk to a third person in between too. The dynamics of an online conversation are clearly different. The thing that makes online conversations different is the delay in transmission of messages. It would be a waste of time to do nothing other than chat with one person. In the time between the instant you send your message and the instant you receive the reply, you could and should do something else. This will help minimize your idle time.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;However, your idle time is not the singular most important thing. On the other side is a human being, whose time is just as valuable as yours, irrespective of who you are! Keeping this in mind, I have set myself some rules which I faithfully stick to all the time.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(1) As soon as I log into gmail, I assess my status. Am I free to talk to people? If yes, I am green (available). If not, I assess how busy I am. If I am busy enough to be unable to give pingers undivided attention, but free enough that I would like to hear if someone has something interesting or important, I am red (busy). If I just do not want anyone to bother me whatever happens, I am invisible. Further still, if I do not want the rare event of someone taking the chance and pinging me even when I show as offline (hoping I am invisible), I sign out of chat.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(2) If I am busy/invisible and someone pings me, there is no pressure on me to reply. I am allowed to take my time. I need not even reply in the near future. It is their problem they pinged me in spite of me not being green.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(3) If I am green, and someone pings me, I try to reply as soon as I can. If it is longer than some amount of time, I shoot a "sorry, was not at desk". This is w.r.t. the first reply.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;***(4) With subsequent replies I make it a point to reply &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;INSTANTANEOUSLY &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(when I am green)! The only delay the other person should face with each reply should be time_taken_for_message_to_reach_me + my_thinking_time + typing_time + time_taken_for_travel_of_message + &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;epsilon&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;. If I cannot reply instantaneously, I make sure the other person knows I am doing something else. Once again, if I am red, all this is not necessary. I can take my time for each reply.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(5) If I violate any of the above, I apologise sincerely, &lt;/span&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;irrespective of who the other person is.&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: red; font-size: medium;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;NOTE:- If I have violated any of the above 5 with you,&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;nbsp;it will be because you have violated one or more of points (1)-(5), OFTEN.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I have a low opinion of anyone who grossly violates points (1)-(5) (okay once in a while). Who am I to make rules and make judgments you ask? I am no one. It is unlikely that I head a multi-billion-dollar company in the immediate future and hence you really need not be nice to me. However, do not expect me to be nice to you either. If you make me wait for every reply I need to get from you, be prepared to face the same thing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Having rules for online chatting seems too prudish. Online chatting is informal and I want it to remain that way. However, one must keep in mind that on the other side is a human being, whose every second is as valuable as yours. It is about respect and value for others time, and about valuing it as much as you value yours. It is easy to be respectful towards your professors, your managers, your elders. Being respectful to them reflects nothing about your character. You respect them because you are the one who loses if you don't. The fact that you respect them only means you are not stupid, and that is not much. How much you respect your equals (your friends, loved ones, etc) and people below you is what counts. Watching youtube videos or reading articles when in the middle of a conversation is plain rude. If you still want to do it, just let the other person know that you are doing. That is the least you can do.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I swear to god that this post is not aimed at anyone. I hope and I do believe that my friends and the people I care about do not undervalue my time. Everyone is nice to me. I write this post just to float the idea that it is not just your time that is important.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;As always, I have a CS analogy for this. You are a CPU. The way you respond to people pinging you reflects the job scheduling algorithm you are running. The people pinging you are the jobs that request the CPU. You try to maximize the throughput, i.e. minimize CPU idle time. The time taken for your message to travel to the destination and for the reply to come back is akin to jobs waiting for an I/O resources. I think it is best you run a mix of round-robin-scheduling and first-come-first-serve. And even with round-robin scheduling, have an upper limit on the number of jobs you schedule. You should determine the upper limit for yourself, depends on your typing speed and other stuff. There is something slightly different here though. Minimizing job starvation time (time spent by second person waiting for your replies) is almost as important as minimizing CPU idle time (your idle time). The importance ratio is what reflects your character. Let us define:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;importance_ratio = importance_of_second_person's_time / importance_of_your_time&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;You are free to set it to whatever you want. If you set it to 0, you are an arrogant bastard. If you set it to infinity, you are a noble idiot. 0.9 to 1.0 would be best I think.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif;"&gt;&lt;a href="http://2.bp.blogspot.com/_F4pTsBbUp3g/S6OdYBiQyuI/AAAAAAAADzA/04WbV3fHfiQ/s1600-h/etiquette.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5450373010102995682" src="http://2.bp.blogspot.com/_F4pTsBbUp3g/S6OdYBiQyuI/AAAAAAAADzA/04WbV3fHfiQ/s320/etiquette.jpg" style="cursor: pointer; display: block; height: 273px; margin: 0px auto 10px; text-align: justify; width: 320px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-1506002447239266031?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/1506002447239266031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=1506002447239266031' title='25 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1506002447239266031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1506002447239266031'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/03/gtalk-etiquette.html' title='Gtalk Etiquette'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_F4pTsBbUp3g/S6OdYBiQyuI/AAAAAAAADzA/04WbV3fHfiQ/s72-c/etiquette.jpg' height='72' width='72'/><thr:total>25</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-1004963651048488445</id><published>2010-01-28T06:51:00.005+05:30</published><updated>2010-02-17T19:47:49.672+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='imagination'/><category scheme='http://www.blogger.com/atom/ns#' term='movies'/><category scheme='http://www.blogger.com/atom/ns#' term='books'/><category scheme='http://www.blogger.com/atom/ns#' term='fantasy'/><category scheme='http://www.blogger.com/atom/ns#' term='movies vs books'/><title type='text'>Movies vs Books</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/S2DrrAmaeuI/AAAAAAAADsg/pmDmNM-34Jk/s1600-h/dont_judge_a_book_by_its_movie_mug-p1689972484392913352om5b_400.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 304px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/S2DrrAmaeuI/AAAAAAAADsg/pmDmNM-34Jk/s320/dont_judge_a_book_by_its_movie_mug-p1689972484392913352om5b_400.jpg" alt="" id="BLOGGER_PHOTO_ID_5431600274736839394" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"   style=";font-family:'times new roman';font-size:medium;"&gt;Just yesterday I heard my friend say he only watched movies and never read books (apart from academic ones). He even argued that there is nothing you can get from a book that a movie or a documentary does not give you. He believed that as an artist, expressing yourself using video would be easier and more liberating than text. And better means of expression meant that you convey more and in a better way, hence the receiver would be more enriched when they watch video. Though I could not summon an argument right there, below is my rebuttal.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Technically the information available in a book could be reproduced in any kind of video medium, maybe even in more splendour. However, the &lt;i&gt;take home&lt;/i&gt; from a book reading is not just what the author wants to say, it is also what you make of it. Personally, when I see things in text, it gives me the freedom to make my own pictures and audio. I absorb it into my fantasy world, which is far more beautiful than what any video medium can show. I shall quote Aamir Khan from Taare Zameen Par - &lt;i&gt;"...the table is too weak to hold the burden of your imagination..."&lt;/i&gt;, in response to a kid asking him why there was no model on the table for him to imitate while painting. In this context I mean to say that 2-D TV and Dolby Digital are far too limited to portray what your thoughts can show you. And the &lt;i&gt;&lt;b&gt;exercise &lt;/b&gt;&lt;/i&gt;of making a picture out of text is crucial and probably far more enriching than directly having the pictures spoon-fed. Waiting to hear people's thoughts...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-1004963651048488445?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/1004963651048488445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=1004963651048488445' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1004963651048488445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1004963651048488445'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/01/movies-vs-books.html' title='Movies vs Books'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F4pTsBbUp3g/S2DrrAmaeuI/AAAAAAAADsg/pmDmNM-34Jk/s72-c/dont_judge_a_book_by_its_movie_mug-p1689972484392913352om5b_400.jpg' height='72' width='72'/><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-6712526147554607814</id><published>2010-01-10T04:20:00.013+05:30</published><updated>2011-03-26T14:54:12.620+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dislikes'/><category scheme='http://www.blogger.com/atom/ns#' term='likes'/><category scheme='http://www.blogger.com/atom/ns#' term='think'/><category scheme='http://www.blogger.com/atom/ns#' term='abhiram'/><title type='text'>I think...</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://3.bp.blogspot.com/_F4pTsBbUp3g/S0xdWz09mkI/AAAAAAAADns/ImWbcy8NZTI/s1600-h/6a00d83451ba6469e200e54f4fbb438834-640wi.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5425814297525459522" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/S0xdWz09mkI/AAAAAAAADns/ImWbcy8NZTI/s320/6a00d83451ba6469e200e54f4fbb438834-640wi.jpg" style="cursor: pointer; display: block; height: 161px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;Often, I say I like/hate something just because everyone around me likes/hates it; just to "fit in" socially... Everyone does that. The compelling reason for this post is that I recently found myself in such a situation and felt awful that I lacked the courage to be frank. Here goes...&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(1) Shaan is a terrible singer and &lt;i&gt;Tanha Dil&lt;/i&gt; is an ordinary song&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(2) "The Shawshank Redemption" is not a great movie&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(3) Black, Rang De Basanti, Slumdog Millionaire, (&lt;i&gt;many more, this is all I can remember right now&lt;/i&gt;) sucked&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(4) Other than Lisa Kudrow (Phoebe of Friends) and Kajol, most women cannot do comedy&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(5) Ricky Ponting should break all of Sachin's records&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(6) MS Office is the coolest piece of software written; Windows is cool and so is Bill Gates &lt;i&gt;- This is taboo, coming from a CS guy. You are trained and brainwashed to hate windows and everything related to it&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(7) Richard Stallman's rants are unbecoming of someone of his stature&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(8) George W Bush and Manmohan Singh are cute&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(9) &lt;a href="http://en.wikipedia.org/wiki/Irrfan_Khan"&gt;Irrfan Khan&lt;/a&gt; is not a great actor&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(10) Russel Peters is not funny&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(11) Harsha Bhogle is neither smart nor insightful.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(12) Black Forest cake sucks&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(13) The Backstreet Boys are awesome&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande';"&gt;(14) Rock (music) sucks&lt;br /&gt;&lt;br /&gt;(15) It is hard to decide which among twitter and facebook is more lame&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-6712526147554607814?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/6712526147554607814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=6712526147554607814' title='29 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6712526147554607814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6712526147554607814'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/01/i-say.html' title='I think...'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F4pTsBbUp3g/S0xdWz09mkI/AAAAAAAADns/ImWbcy8NZTI/s72-c/6a00d83451ba6469e200e54f4fbb438834-640wi.jpg' height='72' width='72'/><thr:total>29</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-2400471451230960966</id><published>2010-01-06T10:51:00.024+05:30</published><updated>2010-01-09T14:24:23.593+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='zidane'/><category scheme='http://www.blogger.com/atom/ns#' term='footballer'/><category scheme='http://www.blogger.com/atom/ns#' term='best'/><category scheme='http://www.blogger.com/atom/ns#' term='greatest'/><category scheme='http://www.blogger.com/atom/ns#' term='soccer'/><category scheme='http://www.blogger.com/atom/ns#' term='dream team of decade'/><category scheme='http://www.blogger.com/atom/ns#' term='dream soccer team'/><category scheme='http://www.blogger.com/atom/ns#' term='dream team'/><category scheme='http://www.blogger.com/atom/ns#' term='beckham'/><category scheme='http://www.blogger.com/atom/ns#' term='manchester united'/><category scheme='http://www.blogger.com/atom/ns#' term='decade'/><title type='text'>Footballer of the Decade</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_F4pTsBbUp3g/S0Q1nTdOTVI/AAAAAAAADmo/Sx-PxYTxhGk/s1600-h/Screenshot-Footballer+of+the+Decade+%7C+ESPNSTAR.com+-+Iceweasel.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 262px;" src="http://2.bp.blogspot.com/_F4pTsBbUp3g/S0Q1nTdOTVI/AAAAAAAADmo/Sx-PxYTxhGk/s320/Screenshot-Footballer+of+the+Decade+%7C+ESPNSTAR.com+-+Iceweasel.jpg" alt="" id="BLOGGER_PHOTO_ID_5423518800614935890" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Yes, you are right, the high frequency of posting is because I have holidays.&lt;br /&gt;&lt;br /&gt;This post is inspired by the &lt;/span&gt;&lt;a href="http://www.espnstar.com/decade/"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;footballer of the decade&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; poll that is being conducted on espnstar.com.&lt;br /&gt;&lt;br /&gt;Inclusions in the list that I disagree with:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;1. Christiano Ronaldo&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;They might have as well included Baichang Bhutia!!! Christiano is fast and has deadly shot power. But that is not enough qualification to be on the footballer of the decade list!. If he is there, why is Messi absent? I do not see any difference between them. It is just recent hype and the fact that Real Madrid were stupid enough to spend on him almost twice the amount they spent on Zidane. I sincerely hope he does not win!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;2. John Terry&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Fantastic footballer. But still does not deserve a nomination for this title. For me every nomination should have something &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;extra-ordinary&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; that makes you say "wow! no one can do that like he does". John Terry is not one like that.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;3. Eto'O&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Once again, far from &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;extra-ordinary.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; In fact, does not have anything special according to me. He scored a lot of goals only because he was surrounded by the likes of Ronaldinho and Messi. Another guy who has succesfully fooled the world into believing he is good just because he scores a lot (remember Ruud Van Nistelrooy). I am sorry, but I cannot write any soccer post without making fun of Van Nistelrooy.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;4. Raul&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Good, but I see so many better ones who could have been there, Rivaldo, Ronaldo (the Brazilian), Bergkamp, the list goes on.&lt;br /&gt;&lt;br /&gt;Exclusions that make my heart ache:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;1. David Beckham&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Yes, he does not have the best history. But give me just "one" footballer who is a better free-kick taker than him. He was a great shot too.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;2. Ronaldo (Brazilian)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;He is the phenomenen! The most scintillating footballer of the decade. At his best, he could beat 5 defenders and score! God knows how Eto and Raul were chosen over him.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;3. Roberto Carlos&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Not that he is better than any of the defenders currently on the list, but I think we should have a specialist "left-back". I know Maldini could fill in for that position. But I say he should have been there instead of Terry. After all, the previous decade saw him win a Champions League as well as a World Cup.&lt;br /&gt;&lt;br /&gt;Some others- Dennis Bergkamp, Roy Keane, Rivaldo... I know some of the footballers I have talked about were well past their prime in this decade, but I still believe the list should have had them.&lt;br /&gt;&lt;br /&gt;I shall now make up my "dream team" from the last decade. There are many ways you can make up a dream team. It is all about perspective...&lt;br /&gt;(1) Taking the biggest names in each position, and not worrying whether they can play with the others in the team&lt;br /&gt;(2) Choosing people always thinking that they have to "play with each other". So you choose people wanting to build a complete team.&lt;br /&gt;&lt;br /&gt;I shall do it the 2nd way. Below is my team. &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Total_Football"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Total Football&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; will be used, at least among the midfielders and the forwards. Everyone is responsible for both defence as well as attack.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/S0Q1t-DVKXI/AAAAAAAADmw/QzaAvxTh5dM/s1600-h/WA4808-001.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 364px;" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/S0Q1t-DVKXI/AAAAAAAADmw/QzaAvxTh5dM/s400/WA4808-001.bmp" alt="" id="BLOGGER_PHOTO_ID_5423518915128273266" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Fabien Barthez (GK):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; A maverick. But still unbeatable when in the mood. Buffon, Casillas, etc might be more reliable but I consider Fabien the best shot-stopper. And given the technical defenders, he would add some craziness to the otherwise boring defence.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Lilian Thuram (RB):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Nothing to say, picks himself.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Maldini (CB):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Nothing to say.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Nesta (CB):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Considered a lot of other people for this position, but thought he would gel best with Maldini, given that they played together.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Roberto Carlos (LB):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Would add to the adventurousness of the defence, just like Barthez. A very capable defender and probably the most powerful kicker of the football. Would help behead an opponent with his kick.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Roy Keane (CDM):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Captain of the team. Given the attacking formation and the general nature of the other players, he would help hold the midfield together.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;David Beckham (RM):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Natural Choice. Would be the primary freekick taker and corner man too.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solksjaer (CM):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; A weird choice I know. Reason for choosing - the team is composed of stars. Stars have a tendency to collectively fail on a single day. Ole would help rescue the team on such a day. There are a lot of people who can fit this description, but what to do, Manchester United bias you see :)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Zinedine Zidane (LM):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Nothing to say. A true GOD!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ronaldo Luiz Nazario (LF):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Not the idiotic Portuguese, the Brazilian. The most devastating striker I have ever seen. Was unstoppable at his peak.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Wayne Rooney (RF):&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Another choice I need to explain. The attack is largely composed of high maintenance flair players (Zidane, Beckham, Ronaldo...). Rooney has always shown to be willing to run back and do a bit of defending. This is again an attempt to balance the team, with a strong Manchester United bias ;)&lt;br /&gt;&lt;br /&gt;And last, definitely not the least, the most important guy, i.e. the manager/coach.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/S0Q11WDFQrI/AAAAAAAADm4/GTQoygaei0Q/s1600-h/5295_242646990354_639110354_8099447_6835069_n.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 185px; height: 264px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/S0Q11WDFQrI/AAAAAAAADm4/GTQoygaei0Q/s400/5295_242646990354_639110354_8099447_6835069_n.jpg" alt="" id="BLOGGER_PHOTO_ID_5423519041828766386" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;My pick for footballer of the decade. &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Zinedine Zidane&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. I do not say "God" for all and sundry. But this guy truly was. He made soccer look easy. He always looked to be playing in slow motion. Perfectly economical and optimal movements with mesmerising skill and control of the ball. Though I have not seen any footage of Pele, Maredona, I would say he is the best footballer ever. Maybe not w.r.t goal scoring, but for sheer class and finesse. Below is a video of him. Watch it and you will know why I love him so much.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;object width="410" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/EYd5nOwEV_w&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/EYd5nOwEV_w&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-2400471451230960966?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/2400471451230960966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=2400471451230960966' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2400471451230960966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2400471451230960966'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/01/footballer-of-decade.html' title='Footballer of the Decade'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_F4pTsBbUp3g/S0Q1nTdOTVI/AAAAAAAADmo/Sx-PxYTxhGk/s72-c/Screenshot-Footballer+of+the+Decade+%7C+ESPNSTAR.com+-+Iceweasel.jpg' height='72' width='72'/><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-8837619395286202914</id><published>2010-01-05T13:37:00.007+05:30</published><updated>2010-01-06T06:56:26.084+05:30</updated><title type='text'>New Look</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F4pTsBbUp3g/S0Lz37IYxvI/AAAAAAAADl8/c59N1nP6IFQ/s1600-h/th_turquoiseandbrown.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 133px;" src="http://4.bp.blogspot.com/_F4pTsBbUp3g/S0Lz37IYxvI/AAAAAAAADl8/c59N1nP6IFQ/s320/th_turquoiseandbrown.jpg" alt="" id="BLOGGER_PHOTO_ID_5423165043398723314" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;If you were hoping I got myself a new look, I am sorry to dissapoint you. It is my blog. If you want more such beautiful templates, go &lt;a href="http://hotbliggityblog.com/backgrounds.php?limit=All&amp;amp;querystring="&gt;here&lt;/a&gt;. The procedure to change the template is given &lt;a href="http://hotbliggityblog.com/instructions.php"&gt;here&lt;/a&gt;. Good luck. And I would be extremely grateful if you can comment whether you like this new template or not. Specifically, I want to know whether it is pleasing to the eye. Thanks in anticipation.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-8837619395286202914?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/8837619395286202914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=8837619395286202914' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8837619395286202914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8837619395286202914'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2010/01/new-look.html' title='New Look'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F4pTsBbUp3g/S0Lz37IYxvI/AAAAAAAADl8/c59N1nP6IFQ/s72-c/th_turquoiseandbrown.jpg' height='72' width='72'/><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-8981394591170139286</id><published>2009-11-28T10:57:00.021+05:30</published><updated>2010-01-06T09:18:24.894+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ai winter'/><category scheme='http://www.blogger.com/atom/ns#' term='ai'/><category scheme='http://www.blogger.com/atom/ns#' term='push singh'/><category scheme='http://www.blogger.com/atom/ns#' term='god'/><category scheme='http://www.blogger.com/atom/ns#' term='determinism'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='marvin minsky'/><category scheme='http://www.blogger.com/atom/ns#' term='why ai failed'/><category scheme='http://www.blogger.com/atom/ns#' term='intelligence'/><category scheme='http://www.blogger.com/atom/ns#' term='artificial intelligence failed'/><title type='text'>Why AI Failed - My Two Cents</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;a style="font-family: times new roman;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F4pTsBbUp3g/SxC8iPWleKI/AAAAAAAAC_8/sGOYeWto0-g/s1600/dice.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 256px;" src="http://4.bp.blogspot.com/_F4pTsBbUp3g/SxC8iPWleKI/AAAAAAAAC_8/sGOYeWto0-g/s400/dice.jpg" alt="" id="BLOGGER_PHOTO_ID_5409030448894802082" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div  style="text-align: justify;font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;This post is inspired by the late &lt;a href="http://web.media.mit.edu/%7Epush/"&gt;Dr. Push Singh&lt;/a&gt;'s article titled "&lt;a href="http://web.media.mit.edu/%7Epush/why-ai-failed.html"&gt;Why AI Failed&lt;/a&gt;". When I say "failure" of AI, I am referring to the fact that we still do not have &lt;/span&gt;&lt;span style="font-size:medium;"&gt;machines with human-level intelligence. Such machines were expected by 2001 itself. We know that science is not even on the brink of it. Dr. Singh's article is &lt;/span&gt;&lt;span style="font-size:medium;"&gt;comprehensive and succinct in its explanation. In this post, I talk about the same thing with an analogy. In the analogy, I shall describe a problem and analyze two &lt;/span&gt;&lt;span style="font-size:medium;"&gt;possible methods of approach. I shall end by drawing parallels and explain what is going wrong, in my opinion, with the current direction of AI research.&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;Before I detail the task, there are somethings I would like to say. The task I am going to talk about is an "ideal" case. It cannot be reproduced in real life. When I &lt;/span&gt;&lt;span style="font-size:medium;"&gt;use terms like examination, please do not form a vision of a silent hall with an invigilator and a time limit of 3 hours. The whole thing is totally abstract. Analyze &lt;/span&gt;&lt;span style="font-size:medium;"&gt;this article from 50 feet above - think about everything in general, do not nitpick and confine yourself to the material words I use. They are just there to make this &lt;/span&gt;&lt;span style="font-size:medium;"&gt;article take a form in English. In fact, I myself do not have concrete pictures about what I am say. Think of this post as a description of something I see far away &lt;/span&gt;&lt;span style="font-size:medium;"&gt;without my spectacles on!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;The task - We are to train a 10 year old in mathematics and make him fit for an exam in integral calculus. Details are as follows:-&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;(1) You are God! You are perfect. Once again, Please do not think of God as a magician with a halo around his head who can do anything. I just mean you are "ideal". You &lt;/span&gt;&lt;span style="font-size:medium;"&gt;know the perfect optimal way to do and solve anything. &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;(2) This 10 year old that you are assigned is just an average 10 year old. Nothing extra-ordinary about him. Nothing bad about him either. He is "human". &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;(3) The exam is one like no other. The score you get is a "perfect" indicator of your knowledge about integral calculus. Only God(you) can get 100%. The "human" cannot. &lt;/span&gt;&lt;span style="font-size:medium;"&gt;Also, knowing even the most basic and elementary formulae of integral calculus will mean that you score more than 0. Think of this exam as a compilation of the all the &lt;/span&gt;&lt;span style="font-size:medium;"&gt;questions that can exist about integral calculus. Right from the most elementary and trivial ones, to the most complex ones.&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;(4) Your sole objective is to maximize his score in the exam. You do not care about anything else.  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;The first question that you would now have would be - "how much time do we have?". I am not going to given an answer to this right now. Please push that question to the &lt;/span&gt;&lt;span style="font-size:medium;"&gt;back of your head. All I shall say now is that the time is not enough to turn him into a God, i.e. make him score a 100%. 100% needs "infinite" time (if you do not &lt;/span&gt;&lt;span style="font-size:medium;"&gt;understand why I said "infinite" time, please think about it. Getting a vision of "ideal", "perfect", etc. is essential to proceed. Such concepts are difficult to put &lt;/span&gt;&lt;span style="font-size:medium;"&gt;in words. They can only be felt). You only have "finite" time on hand. Since I say the 10 year old is average, our task at hand is not a trivial one. It will take time &lt;/span&gt;&lt;span style="font-size:medium;"&gt;and careful planning. Your planning would not only involve deciding what mathematics to teach him, but also a plan of the boy's daily routine. Right from the games he &lt;/span&gt;&lt;span style="font-size:medium;"&gt;plays, the food he eats, etc. It is like he is totally in your control.  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;I do not know the perfect solution to this problem myself. I am sure no one reading this post will either! I can say that confidently because I am talking about "ideal" &lt;/span&gt;&lt;span style="font-size:medium;"&gt;cases here. The exam itself is not conceivable. (A lot of people have exagerrated views about their teaching and mathematical abilities, I myself have ;). The fact that &lt;/span&gt;&lt;span style="font-size:medium;"&gt;you were good at solving integration problems in college and could do them faster than all your friends does not mean you are the "ideal" person I am talking about &lt;/span&gt;&lt;span style="font-size:medium;"&gt;here. We are all equally idiotic in front of "perfection". Someone may be a 10, someone else maybe a 200, 10000, or whatever. In comparison with infinity, all of them &lt;/span&gt;&lt;span style="font-size:medium;"&gt;are nothing(zero) because anything divided by infinity is zero). If you think you know the perfect solution to this problem, I suggest you stop reading the post. It is &lt;/span&gt;&lt;span style="font-size:medium;"&gt;useless for you to proceed.  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;If you are reading this paragraph and further, you agree that you do not know the perfect solution to this problem. I don't know it either. There are a lot of &lt;/span&gt;&lt;span style="font-size:medium;"&gt;approaches we can talk about. Small changes in one might cause improvements. I do not want to get into that. I just want company as I attempt to analyze the "kind" of &lt;/span&gt;&lt;span style="font-size:medium;"&gt;solutions possible. Hopefully one day we will know the perfect solution. I think the approaches can be broadly categorized as below:-  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Approach 1:&lt;/span&gt; The drilling-in approach. Since the sole objective is to maximize the score in the exam, make the kid learn as much as possible by-heart. Begin with the &lt;/span&gt;&lt;span style="font-size:medium;"&gt;basic formulae. Drill them in! Remember, this will help because the "exam" has the most basic and elementary problems as well as complex problems. Get a few basic text &lt;/span&gt;&lt;span style="font-size:medium;"&gt;books and make him learn all the solutions by-heart. This will also push the score higher. Keep doing such things. Make him work overtime, to the exclusion of &lt;/span&gt;&lt;span style="font-size:medium;"&gt;everything else, even sleep. Think about the scores you can reach with this kind of an approach...  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Approach 2:&lt;/span&gt; The normal approach. Draw the kid a proper routine. Start with the basics. Make sure the kid develops in all respects. Now, think about the scores you can &lt;/span&gt;&lt;span style="font-size:100%;"&gt;reach with this kind of approach...&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;Below is the graph of scores vs time taken of both the approaches.&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/SxC3g-VtgZI/AAAAAAAAC_0/Wi8z-ngg1z4/s1600/Statistical+AI+vs+Logical+AI.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 260px;" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/SxC3g-VtgZI/AAAAAAAAC_0/Wi8z-ngg1z4/s400/Statistical+AI+vs+Logical+AI.bmp" alt="" id="BLOGGER_PHOTO_ID_5409024929589723538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;Note:- I do not have any real concrete reasons for why I think the graph should look like that.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-weight: bold;"&gt;Observation from the plot:&lt;/span&gt; If the time given is less, approach 1 will lead to better results. If time given is more, approach 2 will lead to better results. I am sure   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;this conclusion is not counter-intuitive by any means. Basically approach 2 has a higher rate of growth after a certain period of time. Approach 1 is good if the time   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;of reckoning is small. I don't know if either of them will reach a score of 100. But all I can say is that if they do, approach 2 will beat approach 1 to the finish   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;line. In fact, I believe approach 1 has no hope. It will plateau after a while. Approach 2 is the only one with hope.  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Let us now get back to what I wanted to talk about - AI and its failure. I think the kid is our computer, the computer scientists and programmers are the gods. The   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;integral calculus examination is just a way to see if the computer has achieved human-level intelligence. Scientists today are using approach 1. That is because it   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;gives "immediate" results. Grants are given with deadlines. People giving the money want to see results quickly. So they do not care how the results are obtained.&lt;/span&gt;&lt;span style="font-size:medium;"&gt;  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;I am sure if you were to apply approach 2 in real life with a kid, it would take a lot of heart and tenacity. Just like that, for computer scientists to move towards   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;the goal of human-level intelligence using approach 2 will require a lot of courage and rigour.&lt;br /&gt;&lt;br /&gt;It is sad to see that very very few are prepared to do that. It is this   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;which I think is the fundamental reason for the failure of AI - our "short-sighted" (desire of immediate results) attitude. I call out to the scientific community -   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;please broaden your minds and vision!!! Please look beyond your immediate materialistic needs. Do not forget them!!! Just look beyond them once in a while.&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;I am very inspired by the following people - &lt;a href="http://en.wikipedia.org/wiki/Marvin_Minsky"&gt;Marvin Minsky&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Chris_McKinstry"&gt;Chris McKinstry&lt;/a&gt; and Push Singh. I hardly know anything myself. In fact, my first step into the field of AI   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;was 2-3 months ago! I know nothing! It is just that I am interested and very inspired by the idea of human-level intelligence on a computer. It is like "hacking into   &lt;/span&gt;&lt;span style="font-size:medium;"&gt;God's computer" - I am borrowing Chris' words. I believe computers with human-level intelligence will solve all of the worlds problems.  &lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;...subtle is the lord, but he does not play dice with the universe...&lt;/span&gt; My views about determinism later...&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: times new roman;"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-8981394591170139286?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/8981394591170139286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=8981394591170139286' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8981394591170139286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8981394591170139286'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2009/11/why-ai-failed-my-two-cents.html' title='Why AI Failed - My Two Cents'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F4pTsBbUp3g/SxC8iPWleKI/AAAAAAAAC_8/sGOYeWto0-g/s72-c/dice.jpg' height='72' width='72'/><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-1221918200298044031</id><published>2009-09-30T05:19:00.020+05:30</published><updated>2009-11-07T20:12:39.523+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='equation of life'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='reward'/><category scheme='http://www.blogger.com/atom/ns#' term='mathematics'/><category scheme='http://www.blogger.com/atom/ns#' term='effort'/><title type='text'>Reward = 2 * Effort</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;As children, we are told by our parents that &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;when we do a good deed, we get twice of what we do in return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Below is, what I think, mathematical proof of that.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;T.P.T:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Reward = 2 * Effort&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Assumptions:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;(1) Life is an equation of the form L.H.S = R.H.S; where the LHS is the summation of all the efforts we put and RHS is the summation of what life gives back to us. Basically the = sign is put based on the assumption that we always get out of life exactly what we put into it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(2) If we do a deed &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;'x'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;, and it is good, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;'+x'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; is added to the LHS. If the deed is bad, we add a &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;'-x'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; to the L.H.S.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) I we get a positive value on the right hand side, it is a reward. If we get a negative value, it is pain.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Proof:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; If a person does a good deed, a +x is added to the LHS. Now, during the process of doing the good deed, he goes through pain (ex. - Sitting up all night and helping someone do his homework is a good deed. But when you do it, you miss your sleep (pain)). The magnitive of this pain is exactly equal to the magnitude of the good deed. Therefore |pain| = |good_deed|. Let the magnitude of both of them be equal to &lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;'x'.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If we write it in equation form, we get&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;x = -x  + expected_reward&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Here the x on the LHS is the good deed. The -x on the RHS is due to the pain felt while doing the good deed. The only way to balance the equation would be if a positive term were added on the RHS of the equation. Clearly, this would be the expected reward after having done the good deed and having endured the pain of doing the good deed. We can clearly see that &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;expected_reward = 2x&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Hence Proved :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Clearly, the most critical assumption here is that we always get out of life exactly what we put into it. Do you believe that??? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F4pTsBbUp3g/SsKwb9MgC_I/AAAAAAAAC0I/URYmEE4hMUE/s1600-h/kindness.gif.display.jpg"&gt;&lt;img src="http://4.bp.blogspot.com/_F4pTsBbUp3g/SsKwb9MgC_I/AAAAAAAAC0I/URYmEE4hMUE/s320/kindness.gif.display.jpg" alt="" id="BLOGGER_PHOTO_ID_5387062098618485746" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 285px; height: 320px;" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Abhiram.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-1221918200298044031?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/1221918200298044031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=1221918200298044031' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1221918200298044031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/1221918200298044031'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2009/09/reward-2-effort.html' title='Reward = 2 * Effort'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F4pTsBbUp3g/SsKwb9MgC_I/AAAAAAAAC0I/URYmEE4hMUE/s72-c/kindness.gif.display.jpg' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-8029191158879528332</id><published>2009-07-18T23:03:00.017+05:30</published><updated>2010-01-25T08:59:29.964+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='algorithms'/><category scheme='http://www.blogger.com/atom/ns#' term='sorting algorithms'/><category scheme='http://www.blogger.com/atom/ns#' term='history'/><category scheme='http://www.blogger.com/atom/ns#' term='computer science'/><title type='text'>History of Sorting Algorithms</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The story behind an invention/discovery is always fascinating. Be it Newton having an apple fall on his head, or serendipitous happenings which led to discoveries like Penicillin, Radioactivity, etc - there is always something intriguing about stories of such a kind. Often, many inventions/discoveries either do not have such a story or they have a story and it is not well known.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmVjFtIXs_I/AAAAAAAAChM/iO0pGD_6IP4/s1600-h/1995-07-25.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmVjFtIXs_I/AAAAAAAAChM/iO0pGD_6IP4/s320/1995-07-25.gif" alt="" id="BLOGGER_PHOTO_ID_5360799881119642610" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In this post, I would like to share with you the history of how various sorting algorithms were developed.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(1) Selection Sort - Invented by Mr. Selection&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(2) Bubble Sort - Invented by Mr. Bubble&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) Merge Sort - Invented by Mr. Merge&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(4) Counting Sort - Invented by Mr. Count&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Story of Selection Sort:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Selection's mother was an English teacher. Once every 3 months, she bought home examination papers to evaluate. Once the valuation was complete, she liked the papers arranged highest marks first and lowest last. She had a practice to praise the highest while handing out the paper, and at the same time, rebuke the person who scored the least. Having the highest scorer's sheet handed out first ensured that everyone got to know who he/she was; it would be correct kind of boost required for the student. Also, having the person who scored least to be called out last would help because by then, everyone else would have got their papers and would be busy with their own sheets, so least attention is drawn to it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;His mother gave him the task of arranging the papers. He decided to follow this strategy to arrange the papers.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(1) Place all the sheets side-by-side.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(2) Scan from left to right and find out the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;guy who got the highest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) Take his sheet and place it face-down on another table.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(4) Among the leftover papers, scan again from left to right and find out the highest in the remaining set.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(5) Place his paper too, face-down, on the paper already placed on the table.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Repeat (4) and (5) until the entire set is complete.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;10 years later, when he had to write a program to sort values, he recalled arranging the papers. He realised that in every pass, he selected the maximum and then placed it aside. He did the same thing in the program and named the algorithm after himself :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmViW52Kn9I/AAAAAAAACgk/kCe7UWe0ZvA/s1600-h/selsort.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 157px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmViW52Kn9I/AAAAAAAACgk/kCe7UWe0ZvA/s320/selsort.gif" alt="" id="BLOGGER_PHOTO_ID_5360799077079097298" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Story of Bubble Sort:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Bubble was a student of Pineapple High School Convent. During the daily prayers, all students of the same class stood together in a line and it was required that the students stood in ascending order of their heights. During the first ever time the students had to make a line, there was utter chaos. Everyone was shouting... "hey you are shorter than me, come and stand in front of me", "hey lambu, go and stand behind re", etc... The teacher called for silence!!! She thought of a way to arrange all of them.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The first sorting process that struck her was to find the shortest one and place him first; find the next shortest one and place him second and so on... She realised that the process of finding the shortest student among a set of students was very tricky. When she scanned from the top to the bottom of the line often she would not be able to decide whether a guy near the end was shorter than a guy she saw in the beginning. She could only decide &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;who was shorter if they stood beside each other&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. So she went to the head of the line. She started swapping two adjacent students if they were not in order. She realised that after the first pass, clearly the tallest guy was at the end. She then decided to do the same to the remaining set. She kept performing the same and soon the line was sorted.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Bubble was impressed with what his teacher did. This incident was etched in his mind. Years later, he read a paper authored by Mr. Selection about a sorting algorithm called selection sort. He somehow happened to recall his teacher's method of sorting and realised it was different from the selection sort. He realised how the teacher &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;bubbled&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; the elements to the ends of the array. He decided to try programming it. He programmed it and it worked. This was how the Bubble Sort was born!!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmVikomTUgI/AAAAAAAACgs/W6rBT4Fvv3o/s1600-h/bubble_sort.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 141px; height: 320px;" src="http://1.bp.blogspot.com/_F4pTsBbUp3g/SmVikomTUgI/AAAAAAAACgs/W6rBT4Fvv3o/s320/bubble_sort.gif" alt="" id="BLOGGER_PHOTO_ID_5360799312967324162" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Story of Merge Sort:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Merge was a scientist working in basketball research laboratories. The lab was far away from his home and so he chose to rent a place closeby. While shifting, he packed all his books into small cartons. He was an avid reader, because of which there were a really high number of cartons.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Once he reached, he wanted to take out the books and arrange them on his shelf in order of their heights. He realised that opening all the cartons and then sorting the books would make too much of a mess. He decided that he would break his problem into smaller bits. He first opened the cartons and arranged the books in the carton according to height. This was not much of a problem because the cartons could not hold too many books. Once arranged, he &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;merged&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; the cartons. He realised that having already sorted them made his job a bit easier. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Merging small sorted sets of elements to get one full big sorted set was easier than sorting the entire large set together&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;!!! The next thing you know - Merge Sort was born!!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_F4pTsBbUp3g/SmVisnPKKQI/AAAAAAAACg0/G2rRnsQJKRk/s1600-h/mergeSort.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 218px;" src="http://4.bp.blogspot.com/_F4pTsBbUp3g/SmVisnPKKQI/AAAAAAAACg0/G2rRnsQJKRk/s320/mergeSort.gif" alt="" id="BLOGGER_PHOTO_ID_5360799450040772866" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Story of Counting Sort:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Count's little brother studied at samsung kindergarten school. Count would go to pick his brother up every afternoon. One afternoon, he was a bit early, and he could overhear what was going on in his brother's class. The teacher had listed a huge array of alphabets (randomnly and with repetition). Each kid was asked to sort the list. The teacher believed that this exercise would help kids get familiar with the alphabets as well as develop their memory (for a human to sort a list, it does require a little bit of memory usage on his part). Mr. Count's little brother could not do the exercise. The bell rung and before the teacher dismissed the class, he told Count's brother - "I will not send you home tomorrow if you do not complete this exercise in front of me".&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Count then started wondering how he could make his little brother's job easy. The real problem for the kid was that there were too many alphabets on the board. The kid indeed knew the order of the alphabets when he was asked to chant it - "abcdefghijklmnop...". But to re-arrange them when they were in random fashion was a little difficult for the kid. Everytime, he had to recite the alphabet in his head. This was taking a lot of time.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Count then came up with a strategy:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(1) He asked his brother to make a table with two colums and 26 rows&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(2) In the first column, write down numbers alphabets from a to z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) Now, start scanning the array left-right and as you encounter each alphabet, put a line against the corresponding letter in the table. Once done, forget about the array.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(4) Now just scan the table from top to bottom. The number of times each letter had to be listed was obviously determined by the number of dashes for that particular alphabet.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(5) Hence, a top to bottom scan; with simultaneous listing of the alphabet would give the sorted list the teacher wanted.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Count's brother caught on with this idea and could complete the exercise next day with significant ease. The brother excitedly mentioned to count that the teacher was particularly impressed about the speed with which he completed the task.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;When count was a university student, he had to write a program to sort a similar kind of list. The range of values was limited and known. There were no memory constraints and the process of sorting had to be as fast as possible. It goes withough saying that this was the birth of the counting sort.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_F4pTsBbUp3g/SmVi6v2cQ0I/AAAAAAAAChE/-8Qp9TGHGdA/s1600-h/COUNTSRT.GIF"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 315px; height: 320px;" src="http://2.bp.blogspot.com/_F4pTsBbUp3g/SmVi6v2cQ0I/AAAAAAAAChE/-8Qp9TGHGdA/s320/COUNTSRT.GIF" alt="" id="BLOGGER_PHOTO_ID_5360799692871189314" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Things to notice:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(1) Mr. Merge had the same problem of sorting a large number of items and that too as efficiently as possible. A Merge sort is indeed used in that kind of a situation.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(2) Mr. Count had a "limited range of values". That is indeed the kind of situation a counting sort is used in!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) Both Mr. Selection and Mr. Bubble did not have too many things to handle at the same time. Selection and Bubble Sort are used for small arrays!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;It goes without saying that these stories are pure crap. They are just things I made up to satisfy myself. However, I somehow feel the real stories could not have been much different; maybe different situations and also the scientists' parents being a little more creative in naming their children :P.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;This is not an attempt from me to trivialise any matter. I have a feeling that making up stories like this for everything new you learn aids your understanding. I try and do it for everything I learn and I find that it really helps me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Another thing I would like to point out to people. Successful computer scientists are not people who sit in front of the computer all day. They are people who observe everything around them and find inspiration to translate human language into a language the computer can understand. Edsger Dijkstra once said "&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;...computer science is no more about computers than astronomy is about telescopes...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;". Often I hear dialogues like "...I don't want to get into computer science because I hate sitting in front of the computer all day man...". I hope this post shows those people that computer science does not need you to stare at the screen all the time; studying computer science does not mean you will spend a life building meticulous GUIs for Grocery Applications at Infosys! There is a difference between the terms Information Technology and Computer Science. Please do not use them interchangeably!!! Computer Science is as evergreen a science as any other. Booms and busts in IT have no effect on the science and its sacredness. This realization does not dawn easily on computer engineers even, let alone the others. I just wish that people did not have this misconception.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Abhiram.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-8029191158879528332?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/8029191158879528332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=8029191158879528332' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8029191158879528332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8029191158879528332'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2009/07/history-of-sorting-algorithms.html' title='History of Sorting Algorithms'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F4pTsBbUp3g/SmVjFtIXs_I/AAAAAAAAChM/iO0pGD_6IP4/s72-c/1995-07-25.gif' height='72' width='72'/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-645420776543479804</id><published>2009-02-16T17:24:00.021+05:30</published><updated>2010-01-25T09:00:37.647+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rama'/><category scheme='http://www.blogger.com/atom/ns#' term='good'/><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='bad'/><category scheme='http://www.blogger.com/atom/ns#' term='views'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='ramayana'/><category scheme='http://www.blogger.com/atom/ns#' term='shabari'/><title type='text'>The Good in Bad</title><content type='html'>&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/SZlhE1NQrfI/AAAAAAAACOU/MIdKonLZ6qA/s1600-h/13.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 243px;" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/SZlhE1NQrfI/AAAAAAAACOU/MIdKonLZ6qA/s320/13.jpg" alt="" id="BLOGGER_PHOTO_ID_5303376771835538930" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I have always enjoyed reading the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Mahabharata"&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;Mahabharata&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; and &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Ramayana"&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;Ramayana&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; and consider them to be the greatest works ever. According to me, every incident in them has more than just one surface meaning and teaches a lot of lessons to the one who delves deep. Very recently my father was propounding his ideas on the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Shabari"&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;Shabari&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; story. He called the story distasteful and an insult to Lord Rama. He has always believed that the epics are great literary works by genius minds but he finds the idea of them actually having happened to be ridiculous.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;His views on Shabari left me wondering... Why would a distasteful story be woven into an otherwise grand literary piece? Why would Valmiki want to portray an incident which did not have a good moral behind it? I told myself - there was &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; "&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;no way this incident did not have a strong moral lesson behind it&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Though I initially could not tell what, I was sure that there were hidden messages.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Often, &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;when you tell yourself there is good, and you try hard to see good in something that looks bad otherwise, you end up finding it&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. My counter-argument to my father's theory is that the incident is not distasteful and that it teaches us three things:-&lt;br /&gt;&lt;br /&gt;(1) It tells us how far we are from Lord Rama as human beings. If we were offered half-eaten fruits, we would either admonish the offerer or excuse ourselves from eating them (my favourite excuse is "loose motions" when I don't want to eat something). The Lord did not do that; he could see the devotion of the lady and he ate the fruits without complaints. At a higher level it means - &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;when we come across something unsavoury, we must stop to think as to what could have caused it. The effect may be unpleasant, but the cause need not be so.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(2) It tells us how far we are from Shabari as human beings. If we had prior notice that Lord Rama would visit our home, we would try to clean the place as much as we could and we would purchase those ridiculously costly Australian Apples (Rs. 30/- per piece and sometimes even more) or Alphonso Mangoes from Food World (dunno cost because I have never purchased them). We would wear the best clothes we have and try and put up a home which does not look like what it normally does. Shabari did not; her devotion was pure. Unlike us, she thought costly apples/mangoes would not impress the Lord. At a higher lever it means - &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;he best way to impress the best it to be true&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. For example, the best way to answer tricky questions in an interview is to talk from the heart and not try to put up an image that is not what you are. Abstract generalities and infinitives are no good. &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;To impress the best, be simple&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(3) Thirdly, I think there is a general moral. If you look at it from outside, offering someone half-eaten fruits is not wise. Shabari was blinded by her devotion and I think this incident tells us that &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;oo much of something, even if the "something" is good by itself, could finally look bad&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Devotion is undoubtedly good, but too much of it in Shabari manifested in an act which an outsider would definitely brand as crazy. I don't think the moral directly takes a stand as to whether too much devotion is good or bad. It is just that you need a Lord Rama to appreciate you when you reach such high levels. As an example, it could happen that you read too much and write extremely complicated fundae in an exam that could cause your evaluator to not understand you. Reading a lot is good, but too much could result in disaster. I dunno if that is good or not!!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I am posting this because I am not sure my analysis is complete and there is a chance that my analysis is wrong too. I gladly invite comments.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-645420776543479804?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/645420776543479804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=645420776543479804' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/645420776543479804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/645420776543479804'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2009/02/there-is-good-in-every-bad.html' title='The Good in Bad'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F4pTsBbUp3g/SZlhE1NQrfI/AAAAAAAACOU/MIdKonLZ6qA/s72-c/13.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-5487878998011119230</id><published>2008-05-20T19:02:00.037+05:30</published><updated>2011-01-28T08:43:13.859+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='bala'/><category scheme='http://www.blogger.com/atom/ns#' term='jana gana mana'/><category scheme='http://www.blogger.com/atom/ns#' term='bbp'/><category scheme='http://www.blogger.com/atom/ns#' term='a r rahman'/><category scheme='http://www.blogger.com/atom/ns#' term='bharatbala productions'/><category scheme='http://www.blogger.com/atom/ns#' term='national anthem'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='bharat'/><category scheme='http://www.blogger.com/atom/ns#' term='rahman'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='indian national anthem'/><category scheme='http://www.blogger.com/atom/ns#' term='free download'/><title type='text'>Jana Gana Mana - A R Rahman</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;I have reposted this &lt;a href="http://abhiramn.blogspot.com/2011/01/jana-gana-mana-r-rahman.html"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-5487878998011119230?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/5487878998011119230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=5487878998011119230' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/5487878998011119230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/5487878998011119230'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/05/jana-gana-mana-r-rahman.html' title='Jana Gana Mana - A R Rahman'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-4714151522669922233</id><published>2008-05-20T08:28:00.000+05:30</published><updated>2011-03-01T07:22:11.576+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='bala'/><category scheme='http://www.blogger.com/atom/ns#' term='jana gana mana'/><category scheme='http://www.blogger.com/atom/ns#' term='bbp'/><category scheme='http://www.blogger.com/atom/ns#' term='a r rahman'/><category scheme='http://www.blogger.com/atom/ns#' term='bharatbala productions'/><category scheme='http://www.blogger.com/atom/ns#' term='national anthem'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='bharat'/><category scheme='http://www.blogger.com/atom/ns#' term='rahman'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='indian national anthem'/><category scheme='http://www.blogger.com/atom/ns#' term='free download'/><title type='text'>Jana Gana Mana - A R Rahman</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;embed flashvars="host=picasaweb.google.com&amp;amp;hl=en_US&amp;amp;feat=flashalbum&amp;amp;RGB=0x000000&amp;amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F109881876057725417332%2Falbumid%2F5200004374943646273%3Falt%3Drss%26kind%3Dphoto%26authkey%3DGv1sRgCKm689XejL3Y9QE%26hl%3Den_US" height="280" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" type="application/x-shockwave-flash" width="390"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;[EDITED VERSION OF AN EARLIER POST]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;‘Jana Gana Mana’, authored by the Nobel laureate Rabindranath Tagore in Bengali, was instituted as the national anthem of India in 1950. It is as sacred as the National Flag, but then while the flag has just one form and one appeal – the patriotic - and it is indeed treason to mutilate it, the anthem comes in varied renderings, and as many types of appeal. Together with Bharatbala, A R Rahman has produced a masterpiece. In this post, I wish to share parts of the artifact with the sole intention of spreading my own enjoyment.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;The patriotic is one such appeal, the principal one, at that.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Although it is said in jest that Indians are most prone to exhibit the highest patriotic sentiments when watching cricket matches, there is no gainsaying that the national anthem stirs some intense patriotic feelings deep within, pulls a string or two in the heart, as it were.&amp;nbsp;I often wonder what should the tunes – the original set by Tagore himself, or its allotropic forms - have been made of, that they should be so potent! What is there in them that they manage to move me every time I hear it? Take this very version, for instance. Was the tune composed with that very intention of moving the listener? It couldn’t have been a mere coincidence, could it? If yes, isn’t it damnably UNBELIEVABLE! I run out of words when I attempt to express the beauty of the tune. I abandon the attempt...&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;A R Rahman's version is an effort to showcase the flavours of the national anthem through soulful music. This was a project in which over 35 great, accomplished musicians of the nation came together to sing or play the national anthem. Their rendering turned out to be a fantastic classic. Most of us would have probably watched &lt;a href="http://www.youtube.com/watch?v=Bh26zOjIh9I"&gt;this&lt;/a&gt; video at some point. The album I am talking about contains, in addition to several other things, this very video. One can get more information about this project &lt;a href="http://en.wikipedia.org/wiki/Jana_Gana_Mana_Video"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;The album contains individual renditions of the national anthem by each of 35 artists, both instrumental and vocal. The culminating artifact, i.e. the video, was actually produced by choosing a specific artist's rendition of a specific line and then putting them all together. It would be churlish to expect yourself to stand stiff in attention throughout the video. In fact, I enjoyed the work with my eyes closed and my legs on top of my table. Although seemingly blasphemous, I assuaged my conscience by viewing Rahman's work as an outpouring of love for the nation (patriotism is a form of passion after all isn't it...) or, a poetic expression of love to a beloved nation, or a devotional chant to a sacred diety, or may be, just as musical meditation.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;To me, love is respect in its highest form. Our respect for the national anthem need not be fearful, it can be thoroughly innate (we all took Shah Rukh Khan's side in Mohabbatein didn't we!). I found that sitting down while listening not only seemed appropriate but perhaps even necessary, to deal with the emotions that rush through you ... like when The Late Bhimsen Joshi employs micro-cadences or like when Pt. Jasraj sings &lt;i&gt;gahe tava jaya gatha...&lt;/i&gt;&amp;nbsp;or like when Rahman himself launches a clarion call: Jaya he, Jaya he, Jaya he...&amp;nbsp;Every performer leaves behind a stamp on this most public of properties. Each one of us has a unique equation with our nation, and this fascinatingly unique album is a reminder of that.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Below, you shall find that I have uploaded the audio tracks in the album. Essentially, I have uploaded the audio versions of every artist's rendition. Please download them and enjoy. My decision to upload tracks was purely because I know that ending with a "please buy this album at your nearest store" would be completely pointless. By doing this, I believe a lot more people will experience the beauty of the creation. Technically, I am doing wrong!&amp;nbsp;However, the fact that this will only lead to good feelings assuages my conscience. If ever I am tried in the court of &lt;a href="http://en.wikipedia.org/wiki/Hades"&gt;Hades&lt;/a&gt;, I hope to be let off because this act of mine, I am sure, will eventually do more good than bad. Let me close by wondering what exhilarating feelings any human may get by his/her own national anthem!&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;[No Copyright Infringement Intended!]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;[Although all renditions are fabulous, the ones I strongly recommend are coloured red]&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Collective Renditions:-&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: red;"&gt;&lt;a href="http://abhiramfiles1729.googlepages.com/35-CollectiveInstrumentalVersion.mp3"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;1. Instrumental Version&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/01-Collectivevocalversion.mp3"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;2. Vocal Version&lt;/span&gt;&lt;/a&gt;&lt;/span&gt; &lt;br /&gt;Individual Renditions:-&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: red;"&gt;&lt;a href="http://abhiramnat1729.googlepages.com/02-Pt.HariprasadChaurasia.mp3"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;1. Pt. Hariprasad Chaurasia&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;a href="http://abhiramnat1729.googlepages.com/03-Pt.BhimsenJoshia.mp3"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;2. Pt. Bhimsen Joshi&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;a href="http://abhiramnat1729.googlepages.com/04-Pt.VishwaMohanBhattVikkuVinayakra.mp3"&gt;3. Pt. Vishwa Mohan Bhatt with Vikku Vinayakram&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/05-DKPattamalwitNityashree.mp3"&gt;4. D.K. Pattamal with Nityashree&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/06-AmjadAmaanAyaanVikku.mp3"&gt;5. Ustad Amjad Ali Khan, Amaan Ali Bangash, Ayaan Ali Bangash with Vikku Vinayakram&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/07-Pt.Jasraj.mp3"&gt;6. Pt. Jasraj&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/08-LataMangeshkar.mp3"&gt;7. Lata Mangeshkar&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/09-UstadSultanKhanVikku.mp3"&gt;8. Ustad Sultan Khan with Vikku Vinayakram&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/10-SPBalasubramanyam.mp3"&gt;9. S P Balasubramanyam&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/11-Pt.ShivkumarSharmaRahulSharma.mp3"&gt;10. Pt. Shiv Kumar Sharma and Rahul Sharma&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/12-Dr.BalamuraliKrishna.mp3"&gt;11. Dr. Balamuralikrishna&lt;/a&gt;&lt;br /&gt;12. Shobha Gurtu -&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/13-ShobhaGurtualaap.mp3"&gt;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/14-ShobhaGurtu.mp3"&gt;Rendition&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/15-RavikiranVikku.mp3"&gt;13. Ravikiran with Vikku Vinayakram&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/16-GhulamMustafaMurtazaandQadir.mp3"&gt;14. Ustad Ghulam Mustafa Khan with Ghulam Murtaza Khan and Ghulam Qadir Khan&lt;/a&gt;&lt;br /&gt;15. Bhupen Hazarika -&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/17-BhupenHazarikaalaap.mp3"&gt;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/18-BhupenHazarikaSaddiqKhan.mp3"&gt;Rendition&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/19-SaddiqKhanalaap.mp3"&gt;16. Saddiq Khan Langa -&amp;nbsp;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/20-Pt.KartickKumarNiladriKumar.mp3"&gt;17. Pt. Kartick Kumar and Niladri Kumar&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/21-SudhaRaghunathanUnniKrishnan.mp3"&gt;18. Sudha Raghunathan and P. Unnikrishnan&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/22-JagjitSingh.mp3"&gt;19. Jagjit Singh&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: red;"&gt; 20. Rashid Khan -&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/23-RashidKhanalaap.mp3"&gt;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/24-RashidKhan.mp3"&gt;Rendition&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;a href="http://abhiramnat1729.googlepages.com/25-AshaBhosle.mp3"&gt;21. Asha Bhosle&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/26-GaneshKumareshEGayatri.mp3" style="background-color: red;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;22. Kumaresh &amp;amp; Ganesh with E. Gayathri&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;23. Begum Parweena Sultana -&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/27-BegumParweenaSultanaalaap.mp3"&gt;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://abhiramnat1729.googlepages.com/28-BegumParweenaSultana.mp3"&gt;Rendition&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/29-Pt.AjoyChakrabarty.mp3"&gt;24. Pt. Ajoy Chakrabarthy&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramnat1729.googlepages.com/30-Pt.AjoyChakrabarthywithKaushiki.mp3"&gt;25. Pt. Ajoy Chakrabarthy with Kaushiki Chakrabarthy&lt;/a&gt;&lt;br /&gt;26. Hariharan -&amp;nbsp;&lt;a href="http://abhiramfiles1729.googlepages.com/31-Hariharanalaap.mp3"&gt;&lt;span style="font-style: italic;"&gt;Alaap&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://abhiramfiles1729.googlepages.com/32-Hariharan.mp3"&gt;Rendition&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiramfiles1729.googlepages.com/33-KavitaKrishnamurthyShrutiSadolika.mp3"&gt;27. Kavita Krishnamurthy with Shruti Sadolikar&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://abhiramfiles1729.googlepages.com/34-RabindranathTagoreoriginalrenditi.mp3"&gt;28. Rabindranath Tagore - ORIGINAL RENDITION&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-4714151522669922233?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/4714151522669922233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=4714151522669922233' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4714151522669922233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4714151522669922233'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2011/01/jana-gana-mana-r-rahman.html' title='Jana Gana Mana - A R Rahman'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-4623856389686943777</id><published>2008-04-22T14:45:00.013+05:30</published><updated>2010-09-14T04:29:43.970+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='proclaim'/><category scheme='http://www.blogger.com/atom/ns#' term='modesty'/><category scheme='http://www.blogger.com/atom/ns#' term='i am the greatest'/><category scheme='http://www.blogger.com/atom/ns#' term='mediocrity'/><category scheme='http://www.blogger.com/atom/ns#' term='proclamation'/><category scheme='http://www.blogger.com/atom/ns#' term='krishna'/><category scheme='http://www.blogger.com/atom/ns#' term='greatest'/><category scheme='http://www.blogger.com/atom/ns#' term='great'/><category scheme='http://www.blogger.com/atom/ns#' term='muhammad ali'/><title type='text'>I am the Greatest!!!</title><content type='html'>&lt;a style="color: rgb(0, 0, 0);" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F4pTsBbUp3g/SBXy_Uo3IdI/AAAAAAAAA3Y/WrsRvVktREE/s1600-h/16199.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_F4pTsBbUp3g/SBXy_Uo3IdI/AAAAAAAAA3Y/WrsRvVktREE/s320/16199.jpg" alt="" id="BLOGGER_PHOTO_ID_5194324914927509970" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  style="text-align: justify; color: rgb(0, 0, 0);font-family:times new roman;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;No No No...! This is not an exclamation from me. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;"...I am the greatest! I am the greatest thing that ever lived..." &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;was Muhammad Ali's proclamation. He said that quite a few times during his extremely illustrious career. Most people are of the opinion that the exclamation was unbecoming of the champion that he was. I, however, respect him only due to his guts to say &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I am the greatest &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;loudly and confidently in public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Most great sportsmen, Pele, Maradona, Bradman, etc have said something on those lines. Napolean, Alexander, etc too have gone the Muhammad Ali way. History is replete with such acts - acts which have been called vain, egoistic, over-confident, or even conceited. The commoner would never ever think of proclaiming such a thing in public. He would say&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; "...I would never ever have said thus..." &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;or &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;"...what a thing to say in public...". &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Perhaps he is of the view that saying something like this, is indicative of lack of modesty, and modesty is always a desirable trait of course. I would say it is his mediocrity that is preventing him from proclaiming such a thing, and not his modesty.&lt;br /&gt;&lt;br /&gt;I salute the people who have guts to say &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I am the greatest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; in public. Disregarding the apparent lack of morality in these deeds and statements, I think one ought to perceive in them the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;seeds of supreme self-confidence; a confidence not born out of arrogance, but out of having achieved something truly remarkable&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Muhammad Ali had blazed a trail in the annals of boxing. Pele used to score goals for fun. Bradman has an average that I haven't managed to achieve even on computer simulations of Test Cricket.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;"...calling yourself the greatest is being egoistic..." &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;or &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;"...by saying you are the greatest, all you are doing is getting attention for yourself, without having done anything... One would rather act than talk..." - &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I find these ideas pessimistic and even defeatist. These remarks are from those who tend to look at the bleaker side of life all the time. Deep down, all of us think we are the greatest. Then what is it that prevents us from proclaiming it? It is fear - fear of competition, fear of being proven wrong. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;One think&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;s what if someone proves that he is greater than me after I say I am the greatest.... I will lose face then...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;People feel that diffidence, of a kind that I call pessimism, is a sign of modesty (which is a desirable trait).&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I think it is &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;mediocrity in the garb of modesty&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. At the same time, confidently proclaiming such a thing in public is indicative of the absence of fear of competition and of being proven wrong. And that is always an off-spring of supreme prowess, which comes from the pure hard work. It requires mental tenacity to show your left cheek when someone slaps the right one. However, to proclaim such a dictum requires even greater tenacity, possibly the divine power of a Jesus Christ. That is guts - the guts to pontificate.&lt;br /&gt;&lt;br /&gt;Let us go to our lore: There was this Arjuna’s lament that he would not kill his uncles and cousins; he had his fear of wrong, his perception of righteousness, his view of duty and his sense of piety. But then, what did it all prompt from the Bhagwan? It was perhaps the greatest piece of literature. All out against a rather obdurate Arjuna, Lord Krishna says: “&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Look, Arjuna, I am the greatest. What I say is divine ordainment! You are not the judge of what is right or wrong; neither of what constitutes your duty. Fight I say; and fight, you will, for, mine is THE WORD OF GOD&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;”. Similarly the very first and the most powerful of the Ten Commandments says: “&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I am the Lord, thy God: thou shalt have no other gods before me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;”&lt;br /&gt;&lt;br /&gt;Let us ask, what if Lord Krishna had said: “&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;See, Arjuna, you should fight these fellows, if you ask me. Anyway, it is left to you&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;”? It would have been a &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;‘modest’&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; Krishna alright, but an outright ineffectual one, at that. Then I do not see any reason why Muhammad Ali's proclamation is to be deemed as arrogance. After all, there are no second thoughts about who is the greatest boxer ever. If Ali had never exclaimed thus,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;style type="text/css"&gt;-   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;&lt;/style&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; he would have been confined to the dustbins of history as a run-of-the-mill champ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Brash acts, deeds and statements are not always to be despised. They should not be uniformly branded as the outcome of immaturity or immodesty. In fact they should not be the subject of a value-judgment at all. They do not always depict pride or uppishness. More often that not, they could be innate faith in oneself, finding utterance. Surrounding them there could be the fragrance of immense success; and may be, behind them a touch of divinity itself!&lt;br /&gt;&lt;br /&gt;I hope a day arrives when I can confidently tell the world &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I AM THE GREATEST! &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;At the moment, neither am I close to the greatest, nor do I have to the guts to say it. However if that day arrives, I envisage a similar post on someone else's blog with the pic below&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F4pTsBbUp3g/SA2qcUo3HyI/AAAAAAAAAwA/F5VWc2yXoos/s1600-h/Image%281044%29.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 234px; height: 263px;" src="http://bp3.blogger.com/_F4pTsBbUp3g/SA2qcUo3HyI/AAAAAAAAAwA/F5VWc2yXoos/s320/Image%281044%29.JPG" alt="" id="BLOGGER_PHOTO_ID_5191993348981202722" border="0" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-4623856389686943777?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/4623856389686943777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=4623856389686943777' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4623856389686943777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4623856389686943777'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/04/i-am-greatest_22.html' title='I am the Greatest!!!'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_F4pTsBbUp3g/SBXy_Uo3IdI/AAAAAAAAA3Y/WrsRvVktREE/s72-c/16199.jpg' height='72' width='72'/><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-3211675951468076291</id><published>2008-04-14T23:05:00.022+05:30</published><updated>2010-01-25T09:01:23.310+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='reverse'/><category scheme='http://www.blogger.com/atom/ns#' term='C'/><category scheme='http://www.blogger.com/atom/ns#' term='snake'/><category scheme='http://www.blogger.com/atom/ns#' term='permutations'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='string'/><category scheme='http://www.blogger.com/atom/ns#' term='download turbo C++'/><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><title type='text'>Code Time</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a style="color: rgb(0, 0, 0);" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_F4pTsBbUp3g/SAObOnQWcbI/AAAAAAAAAuc/U--hwX4IifA/s1600-h/evolution-of-programmer.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 359px; height: 126px;" src="http://bp1.blogger.com/_F4pTsBbUp3g/SAObOnQWcbI/AAAAAAAAAuc/U--hwX4IifA/s320/evolution-of-programmer.jpg" alt="" id="BLOGGER_PHOTO_ID_5189161871018979762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;This post contains some programs that I have personally written to solve elementary problems. I am sharing these just so that people can see different ways of solving the same problem. Also, I claim that the methods used are very simple and natural.&lt;br /&gt;&lt;br /&gt;Disclaimer:-&lt;br /&gt;Please don't send me comments/scraps/mails giving me links where you have found the same logic. Its just that I have thought about these solutions without aid from any external source(internet, book or someone else). It may exactly/partially mimic what you have seen somewhere else or what you have thought of yourself. If that is the case, then just skip reading this post.&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Q. Given a string, print all the &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;unique &lt;/span&gt;&lt;span&gt;permutations of the string in &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;lexicographic &lt;/span&gt;&lt;span&gt;order.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ans. The methods that I have detailed below is special in that it prints "unique permutations".&lt;br /&gt;&lt;br /&gt;Algorithm:-&lt;br /&gt;1. Maintain an integer array which stores the number of occurrences of each character in the input string( hash the input string). It should be such that arr[&lt;span style="font-style: italic;"&gt;character&lt;/span&gt;] gives the number of occurrences of &lt;span style="font-style: italic;"&gt;character &lt;/span&gt;in the input string.&lt;br /&gt;2. Allot the first character which has at least one occurrence. Then recursively permute the other part.&lt;br /&gt;3. In the next iteration, make sure you choose a different character to allot. Even if the previous character you allotted occurred more than once in the input string, do not allot this once again (this is the key to ensure you get only unique permutations).&lt;br /&gt;&lt;br /&gt;Steps 1 and 3 are the crucial steps. Step 1 makes sure that the permutations are in lexicographic order and Step 2 makes sure that only unique permutations are generated. Download the code from &lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/permutations.c"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;----------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Q. Given a sentence reverse the order of words in it. For example-&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Input - who is the person over there&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Output - there over person the is who&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ans. This is an &lt;span style="font-style: italic;"&gt;all-time favourite question&lt;/span&gt; for On-Spot-Programming question paper setters. There are quite a few things you can do to solve this problem.&lt;br /&gt;1. From the end of the string, come back to find a space. From there, go forwards printing all the characters till the occurrence of the next space. Do that until you reach the beginning of the string.&lt;br /&gt;2. Put a \0 in wherever there is a space and do a printf("%s ",ptr) every time you find a a \0.&lt;br /&gt;3. Take input as a sequence of words. Print the words in reverse order.&lt;br /&gt;4. Reverse the string. Later on, reverse each word in it.&lt;br /&gt;&lt;br /&gt;All the above methods are simple and equally efficient. Though this is an oft repeated question, often I find people struggling with this, purely because of silly mistakes. I thought of a way that is safe and easy to reproduce too. I do it recursively and that is what is special here.&lt;br /&gt;&lt;br /&gt;Steps:-&lt;br /&gt;1. Form the first word. If the breaking character is a space, then do a recursive call.&lt;br /&gt;2. Keep doing step 1 until you get a newline character. Now start printing the words.&lt;br /&gt;&lt;br /&gt;Download the code &lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/revwords.c"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;----------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Q. Write a program to simulate a simple Snake as seen in mobiles.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;span&gt;Ans. I have coded this particular program on &lt;/span&gt;&lt;/span&gt;&lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/tcpp3full.zip"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;Turbo C&lt;/span&gt;&lt;/a&gt;&lt;a href="http://abhiram.nat.googlepages.com/tcpp3full.zip"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;.&lt;/span&gt;&lt;/a&gt;&lt;span&gt; It is easily reproducible on other compilers only if you know the corresponding functions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;What is special this time??? - &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;I have not used the graphics library at all&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Download the code &lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/SNAKE.C"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt;. If you have any issues executing it, please let me know.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-3211675951468076291?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/3211675951468076291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=3211675951468076291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3211675951468076291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3211675951468076291'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/04/code-time.html' title='Code Time'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_F4pTsBbUp3g/SAObOnQWcbI/AAAAAAAAAuc/U--hwX4IifA/s72-c/evolution-of-programmer.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-3064032248624027584</id><published>2008-03-27T21:18:00.029+05:30</published><updated>2010-07-05T10:33:38.730+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='free'/><category scheme='http://www.blogger.com/atom/ns#' term='chants'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><category scheme='http://www.blogger.com/atom/ns#' term='sitar'/><category scheme='http://www.blogger.com/atom/ns#' term='ravi shankar'/><category scheme='http://www.blogger.com/atom/ns#' term='chants of india'/><title type='text'>Chants of India - My Review</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_F4pTsBbUp3g/SARtHHQWccI/AAAAAAAAAu8/d-zf3j_quwM/s1600-h/Chants.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_F4pTsBbUp3g/SARtHHQWccI/AAAAAAAAAu8/d-zf3j_quwM/s320/Chants.JPG" alt="" id="BLOGGER_PHOTO_ID_5189392639611793858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;I stumbled on this album accidentally. It was the track Hari Om that first caught my fascination. Normally, I do not like improvizations (remixes) of original tracks, like Anuradha Paudwal's Gayatri Mantra, but Chants of India is an exception.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-weight: bold;"&gt;    Chants of India&lt;/span&gt; is Pt. Ravi Shankar's effort to set Sanskrit chants from ancient Hindu scriptures to music. As expected, the result is a captivating mix of chant and music. This collection of mantras and prayers from the Vedas, Upanishads, and other scriptures powerfully transports the listener to a place of peace where it's possible to be one with the universe. I always thought phrases like "I feel one with God when I hear music" was just impressive writing and never actually true. This collection shattered that opinion of mine. &lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;It starts, as in traditional Indian music, with a chant for Lord Ganesh. The collection is quite varied from chantings of a specific God such as the goddess of Learning (Saraswati); chantings from the Gita, the vedas; to the famous Gayathri mantra,. The chants are authentic in their rendering in terms of the utterances and adherence to tradition.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;    It's as if a heavy, enveloping cloak of serenity falls from the dark. A number of instruments are employed to accent the mighty "OM" thread that weaves itself through the cloth of this album, bringing together deep, ominous voices with delicate, earthly instruments.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Track Listing&lt;/span&gt; (&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-weight: bold;"&gt;Download)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;a href="http://abhiram.nat.googlepages.com/01-VandanaaTrayee.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;1.       Vandanaa Trayee&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/02-OmkaaraayaNamaha.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;2.       Omkaaraaya Namaha&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/03-VedicChanting.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;3.       Vedic Chanting (One)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/04-AsatoMaa.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;4.       Asato Maa&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/05-SahanaaVavavtu.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;5.       Sahana Vavatu&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/06-Poornamadah.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;6.       Poornamadah&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://abhiram.nat.googlepages.com/07-Gaayatri.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;7.       Gaayatri&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/08-MahaaMrityunjaya.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;8.       Mahaa Mrityunjaya (Triyambakam Yajamahe)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/09-Veenaa-Murali.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;9.       Veena Murali&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/10-Geetaa.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;10.   Geetha (Karmanya Vadhikaraste)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/11-Managalam.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;11.   Mangalam (Tala Mantra)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/12-HariOm.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;12.   Hari Om&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/13-SvaraMantra.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;13.    Svara Mantra&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/14-VedicChanting.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;14.   Vedic Chanting (Two)&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;15.   Prabhujee &lt;span style="font-size:85%;"&gt;(File split into three parts - &lt;a href="http://abhiram.nat.googlepages.com/Prabhujee.z01"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;part1&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://abhiram.nat.googlepages.com/Prabhujee.z02"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;part2&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://abhiram.nat.googlepages.com/Prabhujee.zip"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;part3&lt;/span&gt;&lt;/a&gt;. Download all of them and open the &lt;span style="font-weight: bold;"&gt;zip&lt;/span&gt; file. Extract the track from there)&lt;/span&gt;&lt;br /&gt;&lt;a href="http://abhiram.nat.googlepages.com/16-SarveShaam.mp3"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;16.    Sarve Shaam&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Go &lt;a href="http://www.hsuyun.org/Dharma/zbohy/Sruti-Smriti/Chants/indiachants.html"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt; for the text. Peace be with you :)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;b&gt;SOME PARTS OF THE POST HAVE BEEN FLICKED FROM ELSEWHERE!&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-3064032248624027584?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/3064032248624027584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=3064032248624027584' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3064032248624027584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3064032248624027584'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/03/chants-of-india-my-review.html' title='Chants of India - My Review'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_F4pTsBbUp3g/SARtHHQWccI/AAAAAAAAAu8/d-zf3j_quwM/s72-c/Chants.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-4753061177537608508</id><published>2008-03-25T14:15:00.012+05:30</published><updated>2010-01-25T09:02:29.186+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='codefinger'/><category scheme='http://www.blogger.com/atom/ns#' term='osp'/><category scheme='http://www.blogger.com/atom/ns#' term='solutions'/><category scheme='http://www.blogger.com/atom/ns#' term='infinity'/><title type='text'>Solutions - Part II</title><content type='html'>&lt;div  style="text-align: justify;font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Hello Everyone,&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; I am back. I shall continue posting a few more questions. I would like to point out that most of these questions have not been made up by me; they have been flicked from wonderful sources :)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;Q. Why is the size of an empty class not zero?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; "&gt;Ans.&lt;/span&gt;&lt;span&gt; This is basically to ensure that the addresses of two difference objects will be different. Go &lt;/span&gt;&lt;a href="http://www.research.att.com/~bs/bs_faq2.html#sizeof-empty"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span&gt; to read more about this.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;Q. Rama has &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;n&lt;/span&gt;&lt;span&gt; cigarettes. He smokes them one by one keeping the butts as he smokes. Once he has &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;k&lt;/span&gt;&lt;span&gt; butts, he can roll over a new cigarette. Given &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;n&lt;/span&gt;&lt;span&gt; and &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;k&lt;/span&gt;&lt;span&gt;, how many cigarettes can he smoke?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; "&gt;Ans.&lt;/span&gt;&lt;span&gt; For example if n = 29 and k = 8, then lets says peter can smoke &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;x&lt;/span&gt;&lt;span&gt; cigarettes. x=29+(extra). Now peter has 29 butts. He needs 8 butts for a cigarette. So he can smoke 3 cigarettes more(29/8); x=32. He used 24 butts for 3 cigarettes. So he has 5 butts left out. Also, the 3 cigarettes that he smoked(extra). So he has 8 butts and thus he smokes one more. So x=33. Now he has one butt left out and he cannot do anything with that. So basically he smokes 33 cigarettes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;One could easily write an iterative algorithm. But here I shall show a really nice way of solving this problem. The recurrence relation is pretty straightforward and simple.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;N = n + f(n,k)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;f(n,k) = n/k + f(n%k + n/k , k)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;If expanded, f(n,k)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;= n/k + ((n/k)+(n%k))/k + (((n/k)+(n%k))/k+((n/k)+(n%k))%k)/k + ...&lt;/span&gt;&lt;br /&gt;&lt;span&gt;= n/k + n/k^2 + (n%k)/k + n/k^3 + (n%k)/k^2 + ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;We know that (n%k)/k is 0 because a/b here refers to the floor value of a/b. So we have...&lt;/span&gt;&lt;br /&gt;&lt;span&gt;f(n,k) = n/k + n/k^2 + n/k^3 + n/k^4 + ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Therefore f(n) = Sigma n/(k^t) where t = {t | k^t &lt;= n} f(n,k) = n/k*(1/k^t - 1)/(1/k - 1) = n/k*((1-k^t)/k^t)/((1-k)/k) = n * (k^t -1) / (k^t * (k-1)) Now k^t is less than or equal to n. Therefore f(n,k) = (n-n/k^t)/(k-1) Since k^t is less than or equal to n, n/k^t =1. Therefore f(n,k) = (n-1)/(k-1)  . Let me illustrate the formula with the above example itself. n = 29 and k = 8. Answer = n + (n-1)/(k-1) = 29 + (29-1)/(8-1) = 33.   --------------------------------------------------------------------------------------------------   &lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Q. Given a number n, find the nth number f(n) whose cube ends in 888. (192 is the first number whose cube ends in 888). f(n) must be found in O(1).  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; "&gt;Ans.&lt;/span&gt;&lt;span&gt; It is said that the cube ends in 888. Without any loss of generality:-  n^3 = 1000y + 888 (Note that 1000y + 888 is a number whose cube ends in 888)  We know if the cube of a number ends in 888, then the number ends in 2. Therefore, (10x+2)^3 = 1000y + 888 &lt;/span&gt;&lt;span&gt;(Now we need to find x and append a 2 at the end)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;8(5x+1)^3 = 1000y + 888&lt;/span&gt;&lt;br /&gt;&lt;span&gt;(125x^3 + 75x^2 + 15x + 1) = 125y + 111 (dividing above equation by 8)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;125x^3 + 75x^2 + 15x = 125y + 110&lt;/span&gt;&lt;br /&gt;&lt;span&gt;125x^3 + 75x^2 + 15x = 125y + 125 - 15&lt;/span&gt;&lt;br /&gt;&lt;span&gt;75x^2 + 15x + 15 = 125y + 125 - 125x^3&lt;/span&gt;&lt;br /&gt;&lt;span&gt;75x^2 + 15x + 15 = 125(y+1-x^3)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;75x^2 + 15x + 15 = 125k (A multiple of 125)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;15(5x^2 + x + 1) = 125k&lt;/span&gt;&lt;br /&gt;&lt;span&gt;3(5x^2 + x + 1) = 25k&lt;/span&gt;&lt;br /&gt;&lt;span&gt;3 * something is a multiple of 25, therefore clearly, something = multiple of 25&lt;/span&gt;&lt;br /&gt;&lt;span&gt;5x^2 + x + 1 = 25k&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Let x=25t+r (r is between 0 and 24)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Substituting for x, we will get&lt;/span&gt;&lt;br /&gt;&lt;span&gt;5r^2 + r + 1 = 25k&lt;/span&gt;&lt;br /&gt;&lt;span&gt;So we need to find r between 0 and 24, which when substituted in 5r^2 + r + 1, would yield a multiple of 25. By trial, we get r as 19.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Therefore x = 25t + 19&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;The final algo would look like:-&lt;/span&gt;&lt;br /&gt;&lt;span&gt;INPUT n&lt;/span&gt;&lt;br /&gt;&lt;span&gt;x = 25(n-1) + 19&lt;/span&gt;&lt;br /&gt;&lt;span&gt;x = (x*10) + 2 &lt;/span&gt;&lt;span&gt;//append a 2 at the end&lt;/span&gt;&lt;br /&gt;&lt;span&gt;OUTPUT x&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-4753061177537608508?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/4753061177537608508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=4753061177537608508' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4753061177537608508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/4753061177537608508'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/03/solutions-part-ii.html' title='Solutions - Part II'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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-1088234578235236423.post-119990634859674982</id><published>2008-02-10T20:38:00.040+05:30</published><updated>2010-01-25T09:02:34.246+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='codefinger'/><category scheme='http://www.blogger.com/atom/ns#' term='osp'/><category scheme='http://www.blogger.com/atom/ns#' term='solutions'/><category scheme='http://www.blogger.com/atom/ns#' term='infinity'/><title type='text'>Solutions - Part I</title><content type='html'>&lt;span class="Apple-style-span"   style="font-family:lucida grande;font-size:100%;"&gt;CODEFINGER was the On-Spot-Programming event and Casino RoYahoo! was the Yahoo Internship event. Both consisted of two rounds - a preliminary written round followed by the final round which required the finalists to program directly on a system provided to them.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="font-family:lucida grande;font-size:100%;"&gt;Here I shall post the solutions to only a few questions. One can download the &lt;/span&gt;&lt;span class="Apple-style-span"   style="font-family:lucida grande;font-size:100%;"&gt;question papers &lt;a href="http://abhiram.nat.googlepages.com/INFINITY007.zip"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;here&lt;/span&gt;&lt;/a&gt;. Feel free to contact me for the answers to the other questions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;font-size:100%;"&gt;Q. What is the output?&lt;/span&gt;&lt;br /&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;int main()&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;{&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;..... i=3;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;.....( "%d\n", sizeof(i==3? 5 : 6.8) );&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;span&gt;return 0;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;span&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;span style="font-weight: bold; "&gt;Ans.&lt;/span&gt; &lt;span&gt;sizeof&lt;/span&gt; is a unary operator which returns the number of bytes its operand occupies. &lt;span style="font-weight: bold;"&gt;It is a compile-time operator&lt;/span&gt; because at run-time, type identification cannot be done in C. Since it is compile-time, it is to be noted that the expression is not evaluated (It is for the same reason that&lt;span&gt; i=5 ; sizeof(++i) ; print &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;i&lt;/span&gt; would output 5 itself, i.e. the ++i is not executed). Thus first of all, &lt;span style="font-style: italic; "&gt;int i=3&lt;/span&gt; is inconsequential.&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;The result of the expression &lt;span style="font-style: italic;"&gt;i==3? 5 : 6.8&lt;/span&gt; should be large enough to hold either an integer or a double(default for real values). &lt;span&gt;Thus the output of the above code snippet is 8&lt;/span&gt;.&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;span&gt;Q. Why can we have Virtual Destructors but not Virtual Constructors?&lt;/span&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;span style="font-weight: bold;"&gt;Ans. &lt;/span&gt;&lt;span&gt;Virtual mechanism acts on complete objects.&lt;/span&gt;&lt;span&gt; If something is virtual, it means it can be over-ridden by a sub-class. When a constructor is in the process of execution, the object is not complete. Thus it makes no sense to have virtual constructors.&lt;/span&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;But we can have virtual destructors because the fact that a destructor is being executed means the object has been constructed completely.&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;Q. The following function &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;void insert_right(int value , int element)&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; aims at inserting &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;value&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; to the right of &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;element&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; in a linked list whose header node is &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;first&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;. The structure definition of the linked list is as follows:-&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;struct node {int info; struct node *next};&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;The following code gives a run-time error for certain cases. Point out the cases and make the correction so that it gives correct output for all cases.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;void insert_right( int value, int element )&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;struct node* cur=first, *temp;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;while( cur-&gt;info != element &amp;amp;&amp;amp; cur != NULL)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;..........&lt;/span&gt;&lt;span style="font-size:100%;"&gt;cur = cur-&gt;next;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;if(cur==NULL)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;..........&lt;/span&gt;&lt;span style="font-size:100%;"&gt;printf( “Element not found.\n” );&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;else&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;..........&lt;/span&gt;&lt;span style="font-size:100%;"&gt;temp = get_new_node();  //returns a pointer to struct node&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;..........&lt;/span&gt;&lt;span style="font-size:100%;"&gt;temp-&gt;info = value;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;..........&lt;/span&gt;&lt;span style="font-size:100%;"&gt;temp-&gt;next = cur-&gt;next;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;        cur-&gt;next = temp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;.....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;return;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;"&gt;Ans.&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt; &lt;span&gt;The correction is &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;cur-&gt;info != element &amp;amp;&amp;amp; cur != NULL &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;must be changed to &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;cur != NULL &amp;amp;&amp;amp; cur-&gt;info != element&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt; The reason is easy to make out. When the value that is being searched for is not present in the list, we reach the end of the list. At that point &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;cur = NULL&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;. So cur-&gt;info results in access violation, resulting in the run-time error.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Q. Write a one-liner to find the value of n mod 2^s without using the % operator. No loopi&lt;span&gt;ng allo&lt;/span&gt;wed either.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-weight: bold; font-size:100%;"&gt;Ans&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;. The value of n mod 10 is always the last digit of the number. This can be proved pretty easily-&gt; if we have a number abcd where a,b,c,d are the individual digits, it can be expressed as abc*10 + d. Thus it is obvious that the remainder when divided by 10 would be the last digit itself. Similarly the value of the remainder when a decimal number is divided by 100 are the last two digits of the number.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;We can extend this logic to powers of 2 as well. The value of a number mod 2 is the last bit in the binary representation of the number. Similarly the value of a number mod 4 is the last two bits in the binary representation of the number.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Illustration:-&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;If we have a number 10100100101, the number mod 16 is basically the last four bits of the number,i.e. 101 which is 5. The reason for this is pretty simple. The above number can be actually expressed as (1010010)*16 + (0101). Thus is it clear that the remainder is 0101.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;Hence to find the remainder of a number divided by 2^s, all we have to do is mask all but the first s bits from the right side. Therefore the remainder is given&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;by the expression &lt;span style="font-weight: bold; "&gt;rem = n&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold; "&gt;[bitwise and]&lt;/span&gt;&lt;span style="font-weight: bold; "&gt;((1&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold; "&gt;[shift left]&lt;/span&gt;&lt;span style="font-weight: bold; "&gt;s)-1)&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;Q. The expression i = (i + 1)%10 generates values like this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:85%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;...1-&gt;2-&gt;3-&gt;4-&gt;5-&gt;6-&gt;7-&gt;8-&gt;9-&gt;0-&gt;1-&gt;2-&gt;3-&gt;4-&gt;5-&gt;6-&gt;7-&gt;8-&gt;9-&gt;0-&gt;1...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;Write an expression which will generate values like this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:85%;"&gt;&lt;span style="font-weight: bold; "&gt;...8-&gt;7-&gt;6-&gt;5-&gt;4-&gt;3-&gt;2-&gt;1-&gt;10-&gt;9-&gt;8-&gt;7-&gt;6-&gt;5-&gt;4-&gt;3-&gt;2-&gt;1-&gt;10-&gt;9-&gt;8...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Ans. &lt;/span&gt;I am not sure whether the question statement is very clear. Basically if I begin with say i=5 and successively perform i=(i+1)%10, then the sequence of values generated are 6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,.... Basically, i gets incremented till 9 and then comes back to 0. Now I want a statement that would generate values in the order 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;First of all, let us see how one can generate the sequence 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9&lt;span style="font-weight: bold;"&gt;...(A)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;At first thought, i=(i-1)%10 is what comes to mind. This works for all instances other than i=0. When i=0, the next value should be 9. So we need to handle the case where (i-1) goes negative. Now we know (a+b)%b = a%b. Therefore (i-1)%10 = (i-1+10)%10. i=(i+9)%10 thus generates a sequence (A). The expression can also be though of in this way &lt;span style="font-style: italic;"&gt;going back one circularly is equivalent to going ahead 9 circularly&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;br /&gt;Now the sequence asked for is 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10, 9, 8&lt;span style="font-weight: bold;"&gt;...(B)&lt;/span&gt; This sequence is just sequence (A)+1. Thus the first idea here is that i=(i+9)%10 can itself be used. Now, the value of i in sequence (B) is the value of i in sequence (A)+1. Therefore we have:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;i&lt;span style="font-size:78%;"&gt;a&lt;/span&gt;=(i&lt;span style="font-size:78%;"&gt;a&lt;/span&gt;+9)%10&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;We want the expression for i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt; where i&lt;span style="font-size:85%;"&gt;b&lt;/span&gt; is i&lt;span style="font-size:78%;"&gt;a&lt;/span&gt;-1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;So, i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;-1=(i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;-1+9)%10&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;-1=(i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;+8)%10&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;=(i&lt;span style="font-size:78%;"&gt;b&lt;/span&gt;+8)%10+1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;Thus the expression &lt;span&gt;i=(i+8)%10+1&lt;/span&gt; will generate sequence (B). Pardon me for the unclear explanation. But this is the best I could do.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt;Q. &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;Change one character&lt;/span&gt;&lt;span&gt; in the following code to get the output as &lt;/span&gt;&lt;span style="font-weight: bold; "&gt;20 x's&lt;/span&gt;&lt;span&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt;int i,n=20;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt;for(i=0; i &lt;/span&gt;&lt;span style="font-style: italic; "&gt;[less_than] &lt;/span&gt;&lt;span&gt;n; --i)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt;....printf("x);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Ans.&lt;/span&gt; The above question is a well known question. The answer is&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;int i,n=20;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;for(i=0; i &lt;span style="font-style: italic;"&gt;&lt;span&gt;[less_than]&lt;/span&gt; &lt;/span&gt;n; --&lt;span style="font-weight: bold;"&gt;n&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;....printf("x);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;(or)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;int i,n=20;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;for(i=0; i &lt;span style="font-weight: bold;"&gt;+&lt;/span&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;n; --i)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span&gt;....printf("x);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Now, this question was asked just for the heck of it. Coming up next is a bouncer. Try it!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Q. &lt;/span&gt;&lt;span style="font-weight: bold; font-size:100%;"&gt;Add one character&lt;/span&gt;&lt;span style="font-size:100%;"&gt; to the following code to get the output as &lt;/span&gt;&lt;span style="font-weight: bold; font-size:100%;"&gt;21&lt;/span&gt;&lt;span style="font-size:100%;"&gt; x's.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;int i,n=20;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;for(i=0 ; i &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt; n ; --i)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;....printf("x");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-size:100%;"&gt;Ans. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;I happen to recall that only one team got this one right. The answer to it is...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;int i,n=20;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;for(i=0 ; &lt;/span&gt;&lt;span style="font-weight: bold; font-size:100%;"&gt;~&lt;/span&gt;&lt;span style="font-size:100%;"&gt;i &lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt; n; --i)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;....printf("x")&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;You are supposed to think like this. For the previous question, if we had the for condition as -i&lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;n, then the output would have been 20 x's. If the condition had been -i&lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;(n+1), then the output would have been 21 x's. Similarly if the condition was (-i-1)&lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;n, the output would have been 21 x's. -i is 2's complement of i. -i-1 would be i's 1 complement. Thus, the solution is &lt;span style="font-weight: bold;"&gt;~&lt;/span&gt;i&lt;/span&gt;&lt;span style="font-style: italic; font-size:100%;"&gt;[less_than]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;n.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;--------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;There is more coming up...&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Abhiram Natarajan&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-119990634859674982?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/119990634859674982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=119990634859674982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/119990634859674982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/119990634859674982'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/02/on-spot-programming-codefinger.html' title='Solutions - Part I'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-8157899277686671249</id><published>2008-02-10T19:59:00.009+05:30</published><updated>2010-03-18T17:17:38.832+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='infinity'/><category scheme='http://www.blogger.com/atom/ns#' term='fest'/><category scheme='http://www.blogger.com/atom/ns#' term='007'/><title type='text'>INFINITY '007</title><content type='html'>&lt;a style="font-family: times new roman; color: rgb(0, 0, 0);" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F4pTsBbUp3g/R68Sln-gLII/AAAAAAAAAqQ/vPql_P4q2KA/s1600-h/10.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_F4pTsBbUp3g/R68Sln-gLII/AAAAAAAAAqQ/vPql_P4q2KA/s400/10.jpg" alt="" id="BLOGGER_PHOTO_ID_5165367735212846210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div  style="text-align: justify; color: rgb(0, 0, 0);font-family:lucida grande;"&gt;   Hello everyone! It has been &lt;span style="font-style: italic;"&gt;long time no blog&lt;/span&gt; for me. Currently, I am interning at Cisco. The place is nice but the work.... NO COMMENTS.&lt;br /&gt;&lt;br /&gt;INFINITY '007, the annual(supposed to be) departmental fest of the Dept. of Information Science of R V College of Engineering was a huge huge success. It had everything a fest should ideally have - great events, great organizers, great prizes, great crowd and ME! It was a truly marvelous experience to be part of it.&lt;br /&gt;&lt;br /&gt;I was in-charge of two events - &lt;span style="font-weight: bold;"&gt;On-Spot-Programming&lt;/span&gt; and the &lt;span style="font-weight: bold;"&gt;Yahoo Internship challenge&lt;/span&gt;. It was both challenging and fun setting questions for these events. Here I shall post the question papers and the solutions(I know) for the questions. Please note that suggestions, comments, questions, criticism, etc. are welcome. You can contact me personally or even comment here itself.&lt;br /&gt;&lt;br /&gt;Signing off...&lt;br /&gt;Abhiram Natarajan.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-8157899277686671249?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/8157899277686671249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=8157899277686671249' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8157899277686671249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/8157899277686671249'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2008/02/infinity-007.html' title='INFINITY &apos;007'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_F4pTsBbUp3g/R68Sln-gLII/AAAAAAAAAqQ/vPql_P4q2KA/s72-c/10.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-6539247727561906285</id><published>2007-07-13T21:54:00.004+05:30</published><updated>2010-06-15T23:31:56.383+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='close door'/><category scheme='http://www.blogger.com/atom/ns#' term='open door'/><category scheme='http://www.blogger.com/atom/ns#' term='divisors'/><category scheme='http://www.blogger.com/atom/ns#' term='doors problem'/><category scheme='http://www.blogger.com/atom/ns#' term='square root'/><category scheme='http://www.blogger.com/atom/ns#' term='light'/><title type='text'>An Interesting Problem</title><content type='html'>&lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;The Problem&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: lucida grande;"&gt; &lt;/div&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;There is man named "mabu" for switching on-off light in our University. He switches on-off the lights in a corridor. Every bulb has its own toggle switch. That is, if it is pressed then the bulb turns on. Another press will turn it off. To save power consumption (or may be he is mad or something else) he does a peculiar thing. If in a corridor there is `n' bulbs, he walks along the corridor back and forth `n' times and in i'th walk he toggles only the switches whose serial is divisable by i. He does not press any switch when coming back to his initial position. A i'th walk is defined as going down the corridor (while doing the peculiar thing) and coming back again. &lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;Now you have to determine what is the final condition of the last bulb. Is it on or off? &lt;/span&gt;&lt;/div&gt;    &lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;&lt;br /&gt;The Input&lt;/span&gt; &lt;/div&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;The input will be an integer iandicating the n'th bulb in a corridor. Which is less then or equals 2^32-1. A zero indicates the end of input. You should not process this input. &lt;/span&gt;  &lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;The Output&lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;Output "yes" if the light is on otherwise "no" , in a single line. &lt;/span&gt;&lt;/div&gt;  &lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;&lt;br /&gt;Sample Input&lt;/span&gt; &lt;/div&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;3&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;6241&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;8191&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;0&lt;/span&gt;  &lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="color: rgb(204, 0, 0);font-size:100%;" &gt;Sample Output&lt;/span&gt; &lt;/div&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;no&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;yes&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);font-family:lucida grande;font-size:100%;"  &gt;no&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;I came across this problem during a programming contest. Although the lengthy problem statement can confuse, it is really straightforward. You are given number n. All you have to do is check whether n has an even number of divisors or odd. If even, you print "no" otherwise you print "yes".&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;A Naive Implementation:-&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;for i = [1,n]&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;…if n is divisible by i&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;……..count = count + 1&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;if count is even&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;…print no&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;else&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;…print yes&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;This was what struck me initially. However, I got a "Time Limit Exceeded" from the online compiler. Repeated efforts to optimize were all futile.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;So it became clear, that I must design an algorithm markedly better than the naive one shown above. It took me a while ....&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_F4pTsBbUp3g/Rpe4ry2iDJI/AAAAAAAAACU/EzSZvRY-OPQ/s1600-h/107_1.gif"&gt;&lt;img style="cursor: pointer;" src="http://bp2.blogger.com/_F4pTsBbUp3g/Rpe4ry2iDJI/AAAAAAAAACU/EzSZvRY-OPQ/s320/107_1.gif" alt="" id="BLOGGER_PHOTO_ID_5086737366662646930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;Well, what I finally did was this…. Check if n is a perfect square. If yes, the print “yes”, else print “no”. The proof follows.&lt;br /&gt;&lt;br /&gt;Assume n is not a perfect square. We can see that when n is represented as a product of two numbers, one among m would be lesser than √n and the other would be greater than √n.&lt;br /&gt;&lt;br /&gt;Consider the set of divisors of n. Let us say that there are x divisors of n below √n. Now, each of these x divisors would give an unique and different dividend when they divide n. We can see that the set of these dividends are indeed the set of divisors of n which are greater than √n. So this means that for every multiple pair, there is another multiple pair, which is just the reverse. Thus, we can say that the multiple-pairs themselves occur in pairs, which leads to the conclusion that the number of divisors for a non-perfect square number is even.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=";font-family:lucida grande;font-size:100%;"  &gt;ILLUSTRATION&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;28 = 1   * 28&lt;br /&gt;= 2   * 14&lt;br /&gt;= 4   * 7&lt;br /&gt;= 7   * 4&lt;br /&gt;= 14 * 2&lt;br /&gt;= 28 * 1&lt;br /&gt;&lt;br /&gt;There are six multiple-pairs of 28. Among the six, three of them are unique and the other three are just mirror images.&lt;br /&gt;&lt;br /&gt;Now, for a perfect square, the same argument would hold good. But there is the extra pair of √n * √n = n. This is the only other pair, so&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt; finally the number of divisors are odd.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;So now our final algorithm would look like this.&lt;br /&gt;&lt;br /&gt;if n is a perfect square&lt;br /&gt;….print yes&lt;br /&gt;else&lt;br /&gt;….print no&lt;br /&gt;&lt;br /&gt;Moral of the story:- Analogous to "Think before you ink", we have "think before you bang away on your keyboard"...&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-6539247727561906285?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/6539247727561906285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=6539247727561906285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6539247727561906285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6539247727561906285'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2007/07/interesting-problem.html' title='An Interesting Problem'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_F4pTsBbUp3g/Rpe4ry2iDJI/AAAAAAAAACU/EzSZvRY-OPQ/s72-c/107_1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-3450268470802476929</id><published>2007-07-03T02:10:00.005+05:30</published><updated>2010-06-14T13:52:51.937+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='kahlil'/><category scheme='http://www.blogger.com/atom/ns#' term='gibran'/><category scheme='http://www.blogger.com/atom/ns#' term='broken'/><category scheme='http://www.blogger.com/atom/ns#' term='love'/><category scheme='http://www.blogger.com/atom/ns#' term='wings'/><title type='text'>Broken Wings - Kahlil Gibran</title><content type='html'>&lt;div  style="text-align: center; color: rgb(0, 0, 0); font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F4pTsBbUp3g/RolokZiLpRI/AAAAAAAAABc/dYUjeNnhqjw/s1600-h/no34142.jpg"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_F4pTsBbUp3g/RolokZiLpRI/AAAAAAAAABc/dYUjeNnhqjw/s320/no34142.jpg" alt="" id="BLOGGER_PHOTO_ID_5082708629003150610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;  &lt;p  style="text-align: justify; font-family:lucida grande;" class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;I had never really been moved by "romantic" movies or songs or poems. However, this book changed all that! Very unlike the other normal love stories, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Broken Wings &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;embraces the idea of unconditional love. It is redolent with images. Kahlil Gibran is truly a genius.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;i&gt;&lt;/i&gt;I would recommend this book to everyone. You can download it &lt;/span&gt;&lt;a href="http://abhiram.nat.googlepages.com/KahlilGibran-BrokenWings.doc"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;. Small book, but trust me each line would hold your attention and make you think. I have seen quite a few people pride themselves saying "I do not like romantic mushy love stories. They are boring ...." Mostly Men... And some who consider love as a sign of weakness, and something unscientific. I was one of them!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="text-align: justify; font-family:lucida grande;" class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Though I still do not seek out such stories/works, I enjoy them when I stumble upon them. This book, if read with an open mind, will cause even the coldest and shrewdest person to view love as a mystery. Try it. You will be defeated!!!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0); font-family:lucida grande;font-size:100%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-3450268470802476929?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/3450268470802476929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=3450268470802476929' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3450268470802476929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/3450268470802476929'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2007/07/broken-wings-kahlil-gibran.html' title='Broken Wings - Kahlil Gibran'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_F4pTsBbUp3g/RolokZiLpRI/AAAAAAAAABc/dYUjeNnhqjw/s72-c/no34142.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-6395813280383373930</id><published>2007-06-26T22:41:00.017+05:30</published><updated>2010-01-06T13:53:24.395+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='big number factorial'/><category scheme='http://www.blogger.com/atom/ns#' term='factorial of large numbers'/><category scheme='http://www.blogger.com/atom/ns#' term='biginteger'/><category scheme='http://www.blogger.com/atom/ns#' term='factorial'/><category scheme='http://www.blogger.com/atom/ns#' term='large numbers'/><category scheme='http://www.blogger.com/atom/ns#' term='multiplication'/><category scheme='http://www.blogger.com/atom/ns#' term='value of factorial'/><category scheme='http://www.blogger.com/atom/ns#' term='large factorial'/><title type='text'>Factorials of Large Numbers</title><content type='html'>&lt;div style="text-align: justify;"&gt;4023872600770937735437024339230039857193748642107&lt;br /&gt;146325437999104299385123986290205920442084869694&lt;br /&gt;048004799886101971960586316668729948085589013238&lt;br /&gt;2966994459099742450408707375991882362772718873251&lt;br /&gt;9779505950995276120874975462497043601418278094646&lt;br /&gt;49629105639388743788648733711918104582578364784997&lt;br /&gt;7012476632889835955735432513185323958463075557409&lt;br /&gt;11426241747434934755342864657661166779739666882029&lt;br /&gt;1207379143853719588249808126867838374559731746136&lt;br /&gt;08537953452422158659320192809087829730843139284&lt;br /&gt;440328123155861103697680135730421616874760967587&lt;br /&gt;134831202547858932076716913244842623613141250878&lt;br /&gt;020800026168315102734182797770478463586817016436&lt;br /&gt;502415369139828126481021309276124489635992870511&lt;br /&gt;496497541990934222156683257208082133318611681155&lt;br /&gt;36158365469840467089756029009505376164758477284&lt;br /&gt;21889679646244945160765353408198901385442487984&lt;br /&gt;95995331910172335555660213945039973628075013783&lt;br /&gt;76153071277619268490343526252000158885351473316&lt;br /&gt;117021039681759215109077880193931781141945452572&lt;br /&gt;23865541461062892187960223838971476088506276862&lt;br /&gt;96714667469756291123408243920816015378088989396&lt;br /&gt;451826324367161676217916890977991190375403127462&lt;br /&gt;22899880051954444142820121873617459926429565817&lt;br /&gt;46628302955570299024324153181617210465832036786&lt;br /&gt;90611726015878352075151628422554026517048330422&lt;br /&gt;61439742869330616908979684825901254583271682264&lt;br /&gt;58066526769958652682272807075781391858178889652&lt;br /&gt;20816434834482599326604336766017699961283186078&lt;br /&gt;83861502794659551311565520360939881806121385586&lt;br /&gt;0030143569452722420634463179746059468257310379&lt;br /&gt;0084024432438465657245014402821885252470935190&lt;br /&gt;62092902313649327349756551395872055965422874977&lt;br /&gt;40114133469627154228458623773875382304838656889&lt;br /&gt;7646192738381490014076731044664025989949022222&lt;br /&gt;1765904339901886018566526485061799702356193897&lt;br /&gt;01786004081188972991831102117122984590164192106&lt;br /&gt;88843871218556461249607987229085192968193723886&lt;br /&gt;42614839657382291123125024186649353143970137428&lt;br /&gt;53192664987533721894069428143411852015801412334&lt;br /&gt;4828015051399694290153483077644569099073152433&lt;br /&gt;2782882698646027898643211390835062170950025973&lt;br /&gt;89863554277196742822248757586765752344220207573&lt;br /&gt;6305694988250879689281627538488633969099598262&lt;br /&gt;8095612145099487170124451646126037902930912088&lt;br /&gt;9086942028510640182154399457156805941872748998&lt;br /&gt;0942547421735824010636774045957417851608292301&lt;br /&gt;353580818400969963725242305608559037006242712&lt;br /&gt;4341690900415369010593398383577793941097002775&lt;br /&gt;347200000000000000000000000000000000000000&lt;br /&gt;00000000000000000000000000000000000000000&lt;br /&gt;00000000000000000000000000000000000000000&lt;br /&gt;00000000000000000000000000000000000000000&lt;br /&gt;00000000000000000000000000000000000000000&lt;br /&gt;00000000000000000000000000000000000000000&lt;br /&gt;000000&lt;br /&gt;&lt;br /&gt;That is the value of factorial 1000. Writing a program to print the factorial of a number is one of the most basic and almost elementary programming exercises. But naturally the simple one that we wrote in class is limited in that it cannot output the factorial of numbers beyond 20 (64 bit integers). Below is the description of a method that would generate the factorial of numbers far greater than 20. I believe the method is correct - I know for sure that the output is perfect for 1! to 5000!.&lt;br /&gt;&lt;/div&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;As one would know, fact(n) = 1 * 2 * 3 * ..... * (n-1) * n. To generate factorials of large numbers, the key is multiplication. If we knew how to multiply large numbers, the job is done. When I say large numbers, I mean numbers with 50 digits each or even more. To achieve this, let us just recall the basic multiplication procedure that we learnt in our 3rd grade.&lt;br /&gt;&lt;/span&gt;&lt;a href="http://bp0.blogger.com/_F4pTsBbUp3g/RoM2MJiLpPI/AAAAAAAAABM/dNTpiG4wXKU/s1600-h/a.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;span style="text-decoration: none;"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="BLOGGER_PHOTO_ID_5080964386949670130" spid="_x0000_i1025" type="#_x0000_t75" alt="" href="http://bp0.blogger.com/_F4pTsBbUp3g/RoM2MJiLpPI/AAAAAAAAABM/dNTpiG4wXKU/s1600-h/a.jpg" style="'width:240pt;height:221.25pt'" button="t"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\Abhiram\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg" href="http://bp0.blogger.com/_F4pTsBbUp3g/RoM2MJiLpPI/AAAAAAAAABM/dNTpiG4wXKU/s320/a.jpg"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=";font-family:times new roman;font-size:100%;"  &gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div  style="text-align: center;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_F4pTsBbUp3g/RpeHHS2iDII/AAAAAAAAACM/Kv3OVYuqUBU/s1600-h/a.jpg"&gt;&lt;span class="Apple-style-span"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_F4pTsBbUp3g/RpeHHS2iDII/AAAAAAAAACM/Kv3OVYuqUBU/s320/a.jpg" alt="" id="BLOGGER_PHOTO_ID_5086682863527660674" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;NOTE:-There are few things to be noticed in any multiplication. The last digit of the answer is determined only by the last digits of the two numbers being multiplied. For example, &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;3&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;*&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;4&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; or 2&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;3&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;*4&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;4 &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;78368726873268&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;3&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;*231312312&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;4&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; would all end with &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;2&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;. Similarly the last two digits of the answer are determined only by the last two digits of the two numbers being multiplied. &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;12*24&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; or 9&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;12&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;*5&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;24&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; or 12311232112&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;12&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;*72728967826876876&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;24&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; would all end with &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;88&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;. &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"&gt;So the basis of the entire logic lies in the fact that parts of the answer are affected only by parts of numbers being multiplied. &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;A careful look at the above figure should give us an idea. At a point of time, we are not multiplying more than two single digit numbers. Thus, with careful handling of the numbers, we can be sure that the holistic procedure shown in the diagram can be used to multiply two numbers, each having 1000 digits or even more. All we do is save our answer at every step and finally add all the intermediate answers to obtain the final answer. This is the standard multiplication procedure. The logic behind it is easy to understand.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;4567 * 8767&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;= 4567*(7+10*6+100*7+1000*8) = 4567*7 + 10*(4567*6) + 100*(4567*7) + 1000*(4567*8)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;Let T1 = 4567*7, T2 = 10*(4567*6), T3 = 100*(4567*7), T4 = 1000*(4567*8)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;Referring to the figure above, we can say that the first number in the multiplication (31969) is actually value of T1, the second number (274020) is the value of term T2 and so on. We add all the values to obtain the final answer as 40038889.&lt;br /&gt;&lt;br /&gt;Let us now generalize the multiplication procedure. Take two numbers &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;abcd&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;efgh&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; where a,b,c,d,e,f,g,h are the digits of the numbers.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;m = abcd * efgh&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;m = abcd * (h + 10*g + 100*f + 1000*e)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;= (d + c*10 + b*100 + a*1000) * (h + 10*g + 100*f + 1000*e)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;= &lt;/span&gt;&lt;span style="color: rgb(153, 153, 255);"&gt;&lt;span class="Apple-style-span"&gt;(d*h)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;+10*&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;span class="Apple-style-span"&gt;(d*g + c*h)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;+100*&lt;/span&gt;&lt;span style="color: rgb(153, 153, 0);"&gt;&lt;span class="Apple-style-span"&gt;(b*h + c*g + d*f)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;+1000*&lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span"&gt;(a*h + b*g + c*f + d*e)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;+ ... ---(1)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;m = &lt;/span&gt;&lt;span style="color: rgb(153, 153, 255);"&gt;&lt;span class="Apple-style-span"&gt;d1&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt; +10*&lt;/span&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;span class="Apple-style-span"&gt;d2&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt; +100*&lt;/span&gt;&lt;span style="color: rgb(153, 153, 0);"&gt;&lt;span class="Apple-style-span"&gt;d3&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt; +1000*&lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span"&gt;d4&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt; + ........ 10^(n-1)*dn ---(2)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;span class="Apple-style-span"&gt;where each of the d's &lt;= 9&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Our main idea is to write a program to do the multiplication. If we get equation (2), i.e. if we manage to obtain the values of d1, d2, ..... dn, then the final answer is the number formed by concatenating the digits d1...dn in reverse order, i.e., dn, dn-1 ..... d1. So our aim reduces to obtaining (2).&lt;br /&gt;&lt;br /&gt;(1) is easily achievable. So all we have to do is transform (1) into (2). Though (1) and (2) look similar, there is a critical difference. For instance, d*h is not necessarily equal to d1. &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-size:100%;color:red;"  &gt;&lt;span class="Apple-style-span"&gt;The numbers d1, d2, ... are all lesser than or equal to 9&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt; d*h is not necessarily less than or equal to 9. Same is the case with d2 and (d*g + c*h).&lt;br /&gt;&lt;br /&gt;The main problem lies in the fact that d*h, for example, might be a two-digit number. Let d*h = AB where A,B, are single digit numbers. Now, &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;d*h = 10*A + B.&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;So (1) can be written as&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;m = B + 10*(d*g + c*h + A) + ......&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;"...This basically means that in the case where we get an intermediate answer as a number with two digits or more, we just take it as a carry...". &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span class="Apple-style-span"&gt;I shall use this basic idea to obtain the value of 4567*8767 using (1)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Here a=4, b=5, c=6, d=7, e=8, f=7, g=6, h=7.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;d*h&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=49. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d1=9&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;and&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;c*h + d*g&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=42+42=84. Add carry to this. So value becomes 84+4 = 88. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d2=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color:red;"&gt;&lt;span class="Apple-style-span"&gt;carry=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;b*h + c*g + d*f&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=35+36+49=120. Add carry to this. Value=128. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d3=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=12&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*h + b*g + c*f + d*e&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=28+30+42+56=156. Add carry to this. Value=168. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d4=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=16&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*g + b*f + c*e&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=24+35+48=107. Add carry to this. Value = 123. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d5=3&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=12&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*f + b*e&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=28+40=68. Add carry to this. Value=80. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d6=0&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*e&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=32. Add carry to this. Value = 40. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d7=0&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d8=carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;When we concatenate d8,d7,.....,d1, we get 40038889!!!!! Which is the answer we want.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Basically, I used (1) itself. The only point is that when I got a value with more than one digit, I just took the last digit of the value into the answer and took the remaining digits as the carry. I took care to add the carry to every intermediate value I obtained. To help writing a program easily, I would like to illustrate the above multiplication procedure in a better way.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*0 + b*0 + c*0 + d*h&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=49. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d1=9&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;and&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*0 + b*0 + c*h + d*g&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=42+42=84. Add carry to this. So value becomes 84+4 = 88. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d2=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color:red;"&gt;&lt;span class="Apple-style-span"&gt;carry=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*0 + b*h + c*g + d*f&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=35+36+49=120. Add carry to this. Value=128. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d3=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=12&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*h + b*g + c*f + d*e&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=28+30+42+56=156. Add carry to this. Value=168. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d4=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=16&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*g + b*f + c*e + d*0&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=24+35+48=107. Add carry to this. Value = 123. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d5=3&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=12&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*f + b*e + c*0 + d*0&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=28+40=68. Add carry to this. Value=80. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d6=0&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;a*e + b*0 + c*0 + d*0&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;=32. Add carry to this. Value = 40. Take &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d7=0&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt; and &lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;&lt;span class="Apple-style-span"&gt;d8=carry=4&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;In case you did not spot it, all the terms contain a,b,c,d. the other digits follow this format:-&lt;br /&gt;0,0,0,h&lt;br /&gt;0,0,h,g&lt;br /&gt;0,h,g,f&lt;br /&gt;h,g,f,e&lt;br /&gt;g,f,e,0&lt;br /&gt;f,e,0,0&lt;br /&gt;e,0,0,0&lt;br /&gt;&lt;br /&gt;This is the method that has to be used to multiply two large numbers. Now coming back to generating the factorial, all we have to do is to repeatedly perform such multiplications and obtain the value of the factorial. Here I present the crux of the code. However, I suggest that you do not look at it. It would be best if you implement this logic on your own, cause it might very well turn out that your implementation is better than mine.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt;//fact(n)=n*fact(n-1)&lt;br /&gt;/* The method of multiplication described above has been used to obtain the value of fact(n), i.e. fact(n-1)*n */&lt;br /&gt;fact(1)=1; //initialization&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;INPUT&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;:- An integer n&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt; i = [2,n]&lt;br /&gt;.....str1 = i;&lt;br /&gt;.....len1 = length(str1);&lt;br /&gt;.....str2 = &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;len1-1 &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt;number of 0s + fact(i-1) + &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;len1-1&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; number of 0s;&lt;br /&gt;.....len2 = length(str2);&lt;br /&gt;.....carry=0;&lt;br /&gt;.....&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt; j = [0,len2-len1]&lt;br /&gt;.........val=carry;&lt;br /&gt;.........&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 204);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt; k = [0,len1)&lt;br /&gt;...............val = val + ( str2[j+k] * str1[k] );&lt;br /&gt;.........END &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 204);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;FOR&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;.........append &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;val%10&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; to fact(i);&lt;br /&gt;.........carry=val/10;&lt;br /&gt;.....END &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;FOR&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt;.....append the digits of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;carry&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; in reverse order to &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;fact(i)&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"&gt;END &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;FOR&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;OUTPUT&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;:- &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt;The digits of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;fact&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt; in reverse order&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;NOTE:- str1,str2, fact are all strings.&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: justify;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;Once again, I suggest that you implement this logic without looking at the above snippet. However, if you want the code, &lt;a href="http://abhiram.nat.googlepages.com/fact.c"&gt;here&lt;/a&gt; it is.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://bp2.blogger.com/_F4pTsBbUp3g/RolYLJiLpQI/AAAAAAAAABU/3KqH1BRVymw/s1600-h/a.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;span style="text-decoration: none; color: rgb(0, 0, 0);"&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-6395813280383373930?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/6395813280383373930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=6395813280383373930' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6395813280383373930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/6395813280383373930'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2007/06/factorial.html' title='Factorials of Large Numbers'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_F4pTsBbUp3g/RpeHHS2iDII/AAAAAAAAACM/Kv3OVYuqUBU/s72-c/a.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-2927221961801127611</id><published>2007-06-26T00:34:00.015+05:30</published><updated>2009-12-26T19:46:42.360+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cryptarithm'/><category scheme='http://www.blogger.com/atom/ns#' term='alphametic'/><category scheme='http://www.blogger.com/atom/ns#' term='cryptarithmetic'/><category scheme='http://www.blogger.com/atom/ns#' term='arithmetic restorations'/><category scheme='http://www.blogger.com/atom/ns#' term='cryptarithmetic solver'/><category scheme='http://www.blogger.com/atom/ns#' term='cryptarithmetic program'/><category scheme='http://www.blogger.com/atom/ns#' term='alphametic solver'/><category scheme='http://www.blogger.com/atom/ns#' term='cryptarithmetic c program'/><title type='text'>A Cryptarithmetic Solver</title><content type='html'>&lt;a style="font-family: times new roman;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_F4pTsBbUp3g/SvNdBGVFOBI/AAAAAAAAC5I/vS5J63SX2s0/s1600-h/chapter5-9.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://3.bp.blogspot.com/_F4pTsBbUp3g/SvNdBGVFOBI/AAAAAAAAC5I/vS5J63SX2s0/s320/chapter5-9.gif" alt="" id="BLOGGER_PHOTO_ID_5400762651607644178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-family: times new roman;"&gt;If you are reading this post, I assume you know what cryptarithmetic puzzles are, so I shall not belabor the point. In case you do not, please check &lt;a href="http://en.wikipedia.org/wiki/Verbal_arithmetic"&gt;this&lt;/a&gt; for a complete explanation. I also found some interesting papers on the topic. Check &lt;a href="http://sites.google.com/site/abhiramfiles1/Home/blog-files/CryptPapers.zip"&gt;them&lt;/a&gt; out if you want to.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify; font-family: times new roman;"&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I have written a program in C which solves any cryptarithmetic equation (have tested it extensively on a lot of examples online). The input consists of three strings say S1, S2 and S3 and then a number (1 or 2 or 3 or 4), which denotes the operators + or - or * or / respectively. The programs generates all possible solutions for the crptarithmetic equation S1 (operator) S2 = S3.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="font-family: times new roman; text-align: justify;" class="MsoNormal"&gt;&lt;br /&gt;LOGIC:-&lt;br /&gt;There is nothing extra-ordinary in the logic. It is just a simple combinatorial technique, wherein I check all possibilities and output only the correct ones.&lt;br /&gt;1. Take the unique characters.&lt;br /&gt;2. Assign one possible set of values that you have not tried before. If no further assignments possible, exit.&lt;br /&gt;3. Check it the assignment is correct.&lt;br /&gt;4. If correct, the print the solution. Go to step 2.&lt;br /&gt;&lt;br /&gt;crypt(letters,index)&lt;br /&gt;{&lt;br /&gt;......&lt;i&gt;if all letters are assigned &lt;b&gt;and&lt;/b&gt; the assignment is correct&lt;br /&gt;...............print the solution;&lt;br /&gt;...............return;&lt;br /&gt;&lt;/i&gt;......for i = [0,10)&lt;br /&gt;..........&lt;i&gt;if i has not yet been assigned&lt;br /&gt;................assign i to letters[index]&lt;br /&gt;&lt;/i&gt;................&lt;b&gt;crypt(letters,index+1); //recursive call&lt;/b&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;........get the unique letters among the three strings&lt;br /&gt;........call &lt;b&gt;crypt(letters,0);&lt;br /&gt;&lt;/b&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify; font-family: times new roman;"&gt;You can find plenty of places online which give you such puzzles. You can download the code from &lt;a href="http://sites.google.com/site/abhiramfiles1/Home/miscellaneous-codes/cryptarith.c"&gt;here&lt;/a&gt;. I have on purpose separated the entire program into many modules, more than what I would normally think was necessary. Minor optimizations are still possible, but I have refrained from doing them so as to not make the program look far too obfuscated. Please do report any errors that you find. Thank you.&lt;br /&gt;&lt;/div&gt;&lt;p style="font-family: times new roman; text-align: justify;" class="MsoNormal"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-2927221961801127611?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/2927221961801127611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=2927221961801127611' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2927221961801127611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2927221961801127611'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2007/06/cryptarithmetic-solver_3847.html' title='A Cryptarithmetic Solver'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F4pTsBbUp3g/SvNdBGVFOBI/AAAAAAAAC5I/vS5J63SX2s0/s72-c/chapter5-9.gif' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1088234578235236423.post-2482927306847801620</id><published>2007-06-26T00:32:00.008+05:30</published><updated>2010-01-25T09:02:19.571+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='kalidasa'/><category scheme='http://www.blogger.com/atom/ns#' term='salutation of the dawn'/><title type='text'>Salutation of the Dawn</title><content type='html'>&lt;div style="text-align: center; font-family: lucida grande;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_F4pTsBbUp3g/RpbbrS2iDHI/AAAAAAAAACE/iqBUZIjih8Q/s1600-h/salutation.jpg"&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_F4pTsBbUp3g/RpbbrS2iDHI/AAAAAAAAACE/iqBUZIjih8Q/s320/salutation.jpg" alt="" id="BLOGGER_PHOTO_ID_5086494366002973810" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class="MsoNormal" face="lucida grande"&gt;&lt;span&gt;&lt;a href="http://bp1.blogger.com/_F4pTsBbUp3g/RoARoVgq45I/AAAAAAAAAAk/4xb_rQppyOM/s1600-h/salutation.jpg"&gt;&lt;span style="text-decoration: none; "&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="BLOGGER_PHOTO_ID_5080079764340532114" spid="_x0000_i1025" type="#_x0000_t75" alt="" href="http://bp1.blogger.com/_F4pTsBbUp3g/RoARoVgq45I/AAAAAAAAAAk/4xb_rQppyOM/s1600-h/salutation.jpg" style="'width:204.75pt;height:240pt'" button="t"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\Abhiram\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg" href="http://bp1.blogger.com/_F4pTsBbUp3g/RoARoVgq45I/AAAAAAAAAAk/4xb_rQppyOM/s320/salutation.jpg"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: justify; font-family:lucida grande;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;This is a famous famous poem by Kalidasa. It tries to point out to us the importance of "today". Dale Carnegie refers to this poem in his book "How to stop worrying and start living". Clearly, if one follows exactly what is said in this poem, one would never experience "worry" (easier said than done of course).&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Salutation of the Dawn&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Listen to the Salutation of the Dawn!&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Look to this day!&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;For it is life, the very life of life,&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;In its brief course&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Lie all the verities and realities of your existence:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The bliss of growth&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The glory of action&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;The splendor of beauty,&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;For yesterday is but a dream&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;And tomorrow only a vision,&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;But today well lived makes every yesterday&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;a dream of happiness&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;And every tomorrow a vision of hope.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Look well, therefore, to this day!&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;Such is the salutation of the dawn.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;ABHIRAM NATARAJAN.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1088234578235236423-2482927306847801620?l=abhiramn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhiramn.blogspot.com/feeds/2482927306847801620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1088234578235236423&amp;postID=2482927306847801620' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2482927306847801620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1088234578235236423/posts/default/2482927306847801620'/><link rel='alternate' type='text/html' href='http://abhiramn.blogspot.com/2007/06/salutation-of-dawn_25.html' title='Salutation of the Dawn'/><author><name>Abhiram</name><uri>http://www.blogger.com/profile/18179953171975460872</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_F4pTsBbUp3g/RpbbrS2iDHI/AAAAAAAAACE/iqBUZIjih8Q/s72-c/salutation.jpg' height='72' width='72'/><thr:total>8</thr:total></entry></feed>
