<?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/"
	>

<channel>
	<title>My Mind</title>
	<atom:link href="http://vinayraikar.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinayraikar.com/blog</link>
	<description>my evolution</description>
	<lastBuildDate>Fri, 09 Mar 2012 15:55:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Boonoonoonoos!</title>
		<link>http://vinayraikar.com/blog/2012/01/boonoonoonoos/</link>
		<comments>http://vinayraikar.com/blog/2012/01/boonoonoonoos/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 04:20:12 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[thoughts & experiences]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=214</guid>
		<description><![CDATA[2011 was a dud. The year showed so much potential but apart from getting one thing off my chest, it was pretty much eventless. A month into 2012, it seems like things are about to change. Here&#8217;s a quick list of what&#8217;s happening(or not).. Twitter. I went off twitter for a week. I was bored [...]]]></description>
			<content:encoded><![CDATA[<p>2011 was a dud. The year showed so much potential but apart from getting one thing off my chest, it was pretty much eventless. A month into 2012, it seems like things are about to change. Here&#8217;s a quick list of what&#8217;s <em>happening</em>(or not)..<br />
<strong>Twitter.</strong></p>
<p>I went off twitter for a week. I was bored and tired of my timeline. Reading &#8216;The catcher in the rye&#8217; made me realise how much I dislike phonies. My twitter timeline is full of phonies. Fake outrage &amp; intellectualism, snobbery, stupid attention-whory humor, trolling &#8211; is what my timeline is full of these days. Need to get rid of these blogger turned twitter celebrities.</p>
<p><strong>Love.</strong></p>
<p>Last week I was told that I had once said that I&#8217;d never fall in love. That was such a <em>stupid</em> thing to say.</p>
<p><strong>Work.</strong></p>
<p>I got an <em>unexpected</em> promotion recently. This new three word shiny designation makes me slightly uncomfortable. Anyway, these <em>titles</em> and <em>peanuts</em> mean little.. what matters is the work. If you love your work, if it makes you <em>feel like owning up</em>, if you get to learn &amp; grow, what more do you need.</p>
<p><strong>Life.</strong></p>
<p>How do you <em>come to terms</em> with the fact that <em>dreams</em> you&#8217;ve invested in so much can never come true. A new dream, a new hope?</p>
<p><strong>Programming.</strong></p>
<p>I&#8217;ve been playing with python, virtualenv, django, gunicorn, celery, nginx since last few days. It makes me feel good. I&#8217;ve also been working on HTML5 video, which leaves me frustrated at times. This reminds me of a point made in <em>Code Complete</em>,</p>
<blockquote><p>how you spend your programming days will depend on where you are on the technology wave</p></blockquote>
<p><strong>Kaylee.</strong></p>
<p>I like <em>Kaylee Frye</em> from <em>Firefly</em> for her chipper, bubbly, never say die, cheerful attitude. I wish I had a friend like her. I wish everybody gets a friend like her.</p>
<p><strong>Agneepath.</strong></p>
<p>Until recently I hadn&#8217;t watched a movie on the day of its release. Agneepath is an average movie. I watched it for the music. I&#8217;ve been a <em>big fan</em> of Ajay-Atul&#8217;s <a href="http://randomstumbles.posterous.com/natrang" target="_blank">Natrang</a>. The music was good. I loved `gun gun guna` and `deva shree ganesha`. <em>Picturisation</em> of `shah ka rutba` was disappointing; as my compatriot said, &#8220;it looked like Comedy Circus&#8221;. The only moment I felt <em>connected</em> was during the brother-sister reunion, thanks to the lovely `abhi mujh mein nahi`. I don&#8217;t even want to mention that <em>chickengunya</em> song, I like the Marathi version though.</p>
<p><strong>Meditations.</strong></p>
<p>Whenever I feel depressed or sad or frustrated or angry, I think of <a href="http://en.wikipedia.org/wiki/Meditations" target="_blank">Meditations</a>. I read a page or two if I have my copy of <a href="http://books.google.co.in/books?id=kVUEAQAAIAAJ">it</a> nearby. It helps me look at things from a stoic&#8217;s perspective.</p>
<p>&nbsp;</p>
<p>There are couple of other interesting things happening.. but until they are <em>executed successfully</em>, no one gets to know about them.</p>
<p> <img src='http://vinayraikar.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2012/01/boonoonoonoos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notify Me &#8211; Let me focus</title>
		<link>http://vinayraikar.com/blog/2012/01/notifyme-letmefocus/</link>
		<comments>http://vinayraikar.com/blog/2012/01/notifyme-letmefocus/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 15:09:43 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[application]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=208</guid>
		<description><![CDATA[Whenever I work on something interesting, I get too involved and lose track of time. A notifier which notifies every `x` minutes would help me to (a)Take regular breaks, (b)Focus on the main task whenever I&#8217;ve digressed. The script below satisfies this need on my Ubuntu machine. &#160;]]></description>
			<content:encoded><![CDATA[<p>Whenever I work on something interesting, I get too involved and lose track of time. A notifier which notifies every `x` minutes would help me to (a)Take regular breaks, (b)Focus on the main task whenever I&#8217;ve digressed. The script below satisfies this need on my Ubuntu machine.
</p>
<p>&nbsp;<br />
<script src="https://gist.github.com/1574905.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2012/01/notifyme-letmefocus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Jedi craves not these things</title>
		<link>http://vinayraikar.com/blog/2011/11/a-jedi-craves-not-these-things/</link>
		<comments>http://vinayraikar.com/blog/2011/11/a-jedi-craves-not-these-things/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 21:42:19 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[thoughts & experiences]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[story]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=193</guid>
		<description><![CDATA[I was walking towards the bus stop after having my cup of coffee when I read a revolutionary-type, man-must-take-risks tweet on my mobile. I liked this tweet; it changed my mood; the sober me was suddenly super excited and chipper. I had to cross the busy main road to get to the bus stop. So [...]]]></description>
			<content:encoded><![CDATA[<p>I was walking towards the bus stop after having my cup of coffee when I read a revolutionary-type, man-must-take-risks tweet on my mobile. I liked this tweet; it changed my mood; the sober me was suddenly super excited and chipper.</p>
<p>I had to cross the busy main road to get to the bus stop. So I put my mobile back into my pocket and was waiting for an opportunity to cross. A car, lorry and few bikes were approaching. Crossing at that moment looked tough. The usually cautious me was now all excited, thanks to the mood changing tweet; I decided to cross the road anyway.</p>
<p>I was midway when I realized that I had misjudged; crossing was impossible at the speed the car was approaching. Every time I find myself wrong, I go into a shock, curse myself and feel bad. The thought that the car would run over me was secondary to the outrage for misjudging. Instead of moving out of the way, I stood there perplexed for a second. And then there was the sudden realization that I was going to die if I stood there doing nothing.</p>
<p>With all the happy-happy things I had planned for next few days, dying wasn&#8217;t what I wanted. I turned and jumped to move out of the way but it was too late. The lorry hit me; the front wheel ran over my gut; rear wheel over my legs. I died on the spot. As I was moving out of my body, I remembered Yoda&#8217;s words..</p>
<blockquote><p><em>Hmph. Adventure. Heh. Excitement. Heh. A Jedi craves not these things. You are reckless.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2011/11/a-jedi-craves-not-these-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No, I don&#8217;t want to `Sign in with Facebook`</title>
		<link>http://vinayraikar.com/blog/2011/08/no-i-dont-want-to-sign-in-with-facebook/</link>
		<comments>http://vinayraikar.com/blog/2011/08/no-i-dont-want-to-sign-in-with-facebook/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 21:07:14 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[Problems & Issues]]></category>
		<category><![CDATA[thoughts & experiences]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hate]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=183</guid>
		<description><![CDATA[Every new website(startup?!) that I come across these days(which requires me to register to use the website) has a &#8220;Sign in with Facebook&#8221; apart from the site&#8217;s own login system. I hate it when these are the only two login options available. And, I refuse to use such sites. It&#8217;s a PITA to remember password [...]]]></description>
			<content:encoded><![CDATA[<p>Every new website(startup?!) that I come across these days(which requires me to register to use the website) has a &#8220;Sign in with Facebook&#8221; apart from the site&#8217;s own login system. I hate it when these are the only two login options available. And, I refuse to use such sites.</p>
<p>It&#8217;s a PITA to remember password for each and every website we use and so, people with brains came up with an open standard protocol called <a title="wikipedia.org/wiki/OpenID" href="http://en.wikipedia.org/wiki/OpenID" target="_blank">OpenID</a>. Google, Yahoo!  are famous among the many OpenID providers. If you disregard the technicalities, &#8216;Sign in with Facebook&#8217; is similar to OpenID in terms of the end-user experience.</p>
<p>Apart from &#8220;it&#8217;s not a open standard&#8221; rant, my problem with &#8216;Sign in with Facebook&#8217; is that it wants to share my private information with third party websites.</p>
<p><img class="aligncenter" title="Sign in with Facebook" src="http://i.imgur.com/HnqKV.jpg" alt="" width="400px" /></p>
<p><em>When all I want is to login to use your website, why do I need to share my friends list &amp; other information, give you permission to access and post data? I don&#8217;t want to share my information with your stupid website. I am apprehensive about what you might do with this data. And, I don&#8217;t like it. <strong>I, just, want, to, login!</strong> Can you please provide more options?</em></p>
<p>I like &#8220;<a title="Federated Login for Google Account Users" href="http://code.google.com/apis/accounts/docs/OpenID.html" target="_blank">login with Google</a>&#8220;. It&#8217;s simple and minimal, it&#8217;s OpenID and it does not share my private data with others. It serves the problem of remembering too many passwords for too many sites.</p>
<p>I love how <a href="http://stackoverflow.com/" target="_blank">Stackoverflow</a> handles their login. It provide me with multiple options to login and is neat and elegant. I hope these new and upcoming startups learn from them.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2011/08/no-i-dont-want-to-sign-in-with-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>appb.in</title>
		<link>http://vinayraikar.com/blog/2011/01/appb-in/</link>
		<comments>http://vinayraikar.com/blog/2011/01/appb-in/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 16:31:44 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[application]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[appbin]]></category>
		<category><![CDATA[apps]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=176</guid>
		<description><![CDATA[I have been holding the domain name `appb.in` for a long time. The idea was to host a range of web apps there. But then I was lazy and all and nothing happened with it. Until last week when I got a linode account. This gives me an opportunity to learn some server admin stuff [...]]]></description>
			<content:encoded><![CDATA[<p>I have been holding the domain name `appb.in` for a long time. The idea was to host a range of web apps there. But then I was lazy and all and nothing happened with it. Until last week when I got a linode account.</p>
<p>This gives me an opportunity to learn some server admin stuff and most importantly freedom to install and use any technology, language I chose to. Now, this is fun!</p>
<p>There are only a couple of apps on <a title="appb.in" href="http://appb.in" target="_blank">appb.in</a> for now. Will be moving few more apps in some days, and probably designing many more.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2011/01/appb-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dream in a dream</title>
		<link>http://vinayraikar.com/blog/2010/11/dream-in-a-dream/</link>
		<comments>http://vinayraikar.com/blog/2010/11/dream-in-a-dream/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 12:31:21 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[thoughts & experiences]]></category>
		<category><![CDATA[dream]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=166</guid>
		<description><![CDATA[Saw a dream in a dream this morning, like in inception. I was at my cousin&#8217;s place where all my relatives had gathered for some occasion. Uncles were in the living room, discussing what grown up men discuss. Aunts were in the dining hall &#38; kitchen, chatting &#38; preparing eatables for the occasion. I was [...]]]></description>
			<content:encoded><![CDATA[<p>Saw a dream in a dream this morning, like in inception.<br />
I was at my cousin&#8217;s place where all my relatives had gathered for some  occasion. Uncles were in the living room, discussing what grown up men  discuss. Aunts were in the dining hall &amp; kitchen, chatting &amp;  preparing eatables for the occasion. I was there, helping them along with my  cousins. I thought of tweeting about it but resisted. Dreams usually  have some elements which do not exist in the real world; these make  dreams discernible. One such element is the &#8216;super power&#8217; I have to fly.  I was flying all around the house.</p>
<p>Later in the night, I had to sleep in the living room all alone. There  was a window right across and I could sense the branches of a tree  moving to the wind. It was creepy, I felt as is someone was peeping, a  thief perhaps. I woke up suddenly; frightened I looked at the window.  Everything seemed fine.</p>
<p>And then, I woke up again, in this world.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2010/11/dream-in-a-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>embrace the greyside</title>
		<link>http://vinayraikar.com/blog/2010/08/embrace-the-greyside/</link>
		<comments>http://vinayraikar.com/blog/2010/08/embrace-the-greyside/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 09:20:50 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[Problems & Issues]]></category>
		<category><![CDATA[thoughts & experiences]]></category>
		<category><![CDATA[causal]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=153</guid>
		<description><![CDATA[Long time back I had a verbal fight with a friend. The fight started because he made a statement to which I did not agree. I told him my viewpoint, which he did not agree to. And we discussed for a few minutes until we realized that we both agreed with each other. Though both [...]]]></description>
			<content:encoded><![CDATA[<p>Long time back I had a verbal fight with a friend. The fight started because he made a statement to which I did not agree. I told him my viewpoint, which he did not agree to. And we discussed for a few minutes until we realized that we both agreed with each other. Though both of us had &#8216;different&#8217; views, the viewpoints were &#8216;right&#8217; in their own contexts.</p>
<p>I&#8217;ve seen this happen so may times. In our day to day lives, when things irritate us or when we are high, we make strong statements; And when these statements go out to people without proper context, they are misunderstood.</p>
<p>Another reason for misunderstandings is that we assume things to be either Black or White. With least bit of reasoning, we embrace sides and talk about it <strong>vehemently</strong>. And there will be opinionated people listening who will be offended by such talk; and there will be arguments.</p>
<p>By nature, we are judgemental, we always look for Yes or No answers. Given a generic question, one cannot answer with a Yes or No; there will be Ifs and Buts. One has to take into consideration the specific issue at hand and the numerous limitations and problems. And when we arrive at our conclusions, we cannot just yell it out at the world; we need to give the context and reasons, because without them people cannot truly understand the conclusions.</p>
<p>~May the Force be with You.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2010/08/embrace-the-greyside/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opportunity for a twitter oauth web client</title>
		<link>http://vinayraikar.com/blog/2010/08/opportunity-for-a-twitter-oauth-web-client/</link>
		<comments>http://vinayraikar.com/blog/2010/08/opportunity-for-a-twitter-oauth-web-client/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 16:39:36 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=145</guid>
		<description><![CDATA[I guess most of you&#8217;d know that Twitter API would be shutting down basic authentication on August 31st. What this means is that you will no longer be able to login into 3rd party twitter application by giving out your username and password. From now on, to use third party applications you will have to [...]]]></description>
			<content:encoded><![CDATA[<p>I guess most of you&#8217;d know that Twitter API would be shutting down basic authentication on <a title="countdown" href="http://countdowntooauth.com/" target="_blank">August 31st</a>. What this means is that you will no longer be able to login into 3rd party twitter application by giving out your username and password. From now on, to use third party applications you will have to authorize the application using oAuth.</p>
<p>This is bad news for people in countries like China where twitter.com is blocked. They cannot login into 3rd party twitter applications with username/password; they cannot login via twitter.com.</p>
<p>Also, people who access twitter from office(where twitter.com is blocked) will not like closing down of basic auth. But this brings up an opportunity for someone to come up with a twitter web client. The idea is that a user opens an account with an app and authorizes it(to use twitter) when he is at home; later he can log into this app from office and use twitter. Although there are clients like hootsuite which do it, they are targeted at enterprise-y, business-ey people. A simple application like iTweet or dabr would be a hit among the code monkeys.</p>
<p>If built on google&#8217;s appengine, the app can use google auth for the user registration part. There are app engine compatible twitter libraries available on github. Build a decent &amp; basic interface and you have your next big twitter app.  So, who&#8217;s building it? <img src='http://vinayraikar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>UPDATE: <a title="dabr.co.uk" href="http://dabr.co.uk/login" target="_blank">dabr</a> has done it.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2010/08/opportunity-for-a-twitter-oauth-web-client/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Inception</title>
		<link>http://vinayraikar.com/blog/2010/08/inception/</link>
		<comments>http://vinayraikar.com/blog/2010/08/inception/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 16:48:32 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[thoughts & experiences]]></category>
		<category><![CDATA[dream]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=133</guid>
		<description><![CDATA[I watched Inception last week, largely because of the noise that was created on &#8216;social media&#8217;. When everyone talks so much about a movie, it has to be very very good, or so I thought. Probably, I was expecting too much that I was disappointed. Or maybe I did not get the movie. I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I watched Inception last week, largely because of the noise that was created on &#8216;social media&#8217;. When everyone talks so much about a movie, it has to be very very good, or so I thought. Probably, I was expecting too much that I was disappointed. Or maybe I did not get the movie. I don&#8217;t know. Regardless of the hype, Inception is a well made movie, a movie that makes you think about various possibilities, a movie that plants an idea about reality that you see not being the reality.</p>
<p>Apart from entertainment, what do you take from a movie or a book? I believe, <strong>Ideas</strong>! Ideas that change the way we think, Ideas that change the way we perceive, Ideas that change our lives. Ideas are like seeds, they need proper conditions for germination. Some of these Ideas require that we be mature &#8216;enough&#8217; to understand them. Matrix wouldn&#8217;t have made any sense if you had watched it when you were 10.</p>
<p><strong>Genesis of an Idea</strong>:<br />
Years ago, I had fantasised about entering people&#8217;s dreams; I&#8217;ve also fantasised about reading people&#8217;s mind. How did I get these Ideas of reading minds or dreams? Did this Idea come out of pure curiosity or was it planted by some external media(a book or a radio show or a video)?  I don&#8217;t know. But I remember that &#8220;<a href="http://www.youtube.com/watch?v=77t3kGBD8ng">Time Teasers</a>&#8221; was the episode that planted the Idea of stopping time (actually, you could move way faster than others).<br />
When we generate Ideas, are we the real creators? Or are there subconscious influences that help us build ideas?</p>
<p><strong>Reality or Illusion</strong>:<br />
While Inception gives you freedom to come up with your own interpretations, it also makes you think about the world we live in {like Matrix}; is it real? or is it mirage? Are we Independent entities? Or are there superior entities controlling us? Is there a way we could determine if this weren&#8217;t an Illusion? But how could we? Could it not be that the Idea that this world is illusion was planted by those superior entities? How could you believe in Science and Mathematics, they might as well be well thought out concepts that we were made to discover. We could be part of a simulation, created by those superior entities to study their own evolution. All your beliefs could be Ideas and thoughts planted by these superior entities. [wait, in the society that you live in, aren't they?] How do you judge upon the validity or truthfulness of this reality? And how do you plan to validate this method you will be using to validate reality? Your methods of validation could be as Illusionary as the &#8216;reality&#8217; you are validating. There is no way you could know the truth(if there is something called truth).</p>
<p><strong>Guilt</strong>:<br />
DiCaprio&#8217;s last two movies have had this concept of guilt shaping the lead character&#8217;s role. Guilt: the emotion when our Consciousness judges our actions based on the Moral conventions that we have agreed upon for our Society&#8217;s existence, and finds fault with our actions. Most painful of the guilts are not those that break moral conventions but those that arise from one&#8217;s actions that affect the way one wants to foresee (his own) future. In these cases, the Guilt is embedded deep inside the mind; Irrational thoughts take over the mind and there is nothing but pain until one comes to terms with <em>reality</em>.</p>
<p>While I cannot judge direction, acting and stuff like that, I can give an opinion based on how the movie made me feel. It was decent movie in terms of emotions it generated. In terms of ideas, I am bemused that the ideas are being considered completely new and innovative. For me, the high expectations ruined the experience. I was waiting for that &#8220;WOW!&#8221; moment till the end.</p>
<p>I find no fault with the movie; I find fault with the audience which went berserk over it. Maybe, it was the &#8216;want&#8217; of the audience to find and associate with something special, something that redefines things around and creates an illusionary world. Or maybe not. I don&#8217;t know.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2010/08/inception/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>building a word unscrambler</title>
		<link>http://vinayraikar.com/blog/2010/07/building-a-word-unscrambler/</link>
		<comments>http://vinayraikar.com/blog/2010/07/building-a-word-unscrambler/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 14:39:47 +0000</pubDate>
		<dc:creator>Vinay Raikar</dc:creator>
				<category><![CDATA[application]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[GAE]]></category>

		<guid isPermaLink="false">http://vinayraikar.com/blog/?p=79</guid>
		<description><![CDATA[Pre &#8211; Prologue Months ago, there was a twitter account conducting a contest where a scrambled word was tweeted; challenge was to be the first to reply with the correct answer. A new word was posted every hour and to score more points, one had to be watching twitter all the time. It seemed a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Pre &#8211; Prologue</strong></p>
<p><strong></strong> Months ago, there was  a twitter account conducting a contest where a scrambled word was tweeted; challenge was to be the first to reply with the correct answer. A new word was posted every hour and to score more points, one had to be watching twitter all the time. It seemed a perfect task for automation(sigh!). It didn&#8217;t take much time in hacking code to poll, read and reply to the tweet but I needed a word unscrambler. Being a &#8216;Hacker&#8217;, I didn&#8217;t want to write code for that. There were websites that did it but lacked APIs. I plugged in SimpleHTMLdom which provides jQuery like syntax for &#8216;scraping&#8217; data from websites and my hack was ready.</p>
<p><strong>Prologue</strong></p>
<p><strong></strong> Few days back during lunch time chat, I asked a friend if he could build an app that could return the proper sentence when given a scrambled sentence as input. This reminded me of the &#8216;twitter reply&#8217; hack I had written months ago and thought I could <em>write</em> code for &#8216;unscrambing&#8217; words.  Just then, I was re-discovering Google App Engine with python so chose it for solving(showing off?!) this.</p>
<p><strong>Action</strong></p>
<p>Straight forward solution to this problem was finding all permutations of the characters in the scrambled word and then doing a dictionary match. There are lots of links on the web that provide word lists. I used one such word list for the dictionary.   <em>itertools.permutations </em>and a dictionary-search loop later, I had the required results. This worked fine for short words but as the length increased, it took more and more time.</p>
<p>This solution wasn&#8217;t usable; waiting for seconds(and minutes) just to find all the possible permutations is simply stupid(more so if it&#8217;s a web application).</p>
<p>Next challenge was to bring down the time taken; somehow convert this exponential(?) problem to linear.  Solution to this was simple. For a given word and all other words formed by scrambling the characters in it, the <em>count</em>(number of repetitions) of each character in the word remains the same.</p>
<p>For example: In both <em>god</em> and <em>dog</em>, the characters g,o,d are repeated once.</p>
<p>god  =&gt;  a=0; b=0; c=0; d=1; &#8230;. g=1;&#8230;. o:1;&#8230;.</p>
<p>dog  =&gt;  a=0; b=0; c=0; d=1; &#8230;. g=1;&#8230;. o:1;&#8230;.</p>
<p>All I had to do was create a data structure that held the character counts (of characters) for each word in the word list. This data structure went into a database and finding unscrambled words became as simple as firing a single query with a where clause to match the character counts. Thus time consuming permutation-generation part was ousted but at the price of storing this new data structure. Time complexity reduced at the cost of Space complexity.</p>
<p><a href="http://vinayraikar.com/blog/wp-content/uploads/2010/07/word_count_int.png">word count integer representation</a></p>
<p>Fròm then on, it was straight forward coding, uploading and (long, tiresome, boring) waiting for the cron jobs to run for dataset generation+ insertion in GAE datastore.  The app is called <a title="word unscrambler" href="http://wordunscrambler.appspot.com/" target="_blank">wordunscrambler</a>.</p>
<p><strong>Epilogue</strong></p>
<p><strong></strong> As I was storing the character counts as integers in the datastore, it occupied lot of space. Though this wasn&#8217;t really a serious issue, I wanted to reduce this space complexity. Solution to this was based on an (very apt)assumption that the character count in a word would not be greater than 9 and it could be represented by a single decimal number(Could have also chosen hexadecimal but I love decimals). The character counts were now represented as a string; the first character of this string represented character count of character &#8216;a&#8217;, second character corresponded to &#8216;b&#8217; and so on.</p>
<p><a href="http://vinayraikar.com/blog/wp-content/uploads/2010/07/word_count_str.png">word count string representation</a>(<em>second character represents &#8216;a&#8217; here</em>)</p>
<p><a href="http://vinayraikar.com/blog/wp-content/uploads/2010/07/word_count_str.png"></a> 26 integers(which are stored as long in GAE datastore) representing a word&#8217;s character-count were now replaced by a 26 character string(unicode). Thus, Space complexity reduced. The site as of now runs this code.</p>
<p>By the way, integer representation of character count has an advantage over string representation in that if we need to find all possible words(taking &#8216;any&#8217; number of characters at a time) that can be formed fròm given characters, the query could use a &#8216;lesser than&#8217; in the where clause(instead of character code matching).</p>
<p>PS1: As this was more of a let-me-find-a-solution exercise, google&#8217;s help was not taken.</p>
<p>PS2: You could also call this &#8216;Anagram finder&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinayraikar.com/blog/2010/07/building-a-word-unscrambler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

