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

<channel>
	<title>Meeting of Minds</title>
	<atom:link href="http://blog.rajasekharan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajasekharan.com</link>
	<description>And this too shall pass...</description>
	<pubDate>Thu, 18 Dec 2008 18:41:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Git Fast Forward</title>
		<link>http://blog.rajasekharan.com/2008/12/18/git-fast-forward/</link>
		<comments>http://blog.rajasekharan.com/2008/12/18/git-fast-forward/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 18:40:09 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

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

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=103</guid>
		<description><![CDATA[&#62;git branch -a
* development
mylocal-branch
origin/development
&#62;git status
# On branch development
nothing to commit (working directory clean)
&#62;git merge mylocal-branch (you want to merge from mylocal-branch to development branch )
&#62; git push &#60;repository &#124; origin&#62; development
Works if the remote branch &#8216;development&#8217; has no simultaneous commits from a co-worker, say.
But fails with the following messages if there were simultaneous commits on [...]]]></description>
			<content:encoded><![CDATA[<p>&gt;git branch -a</p>
<p>* development</p>
<p>mylocal-branch</p>
<p>origin/development</p>
<p>&gt;git status</p>
<p># On branch development<br />
nothing to commit (working directory clean)<br />
&gt;git merge mylocal-branch (you want to merge from mylocal-branch to development branch )</p>
<p>&gt; git push &lt;repository | origin&gt; development</p>
<p>Works if the remote branch &#8216;development&#8217; has no simultaneous commits from a co-worker, say.</p>
<p>But fails with the following messages if there were simultaneous commits on the remote branch &#8216;development&#8217;</p>
<p>! [rejected]        development -&gt; development (non-fast forward)<br />
error: failed to push some refs to &#8216;&lt;your repository name&gt;&#8217;</p>
<p>Here is how to fix this scenario,</p>
<p>&gt; git pull &lt;repository | origin&gt; +development:development</p>
<p>The &#8216;+&#8217; option fast forwards the local &#8216;development&#8217; branch to the remote &#8216;development&#8217; branch</p>
<p>&gt; git merge mylocal-branch</p>
<p>At this point you have changes from the remote and local &#8216;development&#8217; branches merged</p>
<p>&gt; git push &lt;repository | origin&gt; development</p>
<p>The changes were now pushed to the repository without being rejected. This is one scenario where you can use fast forward to merge changes and bring local and remote branches upto date.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/12/18/git-fast-forward/feed/</wfw:commentRss>
		</item>
		<item>
		<title>newline characters in PHP error log or debug output</title>
		<link>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/</link>
		<comments>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 23:22:42 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[PHP]]></category>

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

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

		<category><![CDATA[PHP Programming]]></category>

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=100</guid>
		<description><![CDATA[There is a PHP Predefined constant PHP_EOL that allows you to print a newline character if you are running php CLI or if you are outputting text to an error log file.
Apparently, it is also cross platform compatible.
For a long time I was using print statements to throw debug output and had a hard time [...]]]></description>
			<content:encoded><![CDATA[<p>There is a PHP Predefined constant <a title="PHP Predefined constants" href="http://us3.php.net/manual/en/reserved.constants.php" target="_blank">PHP_EOL</a> that allows you to print a newline character if you are running php CLI or if you are outputting text to an error log file.</p>
<p>Apparently, it is also cross platform <a title="PHP EOL -- When to use..." href="http://stackoverflow.com/questions/128560/when-do-i-use-the-php-constant-phpeol" target="_blank">compatible</a>.</p>
<p>For a long time I was using print statements to throw debug output and had a hard time reading the blob of text output that was getting spit out.</p>
<p>Now my log output and debug output are much more readable <img src='http://blog.rajasekharan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/11/11/newline-characters-in-php-error-log-or-debug-output/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some useful and common regular expressions (regex)</title>
		<link>http://blog.rajasekharan.com/2008/10/25/some-useful-and-common-regular-expressions-regex/</link>
		<comments>http://blog.rajasekharan.com/2008/10/25/some-useful-and-common-regular-expressions-regex/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 13:25:01 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=97</guid>
		<description><![CDATA[Regex for URI
 var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;
]]></description>
			<content:encoded><![CDATA[<p>Regex for URI</p>
<pre> var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/10/25/some-useful-and-common-regular-expressions-regex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8221; Don&#8217;t miss this one! &#8220;</title>
		<link>http://blog.rajasekharan.com/2008/10/23/dont-miss-this-one/</link>
		<comments>http://blog.rajasekharan.com/2008/10/23/dont-miss-this-one/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 22:21:01 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[funny ad]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=93</guid>
		<description><![CDATA[While waiting for my car to be fixed at the dealership, I was browsing through the day&#8217;s local newspaper.
This ad on the business section of the paper caught my eye,
&#8220;Great Minds Gathering on Oct 7 - Don&#8217;t miss it. Today&#8217;s date Oct 23 2008.&#8221;
With all the doom and gloom, market crashes and poor earnings reports, [...]]]></description>
			<content:encoded><![CDATA[<p>While waiting for my car to be fixed at the dealership, I was browsing through the day&#8217;s local newspaper.</p>
<p>This ad on the business section of the paper caught my eye,</p>
<p>&#8220;Great Minds Gathering on Oct 7 - Don&#8217;t miss it. Today&#8217;s date Oct 23 2008.&#8221;</p>
<div id="attachment_94" class="wp-caption aligncenter" style="width: 285px"><a href="http://blog.rajasekharan.com/wp-content/uploads/2008/10/bethereontime_lowjpg.png"><img class="size-medium wp-image-94" src="http://blog.rajasekharan.com/wp-content/uploads/2008/10/bethereontime_lowjpg-275x300.png" alt="Quite entertaining" width="275" height="300" /></a><p class="wp-caption-text">Quite entertaining</p></div>
<p>With all the doom and gloom, market crashes and poor earnings reports, this is the only thing on the business page that brought a smile.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/10/23/dont-miss-this-one/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPLS ALT.NET - The first get together.</title>
		<link>http://blog.rajasekharan.com/2008/08/20/mpls-altnet-the-first-get-together/</link>
		<comments>http://blog.rajasekharan.com/2008/08/20/mpls-altnet-the-first-get-together/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 17:26:00 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

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

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

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

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=90</guid>
		<description><![CDATA[
Yesterday was the first ever MPLS ALT.NET get together at the Bulldog N.E Thanks Ira Mitchell and Jim Swanson for hosting. Judging by the turnout at the initial meet one can easily tell that there is a great enthusiasm for alt .net in Minneapolis.
Jim and Ira do a better job of explaining What ALT .NET [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 159px"><a href="http://mplsalt.net/"><img src="http://mplsalt.net/images/altnet2_small.png" alt="MPLS ALT .NET " width="149" height="124" /></a><p class="wp-caption-text">MPLS ALT .NET </p></div>
<p>Yesterday was the first ever <a title="mpls alt .net" href="http://mplsaltnet.com" target="_self">MPLS ALT.NET</a> get together at the <a title="Bulldog N.E" href="http://www.thebulldogmpls.com/ne_index.php" target="_self">Bulldog N.E</a> Thanks Ira Mitchell and Jim Swanson for hosting. Judging by the turnout at the initial meet one can easily tell that there is a great enthusiasm for alt .net in Minneapolis.</p>
<p>Jim and Ira do a better job of explaining <a href="http://mplsalt.net/#what">What ALT .NET is all about</a>.</p>
<p>The folks at Redmond, WA do a great job trying to build awesome tools for developers but often times committing resources to every available tool in the open source community is not possible. Filling this gap is where a community like ALT .NET can help.</p>
<p>The state of <a href="http://www.ayende.com/Blog/archive/7043.aspx">Microsoft and the OSS community</a> is better explained by Ayende Rahien.</p>
<p>I hope that this community becomes successful and brings in the best of the OSS, Java and RoR communities into the .NET world.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/08/20/mpls-altnet-the-first-get-together/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Capturing, Debugging localhost HTTP traffic with Fiddler</title>
		<link>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/</link>
		<comments>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 20:07:06 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Debugging]]></category>

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

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

		<category><![CDATA[Web Development]]></category>

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

		<category><![CDATA[fiddler proxy]]></category>

		<category><![CDATA[localhost debugging]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=85</guid>
		<description><![CDATA[Fiddler does not capture packets sent to the localhost URL which makes debugging web applications hosted in your local machine painful.
Here is how I configured Fiddler to debug web applications hosted in your local machine,
Lets say your application is accessed using the URL http://localhost:8090/MySpiffyApp/default.aspx. To make fiddler capture the HTTP requests sent to this URL, [...]]]></description>
			<content:encoded><![CDATA[<p><span><span style="small;"><span style="#000000;"><span style="Times New Roman;">Fiddler does not capture packets sent to the localhost URL which makes debugging web applications hosted in your local machine painful.</span></span></span></span></p>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Here is how I configured Fiddler to debug web applications hosted in your local machine,</span></span></span></p>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Lets say your application is accessed using the URL http://localhost:8090/MySpiffyApp/default.aspx. To make fiddler capture the HTTP </span></span></span><span style="small;"><span style="#000000;"><span style="Times New Roman;">requests sent to this URL, all you have to do is edit the<span> </span>HKCU\Software\Microsoft\Fiddler\ReverseProxyForPort and set the </span></span></span><span style="small;">decimal value to 8090. This tells fiddler to proxy all traffic sent to HTTP port 8888 (default proxy port) to HTTP port 8090. Now access the application using the fiddler proxy port</span></p>
<p><span style="small;"><a href="http://localhost:8888/MySpiffyApp/default.aspx">http://localhost:8888/MySpiffyApp/default.aspx</a> </span></p>
<p><span style="small;">and you should be able to see the packet trace in Fiddler.</span> <span style="small;"> </span></p>
<p><span style="small;">If you see the page below instead of your application then try restarting Fiddler and make sure the registry key name matches exactly as above.</span></p>
<div style="2px solid #666666;">
<pre>GET / HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: ASPSESSIONIDAADBDSRQ=NJJLKNGCKNJMNIIFAIDFCEIB
Cache-Control: max-age=0</pre>
<hr />If you&#8217;d like to configure Fiddler as a reverse proxy instead:</p>
<ol>
<li>Set the HKCU\Software\Microsoft\Fiddler\ReverseProxyForPort registry DWORD to the local port you&#8217;d like to route inbound traffic to</li>
<li>Restart Fiddler</li>
</ol>
</div>
<p><span style="small;"><span style="#000000;"><span style="Times New Roman;">Let me know if this didn’t work for you or if you have another way of debugging web applications hosted on your local machine.</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/08/11/capturing-debugging-localhost-http-traffic-with-fiddler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Is this a Revolution ?</title>
		<link>http://blog.rajasekharan.com/2008/08/03/is-this-a-revolution/</link>
		<comments>http://blog.rajasekharan.com/2008/08/03/is-this-a-revolution/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 01:13:41 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=21</guid>
		<description><![CDATA[Revolutions don't happen overnight... rather they reach a crescendo at the right moment or they erupt from their simmering state into an eruption almost overnight. The trouble with revolutions, too is that you don't know when they are happening.]]></description>
			<content:encoded><![CDATA[<p>A cool <a class="wp-caption" title="LHC rap video" href="http://www.youtube.com/watch?v=j50ZssEojtM" target="_blank">rap video </a>about the <span class="EC_CenterBodyText"><a class="wp-caption" title="Large Hadron Collider" href="http://en.wikipedia.org/wiki/Large_Hadron_Collider" target="_blank">Large Hadron Collider</a> (LHC) caught my attention and I shared it with some of my old buddies.<br />
</span></p>
<p>I received a few encouraging words mostly in jest about how I should be involved with something revolutionary like the LHC project and drew a few sarcastic comments too.</p>
<p>The email responses from my friends inspired me to write this post and made me understand the significance of the LHC project a little better and also made me realize how we may be overlooking great revolutions happening around us.</p>
<p>Here is my email response,</p>
<p>Dear XYZ,</p>
<p>Thanks for the encouraging words and I enjoyed the sarcasm too&#8230;</p>
<p>Revolutions don&#8217;t happen overnight&#8230; rather they reach a crescendo at the right moment or they erupt from their simmering state into an eruption almost overnight. The trouble with revolutions, too is that you don&#8217;t know when they are happening.</p>
<p>The point of sharing that video was to show, how serious research can be presented in a light manner.</p>
<p>And personally, it had a context to me since I recently read this article,  <a class="wp-caption" title="Surfer dude rewrites Physics" href="http://outside.away.com/outside/culture/200805/garrett-lisi-1.html" target="_blank">Surfer dude rewrites Physics ?</a>that made references to the Large Hadron Collider.<br />
If you do not have the time to read the whole article , here is a snippet that references the Large Hadron Collider,</p>
<p><span class="CenterBodyText">&#8220;&#8230;The ultimate proof, or disproof, could then come when the world&#8217;s most powerful particle accelerator, the Large Hadron Collider, begins operating later this year in Switzerland. It is widely anticipated that the LHC will lead to the discovery of new subatomic particles, and string theorists are also betting on it to validate some of their ideas&#8230;&#8221;</span></p>
<p>In short, the assumptions we are making about how we are held together in one piece can be shattered by this collider.</p>
<p>This my friend is an example of a revolution in progress since it can explain among other truths the beginning(s) and the end of time&#8230;</p>
<p>-Senthil</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/08/03/is-this-a-revolution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Obviously overstated</title>
		<link>http://blog.rajasekharan.com/2008/08/01/obviously-overstated/</link>
		<comments>http://blog.rajasekharan.com/2008/08/01/obviously-overstated/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 20:47:39 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[lifehack]]></category>

		<category><![CDATA[self-improvement]]></category>

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=16</guid>
		<description><![CDATA[Sometimes you should never understate the obvious. You have to overstate the obvious.
For example here are some obvious Smart people traps and yet they need to be overstated.
I particularly liked the following observations,
..in order to change the world through politics, you must gain power, and the game of gaining power will fuck you up for [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you should never understate the obvious. You have to overstate the obvious.</p>
<p>For example here are some obvious <a class="wp-caption" href="http://www.tinygigantic.com/2008/07/31/smart-people-traps/" target="_blank">Smart people traps</a> and yet they need to be overstated.</p>
<p>I particularly liked the following observations,</p>
<p>..in order to change the world through politics, you must gain power, and the game of gaining power will fuck you up for sure.&#8221;</p>
<p>&#8220;&#8230;They leave school thinking that the way to be useful and show your smarts is to point out why things won’t work, rather than using some of those smart to find a way forward.&#8221;</p>
<p>Can you think of more smart people traps like these?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/08/01/obviously-overstated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>If sudo apt-get install gitweb fails</title>
		<link>http://blog.rajasekharan.com/2008/07/21/if-sudo-apt-get-install-gitweb-fails/</link>
		<comments>http://blog.rajasekharan.com/2008/07/21/if-sudo-apt-get-install-gitweb-fails/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 04:18:55 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
		
		<category><![CDATA[git]]></category>

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

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

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=12</guid>
		<description><![CDATA[Try sudo apt-get update]]></description>
			<content:encoded><![CDATA[<p>I hope this is useful to someone. I was trying to set up git and gitweb.</p>
<p>&gt;sudo apt-get install git-core</p>
<p>was successful but gitweb was not,</p>
<p>&gt;sudo apt-get install gitweb<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
Package gitweb is not available, but is referred to by another package.<br />
This may mean that the package is missing, has been obsoleted, or<br />
is only available from another source<br />
E: Package gitweb has no installation candidate</p>
<p>If you get this error message,</p>
<p>Try sudo apt-get update</p>
<p>and then run</p>
<p>sudo apt-get install gitweb</p>
<p>This installed gitweb successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/07/21/if-sudo-apt-get-install-gitweb-fails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Building online communities</title>
		<link>http://blog.rajasekharan.com/2008/06/21/building-online-communities/</link>
		<comments>http://blog.rajasekharan.com/2008/06/21/building-online-communities/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 07:28:39 +0000</pubDate>
		<dc:creator>senthilr</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://senthil.homelinux.com/2008/06/21/building-online-communities/</guid>
		<description><![CDATA[Online communities are popular. In case, you are interested in building one here are some tips from the trenches.
Highlights from the original article
    * Build a personal profile: 
While it was difficult to get the attention of the mainstream media, Hamilton did find a receptive audience writing for community and neighborhood papers, [...]]]></description>
			<content:encoded><![CDATA[<p>Online communities are popular. In case, you are interested in building one here are some tips from the trenches.</p>
<p>Highlights from the original <a href="http://www.cbc.ca/news/background/tech/internet/communities.html">article</a></p>
<p><strong>    * Build a personal profile: </strong></p>
<p>While it was difficult to get the attention of the mainstream media, Hamilton did find a receptive audience writing for community and neighborhood papers, and speaking to local women&#8217;s groups.</p>
<p><strong>    * Take advantage of technology: </strong></p>
<p>Linking up with like-minded sites and including lots of references to other electronic sources — especially to lesser known causes such as Ovarian Cancer Canada — has really helped, Hamilton says.</p>
<p><strong>   * Seek sponsorships, not advertising: </strong></p>
<p>Traditional advertising is not always available to website developers and the big companies tend to be interested mainly in an audience of millions, but there are tons of smaller sources of support, she says.</p>
<p> <strong>  * Building a network of skills:</strong></p>
<p> There is only so much one person can do, and Hamilton draws from a loosely knit association of professionals that ranges from web designers, to regular contributors, to brand management specialists. She gets the skills she needs without the expense of a full-time staff.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2008/06/21/building-online-communities/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.530 seconds -->
