<?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>Meeting of Minds &#187; Programming</title>
	<atom:link href="http://blog.rajasekharan.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajasekharan.com</link>
	<description>And this too shall pass...</description>
	<lastBuildDate>Tue, 20 Apr 2010 20:09:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TarTool &#8211; Windows tar gzip tgz extraction tool</title>
		<link>http://blog.rajasekharan.com/2009/01/16/tartool-windows-tar-gzip-tgz-extraction-tool/</link>
		<comments>http://blog.rajasekharan.com/2009/01/16/tartool-windows-tar-gzip-tgz-extraction-tool/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 00:59:34 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tar extract tool]]></category>
		<category><![CDATA[TarTool]]></category>
		<category><![CDATA[tgz]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=112</guid>
		<description><![CDATA[TarTool is a tiny windows command line tool to extract tar gzip (tar.gz or tgz extension) files.
You can download TarTool , unzip and run TarTool.exe as a command line executable.
You can also download TarTool from this alternate download location if the link above is down or does not work for you.
The source code  for TarTool [...]]]></description>
			<content:encoded><![CDATA[<p><a title="TarTool.zip" href="http://dev.rajasekharan.com/TarTool/" target="_blank">TarTool </a>is a tiny windows command line tool to extract tar gzip (tar.gz or tgz extension) files.</p>
<p>You can <a title="TarTool" href="http://tartool.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31505" target="_blank"><strong>download</strong> </a>TarTool , unzip and run TarTool.exe as a command line executable.</p>
<p>You can also <a title="TarTool - Alternate download location." href="http://dev.rajasekharan.com/TarTool/" target="_blank">download </a>TarTool from this alternate download location if the link above is down or does not work for you.</p>
<p>The <a title="TarTool Source Code" href="http://tartool.codeplex.com" target="_blank">source code </a> for TarTool is now hosted on <a title="TarTool Source Code " href="http://tartool.codeplex.com" target="_blank">codeplex</a>.</p>
<p>I wanted to play around with the Microsoft Shared Source CLI <a title="Microsoft Shared Source CLI" href="http://en.wikipedia.org/wiki/Shared_Source_Common_Language_Infrastructure" target="_blank">SSCLI</a>. The <a title="Shared Source Common Language Infrastructure 2.0 Release" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=8C09FD61-3F26-4555-AE17-3121B4F51D4D&amp;displaylang=en" target="_blank">download </a>is only available as a tgz extension. Imagine that <img src='http://blog.rajasekharan.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>After searching the interwebs for tools that would extract tar gzip files , I was disappointed since there was no simple tool to extract tar gzip files on my windows machine.</p>
<p>There are a few tools out there like WinRAR etc., but I found them too bloated for my task.</p>
<p>So I wrote a little tool using <a title="SharpZipLib" href="http://www.icsharpcode.net/OpenSource/SharpZipLib/" target="_blank">SharpZipLib</a>, the open source Zip, GZip, Tar and BZip2 library (great job guys, BTW).</p>
<p><a title="SharpZipLib" href="http://www.icsharpcode.net/OpenSource/SharpZipLib/" target="_blank">SharpZipLib</a> does most of the heavy lifting so the core of <a title="TarTool.zip" href="http://dev.rajasekharan.com/TarTool/" target="_blank">TarTool </a> is less than ten lines of C#. <span style="text-decoration: line-through">I can host the source code if there is enough interest.</span></p>
<p>The <a title="TarTool Source Code" href="http://tartool.codeplex.com/" target="_blank">source </a>is now hosted on codeplex.</p>
<p>Enjoy!</p>
<p> <strong>Update (05/06/2009 17:00 CST) :</strong></p>
<p>TarTool now has an addtional option to untar tar file formats.</p>
<p>TarTool -x sample.tar temp</p>
<p>will untar the sample.tar contents into the temp folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2009/01/16/tartool-windows-tar-gzip-tgz-extraction-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UI Programming Models</title>
		<link>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/</link>
		<comments>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:14:07 +0000</pubDate>
		<dc:creator>senthil</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[user interactions]]></category>

		<guid isPermaLink="false">http://blog.rajasekharan.com/?p=107</guid>
		<description><![CDATA[I found this excellent post Toward a better UI programing model with pointers to various UI programming models.
Web designers are forced to think within the constraints of the web browser when it comes to user interaction design.
The post above discusses more general approaches to user interaction design and not just within the context of the [...]]]></description>
			<content:encoded><![CDATA[<p>I found this excellent post <a title="Toward a better ui programming model" href="http://patricklogan.blogspot.com/2008/06/toward-better-ui-programming-models.html" target="_blank">Toward a better UI programing model</a> with pointers to various UI programming models.</p>
<p>Web designers are forced to think within the constraints of the web browser when it comes to user interaction design.</p>
<p>The post above discusses more general approaches to user interaction design and not just within the context of the web browser.</p>
<p>Since I am mostly involved in web UI interactions these days this post was very refreshing as it brought a new perspective to me.</p>
<p>While developing the UI for a web app recently I realized that the web design world is in the search-discovery cycle of  &#8220;patterns&#8221; that guide user interactions.  Patterns in user interactions has the dual benefit of helping both designers and users. Much like the &#8220;guidelines&#8221; on Windows ( <a title="Windows User Experience Interaction Guidelines" href="http://msdn.microsoft.com/en-us/library/aa511258.aspx" target="_blank">Windows User Experience Interaction Guidelines</a> ) or Mac (<a title="Apple Human Interface Guidelines" href="http://developer.apple.com/documentation/userexperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html#//apple_ref/doc/uid/TP30000894-TP6" target="_blank">Apple Human Interface Guidelines</a> ) development platforms that help Windows or Mac application developers respectively while standardizing the user interactions of the applications developed on those platforms. These guidelines ensure strict quality, improves user experience and makes the life of designers easier.</p>
<p>There are plenty of resources that discuss &#8220;web ui interaction patterns&#8221; .</p>
<p><a title="Designing Interfaces" href="http://www.amazon.com/dp/0596008031?tag=ourbookclub-20" target="_blank">Designing Interfaces</a> is a good resource if you are designing web user interactions. <a title="Rob Adams" href="http://www.usereccentric.com/" target="_blank">Rob Adams</a> one of the core developers of Adobe&#8217;s Flex  has an excellent set of <a title="Introductory Articles" href="http://www.adobe.com/devnet/flex/articles/fig_pt1.html" target="_blank">introductory articles</a> which not only apply to designing user interfaces using Adobe&#8217;s Flex but applies to user interface design in general. I especially liked the <a title="Structuring your Application" href="http://www.adobe.com/devnet/flex/articles/fig_pt3.html" target="_blank">Structuring your Application</a> part.</p>
<p>Everyone loves the web, even if there are a few frustrations that we still have to overcome <img src='http://blog.rajasekharan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Happy Surfing !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajasekharan.com/2009/01/06/ui-programming-models/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<slash:comments>0</slash:comments>
		</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>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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