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

<channel>
	<title>Lalit Kapoor</title>
	<atom:link href="http://www.lalitkapoor.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lalitkapoor.com/blog</link>
	<description>Data Analytics &#124; Cloud Computing &#124; Development</description>
	<lastBuildDate>Tue, 24 Aug 2010 23:06:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Simple 2009 DC Crime Data Analysis</title>
		<link>http://www.lalitkapoor.com/blog/2010/08/24/simple-2009-dc-crime-data-analysis/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/08/24/simple-2009-dc-crime-data-analysis/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 22:41:49 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=150</guid>
		<description><![CDATA[Click on the picture!]]></description>
			<content:encoded><![CDATA[<p></p><p>Click on the picture!<br />
<div id="attachment_151" class="wp-caption aligncenter" style="width: 300px">
	<a href="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/08/charts3-cc.png" title="2009 DC Crime Data Analysis" rel="lightbox[150]"><img src="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/08/charts3-cc-300x181.png" alt="2009 DC Crime Data Analysis" title="2009 DC Crime Data Analysis" width="300" height="181" class="size-medium wp-image-151" /></a>
	<p class="wp-caption-text">Analysis of DC's Crime and Weather Data</p>
</div><br />
<div class="wp-caption aligncenter" style="width: 350px">
	<img alt="DC Districts" src="http://mpdc.dc.gov/mpdc/Lib/mpdc/info/districts/img3/district04.jpg" title="Map of The 7 DC Districts from: http://mpdc.dc.gov/mpdc/cwp/view,a,1239,q,543336,mpdcnav_gid,1523,.asp" width="350" height="435" />
	<p class="wp-caption-text">Map of The 7 DC Districts (from: http://mpdc.dc.gov/mpdc/cwp/view,a,1239,q,543336,mpdcnav_gid,1523,.asp)</p>
</div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/08/24/simple-2009-dc-crime-data-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 &#8211; Move Minimize, Maximize, Close Menu Buttons To The Right</title>
		<link>http://www.lalitkapoor.com/blog/2010/03/27/ubuntu-10-04-move-minimize-maximize-close-menu-buttons-to-the-right/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/03/27/ubuntu-10-04-move-minimize-maximize-close-menu-buttons-to-the-right/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 19:21:05 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=139</guid>
		<description><![CDATA[After adding the new themes from Ubuntu 10.04 into my Ubuntu 9.10 installation my top menus shifted to the left side. I prefer that they be on the right side. This is how to do it. Press Alt-F2 type in &#8220;gconf-editor&#8221; click run navigate to apps&#62;metacity&#62;general change button_layout to &#8220;:minimize,maximize,close&#8221; (without the quotes) Before After]]></description>
			<content:encoded><![CDATA[<p></p><div>After <a title="new themes in Ubuntu 10.04" href="http://www.webupd8.org/2010/03/ubuntu-lucid-light-themes-radiance-and.html">adding the new themes</a> from Ubuntu 10.04 into my Ubuntu 9.10 installation my top menus shifted to the left side. I prefer that they be on the right side. This is how to do it.</div>
<ol>
<li>Press Alt-F2</li>
<li>type in &#8220;gconf-editor&#8221;</li>
<li>click run</li>
<li>navigate to apps&gt;metacity&gt;general</li>
<li>change button_layout to &#8220;:minimize,maximize,close&#8221; <em>(without the quotes)</em></li>
</ol>
<p><a title="Ambiance theme with the minimize, maximize, close buttons on the left on the title bar" rel="lightbox[menu]" href="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/03/menu_old.png" title="old menu" rel="lightbox[139]"><img class="aligncenter size-medium wp-image-142" title="old menu" src="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/03/menu_old-300x247.png" alt="" width="300" height="247" /></a></p>
<p style="text-align: center;"><strong>Before</strong></p>
<p style="text-align: center;"><strong><br />
</strong></p>
<p><a title="Ambiance theme with the minimize, maximize, close buttons on the right on the title bar" rel="lightbox[menu]" href="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/03/menu.png" title="menu" rel="lightbox[139]"><img class="aligncenter size-medium wp-image-140" title="menu" src="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/03/menu-300x247.png" alt="" width="300" height="247" /></a></p>
<p style="text-align: center;"><strong>After</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/03/27/ubuntu-10-04-move-minimize-maximize-close-menu-buttons-to-the-right/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 (karmic) &#8211; Installing Cloudera Desktop From The Tarball</title>
		<link>http://www.lalitkapoor.com/blog/2010/03/25/ubuntu-9-10-karmic-installing-cloudera-desktop-from-the-tarball/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/03/25/ubuntu-9-10-karmic-installing-cloudera-desktop-from-the-tarball/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 13:59:18 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=129</guid>
		<description><![CDATA[Download the tarball from: http://archive.cloudera.com/desktop/ sudo apt-get install build-essential libsqlite3-dev libxslt1-dev libxml2-dev python2.6 python2.6-dev python-setuptools tar -zxvf cloudera-desktop-[VERSION].tar.gz make sudo make install sudo /usr/local/cloudera-desktop/bin/supervisor navigate to http://localhost:8088]]></description>
			<content:encoded><![CDATA[<p></p><p>Download the tarball from: <a href="http://archive.cloudera.com/desktop/">http://archive.cloudera.com/desktop/</a></p>
<pre class="brush: bash;">
sudo apt-get install build-essential libsqlite3-dev libxslt1-dev libxml2-dev python2.6 python2.6-dev python-setuptools
tar -zxvf cloudera-desktop-[VERSION].tar.gz
make
sudo make install
sudo /usr/local/cloudera-desktop/bin/supervisor
</pre>
<p>navigate to http://localhost:8088</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/03/25/ubuntu-9-10-karmic-installing-cloudera-desktop-from-the-tarball/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hadoop &amp; NoSQL Jobs on The Rise</title>
		<link>http://www.lalitkapoor.com/blog/2010/02/27/hadoop-nosql-jobs-on-the-rise/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/02/27/hadoop-nosql-jobs-on-the-rise/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 01:01:50 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=113</guid>
		<description><![CDATA[Percentage of Hadoop Jobs Percentage of Growth for Hadoop Jobs Percentage of Growth for NoSQL Jobs]]></description>
			<content:encoded><![CDATA[<p></p><h3><b>Percentage of Hadoop Jobs</b></h3>
<p><img src="http://www.indeed.com/trendgraph/jobgraph.png?q=hadoop" alt="Percentage of Hadoop Jobs" /></p>
<hr />
<h3><b>Percentage of Growth for Hadoop Jobs</b></h3>
<p><img src="http://www.indeed.com/trendgraph/jobgraph.png?q=hadoop&#038;relative=1" alt="Percentage of Growth for Hadoop Jobs" /></p>
<hr />
<h3><b>Percentage of Growth for NoSQL Jobs</b></h3>
<p><img src="http://www.indeed.com/trendgraph/jobgraph.png?q=%22mongodb%22%2C+%22couchdb%22%2C+%22cassandra%22+hadoop%2C+%22voldemort%22&#038;relative=1" alt="Percentage of Growth for NoSQL Databases" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/02/27/hadoop-nosql-jobs-on-the-rise/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Matrix Is Blue</title>
		<link>http://www.lalitkapoor.com/blog/2010/01/20/the-matrix-is-blue/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/01/20/the-matrix-is-blue/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 02:07:39 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=94</guid>
		<description><![CDATA[I got tired of looking at the matrix screensaver, it&#8217;s always green. I felt like changing the color, but there is no option provided to change the color in the preferences. I downloaded the code and made a simple one character change to make the screensaver blue. The following is what I did cd ~/projects [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I got tired of looking at the matrix screensaver, it&#8217;s always green. I felt like changing the color, but there is no option provided to change the color in the preferences. I downloaded the code and made a simple one character change to make the screensaver blue.</p>
<p>The following is what I did</p>
<pre class="brush: bash;">
cd ~/projects
mkdir xscreensaver
cd xscreensaver
sudo apt-get source xscreensaver
sudo apt-get build-dep xscreensaver
cd xscreensaver-5.08/
sudo vim xscreensaver-5.08/hacks/glx/glmatrix.c
</pre>
<p>I changed <strong>g</strong> = 0xFF on line 785 to <strong>b</strong> = 0xFF<br />
save and exit (:wq)</p>
<pre class="brush: bash;">
sudo ./configure
sudo make
sudo cp hacks/glx/glmatrix /usr/lib/xscreensaver/glmatrix
</pre>
<p>Now preview your screensaver to see the results!</p>
<p><a href="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/01/matrix.png" rel="lightbox"><img src="http://www.lalitkapoor.com/blog/wp-content/uploads/2010/01/matrix-300x163.png" alt="blue matrix" title="matrix" width="300" height="163" class="aligncenter size-medium wp-image-103" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/01/20/the-matrix-is-blue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>X11 Forwarding When Issuing: sudo su</title>
		<link>http://www.lalitkapoor.com/blog/2010/01/08/x11-forwarding-when-issuing-sudo-su/</link>
		<comments>http://www.lalitkapoor.com/blog/2010/01/08/x11-forwarding-when-issuing-sudo-su/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 13:36:25 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=71</guid>
		<description><![CDATA[If you have Xming installed and are forwarding X11 with putty you may notice that all is well until you need to run a gui application as the root user (after issuing sudo su). If you just need to run the gui application and don&#8217;t require the entire root environment then issuing a sudo app [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you have Xming installed and are forwarding X11 with putty you may notice that all is well until you need to run a gui application as the root user (after issuing sudo su).</p>
<p>If you just need to run the gui application and don&#8217;t require the entire root environment then issuing a sudo app should launch your application in Xming.</p>
<p>However, if you do require the root environment then follow these steps.</p>
<pre class="brush: bash;">
sudo su
cat /home/your_username/.Xauthority &gt;&gt; /root/.Xauthority
</pre>
<p>or you could do this</p>
<pre class="brush: bash;">
sudo su
su - your_username -c &quot;xauth list&quot; &gt; X11auth
xauth add $(&lt;X11auth)
</pre>
<p>I found this solution here: <a href="http://www.linuxquestions.org/questions/linux-general-1/x11-forwarding-is-broken-after-sudo-su-526150/page2.html" target="_blank">linuxquestions.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2010/01/08/x11-forwarding-when-issuing-sudo-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualization Of My Delicious Bookmarks</title>
		<link>http://www.lalitkapoor.com/blog/2009/11/05/visualization-of-my-delicious-bookmarks/</link>
		<comments>http://www.lalitkapoor.com/blog/2009/11/05/visualization-of-my-delicious-bookmarks/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 05:07:55 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=47</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p></p><div id="attachment_49" class="wp-caption aligncenter" style="width: 300px">
	<a title="powered by http://www.wordle.net" rel="lightbox" href="http://www.lalitkapoor.com/blog/wp-content/uploads/2009/09/wordle.png" title="wordle" rel="lightbox[47]"><img class="size-medium wp-image-49" title="wordle" src="http://www.lalitkapoor.com/blog/wp-content/uploads/2009/09/wordle-300x164.png" alt="http://www.delicious.com/protoolz" width="300" height="164" /></a>
	<p class="wp-caption-text">my delicious tags by http://www.wordle.net</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2009/11/05/visualization-of-my-delicious-bookmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to stop your laptop from giving that high pitch squealing noise</title>
		<link>http://www.lalitkapoor.com/blog/2009/02/06/how-to-stop-your-laptop-from-giving-that-high-pitch-squealing-noise/</link>
		<comments>http://www.lalitkapoor.com/blog/2009/02/06/how-to-stop-your-laptop-from-giving-that-high-pitch-squealing-noise/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 07:51:36 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=27</guid>
		<description><![CDATA[Does your laptop squeal? Is it a nasty high pitch noise that occurs when you are running on battery power. The solution: Download Rightmark CPU Clock Utility: http://cpu.rightmark.org/ Install it Go to the advanced CPU settings and click on the Chipset Button Uncheck Enable popdown and popup Apply to save Be done with it.]]></description>
			<content:encoded><![CDATA[<p></p><p>Does your laptop squeal? Is it a nasty high pitch noise that occurs when you are running on battery power.</p>
<p><strong>The solution:</strong></p>
<ul>
<li>Download Rightmark CPU Clock Utility: <a title="http://cpu.rightmark.org/" href="http://cpu.rightmark.org/">http://cpu.rightmark.org/</a></li>
<li>Install it</li>
<li>Go to the advanced CPU settings and click on the Chipset Button</li>
<li>Uncheck Enable popdown and popup</li>
<li>Apply to save</li>
<li>Be done with it.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2009/02/06/how-to-stop-your-laptop-from-giving-that-high-pitch-squealing-noise/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python Won&#8217;t Take Command Line Arguments &#8211; Windows Vista</title>
		<link>http://www.lalitkapoor.com/blog/2008/12/21/python-wont-take-command-line-arguments-windows-vista/</link>
		<comments>http://www.lalitkapoor.com/blog/2008/12/21/python-wont-take-command-line-arguments-windows-vista/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 15:29:56 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=29</guid>
		<description><![CDATA[If you use python via the command line in Windows vista, you&#8217;ll notice that it won&#8217;t accept command line arguments if you run a script. For example this won&#8217;t work: python myscript.py argument1 argument2 Your python script won&#8217;t get the arguments. The fix for Windows Vista is: Get an application called: File Type Doctor Find [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you use python via the command line in Windows vista, you&#8217;ll notice that it won&#8217;t accept command line arguments if you run a script.  For example this won&#8217;t work: python myscript.py argument1 argument2  Your python script won&#8217;t get the arguments.  The fix for Windows Vista is:</p>
<ol>
<li>Get an application called: File Type Doctor</li>
<li>Find the .py extension in the application</li>
<li>Edit the Open action (add it if it doesn&#8217;t exist)</li>
<li>Select the right python.exe file for &quot;the application to carry out this action&quot;</li>
<li>put this in for the command line arguments (extactly as show, with the quotations): &quot;%1&quot; %*</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2008/12/21/python-wont-take-command-line-arguments-windows-vista/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server &amp; Desktop Autologin</title>
		<link>http://www.lalitkapoor.com/blog/2008/06/30/ubuntu-server-desktop-autologin/</link>
		<comments>http://www.lalitkapoor.com/blog/2008/06/30/ubuntu-server-desktop-autologin/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:36:30 +0000</pubDate>
		<dc:creator>Lalit Kapoor</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lalitkapoor.com/blog/?p=26</guid>
		<description><![CDATA[To autologin to Ubuntu Server you will need to get mingetty sudo apt-get intall mingetty Then you will want to edit /etc/event.d/tty1 and change the following: exec /sbin/getty 38400 tty1 to exec /sbin/mingetty &#8211;autologin your_username tty1 &#160; To autologin to Ubuntu Desktop do the following sudo gdmsetup click on the Security tab check Enable Automatic [...]]]></description>
			<content:encoded><![CDATA[<p></p><div>To autologin to <strong>Ubuntu Server</strong> you will need to get mingetty</p>
<div class="codebox">
<ul>
<li>sudo apt-get intall mingetty</li>
<li>Then you will want to edit /etc/event.d/tty1 and change the following: exec /sbin/getty 38400 tty1 <strong>to</strong> exec /sbin/mingetty &#8211;autologin <em>your_username</em> tty1</li>
</ul>
</div>
</div>
<div>&nbsp;</div>
<div>To autologin to <strong>Ubuntu Desktop</strong> do the following</div>
<div class="codebox">
<ul>
<li>sudo gdmsetup</li>
<li>click on the Security tab</li>
<li>check <em>Enable Automatic Login</em></li>
<li>Select the username from the drop down list and click <em>Close</em></li>
</ul>
</div>
<p><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitkapoor.com/blog/2008/06/30/ubuntu-server-desktop-autologin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
