<?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>Senile Delusions... &#187; Programming</title>
	<atom:link href="http://blog.ratedsawj.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ratedsawj.com</link>
	<description>The Pensieve of a Mindless Guy</description>
	<lastBuildDate>Thu, 01 Jul 2010 15:09:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL Stored Procedures for Marriage</title>
		<link>http://blog.ratedsawj.com/2008/05/19/sql-stored-procedures-for-marriage/</link>
		<comments>http://blog.ratedsawj.com/2008/05/19/sql-stored-procedures-for-marriage/#comments</comments>
		<pubDate>Mon, 19 May 2008 17:55:48 +0000</pubDate>
		<dc:creator>SAWJ</dc:creator>
				<category><![CDATA[Computers/Technology]]></category>
		<category><![CDATA[Humorous]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.ali-jafri.com/?p=227</guid>
		<description><![CDATA[CREATE PROCEDURE MyMarriage
BrideGroom Male (25),
Bride Female(20) AS
BEGIN
SELECT Bride FROM india_ Brides WHERE FatherInLaw = &#8216;Millionaire&#8217;   AND Count(Car) &#62; 20   AND HouseStatus =&#8217;ThreeStoreyed&#8217; AND BrideEduStatus IN (B.TECH, BE, Degree, MCA, MiBA) AND Having  Brothers= Null   AND Sisters =Null
SELECT Gold, Cash, Car, BankBalance FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal [...]]]></description>
			<content:encoded><![CDATA[<p><strong>CREATE PROCEDURE</strong> MyMarriage<br />
BrideGroom Male (25),<br />
Bride Female(20) AS</p>
<p><strong>BEGIN</strong></p>
<p><strong>SELECT</strong> Bride <strong>FROM</strong> india_ Brides <strong>WHERE</strong> FatherInLaw = &#8216;Millionaire&#8217;   <strong>AND</strong> Count(Car) &gt; 20   <strong>AND</strong> HouseStatus =&#8217;ThreeStoreyed&#8217; <strong>AND</strong> BrideEduStatus <strong>IN </strong>(B.TECH, BE, Degree, MCA, MiBA) <strong>AND </strong>Having  Brothers= Null   <strong>AND </strong>Sisters =Null</p>
<p><strong>SELECT</strong> Gold, Cash, Car, BankBalance <strong>FROM </strong>FatherInLaw</p>
<p><strong>UPDATE</strong> MyBankAccout <strong>SET </strong>MyBal = MyBal + FatherInLawBal</p>
<p><strong>UPDATE</strong> MyLocker <strong>SET </strong>MyLockerContents = MyLockerContents + FatherInLawGold</p>
<p><strong>INSERT</strong> <strong>INTO </strong>MyCarShed <strong>VALUES </strong>(&#8217;BMW&#8217;)</p>
<p><strong>END</strong></p>
<p><strong>GO</strong></p>
<p style="text-align: center;">Find the errors if possible&#8230;&#8230;&#8230;..</p>
<h3  class="related_post_title">Most Commented</h3><ul class="related_post"><li>December 30, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/30/response-to-zakir-naik-part-1-muhammad-and-husain-repost/" title="Response To Zakir Naik Part 1: Muhammad And Husain (Repost)">Response To Zakir Naik Part 1: Muhammad And Husain (Repost)</a> (251)</li><li>July 25, 2008 -- <a href="http://blog.ratedsawj.com/2008/07/25/count-the-rods-in-the-chair/" title="Count the rods in the chair!">Count the rods in the chair!</a> (117)</li><li>November 15, 2008 -- <a href="http://blog.ratedsawj.com/2008/11/15/reconditioned-blog/" title="Reconditioned Blog ">Reconditioned Blog </a> (117)</li><li>December 18, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/18/645/" title="Rand()">Rand()</a> (117)</li><li>January 16, 2009 -- <a href="http://blog.ratedsawj.com/2009/01/16/knowledge-of-the-book/" title="Knowledge Of The Book">Knowledge Of The Book</a> (108)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.ratedsawj.com/2008/05/19/sql-stored-procedures-for-marriage/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Software Engineering Proverbs</title>
		<link>http://blog.ratedsawj.com/2008/03/21/software-engineering-proverbs/</link>
		<comments>http://blog.ratedsawj.com/2008/03/21/software-engineering-proverbs/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 14:09:11 +0000</pubDate>
		<dc:creator>SAWJ</dc:creator>
				<category><![CDATA[Humorous]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://blog.ali-jafri.com/archives/158</guid>
		<description><![CDATA[
 KISS &#8211; &#8220;Keep it simple, stupid.&#8221; &#8211; Don&#8217;t use fancy features when simple ones suffice.
RTFM &#8211; &#8220;Read the fascinating manual.&#8221; &#8211; Most complaints from the compiler can be solved by reading the book. Logical errors are something else.
Make your documentation short but sweet. &#8211; Always document your variable declarations, and tell what each subprogram [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li> <strong><em>KISS &#8211; &#8220;Keep it simple, stupid.&#8221;</em></strong> &#8211; Don&#8217;t use fancy features when simple ones suffice.</li>
<li><strong><em>RTFM &#8211; &#8220;Read the fascinating manual.&#8221;</em></strong> &#8211; Most complaints from the compiler can be solved by reading the book. Logical errors are something else.</li>
<li><strong><em>Make your documentation short but sweet.</em></strong> &#8211; Always document your variable declarations, and tell what each subprogram does.</li>
<li><strong><em>Every subprogram should do something and hide something</em></strong> &#8211; If you cannot concisely explain what your subprogram does, it shouldn&#8217;t exist.</li>
<li><strong><em>Program defensively</em></strong> &#8211; Add the debugging statements and routines at the beginning, because you know you are going to need them later.</li>
<li><strong><em>A good program is a pretty program.</em></strong> &#8211; Remember that you will spend more time reading your programs than others will.<strong><br />
</strong></li>
<li><em><strong>A clever person solves a problem. A wise person avoids it. </strong></em>(Einstein)</li>
<li><em><strong>Wexelblat&#8217;s Scheduling Algorithm &#8211; </strong>Choose two:</em>
<ul>
<li><em>Good</em></li>
<li><em>Fast</em></li>
<li><em>Cheap</em></li>
</ul>
</li>
<li><em><strong>The significant problems we face cannot be solved by the same level of thinking that created them. </strong></em>(Einstein)</li>
<li><em><strong>One test is worth a thousand opinions.</strong></em></li>
<li><em><strong>If you think good architecture is expensive, try bad architecture.</strong></em> (Brian Foote and Joseph Yoder)</li>
<li><em><strong>You can only find truth with logic if you have already found truth without it.</strong></em>[Gilbert Keith Chesterton (1874-1936)]</li>
</ul>
<h3  class="related_post_title">Most Commented</h3><ul class="related_post"><li>December 30, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/30/response-to-zakir-naik-part-1-muhammad-and-husain-repost/" title="Response To Zakir Naik Part 1: Muhammad And Husain (Repost)">Response To Zakir Naik Part 1: Muhammad And Husain (Repost)</a> (251)</li><li>July 25, 2008 -- <a href="http://blog.ratedsawj.com/2008/07/25/count-the-rods-in-the-chair/" title="Count the rods in the chair!">Count the rods in the chair!</a> (117)</li><li>November 15, 2008 -- <a href="http://blog.ratedsawj.com/2008/11/15/reconditioned-blog/" title="Reconditioned Blog ">Reconditioned Blog </a> (117)</li><li>December 18, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/18/645/" title="Rand()">Rand()</a> (117)</li><li>January 16, 2009 -- <a href="http://blog.ratedsawj.com/2009/01/16/knowledge-of-the-book/" title="Knowledge Of The Book">Knowledge Of The Book</a> (108)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.ratedsawj.com/2008/03/21/software-engineering-proverbs/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>My Matrix Program</title>
		<link>http://blog.ratedsawj.com/2008/01/31/my-matrix-program/</link>
		<comments>http://blog.ratedsawj.com/2008/01/31/my-matrix-program/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 10:57:54 +0000</pubDate>
		<dc:creator>SAWJ</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.ali-jafri.com/?p=121</guid>
		<description><![CDATA[Sometime around four months ago, I wrote a program in Java that takes two predefined 4 x 4 matrices, multiplies them and displays the result in matrix form. It took me more than two hours to figure out how to do it and another one to code it. It had more than four nested &#8216;for&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime around four months ago, I wrote a program in Java that takes two predefined 4 x 4 matrices, multiplies them and displays the result in matrix form. It took me more than two hours to figure out how to do it and another one to code it. It had more than four nested &#8216;for&#8217; loops to accomplish the task. It was something I considered my &#8220;hallmark achievement&#8221;!</p>
<p>For the past week I had been thinking of posting it on my blog so I could have something here to depict that I am a coder/developer, however bad. I searched for it on my computer. Wasn&#8217;t there. I looked into my USB hard drive. Wasn&#8217;t there either. I came to my office and searched for it on my network folders and drives. It wasn&#8217;t there either.  After searching the hard drive of every computer, I learned that many of them had been formatted and their operating systems reinstalled.</p>
<p>Now I am sitting here disappointed, with nothing to do, no jokes to crack, no smile on my face, after losing the best program I ever wrote (in Java) somewhere into the depths of the ocean full of USBs, network folders and formatted hard drives. May God help me in this hour of depression and sorrow! You can post your condolences as comments.</p>
<h3  class="related_post_title">Most Commented</h3><ul class="related_post"><li>December 30, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/30/response-to-zakir-naik-part-1-muhammad-and-husain-repost/" title="Response To Zakir Naik Part 1: Muhammad And Husain (Repost)">Response To Zakir Naik Part 1: Muhammad And Husain (Repost)</a> (251)</li><li>July 25, 2008 -- <a href="http://blog.ratedsawj.com/2008/07/25/count-the-rods-in-the-chair/" title="Count the rods in the chair!">Count the rods in the chair!</a> (117)</li><li>November 15, 2008 -- <a href="http://blog.ratedsawj.com/2008/11/15/reconditioned-blog/" title="Reconditioned Blog ">Reconditioned Blog </a> (117)</li><li>December 18, 2008 -- <a href="http://blog.ratedsawj.com/2008/12/18/645/" title="Rand()">Rand()</a> (117)</li><li>January 16, 2009 -- <a href="http://blog.ratedsawj.com/2009/01/16/knowledge-of-the-book/" title="Knowledge Of The Book">Knowledge Of The Book</a> (108)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.ratedsawj.com/2008/01/31/my-matrix-program/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
