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

<channel>
	<title>Coherent Blahs</title>
	<atom:link href="http://indiangeek.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://indiangeek.com/blog</link>
	<description>Scribblings of a (mostly) empty mind</description>
	<pubDate>Tue, 08 Jun 2010 22:04:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Iphone 4G: What&#8217;s New?</title>
		<link>http://indiangeek.com/blog/?p=154</link>
		<comments>http://indiangeek.com/blog/?p=154#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:04:14 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[android]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=154</guid>
		<description><![CDATA[So, officially, the iPhone 4G is released, and according to Jobs, &#8220;it&#8217;s theÂ biggest leap since the original iPhone&#8221;. But, where&#8217;s the beef?
Let&#8217;s see what iphone 4G brings us EXTRA:
1. Front facing Camera and videoconferencing: Well, it&#8217;s a neat feature, but not new. Android based Evo 4G already has a front facing camera, and Android has [...]]]></description>
			<content:encoded><![CDATA[<p>So, officially, the <a class="zem_slink" title="iPhone" rel="homepage" href="http://www.apple.com/iphone">iPhone</a> 4G is released, and according to Jobs, &#8220;it&#8217;s theÂ biggest leap since the original iPhone&#8221;. But, where&#8217;s the beef?</p>
<p>Let&#8217;s see what iphone 4G brings us EXTRA:</p>
<p>1. Front facing Camera and videoconferencing: Well, it&#8217;s a neat feature, but not new. Android based Evo 4G already has a front facing camera, and Android has been supporting video chat for quite some time anyway.</p>
<p>2.Â External buttons, volume up and down, mute, front facing camera: Finally, FINALLY <a class="zem_slink" title="Apple" rel="homepage" href="http://www.apple.com">Apple</a> realizes that that ALL soft buttons is not the best idea after all.</p>
<p>3. Â Two mics for active noise cancellation: Heck, <a class="zem_slink" title="HTC" rel="homepage" href="http://www.htc.com">HTC</a> had it for a long time. Even almost-obsolete <a class="zem_slink" title="Nexus One" rel="wikipedia" href="http://en.wikipedia.org/wiki/Nexus_One">Nexus 1</a> has this.</p>
<p>4. Gyroscope: Yes, this is definitely a new addition, and will be welcome by the gaming world. However, given it&#8217;s based on third party hardware, it&#8217;ll probably be on other phones within weeks. This is also an incremental addition, not really a &#8220;leap&#8221; I&#8217;d say.</p>
<p>5: Â Retina Display: This, I think, is iPhone 4G&#8217;s biggest addition. But again, being third party, and hardware based, it&#8217;ll probably show up on other phones within weeks. This is also just an incremental addition.</p>
<p>On the software front, most of the stuff was declared with the iOS release, and <a class="zem_slink" title="Google" rel="homepage" href="http://google.com">Google</a> had already upped the ante. Multitasking, Wallpapers were already there in Android.</p>
<p>So, let me ask again, where&#8217;s the beef&#8230; ahem&#8230; the leap?</p>
<p>Personally, I had expected <a class="zem_slink" title="WWDC" rel="homepage" href="http://developer.apple.com/wwdc/">WWDC</a> to give us something better. Seems like Apple is now playing the catchup game, trying to sell front facing camera, multitasking etc. which have been on Android phones for some time now.</p>
<p>There are no <a href="http://news.yahoo.com/s/ytech_gadg/20100520/tc_ytech_gadg/ytech_gadg_tc2168">MiFi mobile hotspots</a> or free GPS navigation, Â features already present in Android. Heck, with Froyo being deployed, Android users can now play all the games at <a class="zem_slink" title="Kongregate" rel="homepage" href="http://kongregate.com">Kongregate</a>, watch all the videos (and not just the 75% of videos that Jobs wants iPhone users to watch), and do what THEY want, not what Jobs wants for them.</p>
<h6 class="zemanta-related-title" style="font-size:1em;">Related articles:</h6>
<p><span style="font-weight: normal;"><a href="http://www.wired.com/gadgetlab/2010/06/iphone-4-vs-htc-evo-4g/">Showdown: iPhone 4 vs. HTC Evo 4G</a> (wired.com)</span></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/45b6fc4a-b993-4179-a365-9f9f3d2c668f/"><img class="zemanta-pixie-img" style="border:none;float:right" src="http://img.zemanta.com/reblog_e.png?x-id=45b6fc4a-b993-4179-a365-9f9f3d2c668f" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=154</wfw:commentRss>
		</item>
		<item>
		<title>Choices and bubble sort</title>
		<link>http://indiangeek.com/blog/?p=149</link>
		<comments>http://indiangeek.com/blog/?p=149#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:21:06 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[brain]]></category>

		<category><![CDATA[NPR]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=149</guid>
		<description><![CDATA[We all have faced the dilemma of too many choices. From cereal to cellphones, choices are almost endless.
Jonah Lehrer of Frontal cortex had a piece in Science Friday about how our brain makes a decision given choices.  The problem, however, is that our brain is only capable of holding seven such choices at a single [...]]]></description>
			<content:encoded><![CDATA[<p>We all have faced the dilemma of too many choices. From cereal to cellphones, choices are almost endless.<br />
Jonah Lehrer of <a href="http://scienceblogs.com/cortex/" target="_blank">Frontal cortex</a> had a piece in <a href="http://sciencefriday.com/" target="_blank">Science Friday</a> about how our brain makes a decision given choices.  The problem, however, is that our brain is only capable of holding seven such choices at a single point in time. And an even bigger problem is &#8230; advertisers know it.<br />
Now seven is far from the number of choices available to a modern day man. Just look at the menu at a full service restaurant.  It wasn&#8217;t a necessity when we were primates. But, we haven&#8217;t evolved fast enough to handle the choices offered to us today.<br />
So, how do we beat it? How do we beat the cache size of a mere seven entries?<br />
At school, we learnt a concept called <a class="zem_slink" title="Bubble sort" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bubble_sort">bubble sort</a>. The idea was, to find the largest (or second largest, or third) number in a list of numbers, we use an algorithm, where we need to look at only two numbers at a time, and compare them. Perfect!! Two, yes, that I can handle just fine.<br />
To apply this in a real world scenario, this is what we need to do&#8230;.<br />
When presented with a plethora of choices, do not engage the brain to choose one among many. Instead, select the first TWO, only two, and make a selection. Once you have selected one, discard any thoughts about the other. Pick up the next and repeat the comparison process.<br />
This allows you to worry about only two items at a time, still comes up with the best item.<br />
Give it a shot next time when you feel overwhelmed by choices.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/9c1e6aca-4022-46d8-b7cf-e5d21615701c/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=9c1e6aca-4022-46d8-b7cf-e5d21615701c" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=149</wfw:commentRss>
		</item>
		<item>
		<title>Canon MX860 on Linux</title>
		<link>http://indiangeek.com/blog/?p=146</link>
		<comments>http://indiangeek.com/blog/?p=146#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:12:58 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Canon]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=146</guid>
		<description><![CDATA[After my last Canon i960 broke down, got a Canon MX860 all-in-one. The first hiccup was finding the drivers. Â There was no supported driver available for this at Canon USA support site. Strangely, there was a supported driver for Linux available at Canon Australia site.
Although the driver allowed me, with a bit of tweaking, both [...]]]></description>
			<content:encoded><![CDATA[<p>After my last <a class="zem_slink" title="Canon (company)" rel="homepage" href="http://www.canon.com/">Canon</a> i960 broke down, got a <a href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;fcategoryid=2613&amp;modelid=18121" target="_blank">Canon MX860</a> all-in-one. The first hiccup was finding the drivers. Â There was no supported driver available for this at Canon USA support site. Strangely, there was a supported driver for <a class="zem_slink" title="Linux" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux">Linux</a> available at <a title="MX860 driver @ Canon Australia" href="http://support-au.canon.com.au/contents/AU/EN/0100187702.html" target="_blank">Canon Australia site</a>.</p>
<p>Although the driver allowed me, with a bit of tweaking, both printing and scanning over wired and wireless connections, the print dialogs didn&#8217;t have all the necessary config knobs. This is due to missing functionality in the <a class="zem_slink" title="PostScript Printer Description" rel="wikipedia" href="http://en.wikipedia.org/wiki/PostScript_Printer_Description">PPD file</a> for the printer that has been distributed with the driver.</p>
<p>Google to the rescue. I found <a href="http://forums.linux-foundation.org/read.php?25,9006" target="_blank">this discussio</a>n with the solution:</p>
<p><span style="font-family: mceinline;"><br />
</span></p>
<p><code><span style="font-family: mceinline;"> </span></code></p>
<p><code></p>
<pre><em><span style="font-family: mceinline;">FYI, add this to /etc/cups/ppd/Canon-MX860.ppdÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">and You can set resolution, quality and greyscaleÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">snip -------Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">
</span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*OpenUI *Resolution/Output Resolution: PickOneÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*DefaultResolution: 600dpiÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*Resolution 600dpi/600 dpi: "&lt;&lt;/HWResolution[600 600]&gt;&gt;setpagedevice"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*Resolution 1200dpi/1200 dpi: "&lt;&lt;/HWResolution[1200 1200]&gt;&gt;setpagedevice"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*Resolution 2400dpi/2400 dpi: "&lt;&lt;/HWResolution[2400 2400]&gt;&gt;setpagedevice"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CloseUI: *ResolutionÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">
</span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*OpenUI *CNQuality/Quality: PickOneÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*DefaultCNQuality: 3Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNQuality 2/High: "2"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNQuality 3/Normal: "3"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNQuality 4/Standard: "4"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNQuality 5/Economy: "5"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CloseUI: *CNQualityÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">
</span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*OpenUI *CNGrayscale/Grayscale: PickOneÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*DefaultCNGrayscale: falseÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNGrayscale false/Off: "false"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CNGrayscale true/On: "true"Â </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">*CloseUI: *CNGrayscaleÂ </span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">
</span></em><span style="font-family: mceinline;">

</span><em><span style="font-family: mceinline;">snip -----Â </span></em><span style="font-family: mceinline;">
</span>
<span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"><span style="line-height: 19px; white-space: normal;"><span style="font-family: 'Courier New', monospace; font-size: small;"><span style="line-height: 18px; white-space: pre;">
</span></span></span></span></pre>
<p></code></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/30cf7835-3c93-460e-a594-ecad6953472b/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=30cf7835-3c93-460e-a594-ecad6953472b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=146</wfw:commentRss>
		</item>
		<item>
		<title>Google&#8217;s Chrome browser (with Java induced hiccup)</title>
		<link>http://indiangeek.com/blog/?p=139</link>
		<comments>http://indiangeek.com/blog/?p=139#comments</comments>
		<pubDate>Wed, 09 Dec 2009 06:56:50 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Tips n Tricks]]></category>

		<category><![CDATA[chrome]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=139</guid>
		<description><![CDATA[I had some problems with the newer releases of Firefox. And Google just enabled extensions for Chrome browser. Time to switch. And boy, am I happy!! It renders the websites much MUCH faster than Firefox, imported all my bookmarks, and most importantly, search keywords, from Firefox.
I did face one problem though. On my Ubuntu 8.04 [...]]]></description>
			<content:encoded><![CDATA[<p>I had some problems with the newer releases of <a class="zem_slink" title="Firefox" rel="homepage" href="http://www.mozilla.com/en-US/firefox/">Firefox</a>. And Google just enabled extensions for <a class="zem_slink" title="Google Chrome" rel="homepage" href="http://www.google.com/chrome">Chrome</a> browser. Time to switch. And boy, am I happy!! It renders the websites much MUCH faster than Firefox, imported all my bookmarks, and most importantly, search keywords, from Firefox.</p>
<p>I did face one problem though. On my <a class="zem_slink" title="Ubuntu (operating system)" rel="homepage" href="http://www.ubuntu.com/">Ubuntu</a> 8.04 LTS laptop, it didn&#8217;t support <a class="zem_slink" title="Java (programming language)" rel="homepage" href="http://java.sun.com">Java</a> out of the box. Flash worked fine, but no Java.</p>
<p>However, found the fix pretty easily on the web. You need to do the following if you are facing this problem:</p>
<p><span style="font-family: mceinline;">sudo mkdir /opt/google/chrome/plugins</span></p>
<p><span style="font-family: mceinline;">cdÂ /opt/google/chrome/plugins</span></p>
<p><span style="font-family: mceinline;">sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so</span></p>
<div>After this, restart Chrome, and voila, Java is working fine.</div>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/c553e221-99d5-4228-ad3c-d1133157013b/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=c553e221-99d5-4228-ad3c-d1133157013b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=139</wfw:commentRss>
		</item>
		<item>
		<title>Email filter to Google Talk message</title>
		<link>http://indiangeek.com/blog/?p=121</link>
		<comments>http://indiangeek.com/blog/?p=121#comments</comments>
		<pubDate>Fri, 27 Nov 2009 07:14:12 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Tips n Tricks]]></category>

		<category><![CDATA[android]]></category>

		<category><![CDATA[gtalk]]></category>

		<category><![CDATA[kmail]]></category>

		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=121</guid>
		<description><![CDATA[Not all Emails are made equal. And some have the priority that they cannot wait.Â  Given that, I was looking for a way to filter out mails, and get a quick notification on some high priority Emails.
Since I have an Android phone, the best way for me to get notified is either through SMS, or [...]]]></description>
			<content:encoded><![CDATA[<p>Not all Emails are made equal. And some have the priority that they cannot wait.Â  Given that, I was looking for a way to filter out mails, and get a quick notification on some high priority Emails.<br />
Since I have an Android phone, the best way for me to get notified is either through SMS, or through <a href="http://www.google.com/talk/">Google Talk</a>. SMS costs money. So, I wanted the notification to come over GTalk.<br />
My work Email resides on an Exchange server, and it has no way to filter an Email and generate a GTalk notification from it. So,  I had to look for some client side solution.<br />
Looking around the web, I found GTalk uses <a href="http://www.jabber.com">jabber</a> as the underlying protocol, and I can use <a href="http://xmpp.org/">xmpp</a> libraries to communicate with it.<br />
<span id="more-121"></span><br />
So I coded up a small, ugly, hardcoded Perl script to get the job done.</p>
<pre><a name="line1"> 1</a> <span style="color: #444444;">#!/usr/bin/perl
<a name="line2"> 2</a> </span><strong>use</strong> Net::XMPP;

<a name="line3"> 3</a>
<a name="line4"> 4</a> <strong>my</strong> <span style="color: #2040a0;">$username</span> = <span style="color: #008000;">'uuuuuuuu'</span>;
<a name="line5"> 5</a> <strong>my</strong> <span style="color: #2040a0;">$password</span> = <span style="color: #008000;">'pppppppp'</span>;

<a name="line6"> 6</a>
<a name="line7"> 7</a> <strong>my</strong> <span style="color: #2040a0;">$resource</span> = <span style="color: #008000;">'MailToTalk'</span>;
<a name="line8"> 8</a> <strong>my</strong> <span style="color: #2040a0;">$hostname</span> = <span style="color: #008000;">'talk.google.com'</span>;

<a name="line9"> 9</a> <strong>my</strong> <span style="color: #2040a0;">$port</span> = 5222;
<a name="line10">10</a> <strong>my</strong> <span style="color: #2040a0;">$componentname</span> = <span style="color: #008000;">'gmail.com'</span>;

<a name="line11">11</a> <strong>my</strong> <span style="color: #2040a0;">$connectiontype</span> = <span style="color: #008000;">'tcpip'</span>;
<a name="line12">12</a> <strong>my</strong> <span style="color: #2040a0;">$tls</span> = 1;
<a name="line13">13</a> <strong>my</strong> <span style="color: #2040a0;">$msg</span> = <span style="color: #2040a0;">$ARGV</span><span style="color: #4444ff;"><strong>[</strong></span>0<span style="color: #4444ff;"><strong>]</strong></span>;

<a name="line14">14</a>
<a name="line15">15</a> <span style="color: #444444;"># Connect to Google Talk
<a name="line16">16</a> </span><strong>my</strong> <span style="color: #2040a0;">$Client</span> = <strong>new</strong> Net::XMPP::Client<span style="color: #4444ff;"><strong>(</strong></span><span style="color: #4444ff;"><strong>)</strong></span>;

<a name="line17">17</a> <span style="color: #2040a0;">$Client</span>-&gt;Connect<span style="color: #4444ff;"><strong>(</strong></span>   hostname =&gt; <span style="color: #2040a0;">$hostname</span>,
<a name="line18">18</a>                     port =&gt; <span style="color: #2040a0;">$port</span>,

<a name="line19">19</a>                     componentname =&gt; <span style="color: #2040a0;">$componentname</span>,
<a name="line20">20</a>                     connectiontype =&gt; <span style="color: #2040a0;">$connectiontype</span>,
<a name="line21">21</a>                     tls =&gt; <span style="color: #2040a0;">$tls</span> <span style="color: #4444ff;"><strong>)</strong></span>;

<a name="line22">22</a> <strong>my</strong> <span style="color: #2040a0;">$sid</span> = <span style="color: #2040a0;">$Client</span>-&gt;<span style="color: #4444ff;"><strong>{</strong></span>SESSION<span style="color: #4444ff;"><strong>}</strong></span><span style="color: #4444ff;"><strong>{</strong></span>id<span style="color: #4444ff;"><strong>}</strong></span>;
<a name="line23">23</a> <span style="color: #2040a0;">$Client</span>-&gt;<span style="color: #4444ff;"><strong>{</strong></span>STREAM<span style="color: #4444ff;"><strong>}</strong></span>-&gt;<span style="color: #4444ff;"><strong>{</strong></span>SIDS<span style="color: #4444ff;"><strong>}</strong></span>-&gt;<span style="color: #4444ff;"><strong>{</strong></span><span style="color: #2040a0;">$sid</span><span style="color: #4444ff;"><strong>}</strong></span>-&gt;<span style="color: #4444ff;"><strong>{</strong></span>hostname<span style="color: #4444ff;"><strong>}</strong></span> = <span style="color: #2040a0;">$componentname</span>;

<a name="line24">24</a> <span style="color: #2040a0;">$Client</span>-&gt;AuthSend<span style="color: #4444ff;"><strong>(</strong></span>  username =&gt; <span style="color: #2040a0;">$username</span>,
<a name="line25">25</a>                     password =&gt; <span style="color: #2040a0;">$password</span>,

<a name="line26">26</a>                     resource =&gt; <span style="color: #2040a0;">$resource</span> <span style="color: #4444ff;"><strong>)</strong></span>;
<a name="line27">27</a>
<a name="line28">28</a> <span style="color: #a52a2a;"><strong>print</strong></span> <span style="color: #008000;">"Sending <span style="color: #2040a0;">$msg</span>"</span>;

<a name="line29">29</a> <strong>my</strong> <span style="color: #2040a0;">$ret</span> = <span style="color: #2040a0;">$Client</span>-&gt;MessageSend<span style="color: #4444ff;"><strong>(</strong></span>
<a name="line30">30</a>                         to =&gt;<span style="color: #008000;">"<span style="color: #2040a0;">$username</span><span style="color: #77dd77;">\@</span>gmail.com"</span>, body=&gt; <span style="color: #2040a0;">$msg</span>,

<a name="line31">31</a>                         resource =&gt; <span style="color: #2040a0;">$resource</span><span style="color: #4444ff;"><strong>)</strong></span>;
<a name="line32">32</a> <span style="color: #2040a0;">$Client</span>-&gt;Disconnect<span style="color: #4444ff;"><strong>(</strong></span><span style="color: #4444ff;"><strong>)</strong></span>;
<a name="line33">33</a> <strong>exit</strong><span style="color: #4444ff;"><strong>(</strong></span><span style="color: #4444ff;"><strong>)</strong></span>;</pre>
<p>Replace uuuuuuuu with your Google username and pppppppp with your Google password. The Perl script takes a string as input, and sends it to the user&#8217;s Google Talk account as an instant message. You must have Perl Net-XMPP installed in your system.</p>
<p>Once you have tested the script, it can be hooked up to a Mail client filter. The key here is, your mail client should be able to execute a native program as part of the filtering action.</p>
<p>I use <a href="http://userbase.kde.org/Kmail">KMail</a> as my primary mail client, and it does have a way to do this:</p>
<div id="attachment_134" class="wp-caption aligncenter" style="width: 530px"><a href="http://indiangeek.com/blog/wp-content/uploads/2009/11/kmail_filter1.jpg"><img class="size-full wp-image-134" title="KMail Filter" src="http://indiangeek.com/blog/wp-content/uploads/2009/11/kmail_filter1.jpg" alt="KMail Filter Configuration" width="520" height="451" /></a><p class="wp-caption-text">KMail Filter Configuration</p></div>
<p>I&#8217;ve used this feature on Evolution Mail, but haven&#8217;t seen it on Mozilla Thunderbird.</p>
<p>With these two hooked up, it&#8217;s possible to get a Google Talk notification whenever that important Email arrives.</p>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=121</wfw:commentRss>
		</item>
		<item>
		<title>First post from Android</title>
		<link>http://indiangeek.com/blog/?p=120</link>
		<comments>http://indiangeek.com/blog/?p=120#comments</comments>
		<pubDate>Sat, 10 Oct 2009 06:48:53 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=120</guid>
		<description><![CDATA[I installed the wpTogo app on my phone, and now mobile blogging is a reality. This is my first post from Android!!!
So far, I&#8217;m loving the phone. It&#8217;s really really convenient to be connected all the time. Exchange sync with pushmail worked flawlessly. I&#8217;m getting the hang of the onscreen keyboard too.
T-Mobile dropped the donut [...]]]></description>
			<content:encoded><![CDATA[<p>I installed the wpTogo app on my phone, and now mobile blogging is a reality. This is my first post from Android!!!<br />
So far, I&#8217;m loving the phone. It&#8217;s really really convenient to be connected all the time. Exchange sync with pushmail worked flawlessly. I&#8217;m getting the hang of the onscreen keyboard too.<br />
T-Mobile dropped the donut update, and the performance is even better now.</p>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=120</wfw:commentRss>
		</item>
		<item>
		<title>To the Android world</title>
		<link>http://indiangeek.com/blog/?p=113</link>
		<comments>http://indiangeek.com/blog/?p=113#comments</comments>
		<pubDate>Fri, 02 Oct 2009 06:40:36 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[mytouch]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=113</guid>
		<description><![CDATA[
YES!! I finally took the plunge and got the TMobile Mytouch (HTC Magic) handset running Android. So far am quite impressed by the handset, not so much with the T-Mobile service.
I still have my AT&#38;T set, and at home, T-Mobile call quality is much better than AT&#38;T. However, at my work at Juniper Networks, T-Mobile [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Mytouch 3G Black" src="http://clicktechnews.com/wp-content/uploads/2009/06/t-mobile-mytouch-3g-black.jpg" alt="" width="149" height="315" /></p>
<p>YES!! I finally took the plunge and got the <a href="http://www.t-mobilemytouch.com" target="_blank">TMobile Mytouch</a> (HTC Magic) handset running <a href="http://www.android.com" target="_blank">Android</a>. So far am quite impressed by the handset, not so much with the T-Mobile service.</p>
<p>I still have my AT&amp;T set, and at home, T-Mobile call quality is much better than AT&amp;T. However, at my work at Juniper Networks, T-Mobile coverage is pretty bad. Inside the building, the data coverage always falls back to EDGE instead of 3G.</p>
<p>The silver lining is&#8230; TMo is setting up a tower very near the work building. So, hopefully this problem will go away.</p>
<p>Coming back to the handset, I like the feel of it in hand over Iphone (which feels much larger and difficult to operate using one hand).Â  The keyboard is a little sluggish, but hopefully that will be fixed with the Donut release come tomorrow. The phone looks super cool. I&#8217;m still getting used to all the features.</p>
<p>Apps that I added so far are:</p>
<li><a href="http://www.geodelic.com/sherpa/" target="_blank">Sherpa</a></li>
<li>Stocks</li>
<li><a href="http://weloveastrid.com/" target="_blank">Astrid Tasks</a></li>
<li>USA Today</li>
<li><a href="http://labyrinth.codify.se/" target="_blank">Labyrith Lite</a> (Game)</li>
<li><a href="http://listen.googlelabs.com/" target="_blank">Google Listen</a></li>
<li><a href="http://danroundhill.com/wptogo/" target="_blank">wpToGo</a> (for on-the-go blogging)</li>
<p>Will cover some of them in later posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=113</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft is putting Ads for Bing at Google?</title>
		<link>http://indiangeek.com/blog/?p=108</link>
		<comments>http://indiangeek.com/blog/?p=108#comments</comments>
		<pubDate>Sat, 29 Aug 2009 06:35:56 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[bing]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=108</guid>
		<description><![CDATA[Now, this is really weird. I was searching for one place to get the list of all the states so that I don&#8217;t have to type it up for something I&#8217;m writing, and look what I found.

Look at the Sponsored Link section. Bing is putting Ads on Google!!! Huh!!!
]]></description>
			<content:encoded><![CDATA[<p>Now, this is really weird. I was searching for one place to get the list of all the states so that I don&#8217;t have to type it up for something I&#8217;m writing, and look what I found.</p>
<p><a href="http://indiangeek.com/blog/wp-content/uploads/2009/08/bing_ad_google.jpg"><img class="aligncenter size-full wp-image-109" title="Ad of Bing on Google search" src="http://indiangeek.com/blog/wp-content/uploads/2009/08/bing_ad_google.jpg" alt="Ad of Bing on Google search" width="575" height="321" /></a></p>
<p>Look at the Sponsored Link section. Bing is putting Ads on Google!!! Huh!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=108</wfw:commentRss>
		</item>
		<item>
		<title>T-Mobile Mytouch 3g at Costco</title>
		<link>http://indiangeek.com/blog/?p=103</link>
		<comments>http://indiangeek.com/blog/?p=103#comments</comments>
		<pubDate>Thu, 30 Jul 2009 07:13:32 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[mytouch]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=103</guid>
		<description><![CDATA[I just got the Costco Magazine, and it clearly mentions that Mytouch 3G will be available in-store from August 5th. Even better, they will give you 35$ service credit.
Here is the ad from Costco Magazine:
]]></description>
			<content:encoded><![CDATA[<p>I just got the Costco Magazine, and it clearly mentions that Mytouch 3G will be available in-store from August 5th. Even better, they will give you 35$ service credit.</p>
<p>Here is the ad from Costco Magazine:</p>
<div id="attachment_105" class="wp-caption aligncenter" style="width: 586px"><a href="http://indiangeek.com/blog/wp-content/uploads/2009/07/mytouch_costco.jpg"><img class="size-full wp-image-105" title="Mytouch at costco" src="http://indiangeek.com/blog/wp-content/uploads/2009/07/mytouch_costco.jpg" alt="Mytouch at costco" width="576" height="393" /></a><p class="wp-caption-text">Mytouch at costco</p></div>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=103</wfw:commentRss>
		</item>
		<item>
		<title>XKCD on Microsoft Windows File copy</title>
		<link>http://indiangeek.com/blog/?p=100</link>
		<comments>http://indiangeek.com/blog/?p=100#comments</comments>
		<pubDate>Mon, 20 Jul 2009 21:47:31 +0000</pubDate>
		<dc:creator>Indiangeek</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://indiangeek.com/blog/?p=100</guid>
		<description><![CDATA[This was too good to pass:
]]></description>
			<content:encoded><![CDATA[<p>This was too good to pass:</p>
<a href="http://xkcd.com/612/"><img title="XKCD on Windows File Copy" src="http://imgs.xkcd.com/comics/estimation.png" alt="XKCD on Windows File Copy" width="297" height="335" /></a>
]]></content:encoded>
			<wfw:commentRss>http://indiangeek.com/blog/?feed=rss2&amp;p=100</wfw:commentRss>
		</item>
	</channel>
</rss>
