<?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>Prove that real but not virtual</title>
	<atom:link href="http://chanux.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chanux.wordpress.com</link>
	<description>Things a random guy manages to write.</description>
	<lastBuildDate>Fri, 18 Dec 2009 15:12:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chanux.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/359d7e246dcd0c3577628f36fdbc86f4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Prove that real but not virtual</title>
		<link>http://chanux.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chanux.wordpress.com/osd.xml" title="Prove that real but not virtual" />
		<item>
		<title>ATM ate my money (and bank vomited)</title>
		<link>http://chanux.wordpress.com/2009/12/18/atm/</link>
		<comments>http://chanux.wordpress.com/2009/12/18/atm/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 12:54:26 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[chanux]]></category>
		<category><![CDATA[computing+Life]]></category>
		<category><![CDATA[free thoughts]]></category>
		<category><![CDATA[atm]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=487</guid>
		<description><![CDATA[Story
Once I was at an ATM machine, of course to get some money for a gift to a friend of mine. I keyed in the amount &#38; was waiting for money. The machine took a while, printed the receipt, gave out the card. Yes that&#8217;s all. I got no money but a receipt saying that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=487&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Story</strong><br />
Once I was at an ATM machine, of course to get some money for a gift to a friend of mine. I keyed in the amount &amp; was waiting for money. The machine took a while, printed the receipt, gave out the card. Yes that&#8217;s all. I got no money but a receipt saying that the machine gave this amount of money &amp; that amount of money left in the account. I lost my tongue except to murmur <em>Faaaark!</em>. I pushed my card back in checked the balance in account &amp; the machine was very happy to say that I&#8217;ve just lost this amount of money.<br />
The gift I was planning to by was intended to be a wedding gift &amp; my friend was/is not the kind which is gonna marry again ;). I went to the bank, talked to the pretty girl &amp; my story didn&#8217;t amaze her in any mean. Hmmm&#8230;That&#8217;s something to think about.</p>
<p><a href="http://chanux.files.wordpress.com/2009/12/atm_error.jpg"><img class="aligncenter size-full wp-image-488" title="ATM_Error" src="http://chanux.files.wordpress.com/2009/12/atm_error.jpg?w=500&#038;h=375" alt="" width="500" height="375" /></a></p>
<p><strong>Thoughts</strong><br />
Facing that inconvenience, my mind kept thinking of the very thing a lot, I mean about the technical stuff. Why the machine don&#8217;t handle that very little but so very important event? What&#8217;s the system run on an ATM machine? is it an embedded system? does it run GNU/Linux? :) hell a lot to think.</p>
<p><strong>chit-chat</strong><br />
After few days I went on a long tour with two of my geek friends &amp; the topic ATM took priority at a time. And my friends provided me with these info. There are ATM machines which runs Microsoft Windows XP :D (in Sri Lanka) &amp; earlier days it was OS2, according to <a href="http://raramimu.blogspot.com">Such</a>. <a href="http://tuskytux.blogspot.com">Kunchana</a> has seen windows XP booting on an ATM after a power down. [<a href="http://en.wikipedia.org/wiki/Automated_teller_machine#Software">Wikipedia</a> confirms Such and Kunchana :)]</p>
<p><strong>Assumptions/Solutions</strong><br />
In thinking deep about ATM machines I made some assumptions in my mind.</p>
<p>1) The machine keeps track of the money using some kind of a hardware mechanism or someone adds money &amp; update records on the machine. So that the machine keeps track of the amount remaining. If this is the case it&#8217;s only a matter of a software modification to compare the remaining amount and requested amount to stay away from hassles.</p>
<p>2) Since there was no evidence to backup above assumption, I happen to think that ATMs don&#8217;t keep track of the amount of money they have. So in order to avoid problem I faced, the machines have to have a mechanism to keep track of remaining amount of money and of course compare the remaining and requested amounts.</p>
<p><strong>appendage (17/12/09) :</strong><br />
This was quite an old writeup I never had chance to post till now. This is totally black boxed thinking without looking up Internet for more details how an ATM works. The incident I mentioned happened at Commercial Bank Nugegoda. I got the money back in my account in few days (The bank fixed it manually, I guess). I&#8217;ve heard few other cases like this but never again happened to me. And also Things should be changed and these problems should be ironed out by now. Anyway Off to Look up &#8220;How ATM works&#8221; :D</p>
<p>PS: And the friend who got married was <a href="http://twitter.com/geekaholic">geekaholic</a> :D . The incident occurred  someday around 20/06/08, <a href="http://www.sinhalenfoss.org/2008/07/%e0%b7%83%e0%b7%94%e0%b6%b7-%e0%b6%b4%e0%b7%90%e0%b6%ad%e0%b7%94%e0%b6%b8%e0%b7%8a-bud">the wedding day</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=487&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/12/18/atm/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/atm_error.jpg" medium="image">
			<media:title type="html">ATM_Error</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s time for microsoft to think.</title>
		<link>http://chanux.wordpress.com/2009/12/16/its-time-for-microsoft-to-think/</link>
		<comments>http://chanux.wordpress.com/2009/12/16/its-time-for-microsoft-to-think/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 01:45:23 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[imagemaster]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[plurk]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=478</guid>
		<description><![CDATA[For the second time in just two months I heard of Microsoft lifting others code, this week. No I&#8217;m not gonna bash microsoft, there are two sides in both stories.
Case 1:
Microsoft lifts GPL licensed code for their Windows 7 USB/DVD download tool.
This one was first reported by Rafael at  withinwindows.com. As Rafael guessed at first, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=478&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For the second time in just two months I heard of Microsoft lifting others code, this week. No I&#8217;m not gonna bash microsoft, there are two sides in both stories.</p>
<p><strong>Case 1:</strong><br />
<em>Microsoft lifts GPL licensed code for their Windows 7 USB/DVD download tool.</em></p>
<p>This one was <a href="http://www.withinwindows.com/2009/11/06/microsoft-lifts-gpl-code-uses-in-microsoft-store-tool">first reported</a> by Rafael at  withinwindows.com. As Rafael guessed at first, Microsoft <a href="http://port25.technet.com/archive/2009/11/13/update-on-the-windows-7-download-tool-or-microsoft-to-open-source-the-windows-7-download-tool.aspx">announced</a> that the software was done by a third party developer. And they pulled the software making a pledge to return it under GPL. Even though it took some time, MS finally <a href="http://port25.technet.com/archive/2009/12/09/windows-7-usb-dvd-download-tool-released-under-gplv2.aspx">released the software under GPL</a>.</p>
<p><strong>Case 2:</strong><br />
<em>Microsoft China&#8217;s Microblogging tool Juku lifts code from Plurk.</em></p>
<p>Just five days from seettling with GPL violation, Plurk blog <a href="http://blog.plurk.com/2009/12/14/microsoft-rips-plurk">reported</a> that Microsoft China&#8217;s microblogging tool Juku, has code lifted from their popular Microblogging tool. The terrible thing was that both UI and code base looked very similar (See Plurk blog post). Like MS did last time, they <a href="http://www.microsoft.com/presspass/press/2009/dec09/12-15statement.mspx">announced</a> that Juku was done by a third party developer and of course they pulled the service. <strong>Indefinitely</strong>.</p>
<p style="text-align:center;"><a href="http://chanux.files.wordpress.com/2009/12/ballmer-chair.jpg"><img class="aligncenter size-full wp-image-479" title="ballmer-chair" src="http://chanux.files.wordpress.com/2009/12/ballmer-chair.jpg?w=450&#038;h=314" alt="" width="450" height="314" /></a></p>
<p>So that&#8217;s it. In two months, two code lift cases. The latter one was even uglier (Or is it otherwise?). I think Microsoft should start to worry about how <strong>genuine</strong> their products are :P, especially when they outsource to third parties. Since it&#8217;s a huge company, I don&#8217;t think they would have an easy escape next time.</p>
<p>PS: My intention was not to say borrowing code is a bad thing. There&#8217;s no problem if Microsoft borrow codes from Open source projects and obey the license.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/478/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=478&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/12/16/its-time-for-microsoft-to-think/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/ballmer-chair.jpg" medium="image">
			<media:title type="html">ballmer-chair</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing bra is not our problem.</title>
		<link>http://chanux.wordpress.com/2009/12/15/removing-bra-is-not-our-problem/</link>
		<comments>http://chanux.wordpress.com/2009/12/15/removing-bra-is-not-our-problem/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 07:36:15 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Sri Lanka]]></category>
		<category><![CDATA[suggestions]]></category>
		<category><![CDATA[trends]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=468</guid>
		<description><![CDATA[The other day I came across this blog post &#8220;That Dirty (Sri Lankan) Mind&#8220;. The first thing I got in mind: &#8220;Seriously, WTF?&#8221;.
I&#8217;m not quite sure whether google place suggestions according to the relevance. But seems like it is.
Today I found these two screenshots, google suggestions for sara and rajap on my friend @laktek&#8217;s Tweet. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=468&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The other day I came across this blog post &#8220;<a href="http://janusis.wordpress.com/2009/12/07/that-dirty-sri-lankan-mind">That Dirty (Sri Lankan) Mind</a>&#8220;. The first thing I got in mind: &#8220;Seriously, WTF?&#8221;.</p>
<p>I&#8217;m not quite sure whether google place suggestions according to the relevance. But seems like <strong>it is</strong>.</p>
<p>Today I found these two screenshots, google suggestions for <a href="http://twitpic.com/tkq6m">sara</a> and <a href="http://twitpic.com/tkq6m">rajap</a> on my friend <a href="http://twitter.com/laktek">@laktek</a>&#8217;s <a href="http://twitter.com/laktek/statuses/6684735135">Tweet</a>. And felt like looking for more.</p>
<p>So I looked for &#8216;how to&#8217;. See the results for yourself.<br />
<a href="http://chanux.files.wordpress.com/2009/12/howto-sl.png"><img class="aligncenter size-full wp-image-469" title="howto-sl" src="http://chanux.files.wordpress.com/2009/12/howto-sl.png?w=510&#038;h=384" alt="" width="510" height="384" /></a><br />
Seriously? How to get Pregnant? Oh c&#8217;mon Sri Lankans.<br />
I don&#8217;t know why I felt like checking out Google.in for same thing. (Maybe I was looking for a way outta this shame ;) ).<br />
<a href="http://chanux.files.wordpress.com/2009/12/howto-in.png"><img class="aligncenter size-full wp-image-470" title="howto-in" src="http://chanux.files.wordpress.com/2009/12/howto-in.png?w=510&#038;h=384" alt="" width="510" height="384" /></a><br />
See? We are not screwed. Yet. Apparently India screws up suggestions for us (It&#8217;s good to have a great neighbor :P ).</p>
<p>I checked the Google trends for &#8220;How to get pregnant&#8221; to be sure.<br />
<a href="http://chanux.files.wordpress.com/2009/12/pregtrend.png"><img class="aligncenter size-full wp-image-471" title="pregtrend" src="http://chanux.files.wordpress.com/2009/12/pregtrend.png?w=510&#038;h=223" alt="" width="510" height="223" /></a></p>
<p>So it&#8217;s time to remove some bras.</p>
<p>Google Sri Lanka suggestions for &#8220;removing&#8221;</p>
<p><a href="http://chanux.files.wordpress.com/2009/12/removing-lk.png"><img class="aligncenter size-full wp-image-472" title="removing-lk" src="http://chanux.files.wordpress.com/2009/12/removing-lk.png?w=510&#038;h=384" alt="" width="510" height="384" /></a></p>
<p>Google india Suggestions for &#8220;removing&#8221;</p>
<p><a href="http://chanux.files.wordpress.com/2009/12/removing-in.png"><img class="aligncenter size-full wp-image-473" title="removing-in" src="http://chanux.files.wordpress.com/2009/12/removing-in.png?w=510&#038;h=384" alt="" width="510" height="384" /></a></p>
<p>And now let&#8217;s see who really don&#8217;t know how to remove a bra.</p>
<p><a href="http://chanux.files.wordpress.com/2009/12/rmbratrend.png"><img class="aligncenter size-full wp-image-474" title="rmbratrend" src="http://chanux.files.wordpress.com/2009/12/rmbratrend.png?w=510&#038;h=183" alt="" width="510" height="183" /></a></p>
<p>Now that&#8217;s a big relief :D. Eff you Goog. We know how to remove bras, eyes wide shut :P</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/468/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=468&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/12/15/removing-bra-is-not-our-problem/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/howto-sl.png" medium="image">
			<media:title type="html">howto-sl</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/howto-in.png" medium="image">
			<media:title type="html">howto-in</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/pregtrend.png" medium="image">
			<media:title type="html">pregtrend</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/removing-lk.png" medium="image">
			<media:title type="html">removing-lk</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/removing-in.png" medium="image">
			<media:title type="html">removing-in</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/rmbratrend.png" medium="image">
			<media:title type="html">rmbratrend</media:title>
		</media:content>
	</item>
		<item>
		<title>Would you rather ask Google than a friend?</title>
		<link>http://chanux.wordpress.com/2009/12/09/would-you-rather-ask-google-than-a-friend/</link>
		<comments>http://chanux.wordpress.com/2009/12/09/would-you-rather-ask-google-than-a-friend/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 15:08:22 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[computing+Life]]></category>
		<category><![CDATA[free thoughts]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=462</guid>
		<description><![CDATA[The privacy is again in hot zone of topics in communities I follow. The reason is @ericschmidt, Google CEO Eric Schmidt.
The register reports, &#8220;If you have something that you don&#8217;t want anyone to know, maybe you shouldn&#8217;t be doing it in the first place,&#8221; under the heading &#8220;Google chief: Only miscreants worry about net privacy&#8221;. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=462&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The privacy is again in hot zone of topics in communities I follow. The reason is <a href="http://twitter.com/ericschmidt">@ericschmidt</a>, Google CEO Eric Schmidt.</p>
<p><a href="http://www.theregister.co.uk/2009/12/07/schmidt_on_privacy">The register reports</a>, <em>&#8220;If you have something that you don&#8217;t want anyone to know, maybe you shouldn&#8217;t be doing it in the first place,&#8221;</em> under the heading <em>&#8220;Google chief: Only miscreants worry about net privacy&#8221;</em>. That&#8217;s how journalists do it. Let&#8217;s have a better perspective on the subject.</p>
<p><em>&#8220;Judgment matters&#8230; If you have something that you don&#8217;t want anyone to know, maybe you shouldn&#8217;t be doing it in the first place&#8230; If you really need that kind of privacy, the reality is that search engines &#8211; including Google &#8211; do retain this information for some time and it&#8217;s important, for example, that we are all subject in the United States to the Patriot Act and it is possible that all that information could be made available to the authorities.&#8221;</em></p>
<p>Quoted from Eric Schmidt on CNBC video found <a href="http://gawker.com/5419271/google-ceo-secrets-are-for-filthy-people">here</a> (some interesting stuff about Schmidt too ;) ).</p>
<p>Doesn&#8217;t really sound as bad as The Register report, but still it&#8217;s bad.</p>
<p><a href="http://chanux.files.wordpress.com/2009/12/privacy_please.jpg"><img class="aligncenter size-medium wp-image-463" title="privacy_please" src="http://chanux.files.wordpress.com/2009/12/privacy_please.jpg?w=300&#038;h=201" alt="" width="300" height="201" /></a><br />
Google has to obey the laws, I agree, and the laws are not perfect. Anyway laws and regulations is not the only reason they track and log certain information. It&#8217;s a part of their business model.</p>
<p>Google offers simply awesome services and I find it really difficult to stay away from all that awesomeness thinking of privacy issues that doesn&#8217;t seem to be hrmful for the time being. Hope it&#8217;s the case for you too.</p>
<p>It&#8217;s not only Google that we should be alarmed of. Recently Yahoo said something similar to &#8220;<a href="http://www.wired.com/threatlevel/2009/12/wiretap-prices">Our Spy Capabilities Would ‘Shock’, Consumers</a>&#8220;. Is that sound frightening?</p>
<p>So I think it&#8217;s the time to at least stay concious about these issues, if not to stay away. I would rather ask Google than a friend, of a private and sensitive question, thinking my secret is also gone with the closed search page. But it&#8217;s not the case anymore. Unfortunately.</p>
<p>Note: Find some interesting ideas about privacy, on secutiry guru <a href="http://www.schneier.com/blog/archives/2006/05/the_value_of_pr.html">Bruce Schneiers blog</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=462&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/12/09/would-you-rather-ask-google-than-a-friend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/privacy_please.jpg?w=300" medium="image">
			<media:title type="html">privacy_please</media:title>
		</media:content>
	</item>
		<item>
		<title>Persistant DNS caching with pdnsd.</title>
		<link>http://chanux.wordpress.com/2009/12/06/persistant-dns-caching-with-pdnsd/</link>
		<comments>http://chanux.wordpress.com/2009/12/06/persistant-dns-caching-with-pdnsd/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 07:49:33 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[OpenDNS]]></category>
		<category><![CDATA[pdnsd]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=447</guid>
		<description><![CDATA[
My tweet you just read says the long story short. In case you didn&#8217;t come across, Google made DNS a buzzing topic again with Google Public DNS. So I felt like trying a dns cache again. The logic is &#8220;If a better DNS server makes things better, DNS cache makes it even better.&#8221;
This is more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=447&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://twitter.com/chanux/statuses/6393112383"><img class="aligncenter size-full wp-image-448" title="dns_hype" src="http://chanux.files.wordpress.com/2009/12/dns_hype.gif?w=440&#038;h=145" alt="" width="440" height="145" /></a></p>
<p>My tweet you just read says the long story short. In case you didn&#8217;t come across, Google made DNS a buzzing topic again with <a href="http://googlecode.blogspot.com/2009/12/introducing-google-public-dns-new-dns.html">Google Public DNS</a>. So I felt like trying a dns cache again. The logic is &#8220;If a better DNS server makes things better, DNS cache makes it even better.&#8221;</p>
<p>This is more of a note to self than a HOWTO. If your use case atches with mine, feel free to use this.</p>
<p>My use case: I use an HSDPA, mobile broadband connection on Ubuntu 9.04 Jaunty Jackalope.</p>
<p>Install pdnsd with,</p>
<p><strong>$sudo apt-get install pdnsd</strong></p>
<p>Now launch the text editor you hate and add following to <strong>/etc/pdnsd.conf</strong></p>
<p>(By default all the parts are commented so just adding this was fine enough for me)</p>
<pre class="brush: bash;">

server {
ip=208.67.222.222 , 8.8.8.8;
timeout=5;
interval=30;
uptest=ping;
ping_timeout=50;
purge_cache=off;
}

global {
 perm_cache=5120;
 cache_dir=&quot;/var/cache/pdnsd&quot;;
 min_ttl=15m;       // Retain cached entries at least 15 minutes.
 max_ttl=1w;        // One week.
 timeout=10;        // Global timeout option (10 seconds).
}
</pre>
<p>I copied this piece from <a href="http://www.debian-administration.org/articles/390">here</a> and edited ;). Added the global field because defaults were not cool enough for me. And in ip field I&#8217;ve put respectively OpenDNS and Google DNS addresses. You can just add one address there. &#8216;man pdnsd.conf&#8217; will teach you more about the content in the file.</p>
<p>Once you are done editing the configuration file restart pdnsd with</p>
<p><strong>$sudo /etc/init.d/pdnsd restart</strong></p>
<p>Now you should tell the network manager to look for pdnsd for it&#8217;s DNS needs.</p>
<p><strong>Right click network manager icon</strong> and then follow <strong>Edit Connections &gt; Mobile Broadband</strong> and choose to edit your preferred network connection.<br />
<a href="http://chanux.files.wordpress.com/2009/12/netmandns.png"><img class="aligncenter size-full wp-image-449" title="netManDns" src="http://chanux.files.wordpress.com/2009/12/netmandns.png?w=389&#038;h=486" alt="" width="389" height="486" /></a><br />
In Editing &lt;Your Network Connection&gt; dialog box,<br />
[1] Choose IPv4 Settings tab<br />
[2] Choose Automatic Addresses (ppp) Only in Methods Dropdown box.<br />
[3] Set DNS Servers field to 127.0.0.1 (which refers to pdnsd in our case)</p>
<p>And obviously, Apply Changes :P .</p>
<p>If everything went fine, you are now ready to enjoy DNS cache goodness with pdnsd.</p>
<p>You can check how good is it with dig command.</p>
<p>ex:<br />
$dig yahoo.com</p>
<p>run this command twice and compare Query time field.</p>
<p>Note: If you followed all the steps but still it doesn&#8217;t work, try restarting pdnsd. If you get following error refer <a href="http://whatdoesthiserrormean.com/errors/2838">this page</a></p>
<pre>/etc/resolv.conf must be a symlink

Update: Added the global settings for config file.</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/447/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=447&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/12/06/persistant-dns-caching-with-pdnsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/dns_hype.gif" medium="image">
			<media:title type="html">dns_hype</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/12/netmandns.png" medium="image">
			<media:title type="html">netManDns</media:title>
		</media:content>
	</item>
		<item>
		<title>One heck of an exam day.</title>
		<link>http://chanux.wordpress.com/2009/10/23/one-heck-of-an-exam-day/</link>
		<comments>http://chanux.wordpress.com/2009/10/23/one-heck-of-an-exam-day/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 15:11:40 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[chanux]]></category>
		<category><![CDATA[careless]]></category>
		<category><![CDATA[exam]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=438</guid>
		<description><![CDATA[It was another exam in Sam&#8217;s school for screwed up youngsters ;) . I was on time and was pretty much ready for it. Exam started when the longer arm of the clock rest on 12. I started answering like any other sane guy would.
Started from the second question and I&#8217;ve finished it in 20 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=438&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It was another exam in Sam&#8217;s school for screwed up youngsters ;) . I was on time and was pretty much ready for it. Exam started when the longer arm of the clock rest on 12. I started answering like any other sane guy would.</p>
<p>Started from the second question and I&#8217;ve finished it in 20 -25 minutes. Then I took the next on. It was only 40 or 45 minutes passed when I finish that. Then came some question that needed more attention so I just kept doing them.</p>
<p>Another one down. and at this point I&#8217;ve lost track of time. And I can&#8217;t clearly remeber how many questions I&#8217;ve finished at the time but It should be four. Now that I&#8217;ve lost track of time, the only option was to check how much time left. looked at the clock.</p>
<p>JUST FORTY MINUTES?!?! HOLY B+ TREES.</p>
<p>:&#8217;( Just forty minutes left and I have two full questions to finish, *including* the question I&#8217;m quite challenged by. OK now I&#8217;m done. But there&#8217;s no way out. I can at least try to make it a wee bit better.</p>
<p>I didn&#8217;t panic. Since I knew it&#8217;s not gonna do more harm than good if I did. So I did the question number 6. Finished it without much pain and looked at the clock, Just to find out that I&#8217;ve got only twenty minutes to face the question number ONE. The hardest one for me as I believed.</p>
<p>I started with part ii of Question one finished without neither big problems nor confidence. Took part iii. My brain is not happy to process at the speed I want. So many hiccups. But I never felt upset or feared (It&#8217;s really difficult generate such feelings in a careless bastards mind). Though I wasn&#8217;t so confident I finished part iii without a feeling like &#8220;I&#8217;m gonna get 0 marks for this :(&#8220;.</p>
<p>Here comes the question 1 part i. I was somewhat nervous. But dude ma&#8217;m didn&#8217;t say anything that did sound like the conclusion. I have no clear memory what I did at the time but I remember I came up with a satisfactory answer just by 4.00 O&#8217;clock.</p>
<p>But why the hell everyone is still busy. Why ma&#8217;m is still silent?. 10 minutes after I was checking this and that. And started to curse the wall clock thinking it shows me the wrong time. There were few minutes that I tried so hard to understand what&#8217;s going on. But no clue. Cursed myself for only having the phone to check time (which is switched off right now). Checked the answers again. No new ideas coming. Corrected few mistakes found here and there. Still no idea what&#8217;s going on. One moment I thought this should be a dream or an illusion or something I just can&#8217;t understand. Another round of checking.</p>
<p>&#8220;You have only 30 minutes left&#8221;. That&#8217;s ma&#8217;m. And match over (for me).</p>
<p><a href="http://metropolitician.blogs.com/scribblings_of_the_metrop/2006/03/the_seoul_essay_1.html"><img class="aligncenter size-medium wp-image-439" title="exam_scram" src="http://chanux.files.wordpress.com/2009/10/exam_scram.jpg?w=258&#038;h=300" alt="exam_scram" width="258" height="300" /></a></p>
<p>Last two papers were on 1.00PM-4.00PM slot. So all this time, I was _believing_ it&#8217;s the same game going on today. But it was 2.00PM-5.00PM this time. I thanked whoever deserves for todays paper not being anything like the Software Engineering paper (So much work for so little time). If it was, I don&#8217;t think I&#8217;d be writing this ;) .</p>
<p>So I have 30 minutes. I can&#8217;t go out now, that&#8217;s the rule. Found a question that I&#8217;ve missed which had 3 marks allocated. Hammered it like Thor. Checked the rest again but nothing new comes in mind. Brain was like totally blocked or maybe it was relaxing.</p>
<p>Came out and told friends. No one believed at first. Some time wasting at cafeteria. Laughter!</p>
<p>It wasn&#8217;t all that bad. And again thanks whoever deserves for the paper not being anything even remotely like Software Engineering paper.</p>
<p>Update: <a href="http://chanux.wordpress.com/2007/11/23/twitter-saved-my-life/">The reason why</a> I&#8217;m here to sit this exam.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/438/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=438&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/10/23/one-heck-of-an-exam-day/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/10/exam_scram.jpg?w=258" medium="image">
			<media:title type="html">exam_scram</media:title>
		</media:content>
	</item>
		<item>
		<title>Facelift to my blog.</title>
		<link>http://chanux.wordpress.com/2009/10/20/facelift-to-my-blog/</link>
		<comments>http://chanux.wordpress.com/2009/10/20/facelift-to-my-blog/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 18:58:02 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=429</guid>
		<description><![CDATA[Oh dammit I&#8217;m growing old. I removed all the fancy things from my blog. Even the smiley images. Now I start to act like a matured bastard. Oh damn this is not cool ;).
On the other hand I&#8217;m happy that I manage to grow up. Somehow.
Cutting the crap, here are some more details about the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=429&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Oh dammit I&#8217;m growing old. I removed all the fancy things from my blog. Even the smiley images. Now I start to act like a matured bastard. Oh damn this is not cool ;).</p>
<p>On the other hand I&#8217;m happy that I manage to grow up. Somehow.</p>
<p>Cutting the crap, here are some more details about the topic.</p>
<p>The need to reduce extra fat and sugar in my blog was in my todo list for a long time now. But there&#8217;s no ideal time other than the exam days :P. So I took time for the long awaited change. I loved my old theme garland. I still do. But I equally love dark themes. <a href="http://blackle.com/about">Black is new green</a> you know?. And a change is always good. If you are not sure, ask Obama.</p>
<p><img src="http://standupforamerica.files.wordpress.com/2009/07/obama-campaign-change-we-need.jpg"></p>
<p>It was not really difficult to find a black theme out of the 11 dark themes wordpress has :P. Seriously ONLY ELEVEN dark themes?. That&#8217;s not acceptable. Anyway I chose the current theme ChaosTheory because it was the best suiting to my taste, even though it eats up left hand side with post info. I wish the text was on left side. Then it would be easy to read. But anyway, &#8220;contentment is bliss&#8221;. A wise man once said.</p>
<p>I have added carefully picked items to the bottom of the site. Hope it will help someone who is interested in my blog and well&#8230; myself ;). Earlier I was forcing those stuff + many other crap on reader. But that&#8217;s not the way I like it anymore. I want to kiss. Oh hold.. hold on a second&#8230; I mean <a href="http://en.wikipedia.org/wiki/KISS_principle">Keep It Simple, Stupid</a>. More readers, more pageviews, more clicks are in the vocabulary of money whores anyway.</p>
<p>By the way I want you to know <a href="http://dustincurtis.com/you_should_follow_me_on_twitter.html">why</a> I say &#8220;<a href="http://twitter.com/chanux">You should follow me on Twitter</a>&#8221; somewhere in the bottom. No I&#8217;m not a twitter follower whore either :) .</p>
<p>OK you are done reading this post! Maybe you&#8217;d like to check my Tumblelog, <a href="http://chanux.tumblr.com">right now</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=429&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/10/20/facelift-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://standupforamerica.files.wordpress.com/2009/07/obama-campaign-change-we-need.jpg" medium="image" />
	</item>
		<item>
		<title>The HeartBroken.</title>
		<link>http://chanux.wordpress.com/2009/10/04/the-heartbroken/</link>
		<comments>http://chanux.wordpress.com/2009/10/04/the-heartbroken/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 19:19:04 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[free thoughts]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[feelings]]></category>
		<category><![CDATA[heart]]></category>
		<category><![CDATA[love]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=420</guid>
		<description><![CDATA[I know exactly how it feels when you break your heart. Actually some one else does that for you :). Then you start to feel broken. Start to feel lonely. Start to feel left behind. You want to see the end of the world, soon. Just to get away from the pain. But if you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=420&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I know exactly how it feels when you break your heart. Actually some one else does that for you :). Then you start to feel broken. Start to feel lonely. Start to feel left behind. You want to see the end of the world, soon. Just to get away from the pain. But if you are suffering a broken love or one you just can&#8217;t get on with, things just get worse.</p>
<p><a href="http://ziltzwiltz.deviantart.com/art/Heartbreak-19230032"><img class="aligncenter size-full wp-image-421" title="Heartbreak__by_ZiltzWiltz" src="http://chanux.files.wordpress.com/2009/10/heartbreak__by_ziltzwiltz.jpg?w=300&#038;h=298" alt="Heartbreak__by_ZiltzWiltz" width="300" height="298" /></a></p>
<p>You want some one to listen. And you want that someone to react the way you think is right. This is really bad but still really normal. When you hear something not very sweet in your ears from the listener you just avoid her. Simply because you believe she doesn&#8217;t understand you. It&#8217;s normal that you don&#8217;t understand that you are the one who is weak in mind, for the moment.</p>
<p>If the listener keep telling those not so sweet things again and again you start to hate her. &#8217;cause she is shattering your dream world. You just see the happiness surrounding the feeling, not the great pain burning inside. You simply want to suffer it. And there is almost no one who can help some one who enjoys the pain.</p>
<p>You start to live on assumptions. You lose the world around you without knowing. You never realize that there&#8217;s a day that all these things end up &#8217;cause all these are just an illusion of nature. And you keep running away from everything else you loved and <strong>loved you in return</strong>.</p>
<p>Fortunately there is a solution. It&#8217;s so simple that you don&#8217;t understand. &#8217;cause you think way too hard. And maybe you simply don&#8217;t want an answer. You enjoy the pain. But just think simple and tender. And just embrace what you love and still loves you back. You know what you enjoyed before. Just throw yourself in to them. Drown yourself in them.</p>
<p>You still have the scars of the pain. It&#8217;s alright. But at least now you don&#8217;t burn in that ugly hell. Instead you enjoy life. And believe me, those scars are not there to stay. They go away when you find something better. And you are finding something better. For sure. It&#8217;s all relative.</p>
<p>Just listen and think, <strong>simple and mild</strong>.</p>
<p>NOTE: This is not based on my personal experiences. At least not anything recent. But there are plenty of this kind happening around me. Just wanted to break writers block. And I&#8217;ve been tired of writing lot&#8217;s of semi-colon ended stuff.</p>
<p>About Image: I love this image. Using on this blog for the second time. Click image to go to deviantart page.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/420/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=420&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/10/04/the-heartbroken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>

		<media:content url="http://chanux.files.wordpress.com/2009/10/heartbreak__by_ziltzwiltz.jpg" medium="image">
			<media:title type="html">Heartbreak__by_ZiltzWiltz</media:title>
		</media:content>
	</item>
		<item>
		<title>Window focus event for shell scripts.</title>
		<link>http://chanux.wordpress.com/2009/07/04/window-focus-event-for-shell-scripts/</link>
		<comments>http://chanux.wordpress.com/2009/07/04/window-focus-event-for-shell-scripts/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 03:59:10 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=410</guid>
		<description><![CDATA[Hacking is always fun. That&#8217;s why I always lose focus on everything one interesting hack. That&#8217;s why I spent whole last night trying to figure out how to mimic Window focus event in a shell script. Though this is completely new to me, you maybe very much comfortable with implementing it :) . If so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=410&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hacking is always fun. That&#8217;s why I always lose focus on everything one interesting hack. That&#8217;s why I spent whole last night trying to figure out how to mimic Window focus event in a shell script. Though this is completely new to me, you maybe very much comfortable with implementing it :) . If so please let me know in comments.</p>
<p>Anyway here is my story.</p>
<p>I found this nice command line IM client called <a href="http://www.centerim.org/index.php/Main_Page">centerIM</a> (Thanx <a href="http://twitter.com/chathuraw">@chathuraw</a> for info). Once I got it set up I was just scanning on it&#8217;s documentation page &amp; came across this interesting part &#8220;<a href="http://www.centerim.org/index.php/Documentation#External_actions_and_auto-responses">External actions &amp; auto-responses</a>&#8220;. I wrote a script right away for GUI notifications, inspired by <a href="http://lewk.org/blog/irssi-notify">notify.pl</a> script for <a href="http://irssi.org">irssi</a>. Here is <a href="http://www.archive.org/stream/GuiNotificationsForCenterim/gui-notifiations-centerim.txt">the script</a> if you are interested.</p>
<p>Since the load of IM messages was very high at a time &amp; It was useless when the terminal window with centerIM was already focused (which means I&#8217;m chatting on centerIM) I was thinking of getting notifications only when centerIM window is not in focus. Few Google searches lead me to very limited resources &amp; I chose xwininfo &amp; xdpyinfo commands for my work.</p>
<p>Workaround: I&#8217;m using gnome for now &amp; so gnome-terminal as my terminal emulator. I had to set edit &gt; profilepreferences &gt; Title &amp; command option to keep initial title, in order to have &#8220;Terminal&#8221; as the terminal window name all the time.</p>
<p>And ran xininfo to get following output.</p>
<pre class="brush: bash;">
chanux@nim:~$ xwininfo -name Terminal

xwininfo: Window id: 0x3800003 &quot;Terminal&quot;

 Absolute upper-left X:&amp;nbsp; 0
 Absolute upper-left Y:&amp;nbsp; 52
 Relative upper-left X:&amp;nbsp; 0
 Relative upper-left Y:&amp;nbsp; 27
 Width: 1280
 Height: 691
 Depth: 24
 Visual Class: TrueColor
 Border width: 0
 Class: InputOutput
 Colormap: 0x20 (installed)
 Bit Gravity State: NorthWestGravity
 Window Gravity State: NorthWestGravity
 Backing Store State: NotUseful
 Save Under State: no
 Map State: IsViewable
 Override Redirect State: no
 Corners:&amp;nbsp; +0+52&amp;nbsp; -0+52&amp;nbsp; -0-25&amp;nbsp; +0-25
 -geometry 156x37+0+25
</pre>
<p>This can be used to get the window id of the windw which runs the script.</p>
<p>Then I can find the focused window at the moment as following.</p>
<pre class="brush: bash;">
chanux@nim:~$ xdpyinfo |grep focus
focus:&amp;nbsp; window 0x3800004, revert to Parent
</pre>
<p>I fetched the window IDs with a little bit more work.</p>
<p>Anyway the problem I had is that, I get 0&#215;3800003 (at this example) or likewise for the Terminal window id &amp; even when the Terminal id is focused I get 0&#215;3800004 as the focused window id. Yes I know with some more work I can manage to handle that &amp; come to a point that I can compare those window Ids to check for the focused window. But I reall like to know why that difference come up. Anyone have an explanantion? Or anyone like to mess with this?</p>
<p>Following is the way I fetched window ids from above outputs</p>
<pre class="brush: bash;">
chanux@nim:~$ xwininfo -name &quot;Terminal&quot; | grep xwininfo | cut -d &quot; &quot; -f 4
0x3800003
chanux@nim:~$ xdpyinfo | grep focus | cut -d &quot; &quot; -f 4 | sed s/,//
0x3800004
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=410&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/07/04/window-focus-event-for-shell-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>
	</item>
		<item>
		<title>Join me in MJ ass kissers club.</title>
		<link>http://chanux.wordpress.com/2009/06/27/join-me-in-mj-ass-kissers-club/</link>
		<comments>http://chanux.wordpress.com/2009/06/27/join-me-in-mj-ass-kissers-club/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 09:11:42 +0000</pubDate>
		<dc:creator>chanux</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[free thoughts]]></category>

		<guid isPermaLink="false">http://chanux.wordpress.com/?p=386</guid>
		<description><![CDATA[OK, There&#8217;s one now. wait.. wait&#8230; it was not me. That sage girl defined the club. First of all let&#8217;s see who are already in.
The Way you make me feel &#124; How I see it
Michael Jackson and Me &#124; Landon Lanka and Drums
A Legend &#124; A heart on a sleeve
The way you make me feel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=386&subd=chanux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>OK, There&#8217;s one now. wait.. wait&#8230; it was not me. That <a rel="nofollow" href="http://theniceblogs.blogspot.com">sage girl</a> <a rel="nofollow" href="http://theniceblogs.blogspot.com/2009/06/hey-me-too-silly-lankans-stop-kissing.html">defined the club</a>. First of all let&#8217;s see who are already in.</p>
<p><a href="http://harshajayman.blogspot.com/2009/06/ever-since-i-got-news-of-michael.html">The Way you make me feel</a> | How I see it<br />
<a href="http://londonlanka.blogspot.com/2009/06/michael-jackson-and-me.html">Michael Jackson and Me</a> | Landon Lanka and Drums<br />
<a href="http://scrumpulicious.blogspot.com/2009/06/legend.html">A Legend</a> | A heart on a sleeve<br />
<a href="http://delilahsays.wordpress.com/2009/06/26/the-way-you-make-me-feel">The way you make me feel</a> | delilah says<br />
<a href="http://justchillinslow.blogspot.com/2009/06/there-will-never-be-another-you-mj.html">There will never be another you, MJ</a> | Jus Chillin&#8217;<br />
<a href="http://divine3.blogspot.com/2009/06/mjs-gone.html">MJ&#8217;s gone :(</a> | A glimpse of lady devine<br />
<a href="http://chaarmax.wordpress.com/2009/06/26/whats-your-fav-mj">What&#8217;s your fav MJ?</a> | Chaar~Max 2.0<br />
<a href="http://gossiplanka.blogspot.com/2009/06/singer-michael-jackson-dies-at-50.html">Singer Michael Jackson dies at 50</a> | Gossip Lanka<br />
<a href="http://www.cityhitsonline.com/2009/06/michael-jackson-dies-at-age-50.html">&#8216;King of Pop&#8217; Michael Jackson dies at age 50</a> | City Hits<br />
<a href="http://chamindra.blogspot.com/2009/06/six-list-my-favorite-songs-of-king-of.html">The Six List &#8211; Tribute to &#8220;The King of Pop&#8230;&#8221;</a> | Untitled<br />
<a href="http://saintfallen.wordpress.com/2009/06/26/so-about-mj">So, about MJ</a> | The Abyss</p>
<p>Update: Here is a <a href="http://www.achcharu.org/tag/MJ%20death">comprehensive list</a> of blog posts on MJ&#8217;s death on achcharu.org. (thanx <a href="http://lair.fierydragon.org/">drac</a> for the link) Most of the writers should include the club. Now I really love to be in this club :P .</p>
<p>Dropped in happily:</p>
<p><a href="http://bumbleforpm.blogspot.com/2009/06/rip-michael-jackson-i-will-never-forget.html">Doesn&#8217;t matter if you are black or white.</a> | Bumble for PM</p>
<p>So this is all I found on a kottu search (query:MJ Michael). If I&#8217;ve missed any of you please let me know. And if you think you don&#8217;t match the club since you are not upset of MJ&#8217;s death, ping me I&#8217;ll remove you from the list.</p>
<p>11 posts (edit : at the beginning it was), written by people who are shocked by the death of MJ. I just feel like that&#8217;s not enough. I too join the club.</p>
<p>Yesterday I woke up to the news &#8216;MJ died&#8217; on Fox news or something. First thing I did was switching on my laptop &amp; rushing to the interwebz. My twitter feed didn&#8217;t have much info but Twitter search kinda confirmed that I should start to feel upset. Not that I&#8217;m a big fan. But I dunno why the hell I feel so bad that MJ is not any more. I can remember I grew up listening to him. Heard those strange stories about him. My uncle had few albums of MJ which I still can remember the cover art of.</p>
<p>I was upset when people call him a child molester. But I just didn&#8217;t give a shit. Yeah that&#8217;s my kind, &#8220;Just don&#8217;t give a shit&#8221;. But I can&#8217;t stop feeling upset of MJ. Maybe that&#8217;s because he was a legend, an icon &amp; still he went away that way. Maybe I&#8217;m not upset about MJ but the universal truth, &#8220;it all comes to an end&#8221;. MJ&#8217;s death just make it a bit clear I guess. well&#8230; I dunno.</p>
<p>So I hope I&#8217;m in the club, *drumroll* &#8220;MJ ass kissers club&#8221;.</p>
<p>Damn it feels so cool here. But I wonder why the &#8220;sage girl&#8221; is upset about our feelings. We putting on feelings on our blogs which are public, which unfortunately are on kottu, which is sage girl&#8217;s personal feed reader. Indi&#8230; hey buddy please kick me off. Please do that. Sage girl is upset about what we write. And hope others in the club will also get their blogs out of kottu, just to make sage girls reading experience a bit better.</p>
<p>And by the way guys, sage girl also says like this.</p>
<p>&#8220;My blog is mine. I never invited you to read it.&#8221; (<a href="http://theniceblogs.blogspot.com/2009/06/outcast-under-dogs-and-untouchables.html">source</a>. And it&#8217;s not the<a rel="nofollow" href="http://theniceblogs.blogspot.com/2009/06/stop-reading-rehanis-blog.html"> first one</a>)</p>
<p>Now tell me why you put your blog on Kottu? isn&#8217;t it kind of an innocent invitation to other kottu readers to read this? Well.. I like when people read my posts, kottu people too. But unlike sage girl *I don&#8217;t write for Kottu*. So just think why we should get labeled as &#8216;ass kissers&#8217; for being on Kottu? (and stuffing sage girls good read heaven a hell).</p>
<p>Anyway sage girl always manages to eclipse her own thoughts by her own thoughts. Sounds freaky but that&#8217;s the way it is. Defending her own false facts with another bunch of false facts. What got pissed me off of is aiming bloggers who are free to write &amp; free to be on any social aggregator as long as they don&#8217;t harm the community or any terms set by the aggregator so badly. And this not the fucking <a rel="nofollow" href="http://theniceblogs.blogspot.com/2009/06/buddhists-can-eat-meat-muslims-reply-to.html">first time</a>.</p>
<p>I know I&#8217;m trying to put too much light on a small bug. But I don&#8217;t want to see this happened again &amp; again.</p>
<p>PS: I was trying very hard to not use any offensive words (ex: fuck, fucking, shit) coz I&#8217;m practicung to reduce the usage :-S.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanux.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanux.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanux.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanux.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanux.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanux.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanux.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanux.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanux.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanux.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanux.wordpress.com&blog=345680&post=386&subd=chanux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanux.wordpress.com/2009/06/27/join-me-in-mj-ass-kissers-club/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">chanux</media:title>
		</media:content>
	</item>
	</channel>
</rss>