<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Technology , Fun and Spirit</title>
	<atom:link href="http://madhucm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://madhucm.wordpress.com</link>
	<description>Just make use of it !!</description>
	<lastBuildDate>Thu, 22 Sep 2011 20:25:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='madhucm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Technology , Fun and Spirit</title>
		<link>http://madhucm.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://madhucm.wordpress.com/osd.xml" title="Technology , Fun and Spirit" />
	<atom:link rel='hub' href='http://madhucm.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Java Rebel saves me &#8230;.</title>
		<link>http://madhucm.wordpress.com/2008/09/15/java-rebel-saves-me/</link>
		<comments>http://madhucm.wordpress.com/2008/09/15/java-rebel-saves-me/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 05:58:28 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=53</guid>
		<description><![CDATA[Today i found one of the most interesting tool called Java Rebel (http://www.zeroturnaround.com/javarebel/). Before explaining about this tool , i would like to tell what are the steps i was doing for deploying the application. Running Managed and admin server everytime after you made code changes(Changing logic etc..) in any &#8220;.class&#8221; file . These steps will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=53&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span class="015113505-25082008"><span style="font-family:Arial;">Today i found one of the  most interesting tool called<strong> Java Rebel (<a href="http://www.zeroturnaround.com/javarebel/">http://www.zeroturnaround.com/javarebel/</a>).</strong></span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">Before explaining about  this tool , i would like to tell what are the steps i was doing for deploying  the application.</span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">Running Managed and admin  server everytime after you made code changes(Changing logic etc..) in any  &#8220;.class&#8221; file .</span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">These steps will repeat  whenever you do code changes. And developer has to wait until the servers has  been brought up. This will kill developer time indeed.</span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">But this tool <strong>Java  Rebel </strong> make no more or less chances to re-deploy webapplication after  any code changes in your class file.</span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">You can make changes in  your code , and see the effect for your change without re-deploying the  servers!! , thats amazing one.</span></span></div>
<div></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;">&#8220;<span style="font-family:Times New Roman;"><em>JavaRebel is a JVM plugin (-javaagent) that enables  to reload changes made to Java class files on-the-fly, saving developers </em></span></span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;"><span style="font-family:Times New Roman;"><em>the time that it takes to redeploy an application or  perform a container restart. It is a generic solution that works for Java  EE</em></span></span></span></div>
<div><span class="015113505-25082008"><span style="font-family:Arial;"><span style="font-family:Times New Roman;"><em> and Java standalone  applications</em></span>&#8220;.</span></span></div>
<div></div>
<div><span class="015113505-25082008">The following classes will be reloaded when they are changed and  compiled:</p>
<ol>
<li>All “.class” classes inside the usual classpath  (<code>WEB-INF/classes</code>, etc).  will provide the best JavaRebel  experience.</li>
</ol>
<p></span></div>
<div><span class="015113505-25082008"></p>
<p></span></div>
<div><span class="015113505-25082008"><span class="015113505-25082008"><span style="font-size:x-small;font-family:Arial;"><strong><span style="font-size:large;">Installation</span></strong></span></span></span></div>
<div>
<div>
<div>
<div><span class="015113505-25082008"><span style="font-size:x-small;font-family:Arial;"><span style="font-size:small;font-family:Times New Roman;">edit  your wisorStartManagedWeblogic.cmd file ,</span></span></span></div>
</div>
<h3><span style="font-size:x-small;font-family:Arial;"><span style="font-size:small;font-family:Times New Roman;">Add the following to JVM command line  (note that it is important that the JAR would be named  “javarebel.jar”)</span></span></h3>
<pre><span style="font-size:x-small;font-family:Arial;"><span style="font-size:small;font-family:Times New Roman;">" -noverify -javaagent:/path/to/javarebel.jar "</span></span>
<span style="font-size:x-small;font-family:Arial;"><span style="font-size:medium;font-family:Times New Roman;">for example: set JAVA_OPTIONS=-noverify -javaagent:d:\javarebel\javarebel.jar</span></span></pre>
</div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=53&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/09/15/java-rebel-saves-me/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>
	</item>
		<item>
		<title>python to pythoning &#8230;&#8230;</title>
		<link>http://madhucm.wordpress.com/2008/09/01/python-to-pythoning/</link>
		<comments>http://madhucm.wordpress.com/2008/09/01/python-to-pythoning/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 10:08:53 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=49</guid>
		<description><![CDATA[Its not a dramatic change in me for switching from &#8220;Java&#8221; to python And i did not. &#8230;. well , all i  wanted to have fun coding in python rather than &#8220;Java&#8221; &#8230;. Intially i was totally confused whether i should  learn ruby or groovy or python or whatever that suppose to make me smile [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=49&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot.jpg" alt="" /><img src="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot-2.jpg" alt="" /></p>
<p><img src="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot-3.jpg" alt="" /></p>
<h1><a id="logolink" href="http://www.python.org/"><img src="http://www.python.org/images/python-logo.gif" border="0" alt="homepage" /></a></h1>
<p>I<img src="/DOCUME%7E1/madhuc/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" />ts not a dramatic change in me for switching from &#8220;Java&#8221; to python And i did not. &#8230;. well , all i  wanted to have fun coding in python rather than &#8220;Java&#8221; &#8230;. Intially i was totally confused whether i should  learn ruby or groovy or python or whatever that suppose to make me smile while coding&#8230;. But i learned python that its one of the more popular , strong ,dynamic bla bla bla &#8230;&#8230; And i am still a novice , i started with byte of python tutorial which is excellent tutorial by swaroop (http://www.swaroopch.com/byteofpython/) &#8230;. Ya just started out with python shell executing all basic stuffs using IDLE &#8230; Its amazing thing to learn python .. if you python then surely you will never turn off from your mind &#8230; get addicted to it , like i am . Till now i learned so many things that i wouldn&#8217;t have learned from any other language &#8230; beacause its very simple , ease &#8230; and only thing that you have to apply some common sense while pythoning &#8230;.</p>
<p>You can write sophisticated taks within in few lines &#8230; what you code in java/c++/c can be done within few lines &#8230;.. you will more over concentrate on solution to the problem rather than syntax !&#8230; And it has got numerious GUI and Web frameworks and its still amazing .</p>
<p>Today i found libgmail.py library , where i can play around with GMAIL account using python&#8230;. (http://libgmail.sourceforge.net/)</p>
<p>Which is a Library to provide access to Gmail via <a href="http://python.org/">Python</a></p>
<p>After downloading libgmail &#8230; all i have to extract to my /lib directory .</p>
<p>some examples i worked out &#8230;..</p>
<p><strong>SEND MAIL</strong></p>
<p>import libgmail<br />
import mechanize as ClientCookie</p>
<p>ga = libgmail.GmailAccount(&#8220;username@gmail.com&#8221;, &#8220;password&#8221;)<br />
ga.login()<br />
msg = libgmail.GmailComposedMessage(&#8216;to@gmail.com&#8217;,'subject&#8217;,'body&#8217;)<br />
ga.sendMessage(msg)<br />
print &#8216;\nEmail sent&#8217;</p>
<p><strong>READ MAIL</strong></p>
<p>import libgmail<br />
ga = libgmail.GmailAccount(&#8220;username@gmail.com&#8221;, &#8220;password&#8221;)<br />
ga.login()<br />
folder = ga.getMessagesByFolder(&#8220;inbox&#8221;, True)<br />
for thread in folder:<br />
print &#8220;Thread:&#8221;, thread.id, &#8220;Subject:&#8221;, thread.subject<br />
for msg in thread:<br />
print &#8220;Msg:&#8221;, msg.id, &#8220;,Author&#8221;, msg.author, &#8220;,Subject:&#8221;, msg.subject</p>
<p><strong>To send attachment files</strong></p>
<p>import libgmail<br />
ga = libgmail.GmailAccount(&#8220;username@gmail.com&#8221;, &#8220;password&#8221;)<br />
ga.login()<br />
myFiles = ["/file1", "/file2", "/file3"]<br />
msg=libgmail.GmailComposedMessage(&#8220;friend@gmail.com&#8221;, &#8220;SubjectHere&#8221;, &#8220;BodyHere&#8221;, filenames=myFiles)<br />
ga.sendMessage(msg)</p>
<p>Infact you can read contacts , read trash , read Unread mails etc &#8230;&#8230;..</p>
<p>Isnt it amazing !! &#8230;. poetic way to python &#8230;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=49&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/09/01/python-to-pythoning/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot.jpg" medium="image" />

		<media:content url="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot-2.jpg" medium="image" />

		<media:content url="/DOCUME~1/madhuc/LOCALS~1/Temp/moz-screenshot-3.jpg" medium="image" />

		<media:content url="http://www.python.org/images/python-logo.gif" medium="image">
			<media:title type="html">homepage</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/madhuc/LOCALS%7E1/Temp/moz-screenshot-1.jpg" medium="image" />
	</item>
		<item>
		<title>Custom Your Own Personal Virtual Private Network with Hamachi</title>
		<link>http://madhucm.wordpress.com/2008/08/01/creating-your-own-personal-virtual-private-network-with-hamachi/</link>
		<comments>http://madhucm.wordpress.com/2008/08/01/creating-your-own-personal-virtual-private-network-with-hamachi/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 09:42:34 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=45</guid>
		<description><![CDATA[Hamachi isn’t a brand new utility or idea. Hamachi is a service that runs in the background and connects your computer to any other computer you wish in a particular network. This creates an encrypted VPN (Virtual Private Network) between you and other PCs in your own network. This becomes ultra convenient when you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=45&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://secure.logmein.com/products/hamachi/vpn.asp"> </a></p>
<p><img src="http://www.makeuseof.com/wp-content/uploads/2008/07/logmeinhamachi.gif" border="0" alt="" align="left" /><a href="https://secure.logmein.com/products/hamachi/vpn.asp"></a></p>
<p><a href="https://secure.logmein.com/products/hamachi/vpn.asp">Hamachi</a> isn’t a brand new utility or idea.</p>
<p>Hamachi is a service that runs in the background and connects your computer to any other computer you wish in a particular network. This creates an encrypted VPN (Virtual Private Network) between you and other PCs in your own network.</p>
<p>This becomes ultra convenient when you have a number of PCs that you want to connect to, for example if you have a work PC, home PC, school PC and/or servers. Once Hamachi is installed, the computers are available via IP address for their file shares, or any other service. Lots of people also use to play video games in a multi-player mode regardless of their location.</p>
<p>I like a few things about Hamachi that set it apart from the other VPN software available:</p>
<ul>
<li><strong>Ease of use</strong> &#8211; Installing the program is a snap!</li>
<li><strong>Network Compatibility</strong> &#8211; Works with many types of networks, uses a variety of methods to get around firewalls (NAT, etc.)</li>
<li><strong>Cross-Platform Availability</strong> &#8211; Clients include the typical Windows and Mac, but also Linux, Mobile Devices, Windows Mobile and more.</li>
<li><strong>Security Built In</strong> &#8211; Communication between Hamachi clients is encrypted.</li>
</ul>
<h2>Windows Hamachi Install</h2>
<p>Setting up the client is easy on Windows.</p>
<p><img class="alignnone size-full wp-image-4069" src="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi2.jpg" alt="Installing Hamacho On Windows" /></p>
<p>After installing the client, run it for the first time and “power” it on. It will have you create a network, and include a password so that anyone joining it (if it is a personal network, this would just be you) will need a password.</p>
<p><img src="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi1.jpg" alt="Hamachi GUI" align="right" /> You will then join the network. For now, you will be the only one in this network. On subsequent installations, you can cancel out of the “create” network part. You will just join the network &#8211; so supply the password you used while creating the network.</p>
<p>Setting Hamachi up on Linux is a bit more difficult because it is via command line, however it is still easy as long as you are comfortable typing in a few commands.</p>
<h2>Linux Install</h2>
<p>From the readme for the Linux client:</p>
<ul>
<li>Run ‘make install’ and then ‘tuncfg’ from under the root account</li>
<li>Run ‘hamachi-init’ to generate crypto identity (any account).</li>
<li>Run ‘hamachi start’ to launch Hamachi daemon.</li>
<li>Run ‘hamachi login’ to put the daemon online and to create an account.</li>
<li>Run ‘hamachi join ‘ to join the network.</li>
<li>Run ‘hamachi go-online ‘ to go online in the network.</li>
<li>Run ‘hamachi list’ to list network members and their status.</li>
</ul>
<p>More or less, this is all you will need to do. Depending on which flavor of linux you are installing this on, there may be some tricks you’ll need to use to get it working properly. Also, don’t forget to add it to your init scripts (or rc.local) to load on startup.</p>
<p>There is also a GTK GUI for the Linux client &#8211; see <a href="https://forums.hamachi.cc/viewtopic.php?t=2488">this forum post</a> if you are interested in downloading or knowing more about it.</p>
<h2>So now what?</h2>
<p>So now that you have your machines set up, what can you do with them?</p>
<p>Here is just a random selection of some useful programs or services that you can use between your Hamachi clients:</p>
<p><img class="alignright size-full wp-image-4071" src="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi3.jpg" alt="" /></p>
<ul><strong>VNC, Remote Desktop, NoMachine, etc.</strong> &#8211; Remotely access any PC on the VPN. The connection is encrypted, so you feel secure using even unencrypted protocols (like default VNC).<strong>File Shares</strong> &#8211; Whether you use Windows file sharing, Samba or other protocols, you can access files on any other Hamachi PC. For Windows shares, just use the IP: \\5.x.x.x\. You can also map these shares to a drive, giving you access to your files like a local drive.</p>
<p><strong>Music or Video Streaming</strong> &#8211; Use a streaming media server, such as <a href="http://en.jinzora.com/">Jinzora</a>, to stream music from one PC to another.</p>
<p><strong>Gaming</strong> &#8211; Play multi-player games with friends even if you’re on different networks.</ul>
<p>Really anything you can think of that would be handy via a VPN, P2P network would work really well with Hamachi. Most connections are direct, so bandwidth is limited by your direct internet connection. In some cases a ‘relay’ is used to maintain connectivity, but this is only used in rare cases (Hamachi claims that 95% of connections are direct).</p>
<p>Finally, there are two versions of Hamachi. The free version has a few limitations &#8211; namely it will not run as a system service, is limited to the number of networked clients and uses ‘low speed’ relays (when necessary). The paid version takes away these limitations &#8211; for a full description see the <a href="https://secure.logmein.com/products/hamachi/advantages.asp">comparison page</a>.</p>
<p>The only two downsides that I can see to Hamachi is that it is closed-source, and that it depends on mediation servers. Being closed source, it is impossible to audit the code to ensure it is 100% secure and encrypted. The mediation servers have always worked well for me, but this adds in a 3rd party which some people may not like.</p>
<p>Hopefully you will find Hamachi as useful as I have! This program was purchased by LogMeIn a few years back but has retained its free and useful nature. If you have any particular issues with it, <a href="https://forums.hamachi.cc/">their forum</a> is a great resource with lots of knowledgeable users.</p>
<p>Alternatives: <a href="http://openvpn.net/">OpenVPN</a> is a similar service, but since there is no mediation server &#8211; configuration is a good bit more complex.</p>
<p>source :www.makeuseof.com</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=45&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/08/01/creating-your-own-personal-virtual-private-network-with-hamachi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="http://www.makeuseof.com/wp-content/uploads/2008/07/logmeinhamachi.gif" medium="image" />

		<media:content url="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi2.jpg" medium="image">
			<media:title type="html">Installing Hamacho On Windows</media:title>
		</media:content>

		<media:content url="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi1.jpg" medium="image">
			<media:title type="html">Hamachi GUI</media:title>
		</media:content>

		<media:content url="http://www.makeuseof.com/wp-content/uploads/2008/07/hamachi3.jpg" medium="image" />
	</item>
		<item>
		<title>look windows partition through linux .</title>
		<link>http://madhucm.wordpress.com/2008/06/19/look-windows-partition-through-linux/</link>
		<comments>http://madhucm.wordpress.com/2008/06/19/look-windows-partition-through-linux/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 12:14:47 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=44</guid>
		<description><![CDATA[By default, Linux can only see his own partition(s). But what if you need some data stored on a partition readable by Windows (wich uses an NTFS or FAT filesystem)? Of course Linux allow you to read the content of both FAT and NTFS partitions, but you have to mount them: I’ll show you how. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=44&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default, Linux can only see his own partition(s).<br />
But what if you need some data stored on a partition readable by Windows (wich uses an <a href="http://www.microsoft.com/windowsxp/using/setup/expert/russel_october01.mspx">NTFS or FAT</a> filesystem)?</p>
<p>Of course <strong>Linux allow you to read the content of both FAT and NTFS partitions</strong>, but you have to mount them: I’ll show you how.</p>
<p><em>mount a filesystem</em> means that you virtually place the whole partition on a directory under the root directory <span class="codespan">/</span>, and you specify what the system is allowed to do with it: you can mount a filesystem as read-only, or as writable.</p>
<p>The command is <a href="http://linux.about.com/od/commands/l/blcmdl8_mount.htm">mount</a>, and the syntax is the following:</p>
<div class="codebox">mount -t filesystem_type device directory [options]</div>
<p>Let’s explain: this command mounts the filesystem found on <em>device</em> (which is formatted with <em>filesystem_type</em>) on <em>directory</em> (properly called <span style="font-style:italic;">mount point</span>) with the specified <em>[options]</em>.<br />
Devices are usually listed under <span class="codespan">/dev</span>; hard disk partitions are identified from the letters <span class="codespan">hd</span>, followed by the disk order in letters (A for the first disc, B for the second, and so on) and then the number that identifies the number of the partition on the phisycal drive (1, 2, 3…).</p>
<p>Usually, the only options you will need to care about are <span class="codespan">-ro</span> for <em>read-only</em> and <span class="codespan">-w</span> for <em>read-write</em>.</p>
<p>Let’s make a practical example.<br />
<strong> Say that you want to mount the partition in which is installed Windows XP</strong>, that is on /hda2 (then, <span class="codespan">/dev/hda2</span> under Linux) and you want to show its content, as read-only, in <span class="codespan">/mnt/windows</span>. The command for that will be the following:</p>
<div class="codebox">mount -t ntfs /dev/hda2 /mnt/windows -ro</div>
<p>Now, you can go to <span class="codespan">/mnt/windows</span>, and you will see your so-called <span class="codespan">C:</span> disc here. Quite simple, isn’t it?</p>
<p>So, now we know how to manually mount partitions.</p>
<h4>How to mount partitions automatically at the system boot?</h4>
<p>The key is on this file: <span class="codespan">/etc/fstab</span>. This file contains informations about partitions and storage devices on your computer. During the boot, Linux reads its instructions and mount filesystems accordingly.<br />
In this file, every row contains informations about a partition. The structure of a row is:</p>
<div class="codebox">&lt;device&gt;  &lt;mount point&gt;  &lt;type&gt;  &lt;options&gt;  &lt;dump&gt;  &lt;check&gt;</div>
<p>Let’s explain:<br />
<em>Device</em> is your device (/dev/hda2 accordingly to the previous example), <em>mount point</em> is the directory where you will see your data, <em>type</em> is the filesystem (e.g. “ntfs” for windows), <span style="font-style:italic;">options</span> have to be comma-separated (I will return on them in a moment), <span style="font-style:italic;">dump</span> and <span style="font-style:italic;">check</span> refers, respectively, to <span style="font-style:italic;">“do you want a backup of this”</span> and <span style="font-style:italic;">“do you want the system to check this disc”.</span> Both these values can be <span class="codespan">0</span> or <span class="codespan">1</span>, respectively for <span class="codespan">True</span> or <span class="codespan">False</span>. If you’re mounting a Windows partition, leave <span class="codespan">0</span> for both.<br />
<strong>Options</strong>: they are almost the same allowed for <span class="codespan">mount</span> command. When mounting a Windows unit, the only really useful options are: <span class="codespan">ro</span> (or <span class="codespan">rw</span>, respectively for Read-only and Read-write), and <span class="codespan">user</span> (or <span class="codespan">nouser</span>: default is <span class="codespan">nouser</span>, and if you don’t change this to <span class="codespan">user</span>, the system will not mount your device unless you are logged in as root).</p>
<p>Going on with the example, a row in <span class="codespan">/etc/fstab</span> that will automatically mount the Windows XP partition found on <span class="codespan">/dev/hda2</span> in <span class="codespan">/mnt/windows</span> <em>as read-only</em>, would look as the following:</p>
<div class="codebox">/dev/hda2 /mnt/windows ntfs ro,user 0 0</div>
<p>Now, every time you boot, you will able to read contents from <span class="codespan">C:</span> into <span class="codespan">/mnt/windows</span>!</p>
<p>If you wish, you can read a <a href="http://www.tuxfiles.org/linuxhelp/fstab.html">more extensive documentation on fstab</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=44&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/06/19/look-windows-partition-through-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>
	</item>
		<item>
		<title>IDE battle , Netbeans 6 and eclipse 3.3</title>
		<link>http://madhucm.wordpress.com/2008/06/12/ide-battle-netbeans-6-and-eclipse-33/</link>
		<comments>http://madhucm.wordpress.com/2008/06/12/ide-battle-netbeans-6-and-eclipse-33/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 06:41:21 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=42</guid>
		<description><![CDATA[or The competition between these two IDE&#8217;s play mind games in programmer&#8217;s mind these days. Choosing right IDE for your needs makes us to think twice . Eventually , we choose the best or even not !. I have been using eclipse for around 2 to 3 years on my development , and i found [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=42&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.netbeans.org/community/releases/61/"><img src="http://www.netbeans.org/images/v6/nb-logo-frontpage.gif" alt="NetBeans IDE" width="210" height="45" /></a> or   <a href="http://www.google.co.in/imgres?imgurl=http://siis.cse.psu.edu/jpmail/pics/Eclipse_logo_white.jpg&amp;imgrefurl=http://siis.cse.psu.edu/jpmail/jiftools.html&amp;h=180&amp;w=309&amp;sz=7&amp;tbnid=XrZaIxvZ2T4J:&amp;tbnh=68&amp;tbnw=117&amp;prev=/images%3Fq%3Declipse%2Blogo&amp;hl=en&amp;sa=X&amp;oi=image_result&amp;resnum=1&amp;ct=image&amp;cd=3"><img src="http://tbn0.google.com/images?q=tbn:XrZaIxvZ2T4J:siis.cse.psu.edu/jpmail/pics/Eclipse_logo_white.jpg" border="1" alt="http://siis.cse.psu.edu/jpmail/jiftools.html" vspace="4" width="117" height="68" align="middle" /></a></p>
<p><img src="/DOCUME%7E1/madhuc/LOCALS%7E1/Temp/moz-screenshot-7.jpg" alt="" /> The competition between these two IDE&#8217;s play mind games in programmer&#8217;s mind these days. Choosing right IDE for your needs makes us to think twice . Eventually , we choose the best or even not !. I have been using eclipse for around 2 to 3 years on my development , and i found comfortable , later i heard about Sun&#8217;s Netbeans IDE . So i tried to experiment on version 5 which was long back i used . And i found little bit programmer friendly , ofcourse it gives same basic thing what eclipse can do . But what highlighted me is much ease use of plugin&#8217;s and integration with multi-language capability.  Afterall , we end up coding in java even we choose any &#8220;IDE&#8217;s&#8221; .</p>
<p>There is perhaps no area of programming tools where competition is as intense as in the Java IDE market. Even though there are only four primary players &#8212; Eclipse, NetBeans, IntelliJ IDEA, and Oracle JDeveloper (Rational and CodeGear JBuilder build on Eclipse).The competition is most intense between Eclipse, NetBeans, and IntelliJ IDEA, likely because those products have the most active communities of users and those users tend to be personally attached to their preferred environment. Of the three, only Eclipse and NetBeans are free and open source.</p>
<p>I will mention One of the <em><strong>weirdest thing </strong></em>about eclipse and nebeans i came across .                            <strong>Eclipse</strong> installation consists of unzipping a download file. As long as you have Java 5 installed on your system, simply clicking on the Eclipse icon will get you started. Once you do, however, you are confronted with an annoyance particular to Eclipse &#8212; workspaces. If you later create a project and don&#8217;t place it at the first-level subdirectory of your Eclipse workspace, you receive an                         error message.</p>
<p>Installing <strong>NetBeans </strong>is better but not. For example, if at the time of installation on Windows, the                         JDK is not specifically located in <code>C:\Program Files\Java</code>, the installation fails with a dialog stating that no instance of the JDK was found. NetBeans does not ask where the JDK is located: it simply doesn&#8217;t run. It does give the option of re-running the installation from a command line and specifying the location using a command-line switch, but it provides no example.</p>
<h3>The editing experience</h3>
<h4>Table 1. Editing features</h4>
<table style="clear:both;height:158px;" border="1" width="403">
<tbody>
<tr>
<th>Feature</th>
<th>Eclipse 3.3</th>
<th>NetBeans 6.0</th>
</tr>
<tr>
<td>Code refactorings</td>
<td>22</td>
<td>17</td>
</tr>
<tr>
<td>Generates</td>
<td>Getters/Setters and similar, javadoc, unit tests, UML</td>
<td>Getters/Setters and similar, javadoc, unit tests, UML, BPEL</td>
</tr>
<tr>
<td>Spell checking comments and literals</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>Other Java-related editors</td>
<td>JSP, JSF, XML, HTML</td>
<td>JSP, JSF, XML, HTML</td>
</tr>
</tbody>
</table>
<h3>Language support</h3>
<p>Eclipse officially supports C/C++, COBOL, PHP, and AspectJ. Its dynamic language toolkit project unofficially supports Ruby.</p>
<p>NetBeans supports C/C++ and two versions of Ruby: regular Ruby and JRuby, which runs on the JVM rather than the Ruby VM.</p>
<h3>Plugins</h3>
<p>Eclipse dominates in all aspects of plugins. Nearly all new commercial plugins that ship for Java (such as recent Java products from Agitar and Enerjy) ship for Eclipse                         first. Actually, most of them ship for Eclipse only. A few are ported to NetBeans, but not many.</p>
<h3>Rate &#8216;em</h3>
<p>Personal preference plays a uniquely important role in choosing the development environment . Consequently, any head-to-head comparison that results in a rating will be useful to only the fraction of readers who weigh the given features the same way the reviewer does. Below list tells about the weightings for the features I think are important. You should change these weightings to reflect your preferences and then calculate your own final score.</p>
<h4>Table 2. NetBeans 6.0 vs. Eclipse 3.3: Rated</h4>
<table style="clear:both;" border="1" width="60%">
<tbody>
<tr>
<th>Feature</th>
<th>Weighting</th>
<th>Eclipse 3.3</th>
<th>NetBeans 6.0</th>
</tr>
<tr>
<td>Ease of use/editing features</td>
<td>40%</td>
<td>2.8</td>
<td>3.6</td>
</tr>
<tr>
<td>Scripting/other languages</td>
<td>10%</td>
<td>3.0</td>
<td>3.6</td>
</tr>
<tr>
<td>Enterprise support</td>
<td>20%</td>
<td>3.2</td>
<td>3.0</td>
</tr>
<tr>
<td>Plugin ecosystem</td>
<td>30%</td>
<td>3.8</td>
<td>2.7</td>
</tr>
<tr>
<td><strong>Total score</strong></td>
<td></td>
<td>3.20</td>
<td>3.21</td>
</tr>
</tbody>
</table>
<p>During that time, Eclipse-based IDEs have regularly won top honors, while versions of NetBeans have lagged badly. This is the first review in which NetBeans truly stands on a par with Eclipse, and depending on your weightings could finish ahead. NetBeans has definitely arrived and is worthy of careful evaluation.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=42&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/06/12/ide-battle-netbeans-6-and-eclipse-33/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="http://www.netbeans.org/images/v6/nb-logo-frontpage.gif" medium="image">
			<media:title type="html">NetBeans IDE</media:title>
		</media:content>

		<media:content url="http://tbn0.google.com/images?q=tbn:XrZaIxvZ2T4J:siis.cse.psu.edu/jpmail/pics/Eclipse_logo_white.jpg" medium="image">
			<media:title type="html">http://siis.cse.psu.edu/jpmail/jiftools.html</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/madhuc/LOCALS%7E1/Temp/moz-screenshot-7.jpg" medium="image" />
	</item>
		<item>
		<title>Linux OS fits into Pen drive !</title>
		<link>http://madhucm.wordpress.com/2008/06/10/linux-os-fits-into-pen-drive/</link>
		<comments>http://madhucm.wordpress.com/2008/06/10/linux-os-fits-into-pen-drive/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 07:08:39 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=41</guid>
		<description><![CDATA[Damn Small Linux, DSL is a free download that fits inside less than 50MB, so it&#8217;s easily booted from a CD, a USB drive, or an ancient PC with only 8MB of memory. Important changes that occurred are: New drag-and-drop capabilities in the file manager Improved Wi-Fi support (through ndiswrapper, madwifi, and other modules) New [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=41&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="contentwrapper">
<div id="content">
<div id="main" class="main section">
<div id="Blog1" class="widget Blog">
<div class="blog-posts">
<div class="post uncustomized-post-template">
<div class="entrytitle">
<div class="post-header-line-1"><span style="color:#111111;background-color:#dedfcc;"><img style="border-width:0;" src="http://lh6.google.com/renjusgallery/RyJmDP8zTAI/AAAAAAAAAdU/-vNDZ9hsuMU/image%5B5%5D.png?imgmax=800" border="0" alt="image" width="174" height="135" align="right" /></span><a href="http://damnsmalllinux.org/" target="_blank"><span style="color:#000000;">Damn Small Linux</span></a>, <a id="KonaLink1" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;border-bottom:#5f5f5e 1px solid;font-family:Arial,Helvetica,sans-serif;position:relative;background-color:transparent;">DSL</span></span></a> is a free download that fits inside less than 50MB, so it&#8217;s easily booted from a CD, a <a id="KonaLink2" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;border-bottom:#5f5f5e 1px solid;font-family:Arial,Helvetica,sans-serif;position:relative;background-color:transparent;">USB </span><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;border-bottom:#5f5f5e 1px solid;font-family:Arial,Helvetica,sans-serif;position:relative;background-color:transparent;">drive</span></span></a>, or an ancient PC with only 8MB of memory.</div>
</div>
<div class="post-body">
<p>Important changes that occurred are:</p>
<ul>
<li>New drag-and-drop capabilities in the file manager</li>
<li>Improved <a id="KonaLink3" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;font-family:Arial,Helvetica,sans-serif;position:relative;">Wi-Fi</span></span></a> support (through ndiswrapper, madwifi, and other modules)</li>
<li>New GUI interfaces for changing system preferences, managing printers and other tasks</li>
<li>Kernel upgrade to 2.4.31, which means better power management and device support</li>
</ul>
<p>Damn Small <a id="KonaLink6" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;font-family:Arial,Helvetica,sans-serif;position:relative;">Linux</span></span></a> now includes</p>
<p>XMMS (MP3, CD Music, and MPEG), <a id="KonaLink4" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;border-bottom:#5f5f5e 1px solid;font-family:Arial,Helvetica,sans-serif;position:relative;background-color:transparent;">FTP </span><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;border-bottom:#5f5f5e 1px solid;font-family:Arial,Helvetica,sans-serif;position:relative;background-color:transparent;">client</span></span></a>, Dillo web browser, Netrik web browser, FireFox, spreadsheet, Sylpheed email, spellcheck (US English), a word-processor (Ted), three editors (Beaver, Vim, and Nano [Pico clone]), graphics editing and viewing (Xpaint, and xzgv), Xpdf (PDF Viewer), emelFM (file manager), Naim (AIM, ICQ, IRC), VNCviwer, Rdesktop, SSH/SCP server and client, DHCP client, PPP, PPPoE (ADSL), a web <a id="KonaLink5" class="kLink" href="http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html#" target="_top"><span style="font-weight:400;font-size:12px;color:#5f5f5e !important;position:static;"><span class="kLink" style="font-weight:400;font-size:12px;color:#5f5f5e;font-family:Arial,Helvetica,sans-serif;position:relative;">server</span></span></a>, calculator, generic and GhostScript printer support, NFS, Fluxbox and JWM window managers, games, system monitoring apps, a host of command line tools, USB support, and pcmcia support, some wireless support.</p>
<p>Download <a href="http://damnsmalllinux.org/download.html"><span style="color:#000000;">Damn Small Linux</span></a> here by choosing the download mirror.</p>
<p>source : http://www.renjusblog.com/2007/10/linux-os-less-than-50mb-for-pen-drives.html</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=41&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/06/10/linux-os-fits-into-pen-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/renjusgallery/RyJmDP8zTAI/AAAAAAAAAdU/-vNDZ9hsuMU/image%5B5%5D.png?imgmax=800" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Dynamic image</title>
		<link>http://madhucm.wordpress.com/2008/05/21/creating-dynamic-image/</link>
		<comments>http://madhucm.wordpress.com/2008/05/21/creating-dynamic-image/#comments</comments>
		<pubDate>Wed, 21 May 2008 07:06:49 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=39</guid>
		<description><![CDATA[Some website prompt you to enter dynamic number generated in the image , especially when you are filling registration form &#8230;.and usually found at the end of registration form. User must enter exactly same number or alphanumeric character found on the image , this is because to make sure that Human is using webapplication and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=39&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some website prompt you to enter dynamic number generated in the image , especially when you are filling registration form &#8230;.and usually found at the end of registration form. User must enter exactly same number or alphanumeric character found on the image  , this is because to make sure that Human is using webapplication and keeping away from robots/sypwares or any hacking software&#8217;s to fill the form.</p>
<p>Below is simple java code for how to generate dynamic image .This is a sample servlet that dynamically generates JPEG images. Currently all image properties are hard-coded, but it should be trivial to provide a jsp form to collect them (e.g., color, font, dimensions, messages). The generated image contains dynamic data such as the appserver name, and OS name.</p>
<pre>import com.sun.image.codec.jpeg.JPEGCodec;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.*;
import javax.servlet.http.*;
import javax.servlet.*;

public class ImageServlet extends HttpServlet {
private static final int WIDTH = 450;
private static final int HEIGHT = 200;
private static final Color BACKGROUND_COLOR = new Color(100,149,237);
private static final Color COLOR = new Color(0,0,139);
private static final Font FONT = new Font("Times New Roman", Font.BOLD, 46);
private static final Font FOOT_FONT = new Font("Courier", Font.ITALIC, 14);
private static final Color FOOT_COLOR = Color.BLACK;

@Override
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
   response.setContentType("image/jpg");
   ServletOutputStream out = response.getOutputStream();
   BufferedImage image = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_BYTE_INDEXED);
   Graphics graphics = image.getGraphics();
   graphics.setColor(BACKGROUND_COLOR);
   graphics.fillRect(0, 0, image.getWidth(), image.getHeight());
   graphics.setColor(COLOR);
   graphics.setFont(FONT);
   graphics.drawString("Hello World!", 10, HEIGHT/2); //insert String or any random number
   graphics.setFont(FOOT_FONT);
   graphics.setColor(FOOT_COLOR);
   graphics.drawString("Created by " + getServletContext().getServerInfo(), 10, HEIGHT - 30);
   graphics.drawString("for http://javahowto.blogspot.com/ on " + System.getProperty("os.name"), 10, HEIGHT - 10);
   JPEGCodec.createJPEGEncoder(out).encode(image);
}
}

The web.xml file is as simple as declaring and mapping a servlet:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&gt;
&lt;servlet&gt;
   &lt;servlet-name&gt;image&lt;/servlet-name&gt;
   &lt;servlet-class&gt;ImageServlet&lt;/servlet-class&gt;
&lt;/servlet&gt;
&lt;servlet-mapping&gt;
   &lt;servlet-name&gt;image&lt;/servlet-name&gt;
   &lt;url-pattern&gt;/&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;
&lt;/web-app&gt;

And i hope you know rest of the things to deploy the webapp ......

output...
<a href="http://madhucm.files.wordpress.com/2008/05/hello.jpeg"><img class="alignnone size-medium wp-image-40" src="http://madhucm.files.wordpress.com/2008/05/hello.jpeg?w=455" alt="" /></a>
<img src="/Documents%20and%20Settings/madhuc.WISOR/Desktop/hello.jpeg" alt="" /><img src="/DOCUME~1/MADHUC~1.WIS/LOCALS~1/Temp/moz-screenshot.jpg" alt="" /></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=39&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/05/21/creating-dynamic-image/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="http://madhucm.files.wordpress.com/2008/05/hello.jpeg" medium="image" />

		<media:content url="/Documents%20and%20Settings/madhuc.WISOR/Desktop/hello.jpeg" medium="image" />

		<media:content url="/DOCUME~1/MADHUC~1.WIS/LOCALS~1/Temp/moz-screenshot.jpg" medium="image" />
	</item>
		<item>
		<title>Linux useful commands</title>
		<link>http://madhucm.wordpress.com/2008/05/18/linux-useful-commands/</link>
		<comments>http://madhucm.wordpress.com/2008/05/18/linux-useful-commands/#comments</comments>
		<pubDate>Sun, 18 May 2008 07:33:39 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=38</guid>
		<description><![CDATA[Its been month i have logged into ubuntu &#8230; and the sad news is i forgot many commands &#8230; moreover i love to do lots of stuffs in console rather than choosing GUI &#8230; Whenever i forget some command , the best option for me search in google &#8230; But today i found something interesting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=38&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its been month i have logged into ubuntu &#8230; and the sad news is i forgot many commands &#8230; moreover i love to do lots of stuffs in console rather than choosing GUI &#8230; Whenever i forget some command , the best option for me search in google &#8230; But today i found something interesting , where i can stick some useful commands in my brain &#8230;or even you can stick to your wall too !!</p>
<p><a href="http://files.fosswire.com/wpu/2007/08/fwunixref.pdf"><img style="border:0 none;" src="http://files.fosswire.com/wpu/2007/08/fwunixrefshot.png" alt="fwunixrefshot.png" /></a></p>
<p>Click the image above to download a full PDF. Print it out, stick it on your wall, and pass it on. It’s licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0/" target="_blank">Creative Commons Attribution-ShareAlike 3.0 Unported</a> license, so feel free do distribute and <a href="http://files.fosswire.com/wpu/2007/08/fwunixref.odt">modify</a> it, even for commercial use!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=38&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/05/18/linux-useful-commands/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>

		<media:content url="http://files.fosswire.com/wpu/2007/08/fwunixrefshot.png" medium="image">
			<media:title type="html">fwunixrefshot.png</media:title>
		</media:content>
	</item>
		<item>
		<title>Started something new, Google AJAX API!</title>
		<link>http://madhucm.wordpress.com/2008/05/16/started-something-new/</link>
		<comments>http://madhucm.wordpress.com/2008/05/16/started-something-new/#comments</comments>
		<pubDate>Fri, 16 May 2008 10:14:17 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=37</guid>
		<description><![CDATA[Well its been long i have tried something new or learn something new &#8230;. Today i started with Google&#8217;s AJAX Search API . I started with simple local search using simple search and i learned how to embed samething in my blog see this example : http://madhucm.blogspot.com. I would have included in this blog but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=37&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well its been long i have tried something new or learn something new &#8230;. Today i started with Google&#8217;s AJAX Search API . I started with simple local search using simple search and i learned how to embed samething in my blog see this example : <a href="http://madhucm.blogspot.com">http://madhucm.blogspot.com.</a></p>
<p>I would have included in this blog but i dont know how to edit &lt;body&gt; tag. And also it doesn&#8217;t allow you to do   &#8230; well it doesn&#8217;t matter however.</p>
<p>The first thing  i did was getting the JAX Search API key  so that it is valid within a single directory on your web server. And after getting the key, i tweaked  my blog template , and finally included the script. Well if you know javascript it damn easy to create you own search.</p>
<p>ex: <span style="color:#0000ff;">var localSearch = new google.search.LocalSearch();<br />
searchControl.addSearcher(localSearch); // This is local search<br />
searchControl.addSearcher(new google.search.WebSearch()); // search on web<br />
searchControl.addSearcher(new google.search.VideoSearch()); // video search<br />
searchControl.addSearcher(new google.search.BlogSearch()); // blog search&#8230;.</span></p>
<p>You can also customize your view , like :- TABBED, <code>LINEAR .</code></p>
<pre><span class="com">// create a drawOptions object</span><span class="pln">
</span><span class="kwd">var</span><span class="pln"> drawOptions </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">GdrawOptions</span><span class="pun">();</span><span class="pln">

</span><span class="com">// tell the searcher to draw itself in linear mode</span><span class="pln">
drawOptions</span><span class="pun">.</span><span class="pln">setDrawMode</span><span class="pun">(</span><span class="typ">GSearchControl</span><span class="pun">.</span><span class="pln">DRAW_MODE_LINEAR</span><span class="pun">);
or
</span><span class="pln">drawOptions</span><span class="pun">.</span><span class="pln">setDrawMode</span><span class="pun">(</span><span class="typ">GSearchControl</span><span class="pun">.</span><span class="pln">DRAW_MODE_TABBED</span><span class="pun">);</span>
<span class="pln">searchControl</span><span class="pun">.</span><span class="pln">draw</span><span class="pun">(</span><span class="pln">element</span><span class="pun">,</span><span class="pln"> drawOptions</span><span class="pun">);</span></pre>
<p>more info:http://code.google.com/apis/ajaxsearch/</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=37&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/05/16/started-something-new/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>
	</item>
		<item>
		<title>Logging GC activity how to</title>
		<link>http://madhucm.wordpress.com/2008/05/15/logging-gc-activity-how-to/</link>
		<comments>http://madhucm.wordpress.com/2008/05/15/logging-gc-activity-how-to/#comments</comments>
		<pubDate>Thu, 15 May 2008 11:40:17 +0000</pubDate>
		<dc:creator>madhucm</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://madhucm.wordpress.com/?p=36</guid>
		<description><![CDATA[An easy low cost method to check the activity of the garbage collector in the JVM is to tell the JVM to create an activity log. This is achieved for Sun JVMs using the non-standard command line option “-Xloggc:file_name“. This will tell the JVM to create a log file with a content similar with this: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=36&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An easy low cost method to check the activity of the garbage collector in the JVM is to tell the JVM to create an activity log. This is achieved for Sun JVMs using the non-standard command line option “<strong>-Xloggc:file_name</strong>“. This will tell the JVM to create a log file with a content similar with this:</p>
<p><code>0.806: [GC 8064K-&gt;1211K(30912K), 0.0051670 secs]<br />
1.363: [GC 9275K-&gt;1856K(30912K), 0.0061070 secs]<br />
1.944: [GC 9920K-&gt;2602K(30912K), 0.0115890 secs]<br />
2.351: [GC 10666K-&gt;3289K(38976K), 0.0083440 secs]<br />
3.159: [GC 19417K-&gt;4316K(38976K), 0.0325310 secs]<br />
3.948: [GC 20444K-&gt;5735K(56192K), 0.0083630 secs]<br />
35.812: [GC 37671K-&gt;7896K(56512K), 0.0152040 secs]<br />
525.368: [GC 39832K-&gt;8066K(89600K), 0.0082710 secs]<br />
</code><br />
As one can guess the log entries show the time of the garbage collection activity, the memory before and after and the duration of the garbage collection. This can prove very useful when monitoring the activity of a server application for memory leaks and for memory activity.<br />
If the information about the garbage collection activity is only needed at the console the “<strong>-XX:+PrintGC</strong>” and “<strong>-XX:+PrintGCDetails</strong>” options can be used. The last one will produce an output with more details lke this one:</p>
<p><code>[GC [PSYoungGen: 33584K-&gt;1312K(33600K)] 36545K-&gt;6656K(55104K), 0.0141310 secs]<br />
…<br />
Heap<br />
PSYoungGen      total 33920K, used 8802K [0×00002aaac91c0000, 0×00002aaacd790000, 0×00002aaad39c0000)<br />
eden space 30976K, 19% used [0×00002aaac91c0000,0×00002aaac97840a8,0×00002aaacb000000)<br />
from space 2944K, 98% used [0×00002aaacd4b0000,0×00002aaacd784978,0×00002aaacd790000)<br />
to   space 4096K, 0% used [0×00002aaaccf90000,0×00002aaaccf90000,0×00002aaacd390000)<br />
PSOldGen        total 21504K, used 5344K [0×00002aaab41c0000, 0×00002aaab56c0000, 0×00002aaac91c0000)<br />
object space 21504K, 24% used [0×00002aaab41c0000,0×00002aaab46f8340,0×00002aaab56c0000)<br />
PSPermGen       total 21248K, used 19211K [0×00002aaaaedc0000, 0×00002aaab0280000, 0×00002aaab41c0000)<br />
object space 21248K, 90% used [0×00002aaaaedc0000,0×00002aaab0082d50,0×00002aaab0280000)<br />
</code></p>
<p>The behavior of the logging option seems to produce identical results as “<strong>-XX:+PrintGC</strong>” even if personally I would’ve expect more details in the log file. Maybe this will change in a future version of Java.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/madhucm.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/madhucm.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/madhucm.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/madhucm.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/madhucm.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=madhucm.wordpress.com&amp;blog=244100&amp;post=36&amp;subd=madhucm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://madhucm.wordpress.com/2008/05/15/logging-gc-activity-how-to/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d72e4771bb1162293f9489e7180dd486?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">madhucm</media:title>
		</media:content>
	</item>
	</channel>
</rss>
