<?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>Chaintus's Tech &#38; Life</title>
	<atom:link href="http://chaintus.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chaintus.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 07 Nov 2009 05:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='chaintus.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chaintus's Tech &#38; Life</title>
		<link>http://chaintus.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chaintus.wordpress.com/osd.xml" title="Chaintus&#039;s Tech &#38; Life" />
	<atom:link rel='hub' href='http://chaintus.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sorting Algorithms &#8211; Quicksort</title>
		<link>http://chaintus.wordpress.com/2009/11/07/sorting-algorithms-quicksort/</link>
		<comments>http://chaintus.wordpress.com/2009/11/07/sorting-algorithms-quicksort/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 05:59:00 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chaintus.wordpress.com/2009/11/07/sorting-algorithms-quicksort/</guid>
		<description><![CDATA[Quicksort: O(n log n) &#160; Using Matlab: x = 1:0.1:10; y = x.*log10(x); plot(x,y); .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, &#8220;Courier New&#8221;, courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=25&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="csharpcode">Quicksort: O(n log n)</div>
<div class="csharpcode">&#160;</div>
<div class="csharpcode">Using Matlab:</div>
<pre class="csharpcode">x = 1:0.1:10;
y = x.*log10(x);
plot(x,y);</pre>
<p>.csharpcode, .csharpcode pre<br />
{<br />
	font-size: small;<br />
	color: black;<br />
	font-family: consolas, &#8220;Courier New&#8221;, courier, monospace;<br />
	background-color: #ffffff;<br />
	/*white-space: pre;*/<br />
}<br />
.csharpcode pre { margin: 0em; }<br />
.csharpcode .rem { color: #008000; }<br />
.csharpcode .kwrd { color: #0000ff; }<br />
.csharpcode .str { color: #006080; }<br />
.csharpcode .op { color: #0000c0; }<br />
.csharpcode .preproc { color: #cc6633; }<br />
.csharpcode .asp { background-color: #ffff00; }<br />
.csharpcode .html { color: #800000; }<br />
.csharpcode .attr { color: #ff0000; }<br />
.csharpcode .alt<br />
{<br />
	background-color: #f4f4f4;<br />
	width: 100%;<br />
	margin: 0em;<br />
}<br />
.csharpcode .lnum { color: #606060; }</p>
<div class="csharpcode"><a href="http://chaintus.files.wordpress.com/2009/11/untitled.jpg"><img style="display:inline;border-width:0;" title="untitled" border="0" alt="untitled" src="http://chaintus.files.wordpress.com/2009/11/untitled_thumb.jpg?w=244&#038;h=184" width="244" height="184" /></a> </div>
<div class="csharpcode">&#160;</div>
<div class="csharpcode">The implementation of this following algorithm is created using Visual C++ – Win32 Console Application.</div>
<div class="csharpcode">I simply followed the tutorial posted here: <a title="http://www.algolist.net/Algorithms/Sorting/Quicksort" href="http://www.algolist.net/Algorithms/Sorting/Quicksort">http://www.algolist.net/Algorithms/Sorting/Quicksort</a></div>
<div class="csharpcode">&#160;</div>
<pre class="csharpcode"><span class="rem">// Quicksort Algorithm</span>

#include <span class="str">&quot;stdafx.h&quot;</span>
#include &lt;iostream&gt;

<span class="kwrd">void</span> Quicksort(<span class="kwrd">int</span> arr[], <span class="kwrd">int</span> left, <span class="kwrd">int</span> right);
<span class="kwrd">void</span> PrintArray(<span class="kwrd">void</span>);

<span class="kwrd">const</span> <span class="kwrd">int</span> ArraySize = 9;
<span class="kwrd">int</span> A[ArraySize] = {1, 12, 5, 26, 7, 14, 3, 7, 2};

<span class="kwrd">int</span> _tmain(<span class="kwrd">int</span> argc, _TCHAR* argv[])
{
    <span class="rem">// Print Unsorted Array</span>
    std::cout &lt;&lt; <span class="str">&quot;Unsorted Array: &quot;</span> &lt;&lt; std::endl;
    PrintArray();

    <span class="rem">// Sort the array A using quicksort</span>
    Quicksort(A, 0, ArraySize-1);

    <span class="rem">// Print Sorted Array</span>
    std::cout &lt;&lt; std::endl &lt;&lt; <span class="str">&quot;Sorted Array: &quot;</span> &lt;&lt; std::endl;
    PrintArray();

    std::cout &lt;&lt; std::endl;
    std::cout &lt;&lt; std::endl;
    <span class="kwrd">return</span> 0;
}

<span class="kwrd">void</span> PrintArray(<span class="kwrd">void</span>)
{
    <span class="kwrd">int</span> i;
    <span class="kwrd">for</span>(i = 0; i &lt; ArraySize; i++)
    {

        std::cout &lt;&lt; A[i] &lt;&lt; <span class="str">&quot; &quot;</span>;
    }
}

<span class="kwrd">void</span> Quicksort(<span class="kwrd">int</span> arr[], <span class="kwrd">int</span> left, <span class="kwrd">int</span> right)
{
      <span class="kwrd">int</span> i = left, j = right;
      <span class="kwrd">int</span> tmp;
      <span class="kwrd">int</span> pivot = arr[(left + right) / 2];

      <span class="rem">// partition</span></pre>
<pre class="csharpcode"><span class="rem"></span>      <span class="kwrd">while</span> (i &lt;= j)
      {
            <span class="kwrd">while</span> (arr[i] &lt; pivot)
                  i++;

            <span class="kwrd">while</span> (arr[j] &gt; pivot)
                  j--;

            <span class="kwrd">if</span> (i &lt;= j)
            {
                  tmp = arr[i];
                  arr[i] = arr[j];
                  arr[j] = tmp;
                  i++;
                  j--;
            }
      };

      <span class="rem">// recursion </span></pre>
<pre class="csharpcode"><span class="rem"></span>      <span class="kwrd">if</span> (left &lt; j)
            Quicksort(arr, left, j);

      <span class="kwrd">if</span> (i &lt; right)
            Quicksort(arr, i, right);
}</pre>
<p>.csharpcode, .csharpcode pre<br />
{<br />
	font-size: small;<br />
	color: black;<br />
	font-family: consolas, &#8220;Courier New&#8221;, courier, monospace;<br />
	background-color: #ffffff;<br />
	/*white-space: pre;*/<br />
}<br />
.csharpcode pre { margin: 0em; }<br />
.csharpcode .rem { color: #008000; }<br />
.csharpcode .kwrd { color: #0000ff; }<br />
.csharpcode .str { color: #006080; }<br />
.csharpcode .op { color: #0000c0; }<br />
.csharpcode .preproc { color: #cc6633; }<br />
.csharpcode .asp { background-color: #ffff00; }<br />
.csharpcode .html { color: #800000; }<br />
.csharpcode .attr { color: #ff0000; }<br />
.csharpcode .alt<br />
{<br />
	background-color: #f4f4f4;<br />
	width: 100%;<br />
	margin: 0em;<br />
}<br />
.csharpcode .lnum { color: #606060; }</p>
<div class="csharpcode">&#160;</div>
<div class="csharpcode">&#160;</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=25&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/11/07/sorting-algorithms-quicksort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>

		<media:content url="http://chaintus.files.wordpress.com/2009/11/untitled_thumb.jpg" medium="image">
			<media:title type="html">untitled</media:title>
		</media:content>
	</item>
		<item>
		<title>[solved] Ubuntu 9.04 server nvidia driver 180 doesn&#8217;t work</title>
		<link>http://chaintus.wordpress.com/2009/09/09/solved-ubuntu-9-04-server-nvidia-driver-180-doesnt-work/</link>
		<comments>http://chaintus.wordpress.com/2009/09/09/solved-ubuntu-9-04-server-nvidia-driver-180-doesnt-work/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:52:50 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://chaintus.wordpress.com/2009/09/09/solved-ubuntu-9-04-server-nvidia-driver-180-doesnt-work/</guid>
		<description><![CDATA[If you try to directly use Hardware Driver utility to install 180 in Ubuntu, you might fail. Instead, install version 96 first, after restart, use Hardware Drivers utility install 180. PS: - Don&#8217;t try to download driver from nvidia site. It won&#8217;t work on Ubuntu. - Don&#8217;t try to switch kernel, it won&#8217;t solve this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=22&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you try to directly use Hardware Driver utility to install 180 in Ubuntu, you might fail. Instead, install version 96 first, after restart, use Hardware Drivers utility install 180.<br />
PS:<br />
- Don&#8217;t try to download driver from nvidia site. It won&#8217;t work on Ubuntu.<br />
- Don&#8217;t try to switch kernel, it won&#8217;t solve this problem at least for me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=22&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/09/09/solved-ubuntu-9-04-server-nvidia-driver-180-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux vs. Windows</title>
		<link>http://chaintus.wordpress.com/2009/07/25/linux-vs-windows/</link>
		<comments>http://chaintus.wordpress.com/2009/07/25/linux-vs-windows/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 01:28:45 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Linux Applications]]></category>

		<guid isPermaLink="false">http://chaintus.wordpress.com/?p=19</guid>
		<description><![CDATA[I has been 2 years since I started to go back and forth between unix-based os and Windows. Linux is very exciting in the sense of its cost, capability, and communities. The linux I have used are Fedora 8, then Fedora 9, OpenSUSE, Ubuntu, OpenSolaris, DSL, and ArchLinux. I&#8217;ve also used FreeBSD, and Debian. Among [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=19&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I has been 2 years since I started to go back and forth between unix-based os and Windows.</p>
<p>Linux is very exciting in the sense of its cost, capability, and communities. The linux I have used are Fedora 8, then Fedora 9, OpenSUSE, Ubuntu, OpenSolaris, DSL, and ArchLinux. I&#8217;ve also used FreeBSD, and Debian. Among all of these, Fedora 8, OpenSUSE 11.1, Arch Linux are my favorites. Fedora 8 is very customizable, OpenSUSE 11.1 is extremely user-friendly, Arch Linux is compact but relatively easy to use.</p>
<p>The variety Linux distributions are awesome, however it&#8217;s also the weakness of open source software development. Many corporations such as Novell, and Red Hat will never combine OpenSUSE and Fedora projects, and other &#8220;truly opened&#8221; Linux distros have different philosophies.</p>
<p>In my opinion, Linux operating systems are not very suitable for general public to be use as workstation&#8230; too much configuration and not much dedicated supports.</p>
<p>Linux communities often claim that Linux is safer and more stable than windows. I think linux is safer because most malicious websites only target IE browser and windows systems. And the stability of windows is not really that bad! I&#8217;ve never seen a &#8220;blue screen of death&#8221; since I stopped using software with bad reputations such as QQ(in China). With proper anti-virus and anti-spyware programs, it&#8217;s safe! Of course back in 2005, firefox, ie, and explorer crash quite often. But now, they have never crashed on me for once! And most industrial software such as AutoCAD, 3D Max only available on Windows. Although I don&#8217;t like Microsoft&#8217;s monopoly on commercial software market, I&#8217;ve to use windows for workstation. So&#8230; I might as well spend more time with windows.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=19&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/07/25/linux-vs-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>
	</item>
		<item>
		<title>Installation of Adobe Reader in OpenSUSE 11.1</title>
		<link>http://chaintus.wordpress.com/2009/04/27/installation-of-adobe-reader-in-opensuse-111/</link>
		<comments>http://chaintus.wordpress.com/2009/04/27/installation-of-adobe-reader-in-opensuse-111/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 00:13:04 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Linux Applications]]></category>
		<category><![CDATA[linux softwares]]></category>

		<guid isPermaLink="false">http://chaintus.wordpress.com/?p=14</guid>
		<description><![CDATA[1. Download AdbeRdr9.1.0-1_i486linux_enu.bin from http://get.adobe.com/reader/ 2. make the binary file executable 3. Install AdbeRdr9.1.0-1_i486linux_enu.bin To install Adobe Reader plugin for firefox or other browsers, do: 4. go to installation directory for Adobe Reader, in my case is &#8220;/opt/Adobe/Reader9/Browser&#8221; 5. execute &#8220;install_browser_plugin&#8221; 6. choose first option, but it might fail because it might not find plugin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=14&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Download AdbeRdr9.1.0-1_i486linux_enu.bin from <a href="http://get.adobe.com/reader/" target="_blank">http://get.adobe.com/reader/</a></p>
<p>2. make the binary file executable</p>
<p>3. Install AdbeRdr9.1.0-1_i486linux_enu.bin</p>
<p>To install Adobe Reader plugin for firefox or other browsers, do:</p>
<p>4. go to installation directory for Adobe Reader, in my case is &#8220;/opt/Adobe/Reader9/Browser&#8221;</p>
<p>5. execute &#8220;install_browser_plugin&#8221;</p>
<p>6. choose first option, but it might fail because it might not find plugin directory. So, create plugin by making directories  &#8220;/usr/lib/firefox/plugins&#8221; and &#8220;/usr/lib/mozilla/plugins&#8221;</p>
<p>It&#8217;s done. Enjoy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=14&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/04/27/installation-of-adobe-reader-in-opensuse-111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>
	</item>
		<item>
		<title>Execution Time Analysis of Sorting Algorithms</title>
		<link>http://chaintus.wordpress.com/2009/03/08/execution-time-analysis-of-sorting-algorithms/</link>
		<comments>http://chaintus.wordpress.com/2009/03/08/execution-time-analysis-of-sorting-algorithms/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 00:17:20 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Data Struct. Algorithm]]></category>

		<guid isPermaLink="false">http://chaintus.wordpress.com/?p=11</guid>
		<description><![CDATA[It&#8217;s my first programming assignment for Data Structure I. The task is to implement a program in any language (I use java) that runs Insertion Sort, Merge Sort, Heap Sort, Quick Sort accordingly, and produce a table like: &#8212;&#8212;&#8211; Data Size      100     1000     10000     100000 Insertion     (execution time) Merge Heap Quick &#8212;&#8212;&#8212;- For execution time, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=11&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s my first programming assignment for Data Structure I.</p>
<p>The task is to implement a program in any language (I use java) that runs Insertion Sort, Merge Sort, Heap Sort, Quick Sort accordingly, and produce a table like:</p>
<p>&#8212;&#8212;&#8211;</p>
<p>Data Size      100     1000     10000     100000</p>
<p>Insertion     (execution time)</p>
<p>Merge</p>
<p>Heap</p>
<p>Quick</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>For execution time, I used java System library currentTimeMillis.</p>
<p>Here is the code a timer class: (The way of using it is quite straight forward&#8230;just sandwich the code segment between Start() and Stop() in main class, and get the result by subtracting them.)</p>
<p><code><img class="alignleft size-full wp-image-12" title="2009-03-07_181222" src="http://chaintus.files.wordpress.com/2009/03/2009-03-07_181222.png" alt="2009-03-07_181222" width="597" height="369" /></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=11&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/03/08/execution-time-analysis-of-sorting-algorithms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>

		<media:content url="http://chaintus.files.wordpress.com/2009/03/2009-03-07_181222.png" medium="image">
			<media:title type="html">2009-03-07_181222</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://chaintus.wordpress.com/2009/03/02/hello-world/</link>
		<comments>http://chaintus.wordpress.com/2009/03/02/hello-world/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 03:23:10 +0000</pubDate>
		<dc:creator>chaintus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Since it&#8217;s my first post, I might as well introduce myself. Chaintus is my name. I think it&#8217;s pretty slick to pronounce, but check spell always gives me a red line right below it. Chaintus is a OSU student major in CE. So far, I&#8217;m quite satisfied with my major. The main purpose for this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=1&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since it&#8217;s my first post, I might as well introduce myself.</p>
<p>Chaintus is my name. I think it&#8217;s pretty slick to pronounce, but check spell always gives me a red line right below it.</p>
<p>Chaintus is a OSU student major in CE. So far, I&#8217;m quite satisfied with my major.</p>
<p>The main purpose for this blog is to record my study progress in CS, CPE, ECEN, ENSC courses.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chaintus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chaintus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chaintus.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chaintus.wordpress.com&amp;blog=6790002&amp;post=1&amp;subd=chaintus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://chaintus.wordpress.com/2009/03/02/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8faecdbcc0c29819df051115f86b0400?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chaintus</media:title>
		</media:content>
	</item>
	</channel>
</rss>
