<?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"
	>

<channel>
	<title>PrasetyaMS.net</title>
	<atom:link href="http://prasetyams.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://prasetyams.net</link>
	<description>A Box of Chocolate</description>
	<pubDate>Sat, 08 Nov 2008 11:21:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Meeting Boredom</title>
		<link>http://prasetyams.net/2008/11/08/meeting-boredom/</link>
		<comments>http://prasetyams.net/2008/11/08/meeting-boredom/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 10:33:15 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/2008/11/08/meeting-boredom/</guid>
		<description><![CDATA[My last &#8216;company&#8217; meeting? Boooring.. 2 hours of intelligence torture and processor cycle wasting. Here&#8217;s what happened.. In painfully senseless chronological order. Anyway, I just stuffed myself with a burger, medium fries and medium coke. That&#8217;s NOT healthy. And maybe that accounts for 99% of the computational errors I do in the next 2 hours. [...]]]></description>
			<content:encoded><![CDATA[<p>My last &#8216;company&#8217; meeting? Boooring.. 2 hours of intelligence torture and processor cycle wasting. Here&#8217;s what happened.. In painfully senseless chronological order. Anyway, I just stuffed myself with a burger, medium fries and medium coke. That&#8217;s NOT healthy. And maybe that accounts for 99% of the computational errors I do in the next 2 hours. I&#8217;m full, and I really can&#8217;t process what&#8217;s around me with 100% of my processing capability. My cores are busy with something else. The future is dark within The Force, I sense.</p>
<h3>Point Zero</h3>
<p>Okay, so here we go. Oh, first let&#8217;s make a pre-meeting assessment,</p>
<ol>
<li>Smart look, ah.., uncheck</li>
<li>Formal dressing, um, check? Probably not</li>
<li>Papers, check</li>
<li>Pens, check, oh wait.. I don&#8217;t have those</li>
<li>Sanity, check</li>
<li>Willpower, not much, check</li>
<li>Precog ability, check, do I have one? Duh..</li>
<li>Fuel, check</li>
<li>Focus, check</li>
<li>Anything left unsaid? Check, probably.</li>
</ol>
<p>It&#8217;s starting! Whoosh.. I tell myself, &#8220;oh, come on, what could possibly go wrong? We&#8217;re civilized, and we&#8217;re cool.&#8217;</p>
<h3>+15 Minutes</h3>
<p>Okay, so far so good. All the introductions and basic stuff are done for. The level of seriousness escalates a bit. Being an observer as I am, I can&#8217;t help to make a personality profile, I always make this virtual table in my mind with blinking cells made of colorful Jell-O&#8217;s which indicates personal psychological  and mental states, as I observe and feel. Each group of cells is assigned a photo of a specific person, and I arrange the groups in a large circle. Every interaction is visualized by colored lines which indicates the &#8216;feel&#8217; of the dialogue between two parties. When A says something to B and B feels good about what A says (as I observe), the line is green and glowing happily! A counter argument is yellow and an attack is red. There&#8217;s also blue which is personal talks. It&#8217;s real-time, and it&#8217;s fun, and I&#8217;m happy to mentally play with something while physically doing nothing at times like this. At least I can keep my brain busy.</p>
<h3>+30 Minutes</h3>
<p>Uh, okay. We&#8217;re talking about the things we&#8217;ve been talking for the past.. 30 minutes. Redundancy is key to complete comprehensiveness, it seems. That&#8217;s good, I have yet another reason to replay a level of a game where I don&#8217;t feel I&#8217;ve played it thoroughly. My spouse (when I have any), will surely understand that if not joining me playing the game in the process. Wait, why don&#8217;t I feel thirsty? I should have been thirsty. O yea, I forgot. I don&#8217;t speak. For real. Meh. Let&#8217;s test my precog ability. Hmm, let&#8217;s see.. <em>&lt;thinks&gt;</em> .. <em>&lt;watches&gt;</em> .. Wow it happens! The conversation goes exactly as I have foreseen! Can I inject a thought? <em>&lt;force&gt;</em> .. <em>&lt;watches&gt;</em> .. Holy shrimp!</p>
<h3>+60 Minutes</h3>
<p>Ha, now I know what it feels like to be The One. Like Neo, The One. I can finally see them, the truth of what The Matrix is. Oh, everything is transformed into glowing mumbo jumbo characters, floating and scrolling sideways in very repetitive and predictably unpredictable ways. Is it hex? I think so. It is hex. I haven&#8217;t seen so many hex&#8217;s since, well since tonight actually when I reshack-ed some dlls. I seem to remember something, replacing some vague bytes of some vague dll just to remove the windows dotted-focus indicator! Do I really need a focused item be dotted all around it? Who decided that it *improves* user accessibility? It hurts me eyes, MY FOCUSED STUFF <strong>IS</strong> IN DIFFERENT COLOR! I don&#8217;t need it to be border: 1px dotted #333; like you showed me. Okay, reshack &gt; replacer, there you go. Bye, focus rectangle. I&#8217;m hurt, am I supposed to be hurt? I shouldn&#8217;t be hurt. Is it hurt anyway? If it is, it&#8217;s against Asimov&#8217;s First Law of &#8216;Three Laws of Robotics&#8217;.</p>
<ol>
<li>A robot may not injure a human being or, through inaction, allow a human being to come to harm.</li>
<li>A robot must obey orders given to it by human beings, except where such orders would conflict with the First Law.</li>
<li>A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.</li>
</ol>
<p>I&#8217;m a human being. I&#8217;ll sue you, robots. Now, what&#8217;s your model and production batch? <em>&lt;Pull &#8216;Universal Robotic Scanner&#8217;, scans the other parties&gt;</em> .. <em>&lt;beep beep beep beep beep&gt;</em> .. No that can&#8217;t be, one more time.. <em>&lt;beep beep beep beep beep&gt;</em> .. No! All youse isn&#8217;t robots! Youse all is The Crystal Skull from the latest Indiana Jones movie! The superb magnetically magnetic folks with extremely extreme psychic ability. No wonder my circuitry is.. What? MY CIRCUITRY? Am I.. <em>&lt;scan self with &#8216;Universal Robotics Scanner&#8217;&gt;</em> .. <em>&lt;ding&gt;</em> Fried shrimp! I&#8217;m the robot! What&#8217;s my manufacture date again? 16th of February? And I thought it was my country&#8217;s Independence Day, it&#8217;s not? Wait.. It can&#8217;t be.. My existence is no existence? Impossible, nothingness can&#8217;t be no more than a nothingness unless it&#8217;s not a nothingness in the first place. Nothingness, I seem to remember that a new particle is &#8216;created&#8217; at a rate of one particle per kilometer cubic per year. Is that even scientifically correct? It couldn&#8217;t be more wrong than Rapidshare placing a 15 minutes gap after each download. It&#8217;s wrong. It&#8217;s terribly wrong. Even though I can circumvent that, it&#8217;s still wrong! Like, totally! Wrong! Anyway, youse aliens, so you over-psychic me and made me think what you want me to think what I want you to do in the last hour? It can&#8217;t be.. Now I feel like this Sauron guy, he is so incredibly powerful that his weakness is himself, he splits himself into two, and later he allows half of him to be destroyed by one Gollum which is under the influence of him, which results in his destruction. Don&#8217;t he survive with just half a soul? Ever heard of Horcrux, Sauron? Lame. Anyway, Arwen is so phriggin&#8217; beautiful, is she an Elf? She is? Well, that explains a lot.</p>
<h3>+120 Minutes</h3>
<p>Fsck! My ext3 data partition is probably corrupted in some inodes. I need to umount /dev/sda2 and repair it offline. Okay, umount it is. <em>&lt;type type type damn I love Terminus&gt;</em>. That&#8217;s it. My data partition is offline, I&#8217;m going into ghost mode with limited personality and intelligence. Just enough to get me back home. Sigh.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/11/08/meeting-boredom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blue Lines Gradient Thingy</title>
		<link>http://prasetyams.net/2008/10/29/blue-lines-gradient-thingy/</link>
		<comments>http://prasetyams.net/2008/10/29/blue-lines-gradient-thingy/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 09:23:15 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=138</guid>
		<description><![CDATA[Okay, so this guy gXpratama gets on my nerves long enough, asking me to release the tutorial to make the &#8220;thing&#8221; you see on the post image. Yeah, eat this, gXpratama! Hehe :)
Okay, no offense there. Anyway, this tutorial is very simple, it just needs 3 steps to achieve the final result you see above. [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so this guy <a href="http://angga.gpratama.net/">gXpratama</a> gets on my nerves long enough, asking me to release the tutorial to make the &#8220;thing&#8221; you see on the post image. Yeah, eat this, <a href="http://angga.gpratama.net/">gXpratama</a>! Hehe :)</p>
<p>Okay, no offense there. Anyway, this tutorial is very simple, it just needs 3 steps to achieve the final result you see above. Okay, now let&#8217;s begin shall we? Let&#8217;s assume you have opened an empty document (canvas) in Photoshop, I consider this step 0, it doesn&#8217;t count. I prefer 1024&#215;768 pixel size, transparent background. No, you can&#8217;t see what&#8217;s behind your screen.</p>
<h3>Step 1</h3>
<p>I also assume you have selected a color as the main gradients, I use the &#8216;free&#8217; Tango Color Palette, <a href="http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines">here</a> or <a href="http://colors.bravo9.com/tango/">here</a>. Set one color as the default foreground color. Next, go to &#8220;Filter &gt; Render &gt; Clouds&#8221;. Okay.</p>
<p><img src="http://img522.imageshack.us/img522/6154/thingy1.jpg" alt="Image Hosted by ImageShack.us" /></p>
<p><img src="http://img522.imageshack.us/img522/2550/thingy2.jpg" alt="Image Hosted by ImageShack.us" /></p>
<p><img src="http://img522.imageshack.us/img522/4728/thingy3.jpg" alt="Image Hosted by ImageShack.us" /></p>
<h3>Step 2</h3>
<p>Go to &#8220;Filter &gt; Pixelate &gt; Mosaic&#8221;, and use the settings as pictured. That&#8217;s my settings, anyway, you are free to use whatever you want but I found that 50px works best since most of the time I&#8217;ll downsize the canvas anyway.</p>
<p><img src="http://img522.imageshack.us/img522/8189/thingy4.jpg" alt="Image Hosted by ImageShack.us" /></p>
<p><img src="http://img522.imageshack.us/img522/3018/thingy5.jpg" alt="Image Hosted by ImageShack.us" /></p>
<h3>Step 3</h3>
<p>Go to &#8220;Filter &gt; Blur &gt; Motion Blur&#8221;, and again, use the settings as pictured. You may tweak the values later on. Voilà!</p>
<p><img src="http://img522.imageshack.us/img522/4696/thingy6.jpg" alt="Image Hosted by ImageShack.us" /></p>
<p><img src="http://img522.imageshack.us/img522/5909/thingy7.jpg" alt="Image Hosted by ImageShack.us" /></p>
<p>Next thing to do would be to apply this thingy in your projects. Use your imagination, and may the Force guide you. One more, it&#8217;ll be easier for you if you make a custom actions with the above steps. Therefore, you can make one thingy rapidly with less clicks.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/10/29/blue-lines-gradient-thingy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Portable application, anyone?</title>
		<link>http://prasetyams.net/2008/10/27/portable-application-anyone/</link>
		<comments>http://prasetyams.net/2008/10/27/portable-application-anyone/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 08:19:14 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=128</guid>
		<description><![CDATA[Portable applications are, type of applications that doesn&#8217;t need to be installed on your system, and it doesn&#8217;t leave anything on the system either after it closes. It is primarily aimed to be used on flash drives, portable harddrives, or anything with &#8220;drive&#8221; mode such as iPods or PDAs. It&#8217;s meant for portability and practicality, [...]]]></description>
			<content:encoded><![CDATA[<p>Portable applications are, type of applications that doesn&#8217;t need to be installed on your system, and it doesn&#8217;t leave anything on the system either after it closes. It is primarily aimed to be used on flash drives, portable harddrives, or anything with &#8220;drive&#8221; mode such as iPods or PDAs. It&#8217;s meant for portability and practicality, hence the name, but in the recent times, I&#8217;ve also used them as primary applications on my XP system.</p>
<p>Installing software, even the ones that I need, will put more files, more registry entries, and maybe new startup entries as well. In time, this will slow down the PC. So, in order to prevent that, I decided to make portable almost all my needed applications. Almost, because there are some that cannot be made portable (<a href="http://www.vmware.com/products/ws/">Virtualization Suite</a>), or some that must be installed in order to work properly (<a href="http://www.eset.com/products/nod32.php">Antiviruses</a>). Drivers are excluded, can&#8217;t do much without them installed, eh?</p>
<p>By using portable apps, I can avoid installing (thus keeping my system clean), and the best part is, I can bring my applications and use them anywhere! It retains my settings and preferences so I can continue working in environment I am familiar with, no matter where. Plus, it&#8217;s cool. Believe me.</p>
<p>Some links to visit:</p>
<ul>
<li><a href="http://portableapps.com/">http://portableapps.com/</a> (my main source of.. portable applications :) a very nice must visit site)</li>
<li><a href="http://www.portablefreeware.com/">http://www.portablefreeware.com/</a> (another source, I don&#8217;t visit here often, but it&#8217;s still a good site for comparing/researching for portable applications)</li>
<li><a href="http://www.vmware.com/products/thinapp/">http://www.vmware.com/products/thinapp/</a> (a virtualization program, it can &#8220;pack&#8221; your application into single executable file. You can make your own portable applications easily with this. NOT freeware, and VERY expensive.)</li>
</ul>
<p>Hm, I think that&#8217;s all for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/10/27/portable-application-anyone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SMPL06</title>
		<link>http://prasetyams.net/2008/09/05/smpl06/</link>
		<comments>http://prasetyams.net/2008/09/05/smpl06/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 05:02:16 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=115</guid>
		<description><![CDATA[Fresh from the oven, made in just 3 hours or so, here it is: SMPL06! A clean, and minimalistic Wordpress theme, in whites, and blues! Also, a bit of greens and greys here and there. Very easy on the eyes. It is currently under heavy development, although quite usable already. Current version is 0.4, public [...]]]></description>
			<content:encoded><![CDATA[<p>Fresh from the oven, made in just 3 hours or so, here it is: <strong>SMPL06</strong>! A clean, and minimalistic Wordpress theme, in whites, and blues! Also, a bit of greens and greys here and there. Very easy on the eyes. It is currently under heavy development, although quite usable already. Current version is <strong>0.4</strong>, public release is scheduled on version <strong>1.0</strong>, release date is unknown. Let&#8217;s say it&#8217;ll be out when it&#8217;s ready.</p>
<p>So, enjoy! And if you have any suggestions, opinions, or whatever, you are pleased to write them on the comments form.</p>
<p>By the way, it&#8217;s only been tested on Firefox 3 and Google Chrome Beta. The theme looks good on both, and it&#8217;s supposedly also looks good on Opera, Safari, and Camino. It also *should* render properly in Internet Explorer 6, and if it&#8217;s not, it&#8217;s not a big deal since in this modern world, who on earth still uses a prehistoric web browser anyway?</p>
<p>Watch this space, I will update it as soon as new versions are out.</p>
<p class="notice">Current Version: <strong>0.4</strong></p>
<p class="notice">Update: Template is temporarily switched back to SMPL05, for no other reason but because I can. No, seriously, SMPL06 is in active development, version 0.5 will be out soon.</p>
<p class="notice">Update: Lack of interest and time has made me suspending the development of this theme. Sigh. Life is so complicated nowadays.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/09/05/smpl06/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Music Library</title>
		<link>http://prasetyams.net/2008/07/31/my-music-library/</link>
		<comments>http://prasetyams.net/2008/07/31/my-music-library/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 01:57:39 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=109</guid>
		<description><![CDATA[Thumbnail index of my music library. As you can see, I am into a wide spectrum of music genre. From classical to metal, very contrasting tones, indeed. Unfortunately, this is not the entire library as I have removed (large part of) the artists whose songs I don&#8217;t fond of hearing anymore. Mostly bands from my [...]]]></description>
			<content:encoded><![CDATA[<p>Thumbnail index of my music library. As you can see, I am into a wide spectrum of music genre. From classical to metal, very contrasting tones, indeed. Unfortunately, this is not the entire library as I have removed (large part of) the artists whose songs I don&#8217;t fond of hearing anymore. Mostly bands from my own country. Go figure. This database will be updated monthly, provided there&#8217;s new entries that is.</p>
<p>The index is created by the magic of Bash script from <a href="http://bbs.archlinux.org/profile.php?id=12663" target="_blank">fukawi2</a>. I merely improve the styling and made some changes here and there.</p>
<p>You can see the library <a href="http://prasetyams.net/musiclib/index.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/07/31/my-music-library/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Music Update July &#8216;08</title>
		<link>http://prasetyams.net/2008/07/31/music-update-july-08/</link>
		<comments>http://prasetyams.net/2008/07/31/music-update-july-08/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 01:10:08 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=105</guid>
		<description><![CDATA[Emma Shapplin
Emma Shapplin is a soprano vocalist, and she sings mainly blends of classical and contemporary music, crossovers in tradition of Sarah Brightman. I listened to Emma&#8217;s song for the first time sometime around &#8216;00, the song was &#8220;Spente le Stelle&#8221; of album &#8220;Carmine Meo&#8221;. It was featured on the &#8220;inspirational Moments&#8221; album, a VA [...]]]></description>
			<content:encoded><![CDATA[<h3>Emma Shapplin</h3>
<p>Emma Shapplin is a soprano vocalist, and she sings mainly blends of classical and contemporary music, crossovers in tradition of Sarah Brightman. I listened to Emma&#8217;s song for the first time sometime around &#8216;00, the song was &#8220;Spente le Stelle&#8221; of album &#8220;Carmine Meo&#8221;. It was featured on the &#8220;inspirational Moments&#8221; album, a VA contains mainly New Age music.</p>
<p><a href="http://www.emmashapplin.org.ar/">Official Site</a> | <a href="http://en.wikipedia.org/wiki/Emma_Shapplin">Wikipedia</a> | <a href="http://www.last.fm/music/Emma+Shapplin">last.fm</a></p>
<p>Rating: <strong>8</strong></p>
<h3>Hayley Westenra</h3>
<p>Another soprano vocalist, and again, in the style of Sarah Brightman.  This time, celtic, folk, and rock elements are incorporated. The atmosphere of the albums are a bit mixed, but sounds good overall. It seems like a mashup of some of Sarah Brightman, some of Enya, some of Adiemus, and some of something else. The result, however, is surprisingly good.</p>
<p><a href="http://www.hayleywestenra.com/">Official Site</a> | <a href="http://en.wikipedia.org/wiki/Hayley_Westenra">Wikipedia</a> | <a href="http://www.last.fm/music/Hayley+Westenra">last.fm</a></p>
<p>Rating: <strong>9</strong></p>
<h3>Krypteria</h3>
<p>A German power metal band, with lead female vocalist from Korea. &#8220;Wait, a German metal band with oriental babe vocalist?&#8221; Um, yeah, you read that right. Don&#8217;t let the look fools you, though, the music is surprisingly good. The music sounds more like symphonic power metal with intensive uses of choir, instrumental percussions, and orchestra.</p>
<p><a href="http://www.krypteria.de/">Official Site</a> | <a href="http://en.wikipedia.org/wiki/Krypteria">Wikipedia</a> | <a href="http://www.last.fm/music/Krypteria">last.fm</a></p>
<p>Rating: <strong>9</strong></p>
<h3>Lacuna Coil</h3>
<p>A gothic metal band from Italy. The death grunt is softened, toned down from brutally incomprehensible &#8220;grunts&#8221; or &#8220;shrieks&#8221; of some conventional black/doom/gothic/whatever metal style, to just heavy vocal, Metallica style. I dig the female vocal, especially in song &#8220;Heaven&#8217;s A Lie&#8221;, it&#8217;s very cool.</p>
<p><a href="http://www.lacunacoil.it/">Official Site</a> | <a href="http://en.wikipedia.org/wiki/Lacuna_Coil">Wikipedia</a> | <a href="http://www.last.fm/music/Lacuna+Coil">last.fm</a></p>
<p>Rating: <strong>7</strong></p>
<h3>Leaves&#8217; Eyes</h3>
<p>This band claims to be folk-rock band, although it sounds much like gothic metal and symphonic power metal. It&#8217;s hard to define the style of this band, since all elements all are there. There&#8217;s traditional folk instruments, death grunts of gothic metal style, and majestic opera atmosphere of symphonic power metal. These combinations sound a bit weird at times, and the entire albums sound like disorganized songs that have no specific style. It&#8217;s challenging, really, but after a while you get to grip the &#8220;feel&#8221; of the albums and enjoy them.</p>
<p><a href="http://www.leaveseyes.de/">Official Site</a> | <a href="http://en.wikipedia.org/wiki/Leaves%27_Eyes">Wikipedia</a> | <a href="http://www.last.fm/music/Leaves%27+Eyes">last.fm</a></p>
<p>Rating: <strong>7</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/07/31/music-update-july-08/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Speedup Arch Boot Process</title>
		<link>http://prasetyams.net/2008/06/27/my-arch-speedup-tweaks/</link>
		<comments>http://prasetyams.net/2008/06/27/my-arch-speedup-tweaks/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 09:21:13 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=104</guid>
		<description><![CDATA[My Arch Linux box boots in 15 seconds. Schweeet&#8230; And that&#8217;s not a fresh Arch with only base apps installed, it&#8217;s a full-fledged Arch with XFCE and bunch of apps that I need (no redundancy, thanks). The only OS came close is Mac OS 10.4, which boots in 19 seconds. Windows XP boots in 27 [...]]]></description>
			<content:encoded><![CDATA[<p>My Arch Linux box boots in <strong>15</strong> seconds. <em>Schweeet&#8230;</em> And that&#8217;s not a fresh Arch with only base apps installed, it&#8217;s a full-fledged Arch with XFCE and bunch of apps that I need (no redundancy, thanks). The only OS came close is Mac OS 10.4, which boots in <strong>19</strong> seconds. Windows XP boots in <strong>27</strong> seconds (SP2) and <strong>30</strong> seconds (SP3), both nlited, XUbuntu in <strong>35</strong> seconds, Vista (vlited) in <strong>44</strong> seconds, and openSUSE (already stripped down) in <strong>50</strong> seconds. All in the same machine (wait&#8230; 10.4? Go figure&#8230; hehe&#8230;). In this guide I will explain some of the tweaks I did related to the boot process speedup.</p>
<p><strong>Disclaimer</strong>. This guide is written for people who like to tinker with their system, like to get their feet wet, and <em>don&#8217;t cry when something bad happens</em>. We will be working entirely on CLI so if you&#8217;re not comfortable with it, go get some coffee and watch movies instead. This guide contains tips and tricks from various places, notably the Arch <a title="Arch Linux Wiki" href="http://wiki.archlinux.org">Wiki</a> and <a title="Arch Linux Forum" href="http://bbs.archlinux.org">Forum</a>, with some of them are the result of my own tweaking. These tweaks are applied on my system and it never had any craches or freezes or any other problems. It just works. Your mileage may vary. One strict rule of engagement: <strong>Always make a backup of <em>everything</em> you edit</strong>!</p>
<h3>Use a faster filesystem</h3>
<p>Various filesystems exist and what you&#8217;ll be using is entirely up to you. Every FS has goods and bads, but for this guide we&#8217;ll be using the fastest FS while maintaining high reliability and low CPU usage. My choice is <a title="IBM's Journaling File System" href="http://en.wikipedia.org/wiki/JFS_%28file_system%29">JFS</a>. It&#8217;s reasonably fast, if not the fastest at some points, it&#8217;s journaled, stable, reliable, and has very low CPU utilizations. Other options are <a title="ReiserFS" href="http://en.wikipedia.org/wiki/Reiserfs">ReiserFS</a> (quite stable, faster), and <a title="Reiser4" href="http://en.wikipedia.org/wiki/Reiser4">Reiser4</a> (unstable, very fast). Changing filesystem type may require you to first erase the partition. If this isn&#8217;t viable, you can use whatever you already have right now. Or, do the tar routine. Or, use clonezilla. Whatever.</p>
<h3>Trim your initrd</h3>
<p>Go edit <strong>/etc/mkinitcpio.conf</strong> and trim it to your needs. Make it as compact as possible. This config will be used to generate an initrd, which will be loaded by the boot loader, sets your hardware (loading modules, etc) and mounting the filesystem. After that, it gives the control to the kernel. Delete hooks that you don&#8217;t plan on using, or don&#8217;t need to be loaded at this stage of booting process. Hardware configs will be done later after the kernel loads instead. In my case, my mkinitcpio.conf looks like this:</p>
<p><code>MODULES=""<br />
BINARIES=""<br />
FILES=""<br />
HOOKS="autodetect base udev sata filesystems"</code></p>
<p>That will generate a very small initrd which is enough to mount the root filesystem and loads the kernel.</p>
<h3>Trim your rc.conf</h3>
<p>Two of the main delay when booting is loading daemons and modules. The other would be loading udev, which we will see later on. If you have more fancy hardwares, the kernel will load more modules to activate them. The wisest step would be disable the ones you don&#8217;t need via BIOS. The second wisest step would be to blacklist the modules. In short, just load modules and daemons you need. As for the daemons, replace some of them with more lightweight ones, FAM with Gamin, for example. My <strong>/etc/rc.conf</strong> looks like this (some lines omitted):</p>
<p><code>...<br />
MOD_AUTOLOAD="yes"<br />
MODULES=(powernow-k8 fglrx)<br />
DAEMONS=(preload hal @cpufreq @network)<br />
...</code></p>
<h3>Trim your rc.sysinit</h3>
<p>The file <strong>/etc/rc.sysinit</strong> is very important, it configures core system functions such as mounting local filesystems, activating swap device, setting udev, and so on. Sometimes, you don&#8217;t need some of the functions available in rc.sysinit, such as LVM and encrypted filesystem (at least, I don&#8217;t). What you can do is removing the &#8220;if&#8221; statement that calls the function you don&#8217;t need. Or better, just comment it out (use &#8220;#&#8221; in front of the if&#8230;fi statement). One example, I don&#8217;t use RAID, so why should the system bother to check if I use RAID? Therefore I comment the if statement that contains it.</p>
<p><code># If necessary, find md devices and manually assemble RAID arrays<br />
#if [ -f /etc/mdadm.conf -a "$(/bin/grep ^ARRAY /etc/mdadm.conf 2&gt;/dev/null)" ]; then<br />
#    # udev won&#8217;t create these md nodes, so we do it ourselves<br />
#    for dev in $(/bin/grep ^ARRAY /etc/mdadm.conf | /bin/awk &#8216;{print $2}&#8217;); do<br />
#        path=$(echo $dev | /bin/sed &#8217;s|/[^/]*$||&#8217;)<br />
#        node=$(echo $dev | /bin/sed &#8220;s|^$path/||&#8221;)<br />
#        minor=$(echo $node | /bin/sed &#8217;s|^[^0-9]*||&#8217;)<br />
#        [ ! -e $path/$node ] &amp;&amp; /bin/mknod $path/$node b 9 $minor<br />
#    done<br />
#    status &#8220;Activating RAID arrays&#8221; /sbin/mdadm &#8211;assemble &#8211;scan<br />
#fi</code></p>
<h3>Udev tweaks</h3>
<p><strong>Tweak1</strong>. We can speedup udev loading time, by starting it earlier in the boot process. If we look at <strong>/etc/rc.sysinit</strong> we can see this fragment around line 81:</p>
<p><code>...<br />
stat_busy "Starting UDev Daemon"<br />
/sbin/udevd --daemon<br />
...</code></p>
<p>and this fragment around line 125:</p>
<p><code>...<br />
stat_busy "Loading UDev uevents"<br />
...<br />
/sbin/udevadm trigger<br />
/sbin/udevadm settle<br />
...</code></p>
<p>Let&#8217;s move the udev daemon trigger right <em>after</em> the daemon itself is loaded. This will give it some time to finish what it&#8217;s doing before getting settled. Give it an ampersand so it loads in the background. The finished fragment would look like this:</p>
<p><code>...<br />
stat_busy "Starting UDev Daemon"<br />
/sbin/udevd --daemon<br />
/sbin/udevadm trigger &amp;<br />
...<br />
stat_busy "Loading UDev uevents"<br />
...<br />
/sbin/udevadm settle &amp;</code></p>
<p>This is like playing catch-up, this is a little bit dangerous since there&#8217;s a possibility that a module which is needed not already loaded when a daemon requests access to the particular hardware. This might be the network interface or sound card. But, I haven&#8217;t had any problem with this tweak, and I have booted more than 200 times without problem.</p>
<p><strong>Tweak 2</strong>. Udev, by default, uses it own program to load modules, which is <strong>/lib/udev/load_modules.sh</strong>. We can improve the modules loading speed of udev by using modprobe instead. Make a copy of load_modules.sh, and then replace it with a symlink to <strong>/sbin/modprobe</strong><br />
<code><br />
# cd /lib/udev<br />
# mv load_modules.sh load_modules.sh.backup<br />
# ln -s /sbin/modprobe load_modules.sh</code></p>
<p>There is one drawback, though. You&#8217;ll lose the ability to blacklist modules from rc.conf. Now, you must enter the modules you want blacklisted in <strong>/etc/modprobe.conf</strong>, which looks like this on my system:</p>
<p><code>blacklist pcspkr<br />
blacklist soundcore<br />
alias net-pf-10 off</code></p>
<h3>Inittab tweak</h3>
<p>We can force the system to immediately load the Virtual Console once the init level is reached. This will enable you to immediately use the Console while the modules are still loaded in the background. We just need to replace &#8220;wait&#8221; with &#8220;once&#8221;. It&#8217;s much better if autologin feature is enabled (via mingetty). If you&#8217;re the only user, why bother logging in? My <strong>/etc/inittab</strong> looks like this</p>
<p><code>...<br />
rm:2345:once:/etc/rc.multi<br />
...<br />
c1:2345:respawn:/sbin/mingetty --autologin prasetya vc/1 linux<br />
...</code></p>
<p>If you see annoying process scrolling after you&#8217;re logged in, a simple &#8220;quiet&#8221; in kernel line will solve this (GRUB).</p>
<h3>Optional: Compile a custom kernel</h3>
<p>You can compile a kernel that&#8217;s suitable for your system, stripping out unneeded stuff and make several device drivers builtin instead modular. This will give you some advantages: Less bloat, and faster booting. Compiling the current kernel is super-easy in Arch Linux. For this, you need ABS (Arch Build System).</p>
<p><code># vi /etc/makepkg.conf<br />
# pacman -Syu<br />
# pacman -S abs<br />
# abs<br />
$ cp -R /var/abs/core/kernel26 ~<br />
$ cd ~/kernel26<br />
$ vi config<br />
$ vi PKGBUILD<br />
$ makepkg -i</code></p>
<p>Step 1 means, edit file <strong>/etc/makepkg.conf</strong> and add custom CFLAGS according to your CPU type. The list is <a title="Safe CFLAGS" href="http://wiki.archlinux.org/index.php/Safe_Cflags">here</a>. This is to enable CPU specific code optimizations.</p>
<p>Step 8 above means, find the md5sum of file config, and then replace the previous md5sum for file &#8220;config&#8221; in the file PKGBUILD with the new one. Or, just comment out the md5sums.</p>
<p>Compiling a custom kernel only give me 1 to 2 seconds improvement. It might not quite worth the time wasted on it (about 1+ hour of configuration + compilation), but yeah, I want that extra seconds. And so I give in to the temptation of the dark side :). If you decide to upgrade the kernel you&#8217;ll lose that optimizations, unless you recompile it with the new code. Given its high maintenance cost it&#8217;s only advisable for at least intermediate users (and curious ones). But, if just for kicks, why not? You&#8217;ll also learn a thing or two, by the way.</p>
<h3>Optional: Recompile the entire system</h3>
<p>There&#8217;s a script in AUR (Arch User Repository) that enables you to mass-recompile every installed package on your system from source using ABS. This, in logic, will give a more optimized binary for your computer, which in turn will make everything faster. I personally haven&#8217;t tried it yet. It&#8217;s similar to FreeBSD&#8217;s make buildworld/buildkernel command. The script name is pacbuilder, <a title="Pacbuilder" href="http://aur.archlinux.org/packages.php?ID=17216">here</a>.</p>
<p>Arch Linux is not originally designed to be mass-recompiled by the user, so the advantages of this script still needs to be proven. I personally wouldn&#8217;t want to use this (for now), I&#8217;ve had enough of similar process on FreeBSD.</p>
<p>Anyway, you&#8217;re bound to recompile each new packages once they hit repo if you use this method. I think it&#8217;s cumbersome, if you decided to recompile every new package that is. Anyway, it&#8217;s Arch. It&#8217;s already very fast. Why bother? But then, it&#8217;s up to you.</p>
<h3>Other steps</h3>
<p>Obviously, you can always improve the overall performance of your system by *upgrading* your system. This solution is the &#8220;easiest&#8221; and most feasible if you don&#8217;t like tweaking and have <em>some</em> $$$ to spend. Go find an extreme series motherboard, put two Quad Core Intel CPUs, buy several SATAII 10K RPM harddisks (or ultra expensive ultra fast SSDs) and put them in raid0+1 config, and buy the fastest, lowest latency memory cards. That&#8217;ll cost a fortune, but you&#8217;ll be like driving a <a title="Cool, at $ 1.4M price tag." href="http://en.wikipedia.org/wiki/Lamborghini_Revent%C3%B3n">Lamborghini Reventon</a> (performance wise). Or, just stick to the tweaks :).</p>
<h3>Conclusion</h3>
<p>Why wait for some more seconds while your PC can do it in less? Tweak and refine your system. It&#8217;s one part (of many) of computing on Linux that&#8217;s very fun in practice, and gives you more knowledge while doing it.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/06/27/my-arch-speedup-tweaks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Something in the clouds</title>
		<link>http://prasetyams.net/2008/06/13/something-in-the-clouds/</link>
		<comments>http://prasetyams.net/2008/06/13/something-in-the-clouds/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:31:41 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=102</guid>
		<description><![CDATA[So, I just got back from a two-days trip to Kuta Beach, Bali. It was not as exciting as I had hoped, maybe partly because it was not holiday. I spent the entire daytime strolling along the beach, and to the places unknown, Basically, I just walked anywhere without directions, randomly, without guidance. I might [...]]]></description>
			<content:encoded><![CDATA[<p>So, I just got back from a two-days trip to Kuta Beach, Bali. It was not as exciting as I had hoped, maybe partly because it was not holiday. I spent the entire daytime strolling along the beach, and to the places unknown, Basically, I just walked anywhere without directions, randomly, without guidance. I might get lost, and I did, but I consider it as a discovery process. Picture it like this, if you came across a strange place, you&#8217;re interested to know better about the place, what would you choose, follow a fixed path and guided to points of interests, or let that abstract brain of yours go wild and explore the place yourself? I think I&#8217;d personally choose the second one. Anyway, I estimated that I have walked like 25 kms that day. Too bad I didn&#8217;t bring a camera, although the beach itself is quite boring, there&#8217;s some cool places I found along the way.</p>
<p>Regarding the post title, it refers to the clouds in the sky that, during the flight, you sliced through and be above it. That typical chunk of condensed air sometimes gives me the creeps, and various other emotions on other places. I don&#8217;t know, at some places, if I look to the sky I can feel this &#8220;stir&#8221; up my spine or something I can&#8217;t describe. Sometimes it&#8217;s more like happiness, sometimes sadness, and once I feel anger or that kind of emotion.That particular &#8220;sensation&#8221; also applies to mists. Especially, thick mists.</p>
<p>When I was in high school, the dorm was located between two rivers, and was very misty at times. The mosque and classrooms are located on higher ground and the only access to them is by a ridiculously long stair, and when the area is covered in thick mist, I felt, a simple walking through the staircases like that, to be almost divine. And I once climbed a mountain for a week, back and forth, to the top, just for two purposes, to bathe in thick mist, and see the clouds from above.</p>
<p>There&#8217;s something in the clouds. And mists too.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/06/13/something-in-the-clouds/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple Linux Clone-Restore</title>
		<link>http://prasetyams.net/2008/05/19/keeping-track-of-your-linuxs-evolution/</link>
		<comments>http://prasetyams.net/2008/05/19/keeping-track-of-your-linuxs-evolution/#comments</comments>
		<pubDate>Mon, 19 May 2008 09:46:33 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=100</guid>
		<description><![CDATA[So, someday you installed Arch Linux, got aroused and played with it, throw some bleeding edge stuffs just for testing, and after hours of vi abuse you just realized that what was once a sleek Arch now tainted with various whatever stuff you threw at it, and at that point you&#8217;d hope you can restore [...]]]></description>
			<content:encoded><![CDATA[<p>So, someday you installed Arch Linux, got aroused and played with it, throw some bleeding edge stuffs just for testing, and after hours of vi abuse you just realized that what was once a sleek Arch now tainted with various whatever stuff you threw at it, and at that point you&#8217;d hope you can restore it the way it <strong>was</strong> <em>without</em> reinstalling it and start from scratch.</p>
<p><span id="more-100"></span></p>
<p>That&#8217;s where this simple article comes. It&#8217;s by no means a super cool technique, just a simple routines I perform in case of what I describe above happens. I, for one, have experienced it so many times it&#8217;s quite frustrating. The idea is to &#8220;snapshot&#8221; your installation at specific times. I use Arch Linux, and I guess it&#8217;ll work for basically anything except Windows and OS X. Why bother? Who uses them, anyway? Okay back to the topic. For this to work, you only need patience. Everything else is already built in.</p>
<h3>How to backup</h3>
<p>The simplest thing in backing up your system is by tarball-ing it! My favorite combination, tar + bzip2. Fast, no nonsense, just get the job done. Tarball your root partition, keep the permissions intact, and there you have it! A snapshot.</p>
<pre>cd /
su
tar cvpjf arch.190508.tar.bz2 --exclude=/arch.190508.tar.bz2 --exclude=/{proc,sys,home,lost+found} \\
--exclude=/mnt/{temp,docs} --exclude=/var/cache/pacman/pkg --exclude=/vmc /</pre>
<p>I have separate partitions for home, pacman&#8217;s pkg, and vmc. The temp and docs are separate harddisk. It should be pretty self explanatory, the above command will tarball your system while excluding some directories. The omitted dirs must be recreated again at restoration process. Now put this tarball somewhere safe.</p>
<h3>How to restore</h3>
<ol>
<li>Boot using Arch&#8217;s install CD.</li>
<li>Create 2 dirs under /mnt, src and dst</li>
<li>Mount your source partition which contains the tarball created above, to src</li>
<li>Mount your target partition to restore the tarball to dst</li>
<li>You can rm -rf the target partition, or use cfdisk before mounting, or whatever means you like, just clean the destination part</li>
<li>Suppose your tarball is located at /mnt/src/arch.190508.tar.bz2, then run this command</li>
<li>
<pre>tar xvjf /mnt/src/arch.190508.tar.bz2 -C /mnt/dst</pre>
</li>
<li>Reboot using Arch&#8217;s install CD, chroot to the restored partition, reinstall grub</li>
<li>Okay now you have restored your Arch system as it was when you made the tarball. Don&#8217;t forget to recreate the omitted directories you specified when creating the backup.</li>
</ol>
<h3>Some tips</h3>
<p>You can actually use this method to clone your Arch install to different partitions, even computers. Mass cloning is also possible. In that case, you might edit, to reflect the new setup, fstab and menu.lst, if you use grub. Lilo? I don&#8217;t know about lilo, what is it?</p>
<h3>Scenario</h3>
<ol>
<li>Err, these are what I actually did some 3 days ago.</li>
<li>Fresh install of Arch, only base system. Nothing else. Eats 516MB of harddisk space, tarballed to 98MB of bz2 file, <strong>arch.base.tar.bz2</strong></li>
<li>Install X, Xfce, and various apps needed. Total install size grows to 1.9GB, tarballed to 323MB of bz2 file, <strong>arch.xfce.fresh.tar.bz2</strong></li>
<li>Do some customizing, tweaking, optimization, whatever, tarballed to <strong>arch.xfce.custo.tar.bz2</strong></li>
<li>Decided to try KDE instead, Xfce looks kinda lame (&#8217;coz of constant exposure), KDE4 looks particularly eye catching. Believe the pacman power can uninstall whatever packages installed, but resort to fresh install instead. Poor guy. Restore the <strong>arch.base.tar.bz2</strong> and install KDE4 instead.</li>
<li>After some time, come into senses that everything but Xfce sucks, and decided to go back to Xfce, so the system is restored using <strong>arch.xfce.custo.tar.bz2</strong></li>
<li>Compute happily</li>
</ol>
<h3>Disclaimer</h3>
<p>These are just rants, ramblings, and mumblings of an average Linux user. Do not take them too seriously :)</p>
<h3>Update</h3>
<p>Here is the final script, as of now, looks like:</p>
<pre>cd / &amp;&amp; tar cvpjf /mnt/docs/Image/Arch/arch.basic.261008.tar.bz2 --exclude=/{home/bluekurv,home/prasetya,root,loop,lost+found,mnt/docs,proc,sys,tmp,var/cache/pacman/pkg,}/* /</pre>
<p>The logic: go to /, tar+bz2 and preserve permissions of entire thing under / with the exceptions of the *contents* of these folders (the &#8211;exclude list), and put it in /mnt/docs/Image/Arch as file arch.basic.261008.tar.bz2. Phew.</p>
<p>You no longer need to recreate the omitted directories, as the backup process now only omit the *contents* of the directories specified in the exclude list.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/05/19/keeping-track-of-your-linuxs-evolution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why the change of face?</title>
		<link>http://prasetyams.net/2008/05/18/why-the-change-of-face/</link>
		<comments>http://prasetyams.net/2008/05/18/why-the-change-of-face/#comments</comments>
		<pubDate>Sun, 18 May 2008 04:10:44 +0000</pubDate>
		<dc:creator>Prasetya</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://prasetyams.net/?p=99</guid>
		<description><![CDATA[Okay, it&#8217;s too obvious to hide, I changed the theme of this blog. Now, I&#8217;m using the free theme called &#8220;Simpla&#8221;, and you might wonder, what happened to SMPL05, then? In short, it&#8217;s broken. My bad. I edited some of the files, not in my usual working PC, and I removed some of the files [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, it&#8217;s too obvious to hide, I changed the theme of this blog. Now, I&#8217;m using the free theme called &#8220;Simpla&#8221;, and you might wonder, what happened to SMPL05, then? In short, it&#8217;s broken. My bad. I edited some of the files, not in my usual working PC, and I removed some of the files by mistake. I have a preference of not being asked everytime I want to erase something, and this &#8220;Del&#8221; key is just too close to the arrow keys. So guess what? Some of SMPL05 is now gone from the server. I already made a backup, but it&#8217;s on my another PC and I don&#8217;t think I&#8217;ll be using it any moment now.</p>
<p>So, for a while I&#8217;ll be using this theme as a replacement to SMPL05 and while I get back working I&#8217;ll restore it. Or else.</p>
]]></content:encoded>
			<wfw:commentRss>http://prasetyams.net/2008/05/18/why-the-change-of-face/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
