<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Wilmer's stuff - OSS</title>
    <link>http://wilmer.gaast.net/blog/</link>
    <description>So today I...</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Thu, 04 Feb 2010 10:36:49 GMT</pubDate>

    <image>
        <url>http://wilmer.gaast.net/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Wilmer's stuff - OSS - So today I...</title>
        <link>http://wilmer.gaast.net/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>spamass-milter and IPv6</title>
    <link>http://wilmer.gaast.net/blog/archives/61-spamass-milter-and-IPv6.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/61-spamass-milter-and-IPv6.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    While migrating my mailserver from Ubuntu Dapper to Debian Lenny, I noticed spamass-milter didn&#039;t want to start:&lt;br /&gt;
&lt;br /&gt;
Could not parse &quot;2001:770:017b::&quot; as a network&lt;br /&gt;
&lt;br /&gt;
After scratching my head on that for a while (it worked on the old box!) I remembered two years ago I spent some time adding IPv6 support to spamass-milter myself. Support as-in allowing IPv6 subnets to be whitelisted/auto-accepted. Very useful if you want mails from your local IPv6 machines to be accepted automatically without waiting for 10s while spamassasin is checking if you&#039;re not a spammer...&lt;br /&gt;
&lt;br /&gt;
I never published the thing and now I could hardly find back the damn thing at all. :-)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://wilmer.gaast.net/downloads/spamass-milter-ipv6.diff&quot;  class=&quot;bb-url&quot;&gt;http://wilmer.gaast.net/downloads/spamass-milter-ipv6.diff&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Just to make sure I won&#039;t lose it again ... and maybe it&#039;ll be useful for someone else.&lt;br /&gt;
&lt;br /&gt;
Also just de-Ubuntufied my laptop. Debian&#039;s doing great so far: Suspend and Resume actually work better out of the box, but fonts look a bit ugly (and sometimes really less readable I&#039;m afraid) compared to Ubuntu...  
    </content:encoded>

    <pubDate>Sun, 31 Jan 2010 11:51:51 +0100</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/61-guid.html</guid>
    
</item>
<item>
    <title>Running 32-bit 3D apps on 64-bit Debian NVIDIA systems</title>
    <link>http://wilmer.gaast.net/blog/archives/59-Running-32-bit-3D-apps-on-64-bit-Debian-NVIDIA-systems.html</link>
            <category>Linux</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/59-Running-32-bit-3D-apps-on-64-bit-Debian-NVIDIA-systems.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Because Intel on-board video isn&#039;t quite good enough at 3D and my somewhat old laptop with built-in NVIDIA chip wasn&#039;t doing all that well at X-Plane either, I bought an NVIDIA GT240 card. Mostly because it seemed to be a good performer without doubling the power consumption of my PC. Stuff wasn&#039;t working all that well though and I got pretty frustrated:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;QUOTE:&lt;/div&gt;&lt;div class=&quot;bb-quote&quot;&gt;X Error of failed request:  BadLength (poly request too large or internal Xlib length error)&lt;br /&gt;
  Major opcode of failed request:  135 (GLX)&lt;br /&gt;
  Minor opcode of failed request:  2 (X_GLXRenderLarge)&lt;br /&gt;
  Serial number of failed request:  1468&lt;br /&gt;
  Current serial number in output stream:  1483&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
was all X-Plane could tell me. Google Earth also didn&#039;t work and seemed more like Google Black hole to me. Both are 32-bit apps. A 64-bit binary of Flightgear did work. Sigh.&lt;br /&gt;
&lt;br /&gt;
After some poking I noticed the nvidia-glx package replaces /usr/lib{64,}/libGL* with its own versions, but didn&#039;t touch /usr/lib32. A-ha!&lt;br /&gt;
&lt;br /&gt;
The fix: Get a &lt;a href=&quot;http://packages.debian.org/sid/i386/nvidia-glx/download&quot;  class=&quot;bb-url&quot;&gt;32-bit version of nvidia-glx&lt;/a&gt;, extract it somewhere (dpkg -X) and copy all the files in its usr/lib to /usr/lib32, overwriting the libGL symlink that is currently there.&lt;br /&gt;
&lt;br /&gt;
Or, hmm, as I just found out: apt-get install nvidia-glx-ia32. I&#039;m glad someone thought of it already.&lt;br /&gt;
&lt;br /&gt;
Now X-Plane works perfectly (with maybe even ten times the frame rate I had with Intel on-board) and Google Earth can show me my house again.&lt;br /&gt;
&lt;br /&gt;
Just blogging this since so far a Google search for any part of the error above didn&#039;t give useful results.&lt;br /&gt;
&lt;br /&gt;
Now, I just have to find out if I can get a TV signal out of this thing somehow, since my TV was made long before HDMI was invented. :-/  
    </content:encoded>

    <pubDate>Wed, 30 Dec 2009 12:46:22 +0100</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/59-guid.html</guid>
    
</item>
<item>
    <title>HAR2009</title>
    <link>http://wilmer.gaast.net/blog/archives/54-HAR2009.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/54-HAR2009.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=54</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Hey, it&#039;s more than two months ago already, but it&#039;s just in time for my thoughts on &lt;a href=&quot;http://www.har2009.org/&quot;  class=&quot;bb-url&quot;&gt;HAR2009&lt;/a&gt;! I put &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&quot;  class=&quot;bb-url&quot;&gt;pictures&lt;/a&gt; on-line a little while ago already, but nothing else so far.&lt;br /&gt;
&lt;br /&gt;
It&#039;s a pretty neat event. It feels like a &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3458&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;festival&lt;/a&gt;, but then completely stuffed with &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3465&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;geeks&lt;/a&gt;. And &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3467&quot;  class=&quot;bb-url&quot;&gt;talks&lt;/a&gt; instead of &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3463&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;concerts&lt;/a&gt;. And also, &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3472&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;fantastic&lt;/a&gt; &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3455&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;decoration&lt;/a&gt;. Or maybe I should call it &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3453&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;light&lt;/a&gt; &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3469&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;pollution&lt;/a&gt;? Also, we had our own &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3476&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;GSM network!&lt;/a&gt; Of course, we also had &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=38&amp;pic=3482&amp;alt=2&quot;  class=&quot;bb-url&quot;&gt;police&lt;/a&gt; on site, because you don&#039;t want to know what this hacker scum does in their spare time. From the stories I heard, the police had a pretty unexciting but pleasant time there though.&lt;br /&gt;
&lt;br /&gt;
All in all it was fun, and I met a whole bunch of people, including some happy BitlBee users and contributors. Most interesting was perhaps that I met a roommate of a former Mountain View teammate of mine at the train station before the conference already. The geek world is pretty small, I guess.  
    </content:encoded>

    <pubDate>Sun, 18 Oct 2009 15:20:13 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/54-guid.html</guid>
    
</item>
<item>
    <title>Bunch of pictures (and updated blog software)</title>
    <link>http://wilmer.gaast.net/blog/archives/48-Bunch-of-pictures-and-updated-blog-software.html</link>
            <category>OSS</category>
            <category>Stuff that flies</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/48-Bunch-of-pictures-and-updated-blog-software.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=48</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Sigh. If a PHP coder says &quot;The complete upgrade path is automatted and can be performed with a single mouse click.&quot;, don&#039;t believe him. I just spent almost an hour on a Serendipity upgrade. Maybe it works well if you have a dumbass FTP CGI-exec webhost, but I miss the good old days without &quot;user friendly&quot; installer scripts, where installing a webapp was a matter of unpacking a tarball and feeding a database dump to MySQL. Stuff just worked without having to give the webserver write permissions pretty much everywhere.&lt;br /&gt;
&lt;br /&gt;
But now, after the hackish s9y upgrade I lost the old theme, random plugins broke and I had to reinstall + reconfigure them (after resolving some more permission issues), and the best part must be that the upgrade script does absolutely no error checking. After tons of error messages it says &quot;upgrade successful&quot;. Fortunately it&#039;s also dumb and didn&#039;t mark the upgrade as successful, so I could retry the upgrade after fixing permissions. One day I&#039;ll just figure out how to move all this stuff to Blogger. :-/&lt;br /&gt;
&lt;br /&gt;
Anyway, I promised pictures. Lots of stuff is now on &lt;a href=&quot;http://wilmer.gaast.net/fotos/&quot;  class=&quot;bb-url&quot;&gt;http://wilmer.gaast.net/fotos/&lt;/a&gt;. Don&#039;t have very fast hosting for it yet, but I&#039;ll work that out later. Hilights are the pictures of &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=32&quot;  class=&quot;bb-url&quot;&gt;my first flight lesson&lt;/a&gt;, and also pictures of &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=37&quot;  class=&quot;bb-url&quot;&gt;my cool model airplane&lt;/a&gt;. Bought it in April (after mostly trashing my &lt;a href=&quot;http://www.hobbyzone.com/rc_planes_hobbyzone_super_cub.htm&quot;  class=&quot;bb-url&quot;&gt;Super Cub&lt;/a&gt; and leaving it behind in Beilen), and got some cool in-flight pictures. I also bought a 37g camera especially designed for attaching to these planes, so soon I&#039;ll be spying on people in the park and around here in Dublin. :-P&lt;br /&gt;
&lt;br /&gt;
Some pretty hiking pictures from this year&#039;s Mountain View trip are also there: &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=34&quot;  class=&quot;bb-url&quot;&gt;Big Sur&lt;/a&gt; (under Monterey), &lt;a href=&quot;http://wilmer.gaast.net/fotos/?tag=36&quot;  class=&quot;bb-url&quot;&gt;Rancho San Antonio&lt;/a&gt; (just under Mountain View/Sunnyvale). In other news, I&#039;m flying to New York on the 24th. Not sure if I&#039;ll make any pictures there since probably everything there has been photographed to death already.  
    </content:encoded>

    <pubDate>Sat, 06 Jun 2009 22:25:43 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/48-guid.html</guid>
    
</item>
<item>
    <title>Getting a list of your Firefox tabs</title>
    <link>http://wilmer.gaast.net/blog/archives/46-Getting-a-list-of-your-Firefox-tabs.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/46-Getting-a-list-of-your-Firefox-tabs.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=46</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Just a quick Perl hack I put together last night. This &quot;oneliner&quot; reads the sessionstore.js file and prints the URLs of all tabs you&#039;re currently looking at. I also noticed that the sessionstore contains lots of other useful information, including all session cookies. I&#039;m quite sure that will come in handy some day. :-D I took a quick look for code that does this, and found people trying to put some complicated grep/regex together, but that seemed way too fragile to me. One person did it in JavaScript (which makes a lot of sense since the session store &lt;strong&gt;is&lt;/strong&gt; encoded as a JavaScript data structure), and I decided to go that way as well except I&#039;m using Perl&#039;s JavaScript module so it can still run on the command-line. :-)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use&amp;#160;JavaScript;&lt;br /&gt;
&lt;br /&gt;
my&amp;#160;$rt&amp;#160;=&amp;#160;JavaScript&amp;#58;&amp;#58;Runtime-&amp;#62;new&amp;#40;&amp;#41;;&lt;br /&gt;
my&amp;#160;$cx&amp;#160;=&amp;#160;$rt-&amp;#62;create_context&amp;#40;&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
$cx-&amp;#62;bind_function&amp;#40;fetch&amp;#160;=&amp;#62;&amp;#160;sub&amp;#160;{&amp;#160;print&amp;#40;&amp;#160;$_&amp;#91;0&amp;#93;&amp;#160;.&amp;#160;&quot;\n&quot;&amp;#160;&amp;#41;;&amp;#160;}&amp;#41;;&lt;br /&gt;
&lt;br /&gt;
$sess&amp;#160;=&amp;#160;`cat&amp;#160;~/.mozilla/firefox/&amp;#42;.default/sessionstore.js`;&lt;br /&gt;
&lt;br /&gt;
$sessparser&amp;#160;=&amp;#160;&amp;#60;&amp;#60;EOF;&lt;br /&gt;
for&amp;#40;&amp;#160;var&amp;#160;win_&amp;#160;in&amp;#160;sess&amp;#91;&#039;windows&#039;&amp;#93;&amp;#160;&amp;#41;&lt;br /&gt;
{&lt;br /&gt;
	win&amp;#160;=&amp;#160;sess&amp;#91;&#039;windows&#039;&amp;#93;&amp;#91;win_&amp;#93;;&lt;br /&gt;
	for&amp;#40;&amp;#160;var&amp;#160;tab_&amp;#160;in&amp;#160;win&amp;#91;&#039;tabs&#039;&amp;#93;&amp;#160;&amp;#41;&lt;br /&gt;
	{&lt;br /&gt;
		tab&amp;#160;=&amp;#160;win&amp;#91;&#039;tabs&#039;&amp;#93;&amp;#91;tab_&amp;#93;;&lt;br /&gt;
		fetch&amp;#40;tab&amp;#91;&#039;entries&#039;&amp;#93;&amp;#91;tab&amp;#91;&#039;index&#039;&amp;#93;&amp;#160;-&amp;#160;1&amp;#93;&amp;#91;&#039;url&#039;&amp;#93;&amp;#41;;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
$cx-&amp;#62;eval&amp;#40;&#039;var&amp;#160;sess&amp;#160;=&amp;#160;&#039;&amp;#160;.&amp;#160;$sess&amp;#160;.&amp;#160;&#039;;&#039;&amp;#160;.&amp;#160;$sessparser&amp;#41;;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
And yes, my code &lt;strong&gt;is&lt;/strong&gt; indented, but my shitty blog software likes to break it.  
    </content:encoded>

    <pubDate>Sat, 09 May 2009 16:58:06 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/46-guid.html</guid>
    
</item>
<item>
    <title>Mountain View, TAPFS and yet another gallery</title>
    <link>http://wilmer.gaast.net/blog/archives/44-Mountain-View,-TAPFS-and-yet-another-gallery.html</link>
            <category>Development</category>
            <category>Mountain View</category>
            <category>Music</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/44-Mountain-View,-TAPFS-and-yet-another-gallery.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Writing from Mountain View again! Landed on Thursday, spent one day at work so far and today I got my bicycle fixed up so I can use it for commuting again. It&#039;s nice how year after year, the thing still works for me, all it needs when I come is some extra air in the tires. :-) One thing California is really not doing well this year is the weather, though. It&#039;s raining for two days already!&lt;br /&gt;
&lt;br /&gt;
In other news, I should definitely be plugging The Australian Pink Floyd Show in this post. They were in Dublin about a week ago and they&#039;re amazingly good. Even a singer that sounds a lot like Roger Waters! The show was great too, with inflatable animals and everything, and the music sounded perfect. This tour they&#039;re playing all of The Wall, and for that that means not just a &quot;copy&quot; of the CD, but also many of the little filler pieces that PF used to play during the concerts.&lt;br /&gt;
&lt;br /&gt;
Also working on a bit of OSS these weeks, adding more &quot;diversity&quot; to the already bloated landscape of gallery webapps. I&#039;m making a difference though, SRSLY! I found myself making a lot more pictures since I bought my first &lt;a href=&quot;http://www.google.com/search?q=d70s&quot;  class=&quot;bb-url&quot;&gt;dSLR&lt;/a&gt; and many of them aren&#039;t really part of an album/event or anything like that. I could just put them on Flickr or Picasa and be done with it, but that&#039;d break my time-wasting tradition of hosting everything myself.&lt;br /&gt;
&lt;br /&gt;
I already use F-Spot to manage my pictures, so it&#039;d be nice to have a web gallery that can automatically use tag information from F-Spot. Turns out there are &lt;a href=&quot;http://pennave.sourceforge.net/&quot;  class=&quot;bb-url&quot;&gt;two&lt;/a&gt; &lt;a href=&quot;http://wingolog.org/software/original/&quot;  class=&quot;bb-url&quot;&gt;programs&lt;/a&gt; that can do this already. They&#039;re not for me though; they automatically export everything, and there are pictures that I&#039;d rather keep for myself. :-P&lt;br /&gt;
&lt;br /&gt;
I then tried to adapt &quot;original&quot; to my wishes, but gave up when I saw it doesn&#039;t quite use templates and am rewriting it now using web.py and Cheetah templates. Going well, but TBH I feel homesick to PHP. Not that it&#039;s such a great language, it&#039;s more that I fail to understand why there are 982397832 different webapp frameworks for Python/WSGI/mod_python/whatever instead of just one that actually works.&lt;br /&gt;
&lt;br /&gt;
This is a work in progress, and the progress is good. :-) Once it&#039;s done, I&#039;ll be able to post pictures here of my new radio-controlled airplane and other neat stuff. Yaaaay...  
    </content:encoded>

    <pubDate>Sun, 03 May 2009 06:28:58 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/44-guid.html</guid>
    
</item>
<item>
    <title>Pulling a JournalSpace ... almost</title>
    <link>http://wilmer.gaast.net/blog/archives/43-Pulling-a-JournalSpace-...-almost.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/43-Pulling-a-JournalSpace-...-almost.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Wednesday, I had this very friendly mail in my INBOX, from mdam:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;QUOTE:&lt;/div&gt;&lt;div class=&quot;bb-quote&quot;&gt;&lt;br /&gt;
This is an automatically generated mail message from mdadm running on tosca&lt;br /&gt;
&lt;br /&gt;
A Fail event had been detected on md device /dev/md1.&lt;br /&gt;
&lt;br /&gt;
Faithfully yours, etc.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
There was little reason to panic, since I had a spare disk installed already. A few man- and mdadm commands later, the array was resyncing. I walked away from the screen, confident that there was nothing to worry about.&lt;br /&gt;
&lt;br /&gt;
How wrong could I be! Somewhere at 99% of the recovery process, one of the existing disks threw a read error. This was too much for md, and to punish me it marked two disks as spares, one as failed and only one as still working. RAID5 may be designed to deal with broken disks, but it does have its limits. ;-) This is where it got scary, especially since this machine is, say, 1300km away from me.&lt;br /&gt;
&lt;br /&gt;
With some remote help, I managed to get the machine rebooted in single user mode with an sshd running. The disks were all available again, but the superblocks were sufficiently broken that md didn&#039;t want to construct the LVM array anymore. (Fortunately the rootfs array was not a problem!)&lt;br /&gt;
&lt;br /&gt;
Anyway, I spent that night copying the raw partitions over to another machine. Tried to construct an array there, but things were untable, md often tried to resync the partitions (bad idea), or simply didn&#039;t want to run it for me. Instead of trying to make this go, I decided to write a little tool to do the dirty work for me. And that, reader, is why I&#039;m writing this. :-)&lt;br /&gt;
&lt;br /&gt;
To my surprise, I couldn&#039;t find any tool to do this on FreshMeat. Sure, when I search for &quot;RAID recovery&quot; on Google, I get plenty of ads for &quot;Professional RAID recovery tools&quot;, but I don&#039;t want to pay $$$$ for a program that XORs a couple of GBs of data for me. :-P&lt;br /&gt;
&lt;br /&gt;
So, behold: &lt;a href=&quot;http://wilmer.gaast.net/downloads/raidrec.c&quot;  class=&quot;bb-url&quot;&gt;raidrec&lt;/a&gt;. Comes with no documentation, other than this blog article and the (long) comment at the top of the file. I hope it&#039;ll be useful for someone some day... It was for me. I have all my data back, LVM picked up all my volumes perfectly, and a few fscks later I managed to migrate all my VMs to OpenVZ running on a desktop elsewhere in the house. At least ruby (my workstation here in Dublin) isn&#039;t the only desktop machine being a part-time gaast.net webserver anymore. :-/&lt;br /&gt;
&lt;br /&gt;
If anyone didn&#039;t get the JournalSpace reference (which fortunately isn&#039;t very accurate here anyway): &lt;a href=&quot;http://journalspace.com/&quot;  class=&quot;bb-url&quot;&gt;http://journalspace.com/&lt;/a&gt;  
    </content:encoded>

    <pubDate>Sat, 10 Jan 2009 12:42:35 +0100</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/43-guid.html</guid>
    
</item>
<item>
    <title>F-Spot &quot;plugin&quot; for printing pictures via PhotoPrintIt</title>
    <link>http://wilmer.gaast.net/blog/archives/42-F-Spot-plugin-for-printing-pictures-via-PhotoPrintIt.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/42-F-Spot-plugin-for-printing-pictures-via-PhotoPrintIt.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    A little while ago I wrote a little Perl script that can be used to upload a bunch of pictures to PhotoPrintIt (Dutch people may know this from the shop &lt;a href=&quot;http://www.kruidvat.nl/&quot;  class=&quot;bb-url&quot;&gt;Kruidvat&lt;/a&gt;). Together with a tiny .dll file this can be used as an F-Spot plugin to get pictures printed. Just select the ones you like in the picture browser, File-&gt;Export-&gt;Printing Service, wait for a little while, enter your address information and you&#039;re done. 2/3 days later you can collect your pictures at a local shop (or they&#039;ll be shipped to your home).&lt;br /&gt;
&lt;br /&gt;
I&#039;m not actually using this myself and don&#039;t intend to support it or spend a lot more time on improving it (not to mention adding a GUI), but maybe even in the current form it&#039;s already useful to someone. Just get the source using bzr: &lt;a href=&quot;http://wilmer.gaast.net/downloads/printpics/&quot;  class=&quot;bb-url&quot;&gt;http://wilmer.gaast.net/downloads/printpics/&lt;/a&gt;.  
    </content:encoded>

    <pubDate>Mon, 08 Dec 2008 22:12:36 +0100</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/42-guid.html</guid>
    
</item>
<item>
    <title>Unbricking your Netgear ADSL router without Windows</title>
    <link>http://wilmer.gaast.net/blog/archives/41-Unbricking-your-Netgear-ADSL-router-without-Windows.html</link>
            <category>Development</category>
            <category>Linux</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/41-Unbricking-your-Netgear-ADSL-router-without-Windows.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=41</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=41</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    So for about a year I have a DSL modem and a separate router (running OpenWRT) here. Simply because the average DSL router has crappy software (no decent CLI, connection tracking for nothing more complicated than TCP and for only a few hundred of them, crappy wireless ... well, you get the point). So I decided to buy a Linux-powered DSL router, the Netgear DG834G. I hoped for one with an AR7 board, because that one seems very well supported, but I received a v4 which has a Broadcom board instead. :-(&lt;br /&gt;
&lt;br /&gt;
Anyway, Netgear is still pretty decent. The stock firmware comes with a telnetd (must be activated via the webserver though), and (well, forced by the GPL) they put tools on-line which I can use to rebuild firmware images, which I already abused to remove the multi-lingual web interface and use those precious kilobytes for a tcpdump binary instead. :-) Adding a kernel with IPv6 support is going to be more complicated though.&lt;br /&gt;
&lt;br /&gt;
Anyway, I should first focus on making the thing actually wortk with my IPoA ADSL2+ connection.... &lt;strong&gt;sigh&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
But after bricking the thing once I did manage to write up a tool (based on a half-finished tool written by someone on the OpenWRT forum) to fix that very problem. These routers can be reflashed without any serial cable or whatever these days, using the power of raw Ethernet frames (R). It&#039;s a gross hack, but it works and is reasonably convenient. It&#039;s &lt;a href=&quot;/834root/&quot;  class=&quot;bb-url&quot;&gt;up for download&lt;/a&gt; for anyone who needs it. Be careful, only use it when things can&#039;t get any worse anyway!  
    </content:encoded>

    <pubDate>Sun, 19 Oct 2008 00:45:06 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/41-guid.html</guid>
    
</item>
<item>
    <title>mail2trac.pl</title>
    <link>http://wilmer.gaast.net/blog/archives/37-mail2trac.pl.html</link>
            <category>OSS</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/37-mail2trac.pl.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Yesterday I finally found an excuse to play with &lt;a href=&quot;http://search.cpan.org/~petdance/WWW-Mechanize-1.34/lib/WWW/Mechanize.pm&quot;  class=&quot;bb-url&quot;&gt;WWW::Mechanize&lt;/a&gt;. Wrote a little script that parses an e-mail and posts it as a ticket comment on BitlBee&#039;s Trac page. Just posting it here now in case someone else is interested. It works pretty well already, I just have to find something to MIME-decode messages, otherwise things look a bit ugly sometimes and signatures may not be detected and stripped properly.&lt;br /&gt;
&lt;br /&gt;
The script is at: &lt;a href=&quot;http://wilmer.gaast.net/downloads/mail2trac.pl&quot;  class=&quot;bb-url&quot;&gt;http://wilmer.gaast.net/downloads/mail2trac.pl&lt;/a&gt;. Just add it to your procmailrc or /etc/aliases and you&#039;re done!&lt;br /&gt;
&lt;br /&gt;
[edit] MIME-decoding is there too now. That was a hell to implement... :-(  
    </content:encoded>

    <pubDate>Mon, 17 Mar 2008 08:57:47 +0100</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/37-guid.html</guid>
    
</item>
<item>
    <title>rxvt-unicode and ISO 14755 mode</title>
    <link>http://wilmer.gaast.net/blog/archives/36-rxvt-unicode-and-ISO-14755-mode.html</link>
            <category>Linux</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/36-rxvt-unicode-and-ISO-14755-mode.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Now that my (and pretty much every other) machine uses UTF-8 by default, I was pretty much forced to ditch rxvt in favour of rxvt-unicode. Unfortunately the rxvt-unicode authors think attaching some keycap picture insert mode to the Ctrl-Shift key combination (which is easy to hit by accident) would be HANDY. Even handier, it can only be disabled at compile time.&lt;br /&gt;
&lt;br /&gt;
Thanks for nothing guys, I really hope there&#039;s at least one person on this planet who agrees that this is handy ... I&#039;m afraid most people who accidentally hit Ctrl-Shift every few minutes don&#039;t agree.&lt;br /&gt;
&lt;br /&gt;
So, behold:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;wilmer@ruby&amp;#58;~/bin$&amp;#160;cat&amp;#160;fix-rxvt.sh&amp;#160;&lt;br /&gt;
#!/bin/sh&amp;#160;-ex&lt;br /&gt;
cd&amp;#160;`mktemp&amp;#160;-d&amp;#160;/tmp/rxvt.XXXXXX`&lt;br /&gt;
apt-get&amp;#160;source&amp;#160;rxvt-unicode&lt;br /&gt;
sudo&amp;#160;apt-get&amp;#160;build-dep&amp;#160;rxvt-unicode&lt;br /&gt;
cd&amp;#160;rxvt-unicode-&amp;#42;/&lt;br /&gt;
perl&amp;#160;-pi&amp;#160;-e&amp;#160;&#039;s/--enable-iso14755/--disable-iso14755/g&#039;&amp;#160;debian/rules&lt;br /&gt;
dch&amp;#160;-n&amp;#160;&#039;ISO&amp;#160;14755/Keycap&amp;#160;mode&amp;#160;SUCKS!!!&#039;&lt;br /&gt;
fakeroot&amp;#160;debian/rules&amp;#160;binary&lt;br /&gt;
sudo&amp;#160;dpkg&amp;#160;-i&amp;#160;../rxvt-unicode-lite&amp;#42;deb&lt;/div&gt;&lt;br /&gt;
For all you Debian+rxvt-unicode users out there waiting for &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393847&quot;  class=&quot;bb-url&quot;&gt;this bug&lt;/a&gt; to be fixed... :-)&lt;br /&gt;
&lt;br /&gt;
[edit]Added dch command to make sure apt-get doesn&#039;t reinstall the original package every time.[/edit]  
    </content:encoded>

    <pubDate>Thu, 11 Oct 2007 10:22:08 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/36-guid.html</guid>
    
</item>
<item>
    <title>Intel X.org driver, PAL TV-Out, colours please!</title>
    <link>http://wilmer.gaast.net/blog/archives/33-Intel-X.org-driver,-PAL-TV-Out,-colours-please!.html</link>
            <category>Linux</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/33-Intel-X.org-driver,-PAL-TV-Out,-colours-please!.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Got a little bit confused by &lt;a href=&quot;https://bugs.freedesktop.org/show_bug.cgi?id=2782&quot;  class=&quot;bb-url&quot;&gt;this bug report&lt;/a&gt; while trying to get the TV-out on my mainboard working properly. As any European TV, mine wants PAL signals, not NTSC. The bug report gave me the impression that there should be separate PAL/NTSC mode definitions. But in the current driver, this isn&#039;t the case anymore.&lt;br /&gt;
&lt;br /&gt;
Instead, they now use RandR properties to maintain this setting. And RandR, at least for properties, seems to be read-only .... soooo, how does it work then???&lt;br /&gt;
&lt;br /&gt;
Well, try something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;Section&amp;#160;&quot;Monitor&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Identifier&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&quot;TV&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Option&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&quot;TV&amp;#160;Format&quot;&amp;#160;&quot;PAL&quot;&lt;br /&gt;
EndSection&lt;/div&gt;&lt;br /&gt;
Took me a whole weekend to find this, but at least it works now, in full colour! This didn&#039;t seem to be very well-documented to me, so I hope this post will help. If it doesn&#039;t work for you, maybe your TV doesn&#039;t understand S-Video. There&#039;s a very simple &lt;a href=&quot;http://www.camp0s.com/pc_related/svideo/svideo.php&quot;  class=&quot;bb-url&quot;&gt;hack&lt;/a&gt; to solve that issue too. All you need is two wires, no need to solder anything. :-)  
    </content:encoded>

    <pubDate>Sat, 29 Sep 2007 14:55:52 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/33-guid.html</guid>
    
</item>
<item>
    <title>Dear Intel,</title>
    <link>http://wilmer.gaast.net/blog/archives/32-Dear-Intel,.html</link>
            <category>Linux</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/32-Dear-Intel,.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Thanks for making Linux drivers for the on-board graphics stuff on my mainboard. Next year, could you please not publish them as a .... &lt;a href=&quot;http://downloadcenter.intel.com/download.aspx?url=/13824/eng/IEGD_7_0_GOLD_1004.exe&amp;DwnldId=13824&amp;ProductID=2159&amp;lang=eng&quot;  class=&quot;bb-url&quot;&gt;.EXE file???&lt;/a&gt;  
    </content:encoded>

    <pubDate>Sat, 01 Sep 2007 23:17:36 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/32-guid.html</guid>
    
</item>
<item>
    <title>24!</title>
    <link>http://wilmer.gaast.net/blog/archives/31-24!.html</link>
            <category>BitlBee</category>
            <category>Life</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/31-24!.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=31</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=31</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    Yep, another birthday passed, and I celebrated it with my father and grandparents, here in Dublin. My grandparents never travelled by airplane so far, so it was quite an adventure. Unfortunately they had to get to know the great Irish weather here. But then again, it isn&#039;t all &lt;strong&gt;that&lt;/strong&gt; different from the Dutch weather...&lt;br /&gt;
&lt;br /&gt;
So a little while after my complaint about NTL blocking traffic to some sites, they now block access to all sites ... they cut me off. :-) Still waiting for my ADSL. This is Ireland, so if they say it&#039;ll take two weeks to ocnnect you, you do have to add two more. (That&#039;s how it works with appointments at least, I&#039;m told. If you have an appointment at x, make sure you don&#039;t actually show up before x+15 min!) Oh heck, fortunately most bigger cities know these things called &quot;security-unconscious neighbours&quot; and &quot;open access point&quot;... ;-)&lt;br /&gt;
&lt;br /&gt;
Still want to do some BitlBee snapshot release, maybe tomorrow. The new Jabber groupchat support works very well, it&#039;s working perfectly at work for over two months already, and I&#039;m actually not even the only one who uses it. :-) And who knows when this will become a stable release... Clearly I&#039;ve been too ambitious with adding new stuff, and too lazy to finish all the details to make it worth releasing. :-(&lt;br /&gt;
&lt;br /&gt;
Oh yeah, and the new website rocks! But I suppose most people saw it already by now.  
    </content:encoded>

    <pubDate>Sun, 12 Aug 2007 00:31:27 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/31-guid.html</guid>
    
</item>
<item>
    <title>Got a place!</title>
    <link>http://wilmer.gaast.net/blog/archives/29-Got-a-place!.html</link>
            <category>BitlBee</category>
            <category>Dublin</category>
    
    <comments>http://wilmer.gaast.net/blog/archives/29-Got-a-place!.html#comments</comments>
    <wfw:comment>http://wilmer.gaast.net/blog/wfwcomment.php?cid=29</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://wilmer.gaast.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=29</wfw:commentRss>
    

    <author>blog@wilmer.gaast.net (Wilmer van der Gaast)</author>
    <content:encoded>
    It&#039;s a week ago already since I moved into my new apartment. I managed to find one very close to work. I can pretty much walk from my desk at home to the one at work in five minutes. :-) It&#039;s not that I&#039;m lazy, I was actually looking for a place a bit further away, but this apartment is pretty big and I like that. Might make some pics later.&lt;br /&gt;
&lt;br /&gt;
Also working on BitlBee Jabber MUC support again, and it works pretty well already. Actually I use it all the time at work by now. No more need for crappy GUI Jabber clients. :-D  
    </content:encoded>

    <pubDate>Wed, 13 Jun 2007 23:22:09 +0200</pubDate>
    <guid isPermaLink="false">http://wilmer.gaast.net/blog/archives/29-guid.html</guid>
    
</item>

</channel>
</rss>