<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ronny.haryan.to &#187; Linux</title>
	<atom:link href="http://ronny.haryan.to/archives/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronny.haryan.to</link>
	<description>Print: $9.50 -- Online: free</description>
	<lastBuildDate>Thu, 04 Feb 2010 13:05:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>D-Bus Multimedia Keys Plugin for Quod Libet</title>
		<link>http://ronny.haryan.to/archives/2007/05/11/d-bus-multimedia-keys-plugin-for-quod-libet/</link>
		<comments>http://ronny.haryan.to/archives/2007/05/11/d-bus-multimedia-keys-plugin-for-quod-libet/#comments</comments>
		<pubDate>Fri, 11 May 2007 00:09:53 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/archives/2007/05/11/d-bus-multimedia-keys-plugin-for-quod-libet/</guid>
		<description><![CDATA[Since upgrading my Ubuntu desktop to Feisty my multimedia keys stopped working when using Quod Libet, although they work fine with Rhythmbox and Totem. This is because in GNOME 2.18 that comes with Feisty, gnome-settings-daemon &#8216;grabs&#8217; all multimedia keys preventing other applications to capture them. Multimedia key press events are now being broadcast via D-Bus. [...]]]></description>
			<content:encoded><![CDATA[<p>Since upgrading my Ubuntu desktop to <a href="https://wiki.ubuntu.com/FeistyFawn">Feisty</a> my multimedia keys stopped working when using <a href="http://ronny.haryan.to/archives/2006/08/26/quod-libet-and-mutagen/">Quod Libet</a>, although they work fine with Rhythmbox and Totem. This is because in GNOME 2.18 that comes with Feisty, gnome-settings-daemon &#8216;grabs&#8217; all multimedia keys preventing other applications to capture them. Multimedia key press events are now being broadcast via D-Bus. Therefore applications that need to listen to those events could subscribe to the proper D-Bus interface. Other GNOME apps like Rhythmbox and Totem had picked up the changes and had been adjusted accordingly. That&#8217;s why they still work in Feisty. But Quod Libet is not a GNOME application, so this new method of multimedia keys handling that is specific to GNOME should not be implemented inside the Quod Libet core. This is documented in <a href="https://bugs.launchpad.net/bugs/43464">bug #43464</a> in Launchpad.</p>

<p>Joe Wreschnig, Quod Libet&#8217;s author, suggested that this could be implemented as a plugin. After an email conversation with him, and seeing a patch posted to the bug in launchpad, I started writing the plugin last night. Now the multimedia keys work again in Quod Libet. The plugin can be downloaded <a href="http://librarian.launchpad.net/7598413/dbusmmkey.py">from launchpad</a> or <a href="http://ronny.haryan.to/files/dbusmmkey.py.txt">from here</a> (rename to <code>dbusmmkey.py</code>). Simply put this file in <code>~/.quodlibet/plugins/events/</code> and enable it in Quod Libet.</p>

<p>PS. <a href="http://www.python.org/">Python</a> is so much fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2007/05/11/d-bus-multimedia-keys-plugin-for-quod-libet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trash Those Penny Stock Spam</title>
		<link>http://ronny.haryan.to/archives/2006/12/19/trash-those-penny-stock-spam/</link>
		<comments>http://ronny.haryan.to/archives/2006/12/19/trash-those-penny-stock-spam/#comments</comments>
		<pubDate>Tue, 19 Dec 2006 08:05:54 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/archives/2006/12/19/trash-those-penny-stock-spam/</guid>
		<description><![CDATA[May God forgive all the spammers&#8217; souls. Meanwhile, I use this procmail recipe: :0B * ^Symbol: +[A-Z][A-Z][A-Z][A-Z] * ^Current Price: +\$[0-9]\. * Term Target( Price)?: +\$ /dev/null This one recipe alone reduces my daily spam by about half! I get about 500 to 1,000 spam emails daily. This is the only reason I reactivated my [...]]]></description>
			<content:encoded><![CDATA[<p>May God forgive all the spammers&#8217; souls.</p>

<p>Meanwhile, I use this <a href="http://www.google.com/search?q=procmail">procmail</a> recipe:</p>

<pre><code>:0B
* ^Symbol: +[A-Z][A-Z][A-Z][A-Z]
* ^Current Price: +\$[0-9]\.
* Term Target( Price)?: +\$
/dev/null
</code></pre>

<p>This one recipe alone reduces my daily spam by about <strong>half</strong>! I get about 500 to 1,000 spam emails daily. This is the only reason I reactivated my procmail. My <a href="http://en.wikipedia.org/wiki/Bayesian_spam_filtering">Bayesian filter</a>, which has been working wonderfully for years now, caught all the penny stock spam just fine, it&#8217;s just that it&#8217;s really annoying and harder for me to go through these penny stock spam when checking my spam folder for false positives.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/12/19/trash-those-penny-stock-spam/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mail Testing Tricks</title>
		<link>http://ronny.haryan.to/archives/2006/10/20/mail-testing-tricks/</link>
		<comments>http://ronny.haryan.to/archives/2006/10/20/mail-testing-tricks/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 12:00:19 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/archives/2006/10/20/mail-testing-tricks/</guid>
		<description><![CDATA[Here are some MTA (mail server) tricks that I use at work for testing an email application that we&#8217;re working on. I wanted to do a rough benchmarking on how fast our email app can pump messages to the MTA. Of course I don&#8217;t want to actually send the emails, I don&#8217;t care where it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some MTA (mail server) tricks that I use at work for testing an email application that we&#8217;re working on.</p>

<p>I wanted to do a rough benchmarking on how fast our email app can pump messages to the MTA. Of course I don&#8217;t want to actually send the emails, I don&#8217;t care where it&#8217;s sent to or what the content is, the MTA should just accept then drop them straight away.</p>

<p>I&#8217;m using <a href="http://www.postfix.org/">Postfix</a>. So I have the email app send 50,000 emails to <code>x@blackhole.localdomain</code>, where <code>x</code> is a number between 1 and 50,000. You can also do this easily with <code>smtp-source</code> program that comes with Postfix. In <code>/etc/hosts</code> I added <code>127.0.0.1 blackhole.localdomain</code>, and then I set <tt>$<a href="http://www.postfix.org/postconf.5.html#transport_maps">transport_maps</a></tt> to <code>hash:/etc/postfix/transport</code> and in <code>/etc/postfix/transport</code> I added <code>blackhole.localdomain blackhole:</code> and ran <code>postmap /etc/postfix/transport</code>. This will make everything sent to blackhole.localdomain to be sent via the &#8216;blackhole&#8217; <a href="http://www.postfix.org/transport.5.html">transport</a>, which we need to define in <a href="http://www.postfix.org/master.5.html">master.cf</a> as follows:</p>

<pre><code>blackhole unix  -       n       n       -       -       pipe
    user=nobody argv=/bin/true ${user}
</code></pre>

<p>The mail logs should tell us whether it&#8217;s working or not.</p>

<p>Another thing that sometimes I wanted to do is to capture the actual emails sent after it reaches the MTA but <em>without</em> the MTA actually sending the mail to the recipients. This is to get a better picture of how the emails will look like to the recipients. This is useful, for example, to verify that headers, newlines, charset, encoding, MIME, etc. are generated correctly. With Postfix, I used <a href="http://www.postfix.org/FILTER_README.html">content_filter</a> and did something like this in master.cf.</p>

<pre><code>pickup    fifo  n       -       -       60      1       pickup
    -o content_filter=dbgcapture
20025     inet  n       -       -       -       -       smtpd
    -o content_filter=dbgcapture
20026     inet  n       -       -       -       -       smtpd
    -o debug_peer_list=127.0.0.1,192.168.1.0/24
    -o content_filter=dbgcapture
dbgcapture unix  -       n       n       -       -       pipe
  flags=FR user=ronny argv=/usr/bin/tee -a /tmp/capture.mbox
</code></pre>

<p>Mails sent via SMTP to <tt>$<a href="http://www.postfix.org/postconf.5.html#inet_interfaces">inet_interfaces</a>:20025</tt> and sent via <code>/usr/sbin/sendmail</code> will be captured in <code>/tmp/capture.mbox</code>. Similarly, port 20026, with additional SMTP debugging in the logs. Port 25 still works as usual. If you don&#8217;t want <code>/usr/sbin/sendmail</code> to go to dbgcapture simply comment out the <code>-o content_filter</code> line right after the pickup line. Note that using <code>/usr/bin/tee</code> here may not be the most efficient/correct. It works most of the time, but it&#8217;s asynchronous and it doesn&#8217;t guarantee all mails will be written in the correct order (or at all) in the mbox. If you can suggest a better way with similar level of ease, please let me know.</p>

<p>I was also looking at capturing mails with Sendmail. It&#8217;s possible using <a href="http://www.roaringpenguin.com/penguin/openSourceProducts/mimeDefang">MIMEDefang</a> milter with <code>action_quarantine_whole_email()</code> followed by <code>action_discard()</code>. It works but somehow it ran slower than a snail. I&#8217;m not that familiar with Sendmail. Meh. No big deal. I left the tests running, I went home, and check the test results the next morning.</p>

<p>In the next few months we will be doing a lot more of this kind of tests, so I&#8217;m planning to do similar thing with qmail and Exim to cover a lot more base.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/10/20/mail-testing-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Power of Sudo</title>
		<link>http://ronny.haryan.to/archives/2006/09/05/the-power-of-sudo/</link>
		<comments>http://ronny.haryan.to/archives/2006/09/05/the-power-of-sudo/#comments</comments>
		<pubDate>Tue, 05 Sep 2006 01:13:17 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/archives/2006/09/05/the-power-of-sudo/</guid>
		<description><![CDATA[So funny, it made me cry a little. Courtesy link for the uninitiated.]]></description>
			<content:encoded><![CDATA[<p>So funny, it made me cry a little.</p>

<p><a href="http://xkcd.com/c149.html"><img src="http://ronny.haryan.to/wp-content/uploads/2006/09/sudomakemeasandwich.jpg" class="noborder"/></a></p>

<p><a href="http://www.gratisoft.us/sudo/">Courtesy link</a> for the uninitiated.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/09/05/the-power-of-sudo/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quod Libet and Mutagen</title>
		<link>http://ronny.haryan.to/archives/2006/08/26/quod-libet-and-mutagen/</link>
		<comments>http://ronny.haryan.to/archives/2006/08/26/quod-libet-and-mutagen/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 13:50:49 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/archives/2006/08/26/quod-libet-and-mutagen/</guid>
		<description><![CDATA[It started when I wanted to remove APEv2 tags from some of my music files. For some reasons Rhythmbox&#8211;or rather GStreamer&#8211;prefers using APEv2 tags over ID3v2 tags, and the current version of EasyTag in Ubuntu Dapper does not seem to support APEv2 tags. So I wanted to just remove the APEv2 tags altogether. Googling around [...]]]></description>
			<content:encoded><![CDATA[<p>It started when I wanted to remove <a href="http://en.wikipedia.org/wiki/APEv2_tag">APEv2 tags</a> from some of my music files. For some reasons <a href="http://www.gnome.org/projects/rhythmbox/">Rhythmbox</a>&#8211;or rather <a href="http://gstreamer.freedesktop.org/">GStreamer</a>&#8211;prefers using APEv2 tags over <a href="http://www.id3.org/">ID3v2</a> tags, and the current version of <a href="http://easytag.sourceforge.net/">EasyTag</a> in <a href="http://www.ubuntu.com/">Ubuntu</a> Dapper does not seem to support APEv2 tags. So I wanted to just remove the APEv2 tags altogether. Googling around lead me to <code>mutagen-inspect</code> which is part of the <a href="http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen">Mutagen</a> library, which in turn is used by <a href="http://www.sacredchao.net/quodlibet/">Quod Libet</a>. I&#8217;ll talk more about Quod Libet later, it&#8217;s even more interesting than Mutagen.</p>

<p><span id="more-105"></span></p>

<p>It turned out that Mutagen (and Quod Libet) are in the Dapper <a href="http://www.ubuntu.com/ubuntu/components">universe</a> repository, so I easily did <code>sudo apt-get install python-mutagen</code> to install the library. Based on the <a href="http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen/Tutorial">tutorial</a>, I quickly wrote a very simple Python script to remove all the APEv2 tags from my music files:</p>

<pre><code>import os.path
from mutagen.apev2 import APEv2
from mutagen.apev2 import APENoHeaderError

# Work in current directory, and 
# assumes all files are regular files.
for file in os.listdir("."):
    try:
        a = APEv2(file)
        a.delete()
    except APENoHeaderError:
        pass
</code></pre>

<p>So that&#8217;s done.</p>

<p>I was curious about Quod Libet, though. So I did a <code>sudo apt-get install quodlibet quodlibet-ext quodlibet-plugins</code> to check it out. I was happy, and now I can proudly say that I have <a href="http://ronny.haryan.to/archives/2004/10/29/list-apps-i-cant-live-without/">switched</a> from Rhythmbox to Quod Libet. Rhythmbox is not bad, but it just feels so limited after trying <a href="http://amarok.kde.org/">amaroK</a>, <a href="http://muine-player.org/wiki/Main_Page">Muine</a>, <a href="http://listengnome.free.fr/">Listen</a>, <a href="http://banshee-project.org/Main_Page">Banshee</a> or even <a href="http://www.apple.com/itunes/">iTunes</a>. The only things that have kept me using Rhythmbox are multimedia keys support, ease of use, intuitiveness, and resource friendliness. Being included in the Ubuntu repositories is merely a bonus, not a requirement.</p>

<p>Some of Quod Libet&#8217;s <a href="http://www.sacredchao.net/quodlibet/wiki/Features">features</a> which I like:</p>

<ul>
<li><p>Powerful built-in tag editing. Why Rhythmbox waited so long to support tag editing is beyond me. I had to rely on EasyTag to tag my music files when I was using Rhythmbox. Not anymore. I can just edit the tags straight in Quod Libet. I can even edit multiple files easily, <a href="http://www.sacredchao.net/quodlibet/wiki/Guide/Renaming">rename</a> all the files using a pattern that I specify, automatically fill the tags based on the file names, etc. just like in EasyTag. Quod Libet also comes with Ex Falso, a standalone tag editor that uses the same backend as Quod Libet, i.e. Mutagen.</p></li>
<li><p>Multimedia keys. I have one of those keyboards that have multimedia keys, so I can play, pause, skip to the next/previous track, mute, increase/decrease volume, and so on by just pressing the corresponding buttons directly on my multimedia keyboard. And it works globally in GNOME, so I can skip to the next track while I&#8217;m typing this blog entry in Firefox, without changing the application focus or touching the mouse at all.</p></li>
<li><p><a href="http://www.sacredchao.net/quodlibet/wiki/Plugins">Plugins</a>. I like the Download Album Art plugin. I had to edit it a little bit to make it work with Quod Libet 0.18 (the current version in Dapper), simply comment out the line that imports SongsMenuPlugin, and change the class DownloadAlbumArt to inherit from <code>object</code> instead of SongsMenuPlugin.</p></li>
<li><p>There&#8217;s a &#8220;refresh library&#8221; function that can scan the contents of your library folder for changes and update Quod Libet&#8217;s library accordingly. It does not depend on other system like inotify, gamin, fam, etc., but it&#8217;s not automatic. Which is OK for me. It doesn&#8217;t take more than one minute to rescan my library (slightly less than 8000 files). The latest version probably supports watching a folder for changes to automatically update the library, but I&#8217;m not sure.</p></li>
<li><p><a href="http://www.sacredchao.net/quodlibet/wiki/Guide/Browsers">Many ways</a> to manage and view the library. You can even use <a href="http://www.sacredchao.net/quodlibet/wiki/Guide/Searching">regular expressions</a> for filters if you want!</p></li>
<li><p>System tray icon with configurable tooltip display.</p></li>
<li><p>It remembers the last song played, the last view opened, the last filter, etc.</p></li>
</ul>

<p>Other interesting features that I have yet to try:</p>

<ul>
<li><p><a href="http://www.replaygain.org/">ReplayGain</a> support.</p></li>
<li><p>Download lyrics (via plugin).</p></li>
</ul>

<p>Regarding resource usage, more specifically memory, Quod Libet uses slightly more memory (~10MB according to <a href="http://htop.sourceforge.net/">htop</a>) compared to Rhythmbox. Meh. It&#8217;s good enough for me. The only thing that didn&#8217;t work for me was MPEG4-AAC playback (viewing and editing tags in MPEG4-AAC files worked, though), I don&#8217;t know whether it&#8217;s only supported in the newer version or I need to install something else first. Having said that, it&#8217;s been a happy experience overall.</p>

<p>In this day and age, who honestly still uses XMMS or Winamp to manage their music library?</p>

<p><strong><em>Update</em></strong>: MPEG4-AAC didn&#8217;t work because the package <code>gstreamer0.10-plugins-bad</code> was not installed. The wiki page on <a href="https://help.ubuntu.com/community/RestrictedFormats">RestrictedFormats</a> did not mention anything about it, so I updated the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/08/26/quod-libet-and-mutagen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>checkinstall</title>
		<link>http://ronny.haryan.to/archives/2006/01/07/checkinstall/</link>
		<comments>http://ronny.haryan.to/archives/2006/01/07/checkinstall/#comments</comments>
		<pubDate>Sat, 07 Jan 2006 06:40:08 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/?p=92</guid>
		<description><![CDATA[Occasionally there are some applications that I&#8217;d like to install or try that are not in Ubuntu repositories, and there are no deb packages available, so I have to resort to compiling from source. That&#8217;s fine. I just don&#8217;t like not being able to easily uninstall them like when I installed using a package management [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally there are some applications that I&#8217;d like to install or try that are not in Ubuntu repositories, and there are no deb packages available, so I have to resort to compiling from source. That&#8217;s fine. I just don&#8217;t like not being able to easily uninstall them like when I installed using a package management tool (e.g. dpkg). I know some apps provide &#8216;uninstall&#8217; rule in the Makefile, but it still doesn&#8217;t feel right to me.</p>

<p>When <a href="http://ronny.haryan.to/archives/2006/01/01/goodbye-gentoo-hello-ubuntu/">I was still using Gentoo</a>, most of the times I could easily write a simple ebuild and put it in my local portage tree overlay, so that I could emerge it (and unmerge it later if I want to).</p>

<p>Not that easy in Debian or Ubuntu. Or, so I thought, until I found <a href="http://asic-linux.com.mx/~izto/checkinstall/">checkinstall</a>. It&#8217;s available in Ubuntu&#8217;s universe repository. So I just do <code>./configure &amp;&amp; make</code> as usual, then instead of running <code>sudo make install</code>, I just do <code>sudo checkinstall -D</code>, answer a few questions, and I&#8217;d get a deb package that I can install with <code>dpkg -i</code>. Sweet. checkinstall can also create a Slackware package and an RPM package, by the way.</p>

<p>Note: the website seems to be down at the time of writing. Here&#8217;s a <a href="http://66.102.7.104/search?q=cache:iyDvG3X6kZYJ:asic-linux.com.mx/~izto/checkinstall/+checkinstall&amp;hl=en&amp;client=firefox-a">cached version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/01/07/checkinstall/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asking the Wrong Question</title>
		<link>http://ronny.haryan.to/archives/2006/01/03/asking-the-wrong-question/</link>
		<comments>http://ronny.haryan.to/archives/2006/01/03/asking-the-wrong-question/#comments</comments>
		<pubDate>Tue, 03 Jan 2006 04:44:45 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Problem Solving]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/?p=91</guid>
		<description><![CDATA[Upon encountering weird messages in their server logfiles, someone asked &#8220;How do you make these error messages stop showing up in the logfiles?&#8221; I think that&#8217;s just not the right question to ask. Error messages are there to help inform the user that there might be something wrong. It&#8217;s analogous to somebody screaming &#8220;Fire! Fire!&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Upon encountering weird messages in their server logfiles, someone asked &#8220;How do you make these error messages stop showing up in the logfiles?&#8221;</p>

<p>I think that&#8217;s just not the right question to ask.</p>

<p>Error messages are there to <strong>help inform the user</strong> that there might be something <em>wrong</em>. It&#8217;s analogous to somebody screaming &#8220;Fire! Fire!&#8221; in a quiet neighbourhood. Instead of wondering how to make them stop screaming, it would be better to <strong>understand what it is they are screaming about, and why</strong>, just in case there actually is a real danger. Don&#8217;t you agree?</p>

<p><em>Average Joe</em> users tend to ignore error messages as if the error messages are created just to make it more complicated and look more techie. Now, I agree that some error messages are cryptic and leave a lot of room for improvements so that they can be <em>useful</em> to average joe users. However, system administrators should be more willing to investigate the error messages further and try to understand what&#8217;s happening instead of trying to ignore the messages. At the very least, it wouldn&#8217;t hurt to try to paste the error message verbatim in Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/01/03/asking-the-wrong-question/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Goodbye Gentoo, Hello Ubuntu!</title>
		<link>http://ronny.haryan.to/archives/2006/01/01/goodbye-gentoo-hello-ubuntu/</link>
		<comments>http://ronny.haryan.to/archives/2006/01/01/goodbye-gentoo-hello-ubuntu/#comments</comments>
		<pubDate>Sun, 01 Jan 2006 01:58:14 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/?p=89</guid>
		<description><![CDATA[Happy 2006, everyone! So I&#8217;ve had it with Gentoo Linux. Goodbye Gentoo, I&#8217;ll always remember the good times, and the bad times. It&#8217;s not that Gentoo is bad or anything, it&#8217;s good in many ways, don&#8217;t get me wrong, but it also has some drawbacks, at least for me. I think I&#8217;m not that interested [...]]]></description>
			<content:encoded><![CDATA[<p>Happy 2006, everyone!</p>

<p>So I&#8217;ve had it with <a href="http://www.gentoo.org/">Gentoo Linux</a>. Goodbye Gentoo, I&#8217;ll always remember the good times, and the bad times. It&#8217;s not that Gentoo is bad or anything, it&#8217;s good in many ways, don&#8217;t get me wrong, but it also has some drawbacks, at least for me. I think I&#8217;m not that interested anymore in living on the bleeding edge. I just can&#8217;t be bothered to compile, tweak and tinker with a lot of stuff anymore nowadays, I just want to get my work done. If I need something, I want it quick and painless. Hey, <code>apt-get install something</code> sure beats <code>emerge something</code> most of the time, time-wise. Sure, there&#8217;s a price to pay, but nothing is free, there&#8217;s always going to be some trade-offs. I think I&#8217;m going to have to learn to live with it.</p>

<p>My <a href="http://www.ubuntu.com/">Ubuntu</a> install was almost glitch free. I already have some LVM volumes from my Gentoo systems, so I simply want to activate them in Ubuntu. The installer (partman?) would not let me finish the partitioning step if I enabled LVM. So I had to skip the LVM during the installation, and it was really trivial to add the entries to <code>/etc/fstab</code> afterwards and do <code>mount -a</code> from runlevel 1, et voilà, everything is there like it should be. Of course, a little bit of preparation beforehand helps. Based on my previous bad experience, I printed a text file containing the output of <code>df -h</code>, <code>fdisk -l</code>, <code>cat /etc/fstab</code>, <code>pvdisplay</code>, <code>vgdisplay</code>, and <code>lvdisplay</code>. So if shit happens (they do happen, trust me), I will have something to refer to. I also made, beforehand, a list of applications that I use daily, so I could quickly <code>apt-get install</code> them by following the list. Oh, and backups! Did I mention backups? It&#8217;s crucial to backup properly before doing something like this. At least the home directory and everything in <code>/etc</code>.</p>

<p>I&#8217;m not quite finished with the setup yet, but I&#8217;m very pleased so far. With Google by my side, everything was easy breezy (pun intended) to install and configure (there&#8217;s nothing much to configure really), the only thing left is setting up Harvard BibTeX and Ruby on Rails. There&#8217;s a <code>rails</code> package, but it&#8217;s out of date, so I&#8217;d prefer to install it from rubygems, unfortunately there&#8217;s no rubygems package. Looks like I have to install them manually, just like I did <a href="https://wiki.ubuntu.com/RestrictedFormats">Sun Java</a>, <a href="http://azureus.sf.net">Azureus</a>, and <a href="http://alltray.sourceforge.net/downloads.html">AllTray</a>. Ironically, I could simply <code>emerge</code> all of them in Gentoo. Heh.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2006/01/01/goodbye-gentoo-hello-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A Bit of Update</title>
		<link>http://ronny.haryan.to/archives/2005/10/01/a-bit-of-update/</link>
		<comments>http://ronny.haryan.to/archives/2005/10/01/a-bit-of-update/#comments</comments>
		<pubDate>Sat, 01 Oct 2005 07:42:41 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Planet Terasi]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/?p=81</guid>
		<description><![CDATA[My project is about &#8220;context-aware smart homes to support independent living&#8221;. I&#8217;m very busy with my project, probably until January or February, so I&#8217;m not sure if I will have the time and energy to write in this blog during that time, I apologise in advance for lack of updates. Just a clarification if you [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://ronny.haryan.to/archives/2005/08/04/blog-as-research-aid/">My project</a> is about &#8220;context-aware smart homes to support independent living&#8221;.</li>
<li>I&#8217;m very busy with my project, probably until January or February, so I&#8217;m not sure if I will have the time and energy to write in this blog during that time, I apologise in advance for lack of updates.</li>
<li>Just a clarification if you happen to pick up the October 2005 issue of <a href="http://www.infolinux.web.id">InfoLINUX</a>, I&#8217;m <em>not</em> the founder of <a href="http://linux.or.id">linux.or.id</a>, I was just one of the first volunteers who eventually maintain the mailing lists, website, emails, DNS and almost everything else until today. I&#8217;m not sure how linux.or.id started, actually, I think it was <a href="http://aksi.mdamt.net/">MDAMT</a> who started it and announced it to the <del datetime="2005-10-01T10:28:33+00:00">(now defunct)</del> pau-mikro list.</li>
<li><a href="http://gombal.blogdrive.com">Kéré Kêmplu</a> sent me his creation of a logo for <a href="http://planet.terasi.net">Planet Terasi</a>, I&#8217;ll put it in Planet Terasi <em>as soon as possible</em>&trade;.</li>
<li>Summer is coming soon to Sydney. Barbecues and beaches&#8230; and.. what? What project? Oh, right. Never mind.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2005/10/01/a-bit-of-update/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>linux.or.id menghilang dari Google?</title>
		<link>http://ronny.haryan.to/archives/2005/08/07/linuxorid-menghilang-dari-google/</link>
		<comments>http://ronny.haryan.to/archives/2005/08/07/linuxorid-menghilang-dari-google/#comments</comments>
		<pubDate>Sun, 07 Aug 2005 01:46:32 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Indonesia]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ronny.haryan.to/?p=78</guid>
		<description><![CDATA[Sudah seminggu ini saya heran kenapa linux.or.id termasuk subdomainnya sepertinya hilang dari indeks Google. Saya sudah cek file robots.txt, tidak ada. Search di Google katanya kemungkinan karena ada redirect, tapi front page linux.or.id tidak diredirect ke mana-mana. Kemungkinan lain menurut Google sih katanya kalau tidak sesuai dengan aturan main Google, misalnya ada situs yang tidak [...]]]></description>
			<content:encoded><![CDATA[<p>Sudah seminggu ini saya heran kenapa <a href="http://linux.or.id">linux.or.id</a> termasuk subdomainnya sepertinya hilang dari indeks <a href="http://www.google.com/search?q=site:linux.or.id">Google</a>. Saya sudah cek file <code>robots.txt</code>, tidak ada. Search di Google katanya kemungkinan karena ada redirect, tapi <em>front page</em> linux.or.id tidak diredirect ke mana-mana. Kemungkinan lain menurut Google sih katanya kalau tidak sesuai dengan aturan main Google, misalnya ada situs yang tidak fair dengan menggunakan hidden keywords yang tidak sesuai dengan isinya atau praktek lainnya yang sengaja memanipulasi indeks Google demi kepentingan sendiri, tapi saya tidak terpikir ada di mana kemungkinan seperti ini di linux.or.id, apakah di salah satu subdomainnya?</p>

<p>Barusan saya upgrade <a href="http://drupal.org">Drupal</a> (sistem <abbr title="Content Management System">CMS</abbr> yang digunakan oleh linux.or.id) ke versi stable terakhir. Entah apa gara-gara tempo hari saya workaround disable xmlrpc waktu ada security bug dan waktu itu belum sempet upgrade.</p>

<p>Ada ide?</p>
]]></content:encoded>
			<wfw:commentRss>http://ronny.haryan.to/archives/2005/08/07/linuxorid-menghilang-dari-google/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
