<?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>Raasukutty&#039;s &#187; Programming</title>
	<atom:link href="http://www.raasukutty.com/blog/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.raasukutty.com/blog</link>
	<description>i code, therefore i am</description>
	<lastBuildDate>Sat, 24 Jul 2010 03:56:44 +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>Logi XML BI Tool</title>
		<link>http://www.raasukutty.com/blog/programming/logi-xml-bi-tool.html</link>
		<comments>http://www.raasukutty.com/blog/programming/logi-xml-bi-tool.html#comments</comments>
		<pubDate>Sat, 24 Jul 2010 03:56:44 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[logixml]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=479</guid>
		<description><![CDATA[For the current project that I am working on, we were looking for alternatives to the SQL Server Reporting Services. We ended up with a really good BI solution, LogiXML. LogiXML is a XML based reporting solution available for .net and Java platforms. More information can be found in their website, www.logixml.com To us, it [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/computers/star-team-missing-files-from-source-control.html' rel='bookmark' title='Permanent Link: Star Team : Missing Files from Source Control'>Star Team : Missing Files from Source Control</a> <small>Here is a nice incident that happened today at office....</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/why-i-hate-reports.html' rel='bookmark' title='Permanent Link: Why I hate Reports?'>Why I hate Reports?</a> <small>I hate Reports. Reports as in Crystal Reports, Sql Server...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/free.html' rel='bookmark' title='Permanent Link: Free!'>Free!</a> <small>Free, I have broken free, free from proprietary software in...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For the current project that I am working on, we were looking for alternatives to the SQL Server Reporting Services. We ended up with a really good BI solution, LogiXML.</p>
<p>LogiXML is a XML based reporting solution available for .net and Java platforms. More information can be found in their website, <a href="http://www.logixml.com">www.logixml.com</a></p>
<p>To us, it really simplified the way we used to work on reports. It was something similar to the Sagitec Studio, that we use in our work everyday (Sagitec Studio is for Web Development, developed and used as a product by my current employers), which meant lesser learning curve. The AdHoc Reporting capabilities is what caught our attention. It is neat, the LogiXML team has thought through most of the aspects of Reporting. </p>
<p>All common reporting functions, with an excellent support team. They have always responded quicker. The product is well documented and supported. If I like one reporting tool, it must be LogiXML. Will definitely recommend it to anyone. </p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/computers/star-team-missing-files-from-source-control.html' rel='bookmark' title='Permanent Link: Star Team : Missing Files from Source Control'>Star Team : Missing Files from Source Control</a> <small>Here is a nice incident that happened today at office....</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/why-i-hate-reports.html' rel='bookmark' title='Permanent Link: Why I hate Reports?'>Why I hate Reports?</a> <small>I hate Reports. Reports as in Crystal Reports, Sql Server...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/free.html' rel='bookmark' title='Permanent Link: Free!'>Free!</a> <small>Free, I have broken free, free from proprietary software in...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/logi-xml-bi-tool.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.Net 4.0 Client Profile</title>
		<link>http://www.raasukutty.com/blog/programming/net-4-0-client-profile.html</link>
		<comments>http://www.raasukutty.com/blog/programming/net-4-0-client-profile.html#comments</comments>
		<pubDate>Mon, 25 Jan 2010 15:26:07 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.net c# csharp]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=447</guid>
		<description><![CDATA[.Net 4.0 introduces the concept of Client Profile. I came to know about it when I was adding references to my project file. Even though, I had added a few assemblies in the project reference, the compiler was complaining of not finding the namespaces in the references that I have added during compilation. The project was [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/programming/aspnet-validation-controls.html' rel='bookmark' title='Permanent Link: ASP.Net Validation controls'>ASP.Net Validation controls</a> <small>ASP.Net validation controls can be used to perform both client...</small></li>
<li><a href='http://www.raasukutty.com/blog/open-source/continuous-integration-with-cruisecontrolnet.html' rel='bookmark' title='Permanent Link: Continuous Integration with CruiseControl.Net'>Continuous Integration with CruiseControl.Net</a> <small>I had challenges in understanding the documentation for installing and...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>.Net 4.0 introduces the concept of Client Profile. I came to know about it when I was adding references to my project file. Even though, I had added a few assemblies in the project reference, the compiler was complaining of not finding the namespaces in the references that I have added during compilation.</p>
<p>The project was a Windows Form Application. I opened up the Project Settings Page to see that the</p>
<p>Target Framework was .Net 4.0 Client Profile.</p>
<p><a href="http://www.raasukutty.com/blog/wp-content/uploads/2010/01/tgOpen.png"><img class="aligncenter size-full wp-image-448" title="Client Profile" src="http://www.raasukutty.com/blog/wp-content/uploads/2010/01/tgOpen.png" alt="" width="269" height="52" /></a></p>
<p>I changed it to .Net 4.0 Framework. Everything worked fine.</p>
<p><a href="http://www.raasukutty.com/blog/wp-content/uploads/2010/01/TgClosed.png"><img class="aligncenter size-full wp-image-449" title="Framework 4.0" src="http://www.raasukutty.com/blog/wp-content/uploads/2010/01/TgClosed.png" alt="" width="270" height="50" /></a>So to get past the error of missing namespaces, even though the assemblies having been added, check to make sure that the Target Framework is not in the Client Profile.</p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/programming/aspnet-validation-controls.html' rel='bookmark' title='Permanent Link: ASP.Net Validation controls'>ASP.Net Validation controls</a> <small>ASP.Net validation controls can be used to perform both client...</small></li>
<li><a href='http://www.raasukutty.com/blog/open-source/continuous-integration-with-cruisecontrolnet.html' rel='bookmark' title='Permanent Link: Continuous Integration with CruiseControl.Net'>Continuous Integration with CruiseControl.Net</a> <small>I had challenges in understanding the documentation for installing and...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/net-4-0-client-profile.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Rows to Columns in SQL</title>
		<link>http://www.raasukutty.com/blog/programming/converting-rows-to-columns-in-sql.html</link>
		<comments>http://www.raasukutty.com/blog/programming/converting-rows-to-columns-in-sql.html#comments</comments>
		<pubDate>Tue, 05 Jan 2010 20:19:02 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[row to column]]></category>
		<category><![CDATA[transpose row]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=438</guid>
		<description><![CDATA[There was this table, ORG_ID LEGACY_ORG_CODE ------ ------------------ 1001 8909 1001 12323 1002 80909 1002 78798 1002 09009 and the requirement was to get the concatenated legacy_org_code like ORG_ID LEGACY_ORG_CODE ------ ------------------ 1001 8909, 12323 1002 80909, 78798, 09009 The solution to this is: SELECT PL.ORG_ID, &#40;SELECT LEGACY_ORG_CODE + ',' FROM SGT_ORG_PLAN ORGPL WHERE ORGPL.ORG_ID [...]

<h4>No related posts.</h4>]]></description>
			<content:encoded><![CDATA[<p>There was this table,</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">ORG_ID     LEGACY_ORG_CODE
<span style="color: #808080; font-style: italic;">------      ------------------</span>
<span style="color: #cc66cc;">1001</span>         <span style="color: #cc66cc;">8909</span>
<span style="color: #cc66cc;">1001</span>         <span style="color: #cc66cc;">12323</span>
<span style="color: #cc66cc;">1002</span>         <span style="color: #cc66cc;">80909</span>
<span style="color: #cc66cc;">1002</span>         <span style="color: #cc66cc;">78798</span>
<span style="color: #cc66cc;">1002</span>         09009</pre></div></div>

<p>and the requirement was to get the concatenated <em>legacy_org_code</em> like</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">ORG_ID     LEGACY_ORG_CODE
<span style="color: #808080; font-style: italic;">------      ------------------</span>
<span style="color: #cc66cc;">1001</span>         <span style="color: #cc66cc;">8909</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">12323</span>
<span style="color: #cc66cc;">1002</span>         <span style="color: #cc66cc;">80909</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">78798</span><span style="color: #66cc66;">,</span> 09009</pre></div></div>

<p>The solution to this is:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> PL<span style="color: #66cc66;">.</span>ORG_ID<span style="color: #66cc66;">,</span>
	<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> LEGACY_ORG_CODE <span style="color: #66cc66;">+</span> <span style="color: #ff0000;">','</span>
		<span style="color: #993333; font-weight: bold;">FROM</span> SGT_ORG_PLAN ORGPL
		<span style="color: #993333; font-weight: bold;">WHERE</span> ORGPL<span style="color: #66cc66;">.</span>ORG_ID <span style="color: #66cc66;">=</span> PL<span style="color: #66cc66;">.</span>ORG_ID
		<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> LEGACY_ORG_CODE
		<span style="color: #993333; font-weight: bold;">FOR</span> XML PATH<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
	 <span style="color: #993333; font-weight: bold;">AS</span> ORG_CODE
<span style="color: #993333; font-weight: bold;">FROM</span> SGT_ORG_PLAN PL
<span style="color: #993333; font-weight: bold;">GROUP</span> <span style="color: #993333; font-weight: bold;">BY</span> PL<span style="color: #66cc66;">.</span>ORG_ID</pre></div></div>

<p>I was looking for simple answers on the web I came across this <a href="http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/">link</a>, that helped me to get it done in a simple SQL statement. Recording it here for future reference. This technique is called Blackbox XML.</p>


<h4>No related posts.</h4>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/converting-rows-to-columns-in-sql.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Look : Arjuna Theme</title>
		<link>http://www.raasukutty.com/blog/programming/new-look-arjuna-wp-theme.html</link>
		<comments>http://www.raasukutty.com/blog/programming/new-look-arjuna-wp-theme.html#comments</comments>
		<pubDate>Sat, 02 Jan 2010 05:47:41 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[minimal]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wp-theme]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=432</guid>
		<description><![CDATA[One among the new year resolution is done. And on the same new year&#8217;s day. My site now has a new look. I have been wanting to do this for more than a year now, and I never pushed myself to sit and do it. What better time to do it, than in the vacation. [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/happy-new-year-2010.html' rel='bookmark' title='Permanent Link: Happy New Year 2010'>Happy New Year 2010</a> <small>Wish you all a very Happy New Year 2010. Let...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One among the new year resolution is done. And on the same new year&#8217;s day. My site now has a new look. I have been wanting to do this for more than a year now, and I never pushed myself to sit and do it. What better time to do it, than in the vacation. And so, here is the new look for the site. I have decided to call the new theme &#8220;Arjuna&#8221;.</p>
<p><strong>Arjuna:</strong> means &#8216;white&#8217;, &#8216;clear&#8217;. It is a Sanskrit word, and the name of one of the Pandavas, in the Mahabharata.</p>
<p>This theme is a white theme, minimal, and subtle in expression. Being my first side project, I was a bit confused in choosing a name. I chose this because, it was somehow connected to the ancient literature of my own country.</p>
<p>Feel free to <a href='http://www.raasukutty.com/blog/programming/new-look-arjuna-wp-theme.html/attachment/arjuna' rel='attachment wp-att-433'>download</a>, test and report any bugs that you encounter.</p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/happy-new-year-2010.html' rel='bookmark' title='Permanent Link: Happy New Year 2010'>Happy New Year 2010</a> <small>Wish you all a very Happy New Year 2010. Let...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/new-look-arjuna-wp-theme.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Happy New Year 2010</title>
		<link>http://www.raasukutty.com/blog/programming/happy-new-year-2010.html</link>
		<comments>http://www.raasukutty.com/blog/programming/happy-new-year-2010.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 19:31:44 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[musing]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=421</guid>
		<description><![CDATA[Wish you all a very Happy New Year 2010. Let this year bring prosperity and joy to all. This is the time to reflect back on what happened the previous year, and plan for the coming year. What happened in 2009? Completed my one year in Sagitec. Had been continuously writing on this blog. Got [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/musings/happy-married-life-soms-and-aishwarya.html' rel='bookmark' title='Permanent Link: Happy Married Life Soms and Aishwarya'>Happy Married Life Soms and Aishwarya</a> <small>Somasundaram weds Aishwarya, on a fine thursday morning. One more...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/happy-deepavali.html' rel='bookmark' title='Permanent Link: Happy Deepavali!'>Happy Deepavali!</a> <small>Happy Deepavali! I am leaving to my hometown to celebrate...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Wish you all a very Happy New Year 2010. Let this year bring prosperity and joy to all.</p>
<p>This is the time to reflect back on what happened the previous year, and plan for the coming year.</p>
<p><strong>What happened in 2009?</strong></p>
<ul>
<li>Completed my one year in <a href="http://www.sagitec.com/" target="_blank">Sagitec</a>.</li>
<li>Had been continuously writing on this blog.</li>
<li>Got my first ever proposal.</li>
<li>Accepted her as my better half.</li>
<li>Got my first onsite offer, to work in America.</li>
<li>Came to USA on a H1B permit and currently working.</li>
</ul>
<p><strong>Wishes for 2010:</strong></p>
<ul>
<li>Get happily settled in life.</li>
<li>Get a new look for this site.</li>
<li>Get <a href="http://www.raasukutty.net" target="_blank">CowsNBulls</a> game to the next level.</li>
<li>Learn a new language apart from C#, looking at python and ruby.</li>
<li>Live happily ever after.</li>
</ul>
<p>Once again, wish you all a very happy and a prosperous new year.</p>
<ul></ul>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/musings/happy-married-life-soms-and-aishwarya.html' rel='bookmark' title='Permanent Link: Happy Married Life Soms and Aishwarya'>Happy Married Life Soms and Aishwarya</a> <small>Somasundaram weds Aishwarya, on a fine thursday morning. One more...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/new-year-2008.html' rel='bookmark' title='Permanent Link: New Year 2008'>New Year 2008</a> <small>And the year 2007 has gone by and into the...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/happy-deepavali.html' rel='bookmark' title='Permanent Link: Happy Deepavali!'>Happy Deepavali!</a> <small>Happy Deepavali! I am leaving to my hometown to celebrate...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/happy-new-year-2010.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>C#: Calculate Age in Years, Month and Days</title>
		<link>http://www.raasukutty.com/blog/programming/c-calculate-age-in-years-month-and-days.html</link>
		<comments>http://www.raasukutty.com/blog/programming/c-calculate-age-in-years-month-and-days.html#comments</comments>
		<pubDate>Thu, 18 Jun 2009 13:38:06 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=369</guid>
		<description><![CDATA[Today I was given the task of finding the age of a person, provided the birth date. When I was given the task, I just said, just use the DateDiff function. But it is not that simple. One thing I wanted was to keep the code simple and in a few lines of code. Here [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/programming/implicit-variable-in-c-2008.html' rel='bookmark' title='Permanent Link: Implicit Variable in C# 2008'>Implicit Variable in C# 2008</a> <small>C# 2008 allows for creating implicit variables using the &#8216;var&#8217;...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/c-sorting-a-datatable.html' rel='bookmark' title='Permanent Link: C#: Sorting a DataTable'>C#: Sorting a DataTable</a> <small>Sorting the result in a DataTable&#8217;s select command can be...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/c-null-coalescing-operator.html' rel='bookmark' title='Permanent Link: C#: Null coalescing operator'>C#: Null coalescing operator</a> <small>C# has a ?? operator, which is called the &#8216;Null...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today I was given the task of finding the age of a person, provided the birth date. When I was given the task, I just said, just use the DateDiff function. But it is not that simple.</p>
<p>One thing I wanted was to keep the code simple and in a few lines of code. Here goes my first iteration.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">         <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> CalculateAge<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            DateTime dateOfBirth<span style="color: #008000;">;</span>
            DateTime.<span style="color: #0000FF;">TryParse</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;02/18/2008&quot;</span>, <span style="color: #0600FF;">out</span> dateOfBirth<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            DateTime currentDate <span style="color: #008000;">=</span> DateTime.<span style="color: #0000FF;">Now</span><span style="color: #008000;">;</span>
&nbsp;
            TimeSpan difference <span style="color: #008000;">=</span> currentDate.<span style="color: #0000FF;">Subtract</span><span style="color: #000000;">&#40;</span>dateOfBirth<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>            
&nbsp;
            <span style="color: #008080; font-style: italic;">// This is to convert the timespan to datetime object</span>
            DateTime age <span style="color: #008000;">=</span> DateTime.<span style="color: #0000FF;">MinValue</span> <span style="color: #008000;">+</span> difference<span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">// Min value is 01/01/0001</span>
            <span style="color: #008080; font-style: italic;">// Actual age is say 24 yrs, 9 months and 3 days represented as timespan</span>
            <span style="color: #008080; font-style: italic;">// Min Valye + actual age = 25 yrs , 10 months and 4 days.</span>
            <span style="color: #008080; font-style: italic;">// subtract our addition or 1 on all components to get the actual date.</span>
&nbsp;
            <span style="color: #FF0000;">int</span> ageInYears <span style="color: #008000;">=</span> age.<span style="color: #0000FF;">Year</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>
            <span style="color: #FF0000;">int</span> ageInMonths <span style="color: #008000;">=</span> age.<span style="color: #0000FF;">Month</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>
            <span style="color: #FF0000;">int</span> ageInDays <span style="color: #008000;">=</span> age.<span style="color: #0000FF;">Day</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span>
&nbsp;
            Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;{0}, {1}, {2}&quot;</span>, ageInYears, ageInMonths, ageInDays<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>But then, there were problems with this method. If the current date is &#8217;06/18/2009&#8242; and the birth date was &#8217;04/18/2000&#8242;, it returns, 9 yrs, 2 months and 2 days. The 2 days part is wrong. I didn&#8217;t have any clue as to why it appears.</p>
<p>Then I went down to the basics, using elementary mathematics of subtraction. Here goes the second iteration of the code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">        <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> CalculateAge2<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            DateTime dateOfBirth <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> DateTime<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">2000</span>, <span style="color: #FF0000;">6</span>, <span style="color: #FF0000;">18</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #FF0000;">int</span> ageInYears <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
            <span style="color: #FF0000;">int</span> ageInMonths <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
            <span style="color: #FF0000;">int</span> ageInDays <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
&nbsp;
            CalculateAge<span style="color: #000000;">&#40;</span>dateOfBirth, <span style="color: #0600FF;">out</span> ageInYears, <span style="color: #0600FF;">out</span> ageInMonths, <span style="color: #0600FF;">out</span> ageInDays<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;{0}, {1}, {2}&quot;</span>, ageInYears, ageInMonths, ageInDays<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #008080; font-style: italic;">///</span>
        <span style="color: #008080; font-style: italic;">/// Calculate the Age of a person given the birthdate.</span>
        <span style="color: #008080; font-style: italic;">///</span>
        <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> CalculateAge<span style="color: #000000;">&#40;</span>DateTime adtDateOfBirth, <span style="color: #0600FF;">out</span> <span style="color: #FF0000;">int</span> aintNoOfYears, <span style="color: #0600FF;">out</span> <span style="color: #FF0000;">int</span> aintNoOfMonths, <span style="color: #0600FF;">out</span> <span style="color: #FF0000;">int</span> aintNoOfDays<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            <span style="color: #008080; font-style: italic;">// get current date.</span>
            DateTime adtCurrentDate <span style="color: #008000;">=</span> DateTime.<span style="color: #0000FF;">Now</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #008080; font-style: italic;">// find the literal difference</span>
            aintNoOfDays <span style="color: #008000;">=</span> adtCurrentDate.<span style="color: #0000FF;">Day</span> <span style="color: #008000;">-</span> adtDateOfBirth.<span style="color: #0000FF;">Day</span><span style="color: #008000;">;</span>
            aintNoOfMonths <span style="color: #008000;">=</span> adtCurrentDate.<span style="color: #0000FF;">Month</span> <span style="color: #008000;">-</span> adtDateOfBirth.<span style="color: #0000FF;">Month</span><span style="color: #008000;">;</span>
            aintNoOfYears <span style="color: #008000;">=</span> adtCurrentDate.<span style="color: #0000FF;">Year</span> <span style="color: #008000;">-</span> adtDateOfBirth.<span style="color: #0000FF;">Year</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>aintNoOfDays <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                aintNoOfDays <span style="color: #008000;">+=</span> DateTime.<span style="color: #0000FF;">DaysInMonth</span><span style="color: #000000;">&#40;</span>adtCurrentDate.<span style="color: #0000FF;">Year</span>, adtCurrentDate.<span style="color: #0000FF;">Month</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
                aintNoOfMonths<span style="color: #008000;">--;</span>
            <span style="color: #000000;">&#125;</span>
&nbsp;
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>aintNoOfMonths <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                aintNoOfMonths <span style="color: #008000;">+=</span> <span style="color: #FF0000;">12</span><span style="color: #008000;">;</span>
                aintNoOfYears<span style="color: #008000;">--;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>And it works like a charm for all scenarios I throw upon it.</p>
<p>Scenario 1:<br />
Current Date : 15 – 09 – 2009<br />
Birth Date   : 09 – 03 – 2000</p>
<p>Just a difference gives the result<br />
Age         : 6  &#8211;  6  &#8211; 9     Result is 9 yrs, 6 months, 6 days.</p>
<p>Scenario 2:<br />
Current Date : 15 – 09 – 2009<br />
Birth Date   : 28 – 07 – 2000</p>
<p>Here since 15 – 28 &lt; 0: we borrow one from the month and then add the no of days in the month to the current date. 15 + 30 = 45: 45 – 28 = 17 days<br />
Then since one month is borrowed: 08 – 07 = 01 months<br />
Remaining is normal difference<br />
Age         : 17  &#8211; 1  &#8211; 9     Result is 9 yrs, 1  months, 17 days.</p>
<p>Scenario 3:<br />
Current Date : 15 – 09 – 2009<br />
Birth Date   : 28 – 12 – 2000<br />
Here since 15 – 28 &lt; 0: we borrow one from the month and then add the no of days in the current month to the current date. 15 + 30 = 45: 45 – 28 = 17 days<br />
Then since one month is borrowed: 08 – 12: So we are supposed to borrow a year and add no of months in current year to current month. 08 + 12 = 20: 20 – 12 = 8 months<br />
Since a year was borrowed: 2008 – 2000: 8 yrs<br />
Remaining is normal difference<br />
Age         : 17  &#8211; 8  &#8211; 8     Result is 8 yrs, 8  months, 17 days.</p>
<p>But I know there must be better ways to do it. Feel free to drop in code snippets. Comments too are most welcome.</p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/programming/implicit-variable-in-c-2008.html' rel='bookmark' title='Permanent Link: Implicit Variable in C# 2008'>Implicit Variable in C# 2008</a> <small>C# 2008 allows for creating implicit variables using the &#8216;var&#8217;...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/c-sorting-a-datatable.html' rel='bookmark' title='Permanent Link: C#: Sorting a DataTable'>C#: Sorting a DataTable</a> <small>Sorting the result in a DataTable&#8217;s select command can be...</small></li>
<li><a href='http://www.raasukutty.com/blog/programming/c-null-coalescing-operator.html' rel='bookmark' title='Permanent Link: C#: Null coalescing operator'>C#: Null coalescing operator</a> <small>C# has a ?? operator, which is called the &#8216;Null...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/c-calculate-age-in-years-month-and-days.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Programming Fonts</title>
		<link>http://www.raasukutty.com/blog/programming/programming-fonts.html</link>
		<comments>http://www.raasukutty.com/blog/programming/programming-fonts.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 07:15:40 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=361</guid>
		<description><![CDATA[Little lately, I am obsessed in finding the best font to use, when I do the coding. I try to keep the same font across all editors and IDE&#8217;s that I use. The first font that I loved was &#8216;Courier New&#8217; set at 10pt. Then with VS2008 came in a new attraction for Consolas a [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/programming/c-calculate-age-in-years-month-and-days.html' rel='bookmark' title='Permanent Link: C#: Calculate Age in Years, Month and Days'>C#: Calculate Age in Years, Month and Days</a> <small>Today I was given the task of finding the age...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Little lately, I am obsessed in finding the best font to use, when I do the coding. I try to keep the same font across all editors and IDE&#8217;s that I use. The first font that I loved was &#8216;Courier New&#8217; set at 10pt.</p>
<p>Then with VS2008 came in a new attraction for <a href="http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&amp;displaylang=en">Consolas</a> a true type font from Microsoft. Consolas is really good. And it appears even better on TextPad, jEdit and VS2008 IDE.</p>
<p>Last month, I began using <a href="http://www.fontex.org/download/Anonymous.ttf">Anonymous font</a>. I would have sworn by it, if not for <a href="http://www.webdevkungfu.com/files/MONACO.TTF">Monaco</a>.</p>
<p>Now I use only Monaco. Smooth and pleasing! So what fonts do you use.</p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/programming/c-calculate-age-in-years-month-and-days.html' rel='bookmark' title='Permanent Link: C#: Calculate Age in Years, Month and Days'>C#: Calculate Age in Years, Month and Days</a> <small>Today I was given the task of finding the age...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/programming-fonts.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing libmysql.dll issue in Rails</title>
		<link>http://www.raasukutty.com/blog/programming/fixing-libmysqldll-issue-in-rails.html</link>
		<comments>http://www.raasukutty.com/blog/programming/fixing-libmysqldll-issue-in-rails.html#comments</comments>
		<pubDate>Mon, 25 May 2009 16:57:32 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=352</guid>
		<description><![CDATA[To fix the error, &#8220;This application has failed to start because LIBMYSQL.DLL was not found. Re-installing the application may fix this problem.&#8221;  while working on rails using mysql as the database,  Copy the libmysql.dll found in the mysql installation directory (mysql\bin) and paste it in your ruby installation directory (ruby\bin) Restart the server and viola, the error [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/open-source/rails-mysql-connection-problem.html' rel='bookmark' title='Permanent Link: Rails: Error with MySQL in welcome screen'>Rails: Error with MySQL in welcome screen</a> <small>After installing rails, to test it, I created a rails...</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/installing-rails-local-gem-install.html' rel='bookmark' title='Permanent Link: Installing Rails : Local gem install'>Installing Rails : Local gem install</a> <small>After a unsuccessful installation of rails that took nearly 5...</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/rails-installation.html' rel='bookmark' title='Permanent Link: Rails Installation'>Rails Installation</a> <small>Installing Rails needs a lot of patience. The command is...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To fix the error, &#8220;This application has failed to start because LIBMYSQL.DLL was not found. Re-installing the application may fix this problem.&#8221;  while working on rails using mysql as the database, </p>
<p>Copy the libmysql.dll found in the mysql installation directory (mysql\bin) and paste it in your ruby installation directory (ruby\bin)</p>
<p>Restart the server and viola, the error is fixed.</p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/open-source/rails-mysql-connection-problem.html' rel='bookmark' title='Permanent Link: Rails: Error with MySQL in welcome screen'>Rails: Error with MySQL in welcome screen</a> <small>After installing rails, to test it, I created a rails...</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/installing-rails-local-gem-install.html' rel='bookmark' title='Permanent Link: Installing Rails : Local gem install'>Installing Rails : Local gem install</a> <small>After a unsuccessful installation of rails that took nearly 5...</small></li>
<li><a href='http://www.raasukutty.com/blog/computers/rails-installation.html' rel='bookmark' title='Permanent Link: Rails Installation'>Rails Installation</a> <small>Installing Rails needs a lot of patience. The command is...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/fixing-libmysqldll-issue-in-rails.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Permalink Structure Changed</title>
		<link>http://www.raasukutty.com/blog/programming/permalink-structure-changed.html</link>
		<comments>http://www.raasukutty.com/blog/programming/permalink-structure-changed.html#comments</comments>
		<pubDate>Mon, 04 May 2009 14:54:33 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=288</guid>
		<description><![CDATA[The permalink structure of this blog has been changed following advice from Sudar. Originally the permalink structure was /archives/%post_id%. Now I have changed to /%category%/%postname%. I was quiet apprehensive to change at first, coz, I didn&#8217;t want the links to be broken and an ugly 404 &#8211; Page not found error to be displayed. There is a [...]

<h4>No related posts.</h4>]]></description>
			<content:encoded><![CDATA[<p>The permalink structure of this blog has been changed following advice from <a title="Sudar" href="http://sudarmuthu.com">Sudar</a>. Originally the permalink structure was /archives/%post_id%. Now I have changed to /%category%/%postname%.</p>
<p>I was quiet apprehensive to change at first, coz, I didn&#8217;t want the links to be broken and an ugly 404 &#8211; Page not found error to be displayed. There is a <a title="Permalink Migration Plugin" href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/">plugin</a> from Dean Lee site.</p>
<p>It makes the migration hazzle free. In the PermalinksMigration plugin setttings page set the old permalink structure. In the Permalinks settings page, set the new permalink structure and it is done.</p>
<p>There is one thing I&#8217;m still concerned about. On the Codex page, it is instructed to avoid using /%category%/%postname%/, stating performance reasons. But this structure looks more elegant. Can anyone give me more insight into this?</p>


<h4>No related posts.</h4>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/programming/permalink-structure-changed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Being a Code Monkey!</title>
		<link>http://www.raasukutty.com/blog/musings/being-a-code-monkey.html</link>
		<comments>http://www.raasukutty.com/blog/musings/being-a-code-monkey.html#comments</comments>
		<pubDate>Fri, 01 May 2009 13:54:30 +0000</pubDate>
		<dc:creator>Rajeshwaran S P</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[career decision]]></category>
		<category><![CDATA[computers fascination]]></category>

		<guid isPermaLink="false">http://www.raasukutty.com/blog/?p=281</guid>
		<description><![CDATA[Code Monkey: n, a person who writes computer code for a living. The term code monkey generally refers to a computer programmer or other person who writes computer code for a living. More specifically, it refers to a person only capable of grinding out code, but unable to perform the more intellectually complex tasks of software architecture, analysis, and design. The term is [...]

<h4>Possibly Related posts:</h4>
<ol><li><a href='http://www.raasukutty.com/blog/musings/let-there-be-code.html' rel='bookmark' title='Permanent Link: Let there be Code!'>Let there be Code!</a> <small>Hello World!!! This is the first program that I wrote...</small></li>
<li><a href='http://www.raasukutty.com/blog/open-source/geek-code.html' rel='bookmark' title='Permanent Link: Geek Code'>Geek Code</a> <small>Here goes  my geek code as from www.geekcode.com -----BEGIN GEEK...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/free.html' rel='bookmark' title='Permanent Link: Free!'>Free!</a> <small>Free, I have broken free, free from proprietary software in...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Code Monkey:<span> </span><span><em>n</em></span>, a person who writes computer code for a living.</p>
<blockquote><p><span>The term <span><strong><em>code monkey</em></strong></span> generally refers to a <a title="Computer programmer" href="http://en.wikipedia.org/wiki/Computer_programmer">computer programmer</a> or other person who writes <a title="Source code" href="http://en.wikipedia.org/wiki/Source_code">computer code</a> for a living. More specifically, it refers to a person only capable of grinding out code, but unable to perform the more intellectually complex tasks of <a title="Software architecture" href="http://en.wikipedia.org/wiki/Software_architecture">software architecture</a>, analysis, and design. The term is thus considered mildly insulting, and is often applied to the most junior people on a programming team.</span></p></blockquote>
<p><span>That is how wikipedia defines the term. I keep asking my self this question, Am I being a code monkey? I know I am better in converting a business requirement into code, than bother about what it implies to the business. I generally suck at testing. Testing is not my job, I can&#8217;t possibly find fault in my code. I write a piece, test it, if it succeeds in the first attempt, rather than delving to fix negative scenarios, I move on to the next requirement. Ipso facto, I am a code monkey.</span></p>
<p><span>I, like most of my friends who work in software companies, just write half baked code for a living. We don’t create; we just fix code, if I have to properly call it. Most of us (software or IT professionals) in India, never realize that we are bad programmers. We have full blown IDE in our office, and we just churn out thousands of lines every day, without ever looking for alternative ways. If something bothers us, there is the ultimate destination, Google; just search, find and then Ctrl + C and Ctrl + V code, never understanding it. I am not blaming those who put effort to understand it before using it. I am just speaking about the mass of the programmers.</span></p>
<p><span>Why don’t we realize? That’s because, we get the job done in time. At the end of the day, what matters is the output. We all try to make the management happy. What they need is delivery on time, and we are very good at it and also in times of crisis. Stay late, complete the work and you end up getting an ‘Exceeded All Expectations’ in your annual appraisal. With that comes a salary hike. What more do we need?</span></p>
<p><span>So why am I complaining? I have a job, I get a decent pay, everyone is happy out there, being a code monkey is not a big thing to worry about, many (I didn’t want to use a most here, and hurt the reader’s ego) of my friends are also code monkeys. Why is there a need for this post then?</span></p>
<p><span>I would have lived in the glory of my ego, if not for reading through the posts of<span> </span><a title="Coding Horror" href="http://www.codinghorror.com/">Jeff Atwood</a><span> </span>and<span> </span><a title="Steve's Blog Rants" href="http://steve-yegge.blogspot.com/">Steve</a>. They are two people whom I admire for their writing on programming and programmers. Jeff admires <a title="Eric - Fabulous Adventures in Coding" href="http://blogs.msdn.com/ericlippert/">Eric Lippert</a> and Steve admires <a title="Don Knuth" href="http://www-cs-faculty.stanford.edu/~knuth/">Knuth</a>. So to me what are Eric and Knuth, programming Gods!!!</span></p>
<p><span>Steve says in <a title="Begin Averagist" href="http://steve.yegge.googlepages.com/being-the-averagest">one </a>of his posts</span></p>
<blockquote><p><span>Almost everyone thinks of their programming ability as being just fine, plenty good enough. They can get by, get the job done, do pretty much anything they&#8217;d need to do, given time and patience.</span></p>
<p><span>It&#8217;s quite a nasty shock for many of our interview candidates when they find they&#8217;re unable to do something as simple as reverse a linked list, or open and write to a text file. They&#8217;re not shocked that they can&#8217;t do it; they&#8217;re shocked that we&#8217;d ask. Those are specialty skills, and not their specialty. They haven&#8217;t been doing much &#8220;low level&#8221; stuff like that lately.</span></p>
<p><span>Not all interview candidates are shocked when they can&#8217;t do it, because many of them don&#8217;t realize they&#8217;ve written something that could never work: broken code that&#8217;s not even remotely close to a correct solution. These programmers are particularly cheerful, being so clueless that they don&#8217;t even know they&#8217;re clueless.</span></p></blockquote>
<p>Jeff says in his post,</p>
<blockquote><p>There are two &#8220;classes&#8221; of programmers in the world of software development: I&#8217;m going to call them the 20% and the 80%.</p>
<p>The 20% folks are what many would call &#8220;alpha&#8221; programmers — the leaders, trailblazers, trendsetters, the kind of folks that places like Google and Fog Creek software are obsessed with hiring. These folks were the first ones to install Linux at home in the 90&#8242;s; the people who write lisp compilers and learn Haskell on weekends &#8220;just for fun&#8221;; they actively participate in open source projects; they&#8217;re always aware of the latest, coolest new trends in programming and tools.</p>
<p>The 80% folks make up the bulk of the software development industry. They&#8217;re not stupid; they&#8217;re merely vocational. They went to school, learned just enough Java/C#/C++, then got a job writing internal apps for banks, governments, travel firms, law firms, etc. The world usually never sees their software. They use whatever tools Microsoft hands down to them &#8212; usally VS.NET if they’re doing C++, or maybe a GUI IDE like Eclipse or IntelliJ for Java development. They&#8217;ve never used Linux, and aren&#8217;t very interested in it anyway. Many have never even used version control. If they have, it’s only whatever tool shipped in the Microsoft box (like SourceSafe), or some ancient thing handed down to them. They know exactly enough to get their job done, then go home on the weekend and forget about computers. </p></blockquote>
<p>It hit the nail. Once in an interview I was asked to write a program for a linked list, I was dumb struck. The interviewer was a ex-employee of Microsoft. He just posed this question as the first one in the interview. I just drew the Linked List representation and told him this is the algorithm. He wanted me to write the program on paper. I just couldn&#8217;t get it done. (It is a different story that I came back home furious about myself and settled down to complete writing the program in one sitting. I could not get it when it mattered.) That is when I knew, I am a terribly bad programmer. </p>
<p>I have been living in a Matrix(Movie), like Neo, oblivious of the fact that real programming is not what I do. Real programming is a lot more than what I do. Reading through the writings of Steve and Jeff, I realized I am being presented the red pill. I could either take the red pill and delve deep into the Truth, or just ignore it, and continue my living.</p>
<p>I am taking the red pill!!!</p>
<p>There are a few of posts that I would recommend to the curious reader.</p>
<p class="MsoNormal"><a href="http://steve.yegge.googlepages.com/being-the-averagest">Being the averagest</a></p>
<p class="MsoNormal"><a href="http://steve.yegge.googlepages.com/practicing-programming">Pr</a><a href="http://steve.yegge.googlepages.com/practicing-programming">actice Programming</a></p>
<p><a href="http://www.codinghorror.com/blog/archives/000072.html">Skill Disparities in Programmers</a></p>
<p><a href="http://www.codinghorror.com/blog/archives/000635.html">Separating Programming Sheep from Non-Programming Goats</a></p>
<p><a href="http://www.codinghorror.com/blog/archives/001004.html">Mort, Elvis and You</a></p>
<p><a href="http://www.codinghorror.com/blog/archives/001002.html">Two types of programmers</a></p>


<h4>Possibly Related posts:</h4><p><ol><li><a href='http://www.raasukutty.com/blog/musings/let-there-be-code.html' rel='bookmark' title='Permanent Link: Let there be Code!'>Let there be Code!</a> <small>Hello World!!! This is the first program that I wrote...</small></li>
<li><a href='http://www.raasukutty.com/blog/open-source/geek-code.html' rel='bookmark' title='Permanent Link: Geek Code'>Geek Code</a> <small>Here goes  my geek code as from www.geekcode.com -----BEGIN GEEK...</small></li>
<li><a href='http://www.raasukutty.com/blog/musings/free.html' rel='bookmark' title='Permanent Link: Free!'>Free!</a> <small>Free, I have broken free, free from proprietary software in...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.raasukutty.com/blog/musings/being-a-code-monkey.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
