<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>the lost logbook</title>
	<atom:link href="http://utkarshsengar.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://utkarshsengar.com</link>
	<description>Utkarsh&#039;s thoughts on India, Web 2.0, Linux and Technology</description>
	<lastBuildDate>Mon, 19 Apr 2010 04:05:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
		<item>
		<title>Baz Luhrmann&#8217;s &#8211; Everybody&#8217;s Free (To Wear Sunscreen)</title>
		<link>http://utkarshsengar.com/2010/04/baz-luhrmanns-everybodys-free-to-wear-sunscreen/</link>
		<comments>http://utkarshsengar.com/2010/04/baz-luhrmanns-everybodys-free-to-wear-sunscreen/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 06:50:42 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Baz Luhrmann]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=362</guid>
		<description><![CDATA[Australian Baz Luhrmann included this &#8220;essay-song&#8221; in his album Something for everybody.The original essay &#8211; &#8220;Advice, like youth, probably just wasted on the young&#8221; published in the Chicago Tribune can be found here . Simply #awesome!   Find the lyrics here Similar Posts: Gartner Hype Cycle 2009 &#8211; Is Cloud Computing Over Hyped? Get the [...]]]></description>
			<content:encoded><![CDATA[<p>Australian <a href="http://en.wikipedia.org/wiki/Baz_Luhrmann">Baz Luhrmann</a> included <a href="http://en.wikipedia.org/wiki/Wear_Sunscreen">this</a> &#8220;essay-song&#8221; in his album <a href="http://en.wikipedia.org/wiki/Something_for_Everybody_%28album%29">Something for everybody</a>.The original essay &#8211; &#8220;Advice, like youth, probably just wasted on the young&#8221; published in the Chicago Tribune can be found <a href="http://plodplod.blogspot.com/2006/07/advice-like-youth-probably-just-wasted.html">here</a> .</p>
<p>Simply #awesome!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/sTJ7AzBIJoI&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/sTJ7AzBIJoI&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p> </p>
<p>Find the lyrics <a href="http://homepage.ntlworld.com/gary.hart/lyricsl/luhrmann.html">here</a></p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/12/gartner-hype-cycle-2009-cloud-computing-hype/" rel="bookmark" title="December 3, 2009">Gartner Hype Cycle 2009 &#8211; Is Cloud Computing Over Hyped?</a></li>
<li><a href="http://utkarshsengar.com/2009/12/new-google-homepage/" rel="bookmark" title="December 2, 2009">Get the new Google Homepage!</a></li>
<li><a href="http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/" rel="bookmark" title="January 25, 2010">Indian Republic Day &#8211; &#8220;Where the Mind is Without Fear&#8221;</a></li>
<li><a href="http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/" rel="bookmark" title="January 7, 2010">Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</a></li>
<li><a href="http://utkarshsengar.com/2009/11/ubuntu-9-10-karmic-koala/" rel="bookmark" title="November 2, 2009">Ubuntu 9.10 Karmic Koala</a></li>
</ul>
<p><!-- Similar Posts took 3.256 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/04/baz-luhrmanns-everybodys-free-to-wear-sunscreen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Hadoop &#8211; The Future of Large Data sets</title>
		<link>http://utkarshsengar.com/2010/03/hadoop-the-future-of-large-data-sets/</link>
		<comments>http://utkarshsengar.com/2010/03/hadoop-the-future-of-large-data-sets/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 22:14:12 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[hadoop]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=351</guid>
		<description><![CDATA[Every one is talking about &#8220;large data sets&#8221;, &#8220;scalability&#8221; and &#8220;handling huge data being generated in the web day by day&#8221;. Which is supposed to be around 500 billion GB presently, according to the Guardian! Google, Yahoo, Facebook, Twitter, you think of a big company and they run Hadoop! Here are some of the companies [...]]]></description>
			<content:encoded><![CDATA[<p>Every one is talking about &#8220;large data sets&#8221;, &#8220;scalability&#8221; and &#8220;handling huge data being generated in the web day by day&#8221;. Which is supposed to be around <a href="http://www.guardian.co.uk/business/2009/may/18/digital-content-expansion">500 billion GB presently</a>, according to the Guardian! Google, Yahoo, Facebook, Twitter, you think of a big company and they run Hadoop! <a href="http://wiki.apache.org/hadoop/PoweredBy">Here are some of the companies which use Hadoop</a>. In that last link, if you&#8217;ll notice Yahoo has a cluster of 4000 nodes!</p>
<p>Looking forward to the <a href="http://upcoming.yahoo.com/event/5622468/CA/Sunnyvale/Bay-Area-Hadoop-User-Group-HUG-March-Meetup/Yahoo/">Hadoop Meet at Yahoo </a>today!<span id="more-351"></span></p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/zG6Rf7_FbT8&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zG6Rf7_FbT8&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/CMt-IqQlnQ8&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/CMt-IqQlnQ8&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Interesting reads of Hadoop</p>
<p><a href="http://www.bp-3.com/blogs/2010/01/interesting-read-on-hadoop-math/">bp-3.com</a></p>
<p><a href="http://structureddata.org/2009/06/10/facebook-hive-a-petabyte-scale-data-warehouse-using-hadoop/">Facebook: Hive – A Petabyte Scale Data Warehouse Using Hadoop</a><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
<li><a href="http://utkarshsengar.com/2009/12/google-public-dns-for-faster-browsing/" rel="bookmark" title="December 4, 2009">Google Public DNS for Faster Browsing</a></li>
<li><a href="http://utkarshsengar.com/2009/12/gartner-hype-cycle-2009-cloud-computing-hype/" rel="bookmark" title="December 3, 2009">Gartner Hype Cycle 2009 &#8211; Is Cloud Computing Over Hyped?</a></li>
<li><a href="http://utkarshsengar.com/2009/11/amazon-rds-the-next-move-to-cloud-by-amazon-web-services/" rel="bookmark" title="November 10, 2009">Amazon RDS &#8211; The next move to Cloud</a></li>
<li><a href="http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/" rel="bookmark" title="January 7, 2010">Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</a></li>
</ul>
<p><!-- Similar Posts took 3.559 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/03/hadoop-the-future-of-large-data-sets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Indian Republic Day &#8211; &#8220;Where the Mind is Without Fear&#8221;</title>
		<link>http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/</link>
		<comments>http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 10:08:49 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[India]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=258</guid>
		<description><![CDATA[Time to retrospect; during my school days, we had our daily prayers and we used to recite this poem by Tagore every day. At that time, we did not realize the real significance of this piece of Nobel winning literature. Now, after 7 years, I feel nostalgic and saddened. I understand it was not only [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Proud India" src="http://img18.imageshack.us/img18/9233/theproudindianflag1.jpg" alt="" width="228" height="187" />Time to retrospect; <a href="http://www.dpsranchi.com/">during my school days</a>, we had our daily prayers and we used to recite this poem by Tagore every day. At that time, we did not realize the real significance of this piece of Nobel winning <a href="http://en.wikipedia.org/wiki/Chitto_Jetha_Bhayshunyo">literature</a>. Now, after 7 years, I feel nostalgic and saddened. I understand it was not only a poem, but a thought, an attitude which our freedom fighters had and wanted the same to be inculcated in the future generations. His poems and thoughts are still alive between us, children recite them daily in schools, but why does that ideology die when we grow up? Where does the feeling of &#8220;Where the mind is without fear and the head is held high&#8221; go? Forget the world, why is <a href="http://video.google.com/videoplay?docid=-4139882072561017394#">India is still breaking up</a> into fragments by narrow domestic walls? Because, we were never taught the true meaning of these lines, they were just a routine activity for us. Our class teacher used to punish us if we did not attend the daily assembly, but were we ever told, why do we need to attend the assembly in the first place?! Not really. At least not in school.<span id="more-258"></span></p>
<p>No body made me truly realize the importance of India&#8217;s freedom, its glory, except my Grandfather. When I was a child, I used to wake up early in the morning on 26th Jan to watch the Republic Day Parade, but as I grew older, my interest faded in the Republic Day. I was no more enthralled by the Indian Army&#8217;s might, by the President&#8217;s salute or by the colors of India, &#8220;<a href="http://en.wikipedia.org/wiki/Republic_Day_Parade#January_26th_in_India">the Jhanki</a>&#8220;. It was just another holiday for me.</p>
<p>Anyway here is the poem (now when I read this, I feel inspired):</p>
<blockquote><p>Where the mind is without fear and the head is held high;</p>
<p>Where knowledge is free;</p>
<p>Where the world has not been broken up into fragments by narrow  domestic walls;</p>
<p>Where words come out from the depth of truth;</p>
<p>Where tireless striving stretches its arms towards perfection;</p>
<p>Where the clear stream of reason has not lost its way into the dreary  desert sand of dead habit;</p>
<p>Where the mind is led forward by thee into ever-widening thought and  action&#8211;Into that heaven of freedom, my Father, let my country awake.</p>
<p>~Rabindranath Tagore (From <a href="http://www.schoolofwisdom.com/gitanjali.html">Geetanjali</a>,  1910)</p></blockquote>
<blockquote><p>The last two lines of original Bengali version are  harsher. They state:</p>
<p>&#8220;Lord Father, strike {the sleeping} Bharat (India) without mercy,so  that it may awaken into such a heaven.&#8221;</p>
<p>While Tagore was not a politician, his poem has continued to inspire  Indians to create a free-thinking, <strong>united</strong> and <strong>dynamic nation</strong>.  The poem is also very popular among the liberals in Bangladesh. &#8211; <a href="http://en.wikipedia.org/wiki/Chitto_Jetha_Bhayshunyo">Source</a></p></blockquote>
<p>I wish we start thinking about our nation first, respect it,  unite together and destroy all the evil powers which try to harm us. This message goes out to all those young guns out there, respect your nation, it will respect you. The present state of India is not what our revolutionaries envisaged, we need much more that just a blog post or a Facebook/Twitter share. We need a revolution, a revolution in our thought and a revolution in the way we perceive things. <strong>Be the change you want to seek!</strong></p>
<p>As Tagore said:</p>
<blockquote><p>I have become my own version of an optimist. If I can&#8217;t make it through one door, I&#8217;ll go through another door &#8211; or I&#8217;ll make a door. Something terrific will come no matter how dark the present.</p></blockquote>
<p>I am very optimistic about India&#8217;s future, lets make it <a href="http://www.rediff.com/money/2007/may/22spec.htm">the Golden Bird of the 21st Century</a>.</p>
<p><span style="text-decoration: underline;"><strong>Update:</strong></span></p>
<p>By a revolution I do not mean fight, kill others etc. What I meant was <a href="http://www.giveindia.org/">eradicate poverty, educate people</a>, stop (and I really mean stop) discriminating people on basis of color, race, religion or cast. Divide and conquer might be a good approach in algorithms, but not in case of countries or people. Respect your country and each other.</p>
<p><strong>Happy Republic Day!</strong></p>
<p>You can watch the Indian Republic Day Parade, 2010 <a href="http://republicday.nic.in/">here  Live!</a><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/" rel="bookmark" title="January 19, 2010">India vs China &#8211; A Bird&#8217;s Eye View</a></li>
<li><a href="http://utkarshsengar.com/2009/11/amazon-rds-the-next-move-to-cloud-by-amazon-web-services/" rel="bookmark" title="November 10, 2009">Amazon RDS &#8211; The next move to Cloud</a></li>
<li><a href="http://utkarshsengar.com/2009/11/google-calendar-with-gnome-clock/" rel="bookmark" title="November 26, 2009">Sync Google Calendar with GNOME clock</a></li>
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
<li><a href="http://utkarshsengar.com/2010/01/who-is-lukeywes1234-the-power-of-web-2-0/" rel="bookmark" title="January 5, 2010">Who is lukeywes1234? &#8211; The Power of Web 2.0</a></li>
</ul>
<p><!-- Similar Posts took 3.800 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>India vs China &#8211; A Bird&#8217;s Eye View</title>
		<link>http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/</link>
		<comments>http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 07:56:56 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[India]]></category>
		<category><![CDATA[Start Up]]></category>
		<category><![CDATA[China]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=126</guid>
		<description><![CDATA[Recently I can across this amazing blog post by Mr Sujai Karampuri, CEO, Sloka Telecom (It&#8217;s an Indian startup in the telecom sector). It is one of the new breed of companies in India Inc who actually innovate and not provide services to the west. His post addresses an answer to one of the most [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="India vs China" src="http://img109.imageshack.us/img109/2927/indiachinaflag.jpg" alt="" width="240" height="192" />Recently I can across <a href="http://windia.blogspot.com/2009/11/india-or-china.html">this</a> amazing blog post by <a href="http://in.linkedin.com/in/sujai">Mr Sujai Karampuri</a>, CEO, Sloka Telecom (It&#8217;s an Indian startup in the telecom sector). It is one of the new breed of companies in India Inc who actually <a href="http://www.slokatelecom.com/about-us/-awards-and-recognitions.html">innovate</a> and not provide services to the west.</p>
<p>His post addresses an answer to one of the most common topic these days,</p>
<blockquote><p>India is rising, India will be a superpower in the next 10 years, west is going down, India has an edge over China with it&#8217;s English speaking people etc.</p></blockquote>
<p>But is India actually in a position to take over the west? Can it manage to transfer the center of gravity of the worlds largest companies (Like MSFT, CISCO, IBM) to India and itself start new ones?! I <a href="http://indiarising.wordpress.com/category/problems-in-india/">don&#8217;t think so</a> with our corrupt politicians, lack on <span id="more-126"></span>innovation, the great caste system, internal security, the education system and lack of infrastructure to name a few! Mr Sujai&#8217;s post details this case study in his blog, I will take some excerpts from his blog:</p>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;"> <span> </span>In reality China is leaving India behind by a bigger margin every year.</span></span></span></p></blockquote>
<p><span style="font-size: 100%;"><span><span style="line-height: 150%;"><br />
</span></span></span></p>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;">Chinese have built the biggest dam on the planet, built the longest bridges, built the fastest cities, built their own planes, submarines, ships, magnetic trains, and even the highest railways while India continued to lay another layer of asphalt on its decrepit roads after each rainfall. </span></span></span></p></blockquote>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;">India is not even showing a promise of catching up, </span></span></span><span style="font-size: 100%;"><span><span style="line-height: 150%;"><span> </span>It is still content to play a small game.</span></span></span></p></blockquote>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;"><span> </span>Is English really India’s edge? &#8211; </span></span></span><span style="font-size: 100%;"><span><span style="line-height: 150%;">how come their lack of good English not stop Huawei from becoming world #2 in telecom equipment?, </span></span></span><span style="font-size: 100%;"><span><span style="line-height: 150%;">How come it did not stop Lenovo, Haier and ZTE from becoming leading global brands?<span> </span>Just to give a perspective to Indian readers – 2 telecom equipment companies of China, Huawei and ZTE put together made USD 30 Billion in 2008 while the entire IT-ITES industry of India put together made USD 58 Billion in 2008-09. </span></span></span></p></blockquote>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;">Indians are in self-denial.<span> </span>They foolishly believe everything Thomas Friedman tells them, and they are happy serving their European and American masters setting up BPOs, KPOs, LPOs, software services, helping them do their things in a cheap and cost-effective way, </span></span></span><span style="font-size: 100%;"><span><span style="line-height: 150%;"> “I am an Indian. I am good at services.<span> </span>I should just stick to it”.</span></span></span></p></blockquote>
<blockquote><p><span style="font-size: 100%;"><span><span style="line-height: 150%;">China is even popularizing entrepreneurship as a cultural attitude with various initiatives including TV programs. </span></span></span><span style="line-height: 150%;"><span style="font-size: 100%;"><span><span style="line-height: 150%;">Infosys, TCS and Wipro, the giants of Indian software services which the Thomas Friedman lauds, did not do much to sponsor or promote startups in India (barring few exceptions).</span></span></span></span></p></blockquote>
<p><span style="font-size: 100%;"><span><span style="line-height: 150%;"><br />
</span></span></span></p>
<p>Here are some comparisons:</p>
<p><strong>GDP</strong>: India has around <strong>$1.209 trillion</strong> and China around <strong>$7.8 trillion</strong>.</p>
<p><strong>GDP growth</strong>: China grew by <strong>9.1%</strong> where as India by <strong>6.7%</strong>.</p>
<p><strong>Per capita GDP</strong>: People say, more population means less per capita GDP, but China is even more populous than India! India has a Per capita GPD of <strong>$1016</strong> where as China has <strong>$6,100</strong>. That&#8217;s a big difference and something to worry about!</p>
<p><strong>Inflation</strong>: India&#8217;s inflation is <strong>7.8 %</strong> where as China&#8217;s in in negative, <strong>-1.2 %</strong></p>
<p><strong>Labor Force:</strong> The difference is population is not much! India has <strong>523.5 million</strong> where has China has <strong>807.7 million</strong></p>
<p><strong>Unemployment rate</strong>: India: <strong>6.8 %</strong> and China: <strong>4.3 %</strong></p>
<p>So, as we see, the Chinese economy has seen some radical development and has grown significantly, where as India has been pretty slow. As Mr. <a href="http://gurcharandas.blogspot.com/">Gurcharan Das</a> puts in his book<a href="http://hbswk.hbs.edu/archive/2487.html"> India Unbound,</a> &#8220;<em>India will never be a tiger after 1991, it is an elephant who has begun to lumber and move ahead.</em>&#8220;.</p>
<p>But is the lumbering good enough?!</p>
<p>Ok, so, what does all that mean? We need a solution right? Here are some for  starters:</p>
<ol>
<li>Provide <strong>quality education</strong>, which stresses more on the learning than getting good grades! (Remember <a href="http://www.newvision.co.ug/D/9/32/706262">3 Idiots</a>, the movie?). If we will have our next generation well educated (not just knowing how to write their names), we will solve some of the problems in India, which we tend to ignore, but the biggest evils in the Indian society  like <a href="http://en.wikipedia.org/wiki/Caste_system_in_India">the caste system</a> &#8211; what ever it preaches, it just wrong and not at all justified! The divide on the basis of cast, color, religion, region, skilled people which can look beyond the BPOs and KPOs.</li>
<li>Overhauling the <strong><a href="http://en.wikipedia.org/wiki/Politics_of_India">Political System in India</a></strong>, I believe, this is the key to India&#8217;s growth. We really need to re-check the way our politicians run this country, it seems impossible, but its a dire requirement. Corruption has plagued the Indian society and presently there is no mechanism to correct it.</li>
<li>Dignity of Labor</li>
</ol>
<p>This list could go on and on! <strong>But who will implement these solutions?</strong></p>
<p>As Mahatma Gandhi <a href="http://www.quotationspage.com/quote/27184.html">said</a></p>
<blockquote><p>You must be the change you want to see in the world.</p></blockquote>
<p>It&#8217;s You&#8230;..</p>
<p><strong>UPDATE</strong></p>
<p><a href="http://timesofindia.indiatimes.com/biz/india-business/Indias-voice-BPO-segment-falling-silent/articleshow/5478501.cms">India&#8217;s voice BPO segment falling silent</a></p>
<p><a href="http://timesofindia.indiatimes.com/world/china/China-can-overtake-US-economy-by-2020-says-PriceWaterhouseCoopers/articleshow/5482794.cms">China can overtake US economy by 2020, says PriceWaterhouseCoopers</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 982px; width: 1px; height: 1px;">
<h1 class="heading">India&#8217;s voice BPO segment falling silent</h1>
</div>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
<li><a href="http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/" rel="bookmark" title="January 25, 2010">Indian Republic Day &#8211; &#8220;Where the Mind is Without Fear&#8221;</a></li>
<li><a href="http://utkarshsengar.com/2009/12/google-public-dns-for-faster-browsing/" rel="bookmark" title="December 4, 2009">Google Public DNS for Faster Browsing</a></li>
<li><a href="http://utkarshsengar.com/2009/11/amazon-rds-the-next-move-to-cloud-by-amazon-web-services/" rel="bookmark" title="November 10, 2009">Amazon RDS &#8211; The next move to Cloud</a></li>
<li><a href="http://utkarshsengar.com/2009/11/install-google-chrome-os-on-virtual-box/" rel="bookmark" title="November 20, 2009">Install Google Chrome OS on Virtual Box</a></li>
</ul>
<p><!-- Similar Posts took 4.026 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Why is March 14, 2015 9:26:53 important?</title>
		<link>http://utkarshsengar.com/2010/01/why-is-march-14-2015-92653-important/</link>
		<comments>http://utkarshsengar.com/2010/01/why-is-march-14-2015-92653-important/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 20:51:28 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=222</guid>
		<description><![CDATA[I recently came across this question, Why is March 14, 2015 9:26:53 important? I wondered, &#8220;Is it a trick question?, Some body&#8217;s birthday? or The world is gonna end in 2015 now?!&#8221;. But it was actually very different, it turns out to be an &#8220;important&#8221; day for my geeky mathematics friends. Mathematics?! Yes. Here is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Math geek" src="http://img136.imageshack.us/img136/7765/berationalgetreal.png" alt="" width="132" height="132" />I recently came across this question, <strong>Why is March 14, 2015 9:26:53 important?</strong> I wondered, &#8220;Is it a trick question?, Some body&#8217;s birthday? or <a href="http://abcnews.go.com/International/story?id=5301284&amp;page=1">The world is gonna end in 2015 now</a>?!&#8221;. But it was actually very different, it turns out to be an &#8220;<strong>important</strong>&#8221; day for my geeky mathematics friends. Mathematics?! Yes.</p>
<p>Here is why,<span id="more-222"></span></p>
<blockquote><p>March = 3 (the third month and ignore the century). Then you are left with 3-14-15-9:26:53 and the decimal expansion of <a href="http://www.google.com/search?hl=en&amp;source=hp&amp;q=pi&amp;aq=f&amp;oq=&amp;aqi="><strong>pi</strong></a> begins 3.141592653 ? Pi</p>
</blockquote>
<p>They also have a <a href="http://www.facebook.com/pages/March-14-2015-92653-will-be-EPIC/205696948166">Facebook fanpage</a> for this!</p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/" rel="bookmark" title="January 25, 2010">Indian Republic Day &#8211; &#8220;Where the Mind is Without Fear&#8221;</a></li>
<li><a href="http://utkarshsengar.com/2009/12/einsteins-puzzle/" rel="bookmark" title="December 30, 2009">Einstein’s &#8220;Simple&#8221; Puzzle</a></li>
<li><a href="http://utkarshsengar.com/2010/03/hadoop-the-future-of-large-data-sets/" rel="bookmark" title="March 24, 2010">Hadoop &#8211; The Future of Large Data sets</a></li>
<li><a href="http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/" rel="bookmark" title="January 7, 2010">Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</a></li>
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
</ul>
<p><!-- Similar Posts took 3.482 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/01/why-is-march-14-2015-92653-important/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</title>
		<link>http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/</link>
		<comments>http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 20:37:53 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>
		<category><![CDATA[x-windows]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=214</guid>
		<description><![CDATA[I have been using Ubuntu 9.10 for a while now and one major copy-paste problem in Ubuntu (GNOME DE) struck me!! The problem is, if you copy some text from a file and you close that file (i.e. close the source), the copied text also disappears! Initially I ignored the problem, but after a while, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Bug in X-Windows" src="http://img31.imageshack.us/img31/9290/11948full.jpg" alt="" width="195" height="146" />I have been using <a href="http://utkarshsengar.com/tag/ubuntu-9-10/">Ubuntu 9.10</a> for a while now and one major copy-paste problem in Ubuntu (GNOME DE) struck me!!</p>
<p>The problem is, if you copy some text from a file and you close that file (i.e. close the source), the copied text also disappears! Initially I ignored the problem, but after a while, I had it! It was really very annoying if you copied some important link and you close Firefox, the link was lost!</p>
<p>When I went out and searched for the problem then I found this, the <a href="https://bugs.launchpad.net/ubuntu/+bug/11334/">actual bug report</a> on the Ubuntu Bug Tracker. According to the <a href="https://bugs.launchpad.net/ubuntu/+bug/11334/comments/16">Canonical guys</a>, it is a system feature of the <a href="http://en.wikipedia.org/wiki/X_Window_System">X-Windows System</a>, as per its design, it does not have any persistent store mechanism and that sucks! (<a href="http://www.freedesktop.org/wiki/ClipboardManager">Here</a> are the X-windows Clipboard manager specifications which is presently deployed on Ubuntu 9.10)<span id="more-214"></span></p>
<p>That means, the primary problem is with the X-Windows System and I hope this flaw is sorted out in Ubuntu&#8217;s next LTS release, <a href="http://fridge.ubuntu.com/node/1916">The Lucid Lynx.</a></p>
<p><strong>So the question is, how do you solve this problem for now?! </strong>I have the solution <img src='http://utkarshsengar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The solution to this problem is to install <a href="http://glipper.sourceforge.net/">Glipper</a>, a clipboard manager for GNOME. You can simple install it from the terminal:</p>
<blockquote><p>sudo apt-get install glipper</p></blockquote>
<p>This will replace your current clipboard manager and it works perfectly!</p>
<p>So, that will solve your problem of the missing copy in Ubuntu GNOME! <img src='http://utkarshsengar.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/11/ubuntu-9-10-karmic-koala/" rel="bookmark" title="November 2, 2009">Ubuntu 9.10 Karmic Koala</a></li>
<li><a href="http://utkarshsengar.com/2009/11/google-calendar-with-gnome-clock/" rel="bookmark" title="November 26, 2009">Sync Google Calendar with GNOME clock</a></li>
<li><a href="http://utkarshsengar.com/2009/11/install-google-chrome-os-on-virtual-box/" rel="bookmark" title="November 20, 2009">Install Google Chrome OS on Virtual Box</a></li>
<li><a href="http://utkarshsengar.com/2009/11/run-jms-application-using-jboss-4-2-3-on-eclipse-ganymede-on-ubuntu-9-10/" rel="bookmark" title="November 6, 2009">JMS application on Ubuntu 9.10 using Eclipse Ganymede</a></li>
<li><a href="http://utkarshsengar.com/2009/11/sync-ipod-on-ubuntu-9-10-using-virtual-box-3-0-10/" rel="bookmark" title="November 2, 2009">Sync iPod on Ubuntu 9.10 using Virtual Box 3.0.10</a></li>
</ul>
<p><!-- Similar Posts took 3.837 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Who is lukeywes1234? &#8211; The Power of Web 2.0</title>
		<link>http://utkarshsengar.com/2010/01/who-is-lukeywes1234-the-power-of-web-2-0/</link>
		<comments>http://utkarshsengar.com/2010/01/who-is-lukeywes1234-the-power-of-web-2-0/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 08:57:32 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=224</guid>
		<description><![CDATA[He is just a kid who had some videos uploaded from the Super Mario Bros like The Super Luigi Super Show: Luigi’s Room, The Super Luigi Super Show: Luigi’s Computer etc. lukeywes1234 is one of the hottest keywords on the internet these days. Another star of the Web 2.0 world! He requested YouTube users to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="lukeywes1234" src="http://img697.imageshack.us/img697/5969/lukeywes1234.jpg" alt="" width="190" height="149" />He is just a kid who had some videos uploaded from the Super Mario Bros like The Super Luigi Super Show: Luigi’s Room, The Super Luigi Super Show: Luigi’s Computer etc.</p>
<blockquote><p>lukeywes1234 is one of the <a href="http://www.google.com/trends/hottrends?q=lukeywes1234&amp;date=2010-1-3&amp;sa=X">hottest keywords on the internet</a> these days. Another star of the Web 2.0 world!</p></blockquote>
<p>He requested YouTube users to subscribe to his channel, he had an target of 50 subscribers till Feb, 2010.</p>
<p><strong>And here comes the shocker!<span id="more-224"></span></strong></p>
<p>He got <strong>7500 subscribers in few hours and a total of 9000 subscribers</strong> when YouTube suspended his account. He was himself not aware that he will get such a  response! No body know how the hell did he get 9000 subscribers! To give you an idea, <a href="http://www.youtube.com/user/cnn?blend=1&amp;ob=4">CNN&#8217;s YouTube channel</a> has <strong>12,527 subscribers</strong>!!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/SsLi9dmz8UI&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/SsLi9dmz8UI&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>People are <a href="http://www.google.com/support/forum/p/youtube/thread?tid=1fe2cc0665658fca&amp;hl=en">angry</a> and they need an explanation from YouTube, that why was lukeywes1234&#8242;s account suspended?! There are hundreds of videos coming up on YouTube in support of lukeywes1234, check it out for your self <a href="http://www.youtube.com/results?search_query=lukeywes1234">here</a></p>
<p>Infact, <a href="http://4chan.org">4chan</a> has even started a protest against YouTube, covered by <a href="http://www.techcrunch.com/2010/01/04/4chan-youtube-porn/">TechCrunch.</a></p>
<p><a href="http://www.youtube.com/user/lukeywes1234">lukeywes1234&#8242;s YouTube URL</a></p>
<p><strong>Update</strong></p>
<p>He back with this ID &#8211; <a href="http://www.youtube.com/user/lukeywes123">lukeywes123</a></p>
<p><strong>Unbelievable!!</strong><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/11/install-google-chrome-os-on-virtual-box/" rel="bookmark" title="November 20, 2009">Install Google Chrome OS on Virtual Box</a></li>
<li><a href="http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/" rel="bookmark" title="January 19, 2010">India vs China &#8211; A Bird&#8217;s Eye View</a></li>
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
<li><a href="http://utkarshsengar.com/2009/12/3-best-possible-if-else-construct-alternatives/" rel="bookmark" title="December 12, 2009">3 Best Possible If-Else Construct Alternatives</a></li>
<li><a href="http://utkarshsengar.com/2010/01/indian-republic-day-where-the-mind-is-without-fear/" rel="bookmark" title="January 25, 2010">Indian Republic Day &#8211; &#8220;Where the Mind is Without Fear&#8221;</a></li>
</ul>
<p><!-- Similar Posts took 3.622 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2010/01/who-is-lukeywes1234-the-power-of-web-2-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Einstein’s &#8220;Simple&#8221; Puzzle</title>
		<link>http://utkarshsengar.com/2009/12/einsteins-puzzle/</link>
		<comments>http://utkarshsengar.com/2009/12/einsteins-puzzle/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 04:51:44 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[einstein]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=217</guid>
		<description><![CDATA[This logical puzzle is called Einstein’s Puzzle (its a variation of the original Zebra Puzzle by Einstein) because it is said to have been invented by Albert Einstein. There are rumors that Einstein claimed that only 2% of people can solve it mentally i.e. without using pen and paper, computer or any other medium. If [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Albert Einstein" src="http://img63.imageshack.us/img63/6060/alberteinstein1.jpg" alt="" width="129" height="169" />This logical puzzle is called <strong>Einstein’s Puzzle (its a variation of the original <a href="http://en.wikipedia.org/wiki/Zebra_Puzzle">Zebra Puzzle</a> by Einstein)</strong> because it is said to have been invented by Albert Einstein. There are  rumors that Einstein claimed that only 2% of people can solve it mentally i.e. without using pen and paper, computer or any other medium.  If you are allowed to use pen and paper the problem is very easy and is not interesting.<span id="more-217"></span></p>
<p>The problem:</p>
<p>1. The British lives in the red house.<br /> 2. The Swedish keeps dogs as pets.<br /> 3. The Danish drinks tea.<br /> 4. The green house is on the left of the white house.<br /> 5. The green homeowner drinks coffee.<br /> 6. The person who smokes Pall Mall rears birds.<br /> 7. The owner of the yellow house smokes Dunhill.<br /> 8. The man living in the center house drinks milk.<br /> 9. The Norwegian lives in the first house.<br /> 10. The man who smokes Blend lives next to the one who keeps cats.<br /> 11. The man who keeps the horse lives next to the man who smokes Dunhill.<br /> 12. The owner who smokes Bluemaster drinks beer.<br /> 13. The German smokes prince.<br /> 14. The Norwegian lives next to the blue house.<br /> 15. The man who smokes Blend has a neighbor who drinks water.</p>
<p><strong>Question</strong>: Who owns the fish?</p>
<p> </p>
<p>[Hint: Tabular Formatting]</p>
<p><strong>Answer below as comments</strong></p>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/" rel="bookmark" title="January 7, 2010">Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</a></li>
<li><a href="http://utkarshsengar.com/2009/12/gartner-hype-cycle-2009-cloud-computing-hype/" rel="bookmark" title="December 3, 2009">Gartner Hype Cycle 2009 &#8211; Is Cloud Computing Over Hyped?</a></li>
<li><a href="http://utkarshsengar.com/2009/11/ubuntu-9-10-karmic-koala/" rel="bookmark" title="November 2, 2009">Ubuntu 9.10 Karmic Koala</a></li>
<li><a href="http://utkarshsengar.com/2009/11/google-calendar-with-gnome-clock/" rel="bookmark" title="November 26, 2009">Sync Google Calendar with GNOME clock</a></li>
<li><a href="http://utkarshsengar.com/2010/01/india-vs-china-birds-eye-view/" rel="bookmark" title="January 19, 2010">India vs China &#8211; A Bird&#8217;s Eye View</a></li>
</ul>
<p><!-- Similar Posts took 3.435 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2009/12/einsteins-puzzle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Amazing Video Wall by Blinkx.com</title>
		<link>http://utkarshsengar.com/2009/12/amazing-video-wall-by-blinkx-com/</link>
		<comments>http://utkarshsengar.com/2009/12/amazing-video-wall-by-blinkx-com/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 12:43:16 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=203</guid>
		<description><![CDATA[You can get one of these Blinkx video wall by:  1. Hover the mouse to the top of the wall posted above; 2. Copy the embed code.Similar Posts: Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048 Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug) 3 Best Possible If-Else Construct Alternatives JMS [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="225" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="newwall" /><param name="bgcolor" value="#000000" /><param name="align" value="middle" /><param name="src" value="http://www.blinkx.com/w?g_sApiQuery=%2Fapi3%2Fstart%2Ephp%3Faction%3Dquery%26databasematch%3Dchannelmedia%26clientip%3D71%2E202%2E60%2E38%26channelid%3D597%26maxresults%3D105&amp;g_StageWidth=300&amp;g_StageHeight=225&amp;g_ApiServer=www.blinkx.com&amp;g_sImgServer=http://cdn.blinkx.com" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="300" height="225" src="http://www.blinkx.com/w?g_sApiQuery=%2Fapi3%2Fstart%2Ephp%3Faction%3Dquery%26databasematch%3Dchannelmedia%26clientip%3D71%2E202%2E60%2E38%26channelid%3D597%26maxresults%3D105&amp;g_StageWidth=300&amp;g_StageHeight=225&amp;g_ApiServer=www.blinkx.com&amp;g_sImgServer=http://cdn.blinkx.com" quality="high" align="middle" bgcolor="#000000" name="newwall"></embed></object></p>
<p>You can get one of these <a href="http://www.blinkx.com/">Blinkx</a> video wall by:  1. Hover the mouse to the top of the wall posted above; 2. Copy the embed code.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/11/hans-roslings-prediction-on-indias-rise-july-27th-2048/" rel="bookmark" title="November 27, 2009">Hans Rosling&#039;s Prediction on India&#039;s Rise: July 27th, 2048</a></li>
<li><a href="http://utkarshsengar.com/2010/01/epic-fail-in-linux-copy-paste-bug/" rel="bookmark" title="January 7, 2010">Epic Fail in Ubuntu &#8211; X Windows (The Copy Paste Bug)</a></li>
<li><a href="http://utkarshsengar.com/2009/12/3-best-possible-if-else-construct-alternatives/" rel="bookmark" title="December 12, 2009">3 Best Possible If-Else Construct Alternatives</a></li>
<li><a href="http://utkarshsengar.com/2009/11/run-jms-application-using-jboss-4-2-3-on-eclipse-ganymede-on-ubuntu-9-10/" rel="bookmark" title="November 6, 2009">JMS application on Ubuntu 9.10 using Eclipse Ganymede</a></li>
<li><a href="http://utkarshsengar.com/2009/11/google-calendar-with-gnome-clock/" rel="bookmark" title="November 26, 2009">Sync Google Calendar with GNOME clock</a></li>
</ul>
<p><!-- Similar Posts took 3.369 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2009/12/amazing-video-wall-by-blinkx-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>3 Best Possible If-Else Construct Alternatives</title>
		<link>http://utkarshsengar.com/2009/12/3-best-possible-if-else-construct-alternatives/</link>
		<comments>http://utkarshsengar.com/2009/12/3-best-possible-if-else-construct-alternatives/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 02:12:56 +0000</pubDate>
		<dc:creator>Utkarsh</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://utkarshsengar.com/?p=173</guid>
		<description><![CDATA[My current JAVA project requires a lot of check points, for example, 1. if the format of the ID passed is correct, then go ahead and 2. check if ID exists or not, if it does, 3. then check if ID has some kind of specific attributes or not and so on! So, I was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="programming logic" src="http://img15.imageshack.us/img15/9901/ifelsestatements.jpg" alt="" width="190" height="156" />My current JAVA project requires a lot of check points, for example, 1. if the format of the ID passed is correct, then go ahead and 2. check if ID exists or not, if it does, 3. then check if ID has some kind of specific attributes or not and so on!</p>
<p>So, I was using the regular if-else for something like 6-7times!</p>
<p>if([condition]) { [do this] }else if([condition]){ [do this]}else if{[do this] }else if([condition]){ }else{ [do this]}</p>
<p>When I looked back at the code, it sucked! The deep nesting of the if-else construct made the code hard to understand and comprehend!<span id="more-173"></span></p>
<p style="text-align: center;"><img class="aligncenter" title="For loop joke" src="http://img691.imageshack.us/img691/7112/comicr.jpg" rel="lightbox" alt="" width="484" height="162" /></p>
<p style="text-align: center;"><a href="http://www.devtopics.com/best-programming-jokes/">Comic Via</a></p>
<p>So, I searched a little for some logical if-else construct alternatives and I came up with these three useful techniques;</p>
<ol>
<li><a href="http://en.wikipedia.org/wiki/Ternary_operation">Ternary operator (?:)</a> and</li>
<li><a href="http://www.codeguru.com/cpp/misc/misc/math/article.php/c9629/">Logic Grid</a></li>
<li><a href="http://en.wikipedia.org/wiki/Switch_statement">Switch Statement</a> (It is also a good alternative which makes the code look good. Its also pretty easy, so I won&#8217;t cover it here.)</li>
</ol>
<p>Lets take a look at the 1st and a simpler process using <a href="http://www.blog.activa.be/2008/03/11/ifElseIfElseIfElseAnAlternative.aspx"><strong>ternary operator</strong></a>:</p>
<p><strong>1. If-Else Construct Usage;</strong></p>
<div class="codesnip-container" >int opening_time;<br />
if (day == WEEKEND)<br />
opening_time = 12;<br />
else {opening_time = 9;}</div>
<p><strong>Usage of ternary operator in the above example;</strong></p>
<div class="codesnip-container" >int opening_time = (day == WEEKEND) ? 12 : 9;</div>
<p>[condition ? value if true : value if false]</p>
<p>Ok, so that was easy! Now lets take a look at LogicGrid technique which is very impressive and and an elegant way!</p>
<p><strong>2. If-Else Construct:</strong></p>
<div class="codesnip-container" >if (a) {<br />
if (b) {<br />
result = 1;<br />
} else {<br />
result = 2;<br />
}<br />
} else if (c) {<br />
if (b) {<br />
result = 3;<br />
} else {<br />
result = 4;<br />
}<br />
} else if (!c) {<br />
result = 5;<br />
}</div>
<p><strong>Using Logic Grid: (C++ code <a href="http://www.codeguru.com/cpp/misc/misc/math/article.php/c9629/">here</a> changed to Java)</strong></p>
<div class="codesnip-container" >int getResult (boolean a, boolean b,boolean c)<br />
{<br />
int index = 0;<br />
int[] results = { 5,4,5,3,2,2,1,1 };<br />
if(a) index = index | 4;<br />
if(b) index = index | 2;<br />
if(c) index = index | 1;<br />
return results[index];<br />
}</div>
<p>The logic grid method is amazing!! Once you get hold of it, you will always use it, the code is much more organized and understandable now!</p>
<p>Hope it helps! <img src='http://utkarshsengar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://utkarshsengar.com/2009/12/new-google-homepage/" rel="bookmark" title="December 2, 2009">Get the new Google Homepage!</a></li>
<li><a href="http://utkarshsengar.com/2009/11/run-jms-application-using-jboss-4-2-3-on-eclipse-ganymede-on-ubuntu-9-10/" rel="bookmark" title="November 6, 2009">JMS application on Ubuntu 9.10 using Eclipse Ganymede</a></li>
<li><a href="http://utkarshsengar.com/2009/11/install-google-chrome-os-on-virtual-box/" rel="bookmark" title="November 20, 2009">Install Google Chrome OS on Virtual Box</a></li>
<li><a href="http://utkarshsengar.com/2009/11/sync-ipod-on-ubuntu-9-10-using-virtual-box-3-0-10/" rel="bookmark" title="November 2, 2009">Sync iPod on Ubuntu 9.10 using Virtual Box 3.0.10</a></li>
<li><a href="http://utkarshsengar.com/2009/11/ubuntu-9-10-karmic-koala/" rel="bookmark" title="November 2, 2009">Ubuntu 9.10 Karmic Koala</a></li>
</ul>
<p><!-- Similar Posts took 3.443 ms --></p>]]></content:encoded>
			<wfw:commentRss>http://utkarshsengar.com/2009/12/3-best-possible-if-else-construct-alternatives/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>
