<?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>My Mind Leaks &#187; Programming</title>
	<atom:link href="http://www.mymindleaks.com/blog/archives/tag/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mymindleaks.com/blog</link>
	<description>Software, Programming, Architecture &#38; More</description>
	<lastBuildDate>Sun, 11 Jul 2010 05:06:20 +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>Tamil dictionary for the Computer Words</title>
		<link>http://www.mymindleaks.com/blog/archives/tamil-dictionary-computer-words.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/tamil-dictionary-computer-words.html#comments</comments>
		<pubDate>Sun, 11 Jul 2010 05:06:20 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Articles on Computer Science]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mymindleaks.com/blog/?p=1091</guid>
		<description><![CDATA[I had a tamil dictionary for the Computer Words, just thought of sharing it. This one is prepared by Anna University ( Valarmathi mandram ) in 1998. http://www.mymindleaks.com/wp-content/uploads/2010/07/2421484-Tamil-Technical-Computer-Dictionary.pdf]]></description>
			<content:encoded><![CDATA[<p>I had a tamil dictionary for the Computer Words, just thought of sharing it. This one is prepared by Anna University ( Valarmathi mandram ) in 1998.</p>
<p>http://www.mymindleaks.com/wp-content/uploads/2010/07/2421484-Tamil-Technical-Computer-Dictionary.pdf</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/tamil-dictionary-computer-words.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP MySQL &#8211; Cannot Load MySQL Extension</title>
		<link>http://www.mymindleaks.com/blog/archives/php-mysql-cannot-load-mysql-extension.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/php-mysql-cannot-load-mysql-extension.html#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:37:48 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[mysql extensions]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mymindleaks.com/?p=713</guid>
		<description><![CDATA[I faced the problem of loading the MySQL Extentsion when I upgraded the PHP from 5.0 to 5.2.5. I search for websites on HOW-TO load the PHP MySQL Extension. All the websites quoted saying remove the semicolon &#8220;;&#8221; in the extensions section. It was the same answer even in MySQL forums, which I already knew. [...]]]></description>
			<content:encoded><![CDATA[<p>I faced the problem of loading the MySQL Extentsion when I upgraded the PHP from 5.0 to 5.2.5.<br />
I search for websites on HOW-TO load the PHP MySQL Extension.<br />
All the websites quoted saying remove the semicolon &#8220;;&#8221; in the extensions section.<br />
It was the same answer even in <a href="http://forums.mysql.com/read.php?52,64628,64628">MySQL forums</a>, which I already knew.</p>
<p>But that didn&#8217;t fix the problem. The problem is, the PHP cannot find the extension directory.<br />
Update the below line in your &#8220;php.ini&#8221; file.</p>
<blockquote><p>; Directory in which the loadable extensions (modules) reside.</p>
<p>extension_dir = &#8220;./ext&#8221;</p></blockquote>
<p><em>Source: Moved from maheshexp.wordpress.com</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/php-mysql-cannot-load-mysql-extension.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to auto map Windows network drives</title>
		<link>http://www.mymindleaks.com/blog/archives/how-to-auto-map-windows-network-drives.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/how-to-auto-map-windows-network-drives.html#comments</comments>
		<pubDate>Fri, 22 Aug 2008 12:52:15 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Run Commands]]></category>
		<category><![CDATA[Shell Command]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://mymindleaks.com/?p=679</guid>
		<description><![CDATA[Recently I had a strange problem. I&#8217;ve moved to a new PC in my office and the PC had all the stuffs installed which are needed for my work, but one. The one important stuff is all my Drive mappings to various network folders. I&#8217;m really irritated to map all the folders manually one by [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had a strange problem. I&#8217;ve moved to a new PC in my office and the PC had all the stuffs installed which are needed for my work, but one. The one important stuff is all my Drive mappings to various network folders. I&#8217;m really irritated to map all the folders manually one by one, because I had about 9 drives of different folders from different server.<span id="more-679"></span></p>
<p>So, googled for some solution and found a great resource on <a href="http://www.cezeo.com/tips-and-tricks/net-use-command/"title="Net command in windows" >&#8216;net&#8217; command in windows</a>. An idea struck me and, I immediately created a batch file which maps all the network folder to the corresponding network drive letter.</p>
<p><em><strong>Command Usage: net use [{DEVICE | *}] [\\COMPUTER\SHARE[\VOL]] [{PASSWORD | *}]] /PERSISTENT:{yes | no}}]</strong></em></p>
<p>I created a batch file as follows</p>
<blockquote><p>net use E: \\network\folder\to\connect /PERSISTENT:yes</p>
<p>net use F: \\network\folder\to\connect /PERSISTENT:yes</p>
<p>net use G: \\network\folder\to\connect /PERSISTENT:yes</p></blockquote>
<p>The /PERSISTAENT switch is the most important stuff to use. From the <em>cezeo.com</em></p>
<blockquote><p><strong>/PERSISTENT:{yes | no}</strong> : Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. Yes saves all connections as they are made, and restores them at next logon. No does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use /DELETE to remove persistent connections.</p></blockquote>
<p>Now this is a handy tool for anyone who wants to map all the missing network drives in their new PC in seconds.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/how-to-auto-map-windows-network-drives.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Object Oriented Programming &#8211; Abstraction</title>
		<link>http://www.mymindleaks.com/blog/archives/object-oriented-programming-abstraction.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/object-oriented-programming-abstraction.html#comments</comments>
		<pubDate>Tue, 27 May 2008 01:15:03 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Articles on Computer Science]]></category>
		<category><![CDATA[Abstraction]]></category>
		<category><![CDATA[object oriented programming]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mymindleaks.com/?p=651</guid>
		<description><![CDATA[Abstraction is a concept which facilitates to extract out the essential information of an object. In OOP ( Object Oriented Programming ) , Abstraction facilitates the easy conceptualization of real world objects into the software program. Abstraction lies everywhere! What ever you see, do and live are all full of abstraction. In mathematics, multiplication is [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 1pt">Abstraction is a concept which facilitates to extract out the essential information of an object.</p>
<p style="margin-left: 1pt">In OOP ( Object Oriented Programming ) , Abstraction facilitates the easy conceptualization of real world objects into the software program.</p>
<p style="margin-left: 1pt">Abstraction lies everywhere! What ever you see, do and live are all full of abstraction.</p>
<p style="margin-left: 1pt">In mathematics, <strong>multiplication </strong>is a kind of abstraction. The symbol &#8220;<span style="font-size:16pt"><strong>x</strong></span>&#8221; is an abstract symbol that can do multiplication of any two elements.<span style="font-size:12pt"><br />
</span></p>
<blockquote><p>2 <strong>x</strong> 3 = 6</p></blockquote>
<blockquote><p>3.5 <span style="font-size:16pt"><strong>x</strong></span> 3.7 = 12.95</p></blockquote>
<blockquote><p>(a + b) <span style="font-size:16pt"><strong>x</strong></span> ( a &#8211; b) = a^2 &#8211; b^2</p></blockquote>
<p style="margin-left: 1pt"><span id="more-651"></span></p>
<p style="margin-left: 1pt">In Art, Abstract Art is a kind of art, which depicts the distilled form of the world.</p>
<p style="margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction1.png" alt="051808 0406 abstraction1 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">
<p style="margin-left: 1pt"><em>Courtesy: <a href="http://www.flickr.com/photos/regiaart/">RegiaArt</a></em></p>
<p><strong>So, what exactly an Abstraction is?</strong></p>
<p>Abstraction facilitates the easy conceptualization of real world objects, by eliminating the unnecessary details of the object. Unnecessary details? Yes, all the similar objects when you generalize, you will drop the uncommon details about the objects.</p>
<p>E.g., when you model a generic prototype for CRT Television &amp; a Plasma Television, you look for details like Type of screen, Height, Width, thickness etc.; these are necessary details for a Television. But a Television object doesn&#8217;t need to have details of what kind of Electron it will bean to power the CRT, what kind of liquid plasmas it will use to power the Plasma TVs. These kinds of details are unnecessary details.</p>
<p>Let&#8217;s take mobile phone as the real world example. Look at the below mobile phones.</p>
<p style="margin-left: 1pt">
<p style="text-align: center; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction2.png" alt="051808 0406 abstraction2 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">What do you feel about them?</p>
<ul style="margin-left: 37pt">
<li>Firstly, everything is Nokia Mobiles</li>
<li>You could see Slide, Flip and Bar models</li>
<li>You could see Music, Business &amp; 3G Mobiles</li>
<li>You could see QWERTY , Basic and No keypads</li>
<li>You could extra music player button on music edition.</li>
<li>The Color, Size, Weight, Look etc&#8230;</li>
<li>And even more…</li>
</ul>
<p style="margin-left: 1pt">So, for better understanding I organize the mobile phones in the below format.</p>
<p style="text-align: center; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction3.png" alt="051808 0406 abstraction3 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">Basically, all the mobiles belong to Nokia.</p>
<p style="margin-left: 1pt">Still need a better classification, I drill down to its features and conceptualize the mobiles in more general way. So, you could categorize the mobiles as</p>
<ul style="margin-left: 37pt">
<li>Music</li>
<li>Business</li>
<li>Gaming</li>
<li>Normal</li>
<li>3G</li>
</ul>
<p style="margin-left: 1pt">As a layman user, you will feel its weight, color, style. As a music lover, you will check for the memory, type of media files it supports, and type of communication between devices (Bluetooth, Wi-Fi etc). As a business person, you will check for the memory, type of business application etc.</p>
<p style="text-align: center; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction4.png" alt="051808 0406 abstraction4 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">Now, you have got the details of the each and every mobile. It&#8217;s time to extract the most essential details of these mobile categories. Here I use an Abstraction filter, which abstracts out the essential details. So, essential details, here I mean is the most common properties of the mobiles.</p>
<p style="margin-left: 1pt">So, now the conceptualization of mobile has still got finer. Now you can still go deep and get a finer concept to model a generic / abstract mobile, which can be turned into a beautiful mobile of your kind.</p>
<p style="margin-left: 1pt">
<p style="text-align: center; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction5.png" alt="051808 0406 abstraction5 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">Now, you have extracted out the necessary details for each category of mobile. You still fine grain it to get a mobile phone&#8217;s basic property with the Abstraction filter.</p>
<p style="text-align: center; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction6.png" alt="051808 0406 abstraction6 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">Now, here comes your basic design of the Nokia mobile phone. You have learnt how you will abstract properties from the real world objects. Now the question is how you do it in the programming language. In the Object oriented principles, abstraction is achieved via Inheritance (a widely used design pattern)</p>
<p style="margin-left: 1pt">The class diagram for the Nokia mobile using Inheritance look like below</p>
<p style="text-align: center; background: white; margin-left: 1pt"><img src="http://mymindleaks.com/wp-content/uploads/2008/05/051808-0406-abstraction7.png" alt="051808 0406 abstraction7 Object Oriented Programming   Abstraction"  title="Object Oriented Programming   Abstraction" /><span style="font-size: 12pt; font-family: Times New Roman;"><br />
</span>
</p>
<p style="margin-left: 1pt">You would have missed to understand the abstraction in the computer science. Here are few places where you could see how the abstraction works</p>
<ul style="margin-left: 37pt">
<li>Network Layers – OSI Model</li>
<li>Database Architecture – Data Abstraction ( Physical, Logical , View )</li>
<li>Polymorphism – Abstraction of Actions / Methods</li>
<li>Templates in C++ or Java – Abstraction of Common Objects</li>
<li>Data Structures – Abstract way to store &amp; retrieve the data</li>
<li>Many more…</li>
</ul>
<p>One important thing you need to remember is &#8216;Abstract objects&#8217; never exists in real world. It is just the concept that we build to understand the working of real world objects.</p>
<p>E.g., There is nothing is called a Television, you have CRT Television (this is known commonly as TV), Plasma TV or LCD TV.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/object-oriented-programming-abstraction.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
