<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Harshdeep 2.0</title>
	<atom:link href="http://harshdeep.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://harshdeep.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sat, 18 Dec 2010 19:30:08 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='harshdeep.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Harshdeep 2.0</title>
		<link>http://harshdeep.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://harshdeep.wordpress.com/osd.xml" title="Harshdeep 2.0" />
	<atom:link rel='hub' href='http://harshdeep.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Biggest stock price movement ever</title>
		<link>http://harshdeep.wordpress.com/2009/06/08/biggest-stock-price-movement-ever/</link>
		<comments>http://harshdeep.wordpress.com/2009/06/08/biggest-stock-price-movement-ever/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 08:44:17 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/06/08/biggest-stock-price-movement-ever/</guid>
		<description><![CDATA[According to Google, Adobe&#8217;s stock opened at 29.45, touched 100000 and then came back to 29.98. There goes another chance of making piles of money<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=411&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>According to Google, Adobe&#8217;s stock opened at 29.45, touched 100000 and then came back to 29.98. There goes another chance of making piles of money <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://harshdeep.files.wordpress.com/2009/06/adbe-copy.jpg"><img class="alignleft size-full wp-image-412" title="adbe" src="http://harshdeep.files.wordpress.com/2009/06/adbe-copy.jpg?w=684&#038;h=323" alt="adbe" width="684" height="323" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/411/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=411&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/06/08/biggest-stock-price-movement-ever/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>

		<media:content url="http://harshdeep.files.wordpress.com/2009/06/adbe-copy.jpg" medium="image">
			<media:title type="html">adbe</media:title>
		</media:content>
	</item>
		<item>
		<title>The Wagner Principle</title>
		<link>http://harshdeep.wordpress.com/2009/05/02/the-wagner-principle/</link>
		<comments>http://harshdeep.wordpress.com/2009/05/02/the-wagner-principle/#comments</comments>
		<pubDate>Sat, 02 May 2009 01:30:21 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/05/02/the-wagner-principle/</guid>
		<description><![CDATA[If something can happen and may not happen there&#8217;s a 50% chance of it happening. Now don&#8217;t shake your head like that. This insight comes from Dr. Wagner, the guy who took upon himself to save the world by filing lawsuits against the Large Hadron Collider (as there&#8217;s a 50% chance that it would annihilate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=407&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If something can happen and may not happen there&#8217;s a 50% chance of it happening. Now don&#8217;t shake your head like that. This insight comes from Dr. Wagner, the guy who took upon himself to save the world by <a href="http://www.universetoday.com/2008/03/28/hawaiian-man-files-lawsuit-against-the-large-hadron-collider-lhc/">filing lawsuits</a> against the Large Hadron Collider (as there&#8217;s a 50% chance that it would annihilate the world). You can&#8217;t ask for more reliable sources of information.
</p>
<p>This is good news for Bobby Deol as there&#8217;s a 50% chance that his next movie,  Bichu Badal aur Bobby, will be a superhit (partly due to these tough times, almost all of the scenes are directly picked up from his previous movies as the directors thought they fit the storyline of this one too).
</p>
<p>Researchers are looking at other implications of <strong>the Wagner Principle</strong>. What we have till now is not too promising though. There&#8217;s a 50% chance that you locked your car with your key inside, a 50% chance that you have Swine flu and a 50% chance that your apartment is on fire right now.
</p>
<p>However, there are people who disbelieve everything (like landing on the moon, RajniKanth&#8217;s two kills with one bullet routine and the fact that IPL matches are all computer generated). But I have this to say to the skeptics of the Wagner Principle &#8211; if you prove it wrong, you only prove its correctness as the Principle directly implies that there&#8217;s a 50% chance that it&#8217;s wrong. There you go.
</p>
<p>Btw, <a href="http://www.thedailyshow.com/video/index.jhtml?videoId=225921&amp;title=large-hadron-collider">here</a> is the Daily Show clip where Dr. Wagner candidly introduces his insight to the world.
</p>
<p>PS: It hurts me that Dr. Wagner beat my undergrad buddy who I think understood the fact back in the day. On being asked how his exam went, he always used to say &#8220;Either I&#8217;ll pass or I won&#8217;t. So it&#8217;s 50-50&#8243;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=407&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/05/02/the-wagner-principle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Games based on Bollywood movies</title>
		<link>http://harshdeep.wordpress.com/2009/04/24/games-based-on-bollywood-movies/</link>
		<comments>http://harshdeep.wordpress.com/2009/04/24/games-based-on-bollywood-movies/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 00:32:15 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/04/24/games-based-on-bollywood-movies/</guid>
		<description><![CDATA[Just noticed this 3D game based on Ghajini (that, for the uninitiated, is a part Memento part song and dance Hindi movie). It&#8217;s claimed to be &#8220;India&#8217;s First 3D PC Game&#8221;. Of course it is no GTA, but the trailer doesn&#8217;t look bad and game levels look decent too, though Amir Khan walks in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=404&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just noticed this 3D <a href="http://ghajini.fxlabs.com">game</a> based on Ghajini (that, for the uninitiated, is a part Memento part song and dance Hindi movie). It&#8217;s claimed to be &#8220;India&#8217;s First 3D PC Game&#8221;. Of course it is no GTA, but the <a href="http://www.youtube.com/watch?v=h5WzMTI-n3w">trailer</a> doesn&#8217;t look bad and <a href="http://www.youtube.com/watch?v=uEbx4MaVI68&amp;feature=related">game</a> <a href="http://www.youtube.com/watch?v=dtitjJ66x5w&amp;feature=related">levels</a> look decent too, though Amir Khan walks in a weird jumpy way. I wish there was a trial version available – the only way to get it is to order a DVD from Eros Entertainment. That&#8217;s right – you can&#8217;t download the game even after you pay for it – they ship you the disc.
</p>
<p style="text-align:center;"><img src="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo1.jpg">
	</p>
<p style="text-align:center;">
 </p>
<p>While googling this, I ran into <a href="http://www.bollywoodhungama.com/news/2008/01/14/10727/index.html">year-old</a> <a href="http://www.businessofcinema.com/news.php?newsid=7365">news</a> <a href="http://littlechap.wordpress.com/2008/09/23/dhoom-2-game-first-screens-released/">stories</a> about the &#8220;upcoming&#8221; release of a game based on Dhoom 2. Seems like it got abandoned midway. They did generate some screenshots based on the movie posters though –
</p>
<p style="text-align:center;"><img src="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo2.png"><img src="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo3.png">
	</p>
<p>I couldn&#8217;t find any data on how well the Ghajini game did, but I think such games have a huge potential. There are two enormous categories of people – those who watch Bollywood movies and those who play casual games. I think there are a large number of people who do both.
</p>
<p>An important thing to realize, I think, is that these games have short shelf lives. People are more likely to try them out while the movie is still running in the theaters or winning awards.
</p>
<p>Secondly, these games would generate more excitement in casual gamers rather than hardcore gamers. It should be easy for the casual gamers to discover and start playing them. So ordering a disc online is probably not the best way to engage this audience. Ideally, the game should be playable in the browser – the user shouldn&#8217;t have to install anything (well, maybe the Shockwave plugin, but that&#8217;s most likely already installed). The game can be released in short episodes with, say, an hour&#8217;s play time for each. Also, it has to be easy enough so that a casual gamer can finish it. It&#8217;s a bonus if the stories tie up with that of the movie (stories aren&#8217;t the strongest part of Bollywood movies, but things are changing).
</p>
<p>There should be plenty of alternate ways to make money from such games, like selling movie merchandise on the website, introducing the gamer to movie&#8217;s soundtrack through background music, in-game ads (the Ghajini game shows ads of PVR and Intel within the game) and so on.
</p>
<p>If only there was a game based on Gadar. If it was integrated with Facebook, you&#8217;d probably get something like this in your newsfeed &#8220;Your friend killed 167 people with a handpump. How many can you kill?&#8221; (with apologies to people who&#8217;ve not seen the movie starring the legendary Sunny Deol)
</p>
<p style="text-align:center;"><img src="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo4.png"></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=404&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/04/24/games-based-on-bollywood-movies/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>

		<media:content url="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo1.jpg" medium="image" />

		<media:content url="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo2.png" medium="image" />

		<media:content url="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo3.png" medium="image" />

		<media:content url="http://harshdeep.files.wordpress.com/2009/04/042409-0031-gamesbasedo4.png" medium="image" />
	</item>
		<item>
		<title>Race to the PATH variable</title>
		<link>http://harshdeep.wordpress.com/2009/03/09/race-to-the-path-variable/</link>
		<comments>http://harshdeep.wordpress.com/2009/03/09/race-to-the-path-variable/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 11:07:16 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/03/09/race-to-the-path-variable/</guid>
		<description><![CDATA[I need to implement a parallel algorithm using MPI for an assignment. I wanted to develop and test the algorithm locally on my Windows machine before evaluating it on the university&#8217;s mega cluster with 8-core nodes. I had heard about MPICH2 before, so decided to try it out. MPI programs are run with mpiexec.exe. When [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=397&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I need to implement a parallel algorithm using <a href="http://www-unix.mcs.anl.gov/mpi/">MPI</a> for an assignment. I wanted to develop and test the algorithm locally on my Windows machine before evaluating it on the university&#8217;s mega cluster with 8-core nodes. I had heard about <a href="http://www.mcs.anl.gov/research/projects/mpich2/">MPICH2</a> before, so decided to try it out.</p>
<p>MPI programs are run with mpiexec.exe. When I tried running my short sample program, I got this error</p>
<blockquote><p>Aborting: unable to connect to HARSHDEEP, smpd version mismatch</p></blockquote>
<p>I did what I generally do in such cases – google the error string (excluding my machine name of course).</p>
<p>The problem was surprisingly hard to uncover. It turns out that Matlab comes with its own mpiexec. That mpiexec is also in the path. What needs to be done is to put MPICH2&#8242;s path before Matlab&#8217;s path in the PATH variable. I found this solution in a forum post <a href="http://opensees.berkeley.edu/community/viewtopic.php?t=5592&amp;sid=bf74d735984f9b18423122389d691a97">here</a>. Apparently it didn&#8217;t work for the original poster.</p>
<p>PS: <a href="http://blogs.msdn.com/risman/archive/2009/01/04/ms-mpi-with-visual-studio-2008.aspx">Here</a> is another way to run MPI on Windows.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/397/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=397&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/03/09/race-to-the-path-variable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Don’t give mail passwords to random websites</title>
		<link>http://harshdeep.wordpress.com/2009/02/24/don%e2%80%99t-give-mail-passwords-to-random-websites/</link>
		<comments>http://harshdeep.wordpress.com/2009/02/24/don%e2%80%99t-give-mail-passwords-to-random-websites/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 22:13:33 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/02/24/don%e2%80%99t-give-mail-passwords-to-random-websites/</guid>
		<description><![CDATA[In the last hour, I have got three chat messages of this form – hey, check out this video:  &#60;some_tinyurl_link&#62; The link takes me to viddyho.com that conveniently asks me to login using my GMail password. Yea right It hurts me to see that people are actually falling for this &#8211; even CS students. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=395&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last hour, I have got three chat messages of this form –</p>
<blockquote><p>hey, check out this video:  &lt;some_tinyurl_link&gt;</p></blockquote>
<p>The link takes me to viddyho.com that conveniently asks me to login using my GMail password.</p>
<p>Yea right</p>
<p>It hurts me to see that people are actually falling for this &#8211; even CS students. This is Common Sense 101. They should be made to write &#8220;I won&#8217;t give my passwords to arbitrary websites&#8221; on the blackboard 100 times.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=395&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/02/24/don%e2%80%99t-give-mail-passwords-to-random-websites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Had a bad Valentine’s Day?</title>
		<link>http://harshdeep.wordpress.com/2009/02/16/had-a-bad-valentine%e2%80%99s-day/</link>
		<comments>http://harshdeep.wordpress.com/2009/02/16/had-a-bad-valentine%e2%80%99s-day/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 22:01:40 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/02/16/had-a-bad-valentine%e2%80%99s-day/</guid>
		<description><![CDATA[Some students brought an already mostly trashed car, probably from some salvage yard and put it in the middle of the busiest street (in the number of pedestrians, vehicles are not allowed) in the University today. The sign next to it said &#8220;Had a bad Valentine&#8217;s Day? Smash the car. $1 for 4 shots. $2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=393&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some students brought an already mostly trashed car, probably from some salvage yard and put it in the middle of the busiest street (in the number of pedestrians, vehicles are not allowed) in the University today. The sign next to it said &#8220;Had a bad Valentine&#8217;s Day? Smash the car. $1 for 4 shots. $2 for 10.&#8221;</p>
<p>I didn&#8217;t see anyone taking up the offer when I passed. I guess that&#8217;s a good thing – everybody had a good Valentine&#8217;s <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=393&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/02/16/had-a-bad-valentine%e2%80%99s-day/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Incompetent Thief</title>
		<link>http://harshdeep.wordpress.com/2009/02/13/incompetent-thief/</link>
		<comments>http://harshdeep.wordpress.com/2009/02/13/incompetent-thief/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 22:22:37 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/02/13/incompetent-thief/</guid>
		<description><![CDATA[If somebody breaks into my car, I would rather hope it&#8217;s a competent thief with some relevant experience. Not like the clumsy person who, in the desperation to take out the stereo from my car, tore apart the entire surrounding panel and chopped up all the cables behind that. Even the wipers stopped working. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=392&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If somebody breaks into my car, I would rather hope it&#8217;s a competent thief with some relevant experience. Not like the clumsy person who, in the desperation to take out the stereo from my car, tore apart the entire surrounding panel and chopped up all the cables behind that. Even the wipers stopped working. I think this person should try some other profession. The detective found traces of blood on the panel.
</p>
<p>Contrast this to the thief who stole a friend&#8217;s stereo – it was so clinically removed that she didn&#8217;t see a single scratch anywhere on her car. Now that&#8217;s professional.
</p>
<p>Note: For concerned friends and family, this does not mean that I live in an unsafe area. Such acts are very rare and it&#8217;s safe here <span style="font-family:Wingdings;">J</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/392/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=392&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/02/13/incompetent-thief/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>The Making of Latest in Music – Using Youtube API</title>
		<link>http://harshdeep.wordpress.com/2009/01/27/the-making-of-latest-in-music-%e2%80%93-using-youtube-api/</link>
		<comments>http://harshdeep.wordpress.com/2009/01/27/the-making-of-latest-in-music-%e2%80%93-using-youtube-api/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 14:12:36 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Latest in Music]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/01/27/the-making-of-latest-in-music-%e2%80%93-using-youtube-api/</guid>
		<description><![CDATA[This is the second part of the Making of Latest in Music trilogy (here is part 1). Latest in Music is a Youtube mashup that scrapes the listings of top songs from various websites and shows their music videos by searching for them on Youtube. This is the first time I built a web application [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=387&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the second part of the Making of Latest in Music trilogy (<a href="http://harshdeep.wordpress.com/2009/01/14/the-making-of-latest-in-music-%E2%80%93-ruby-on-rails/">here</a> is part 1). <a href="http://www.latestinmusic.com/">Latest in Music</a> is a Youtube mashup that scrapes the listings of top songs from various websites and shows their music videos by searching for them on Youtube. This is the first time I built a web application and I&#8217;m amazed by how quickly one can build something interesting with the available tools.</p>
<p>An important part of LiM is interaction with Youtube. Youtube generously provides an <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html">API</a> to access the service. Initially I didn&#8217;t feel the need to use it. All I had to do was search for a song. This can be done simply by inserting the query string at the right place in the URL &#8211; <a href="http://www.youtube.com/results?search_query=%3cmy_query_string">http://www.youtube.com/results?search_query=&lt;my_query_string</a>&gt; and fetching that page. However, this approach turned out to be insufficient for two reasons.</p>
<p>Firstly, some videos on Youtube cannot be embedded on external pages (<a href="http://www.youtube.com/watch?v=bsuXbkrA_AQ">like this one</a>). Extending the basic approach to determine whether a video is embeddable would require another http page fetch. With Youtube API however, it is only a matter of setting an additional parameter in the search request (<a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html">format=5</a>).</p>
<p>Secondly, the initial users complained that there is no way to play all songs one after the other. I figured this could be done by creating a Youtube playlist with those songs. This definitely required the <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html">use of the API</a>.</p>
<p>Using the API was pretty straightforward. But I learnt a few things the hard way. This might be a useful read if you are going to use the Youtube API for the first time</p>
<ol style="margin-left:54pt;">
<li>
<div><strong>Login<br />
</strong></div>
<p>The generic Google login does not work for the Youtube API calls that require authentication. It probably works fine for other Google APIs like the ones for Google Docs. But for Youtube API, you&#8217;ll get &#8220;Service Forbidden&#8221; errors with it. You need to create a login specifically on Youtube.</li>
<li>
<div><strong>HTTP version<br />
</strong></div>
<p>Youtube API requires the HTTP version 1.1. If you are using Ruby (version &gt;1.6), the default http version is 1.2 and that causes errors. You need to call <a href="http://www.ruby-doc.org/core/classes/Net/HTTP.html">Net::HTTP.version_1_1</a> before sending any requests to make sure the Google servers are happy with you.</li>
<li>
<div><strong>API call frequency<br />
</strong></div>
<p>If you make a lot of Youtube API calls in a short time, you would start getting Forbidden errors. I couldn&#8217;t think of a better way to handle it than reducing the call frequency artificially by putting a sleep between them.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=387&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/01/27/the-making-of-latest-in-music-%e2%80%93-using-youtube-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Useless Comments</title>
		<link>http://harshdeep.wordpress.com/2009/01/21/useless-comments/</link>
		<comments>http://harshdeep.wordpress.com/2009/01/21/useless-comments/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 21:20:54 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/?p=381</guid>
		<description><![CDATA[I am sure that when Randall Munroe published this XKCD cartoon… … he had not seen Amitabh Bachchan&#8217;s blog. Here is a sampling of comments on the latest post of India&#8217;s most popular person – Ravi g says: January 19, 2009 at 2:29 am Dear Sir, waiting for ur post for so long……..great to see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=381&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am sure that when Randall Munroe published this XKCD cartoon…</p>
<p><a href="http://imgs.xkcd.com/comics/youtube.png"></a><a href="http://xkcd.com/202/"><img class="aligncenter" title="Youtube Comments" src="http://imgs.xkcd.com/comics/youtube.png" alt="" width="450" height="860" /></a></p>
<p>… he had not seen <a href="http://bigb.bigadda.com/">Amitabh Bachchan&#8217;s blog</a>. Here is a sampling of comments on the <a href="http://bigb.bigadda.com/2009/01/19/day-268i/">latest post</a> of India&#8217;s most popular person –</p>
<blockquote><p>Ravi g says: January 19, 2009 at 2:29 am<br />
Dear Sir,<br />
waiting for ur post for so long……..great to see you back….thanks to you..</p>
<p>Nikki (London) says: January 19, 2009 at 2:50 am<br />
Parnam mere dost<br />
Good morning, I don’t know where you are at this moment, but I’ve just got back from the gym after a 45 min workout, 30 min swim, 15 min jacuzzi, 15 min sauna, feel totally pooped but refreshed.<br />
About to start the eve family meal of khadhi chawal, so will enter your world laters, my love.<br />
Nikki</p>
<p>Shachi says: January 19, 2009 at 2:50 am<br />
I dont belive is becoming a fan of a person without meeting that person….<br />
dont kknow why but i am a huge fan of urs….<br />
ur in perfect in everything in the world i can think of…<br />
i am not from ur field… but for sure wana be like u at 67 all overloaded with energy… full of passion ….<br />
and most imp. i am glad ur not in plotics…</p>
<p>Joshua David says: January 19, 2009 at 3:08 am<br />
Dearest Amit ji,<br />
Happy to read that U had a safe journey and are back home.. It snowed in scotland today, i guess the city realised that the warmt of Amit ji was not with them any more !!!<br />
Sir ji do reply to my comment at least once… Please..<br />
Do take care<br />
Luv u hamesha<br />
Luv n respects<br />
Joshua D<br />
Glasgow</p>
<p>shakir says: January 19, 2009 at 3:10 am<br />
Dear Sir,<br />
please sir show some more pictures like this.</p></blockquote>
<p><span style="font-family:Times New Roman;font-size:12pt;">… you get the drift. There may be some well thought out comments worth reading in there but they are lost in this sea of abject fan adulation. That makes it more like a newspaper column than a blog &#8211; no two way communication.</span></p>
<p><span style="font-family:Times New Roman;font-size:12pt;"><strong>Update: </strong>There is a Firefox extension that removes &#8216;undesirable&#8217; comments from the Youtube comment stream &#8211; <a href="http://www.chrisfinke.com/addons/youtube-comment-snob/" target="_blank">Youtube Comment Snob</a>. It uses various rules to identify the comments to be removed including the formatting (all caps/no caps) and use of profanity. I&#8217;m sure the same rules could be used to weed out undesirable comments from other sites (like Big B&#8217;s blog) as well in a generic way. </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=381&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/01/21/useless-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>

		<media:content url="http://imgs.xkcd.com/comics/youtube.png" medium="image">
			<media:title type="html">Youtube Comments</media:title>
		</media:content>
	</item>
		<item>
		<title>The Making of Latest in Music – Ruby on Rails</title>
		<link>http://harshdeep.wordpress.com/2009/01/14/the-making-of-latest-in-music-%e2%80%93-ruby-on-rails/</link>
		<comments>http://harshdeep.wordpress.com/2009/01/14/the-making-of-latest-in-music-%e2%80%93-ruby-on-rails/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 11:28:28 +0000</pubDate>
		<dc:creator>harshdeep</dc:creator>
				<category><![CDATA[Latest in Music]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://harshdeep.wordpress.com/2009/01/14/the-making-of-latest-in-music-%e2%80%93-ruby-on-rails/</guid>
		<description><![CDATA[Last week I unleashed www.latestinmusic.com to the unsuspecting world. Keeping in touch with music is never going to be the same again. You don&#8217;t go finding the new songs, they come to you (in your RSS reader). Coming back to Planet Earth, it&#8217;s a modest little site that I thought would be useful for me. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=376&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week I unleashed <a href="http://www.latestinmusic.com">www.latestinmusic.com</a> to the unsuspecting world. Keeping in touch with music is never going to be the same again. You don&#8217;t go finding the new songs, they come to you (in your RSS reader).</p>
<p>Coming back to Planet Earth, it&#8217;s a modest little site that I thought would be useful for me. Hopefully it would be useful to others as well. It took me less than a week to build it. This being my first web application, I was learning as I went – a seasoned web developer would probably take less than a day.</p>
<p>I used <a href="http://rubyonrails.org/">Ruby on Rails</a> for development. The decision was primarily based on all the hype that the platform has been getting for simplicity and elegance. In my case, the hype turned out to be completely justified. Ruby, as a language, is sheer pleasure to write code in. Rails takes care of the mundane low-level things like maintaining connections with the databases, providing a set of powerful abstractions to work on top of. It does take some time getting used to and there is definitely a lot of scope of improvement in documentation, but once you cross the initial hurdles, it lets you be very productive.</p>
<p>One of the hang-ups that I have from my desktop/mobile development experience is the availability of an all-encompassing IDE like Visual Studio, XCode and Eclipse. Nobody should have to do serious development in Notepad anymore. Thankfully I discovered <a href="http://www.aptana.com/rails">Aptana RadRails</a> pretty early. It&#8217;s not without its share of annoying bugs, but I think it does the job pretty well. You can edit Ruby code, JavaScript code, layouts in .html.erb files and css stylesheets in the coziness of the same IDE and it lets you visually debug the code while running the application locally. <a href="http://macromates.com/">TextMate</a> is a popular choice of Ruby developers but it is available for Mac OSX only.  Aptana is cross-platform.</p>
<p>The next question was where to get the application hosted. I first tried <a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" href="http://www.godaddy.com/">GoDaddy</a> because I&#8217;d used it before to register domains. They do support Ruby on Rails but for some reason I could not get my app running with them. I tried contacting their customer care and they duly told me that it&#8217;s not them, it&#8217;s me.</p>
<p>Being a newbie, I thought it would be easier for me to host my app with one of the new hosting providers that focus exclusively on Ruby on Rails apps. Surely enough, I could set it all up with <a href="http://www.hostingrails.com/">HostingRails</a> in a couple of hours. Their FAQs section turned out to be particularly useful.</p>
<p>Overall, it was fun working with Ruby on Rails. I&#8217;ll hopefully use it for more projects.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/harshdeep.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/harshdeep.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/harshdeep.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=harshdeep.wordpress.com&amp;blog=92507&amp;post=376&amp;subd=harshdeep&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://harshdeep.wordpress.com/2009/01/14/the-making-of-latest-in-music-%e2%80%93-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/743505f08aa4f2e501df3b837fa4c858?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">harshdeep</media:title>
		</media:content>
	</item>
	</channel>
</rss>
