<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feeds.feedburner.com/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    
    <link href="http://blog.sysfs.net/" rel="alternate" title="Caught at one hundred and twenty metres per second" type="text/html" />
    <link href="http://blog.sysfs.net/rss.php?version=2.0" rel="alternate" title="Caught at one hundred and twenty metres per second" type="application/rss+xml" />
    <title type="html">Caught at one hundred and twenty metres per second</title>
    <subtitle type="html">Crests and troughs of mechanix' thoughts</subtitle>
    <icon>http://blog.sysfs.net/templates/default/img/s9y_banner_small.png</icon>
    <id>http://blog.sysfs.net/</id>
    <updated>2008-08-17T23:24:45Z</updated>
    <generator uri="http://www.s9y.org/" version="1.2.1">Serendipity 1.2.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <link rel="self" href="http://feeds.feedburner.com/mechanixthoughts" type="application/atom+xml" /><entry>
        <link href="http://blog.sysfs.net/archives/51-Linde.html" rel="alternate" title="Linde" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-08-17T23:18:35Z</published>
        <updated>2008-08-17T23:24:45Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=51</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/1-life" label="life" term="life" />
    
        <id>http://blog.sysfs.net/archives/51-guid.html</id>
        <title type="html">Linde</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                ° 16 08 2008&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://blog.sysfs.net/media/collage.jpg" style="width: 900; height="633" alt="My little baby girl (photo collage)" title="Photo's of Linde" /&gt; 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/367615876" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/50-Perl-hash-tree-helper.html" rel="alternate" title="Perl hash tree helper" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-08-14T17:59:00Z</published>
        <updated>2008-08-14T17:59:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=50</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/10-programming" label="programming" term="programming" />
    
        <id>http://blog.sysfs.net/archives/50-guid.html</id>
        <title type="html">Perl hash tree helper</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Last week I needed a way of converting a two-dimensional array, in perl, into a tree-like datastructure.&lt;br /&gt;
While seemingly trivial, the convoluted use of references when passing around arrays and hashes between perl function calls -- recursive calls, in this case -- made this a mind-boggling exercise to me. (the fact that I hadn't seriously used perl in the last eight years might have had part in that, too)&lt;br /&gt;
&lt;br /&gt;
Below the jump is my implementation, debugging info left in and all. If it's useful for someone, that's great; if not, ... well, except for my mental sanity no harm was done in writing this, either :) <br /><a href="http://blog.sysfs.net/archives/50-Perl-hash-tree-helper.html#extended">Continue reading "Perl hash tree helper"</a>
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/364993545" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/49-Im-junior-now.html" rel="alternate" title="I'm junior now" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-04-06T10:59:00Z</published>
        <updated>2008-04-06T10:59:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=49</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/6-urandom" label="urandom" term="urandom" />
    
        <id>http://blog.sysfs.net/archives/49-guid.html</id>
        <title type="html">I'm junior now</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Learning that the Linux Professional Institute offered a chance for taking exams at a reduced price during this year's FOSDEM, I decided to take a shot at the level 1 exams.&lt;br /&gt;
I was fairly occupied in the period before FOSDEM when I took that decision, but given that I've been using Linux heavily for over a decade, and after reviewing the objectives, I figured that I should be able to pass it without specific preparation.&lt;br /&gt;
&lt;br /&gt;
Yesterday I received an email that indeed I did, so now I am officially a “Junior level Linux professional”.&lt;br /&gt;
I guess I should take a look at getting LPIC-2 sometime. <br /><a href="http://blog.sysfs.net/archives/49-Im-junior-now.html#extended">Continue reading "I'm junior now"</a>
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/265022477" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/43-Back.html" rel="alternate" title="Back" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-04-04T11:16:00Z</published>
        <updated>2008-04-04T11:16:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=43</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/1-life" label="life" term="life" />
    
        <id>http://blog.sysfs.net/archives/43-guid.html</id>
        <title type="html">Back</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                I've got internet at home again since yesterday. It sure makes life easier... 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/263983214" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/48-Disconnected.html" rel="alternate" title="Disconnected" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-27T17:20:00Z</published>
        <updated>2008-03-27T17:20:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=48</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/1-life" label="life" term="life" />
    
        <id>http://blog.sysfs.net/archives/48-guid.html</id>
        <title type="html">Disconnected</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Last week has been a stressful one, for reasons I'll come back on later.&lt;br /&gt;
This week had started better, but since yesterday my Internet connection stopped working&lt;sup&gt;[1]&lt;/sup&gt; (for the same reasons). It isn't when until such thing happens that you realize how dependent you've really become on it, even for simple matters as looking up contact information.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size:smaller;font-style:italic"&gt;[1] So this and the previous post were written from my with my parents-in-law.&lt;/span&gt; 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/263983221" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/47-Lilo-LVM-fixed-root.html" rel="alternate" title="Lilo LVM fixed root" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-26T18:10:00Z</published>
        <updated>2008-03-26T18:10:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=47</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=47</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/2-software" label="software" term="software" />
    
        <id>http://blog.sysfs.net/archives/47-guid.html</id>
        <title type="html">Lilo LVM fixed root</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                One annoyance with the lilo bootloader that I've ran into a few times recently, is that it apparently turns any &lt;code&gt;root&lt;/code&gt; configuration arguments into a device number. Which is then passed to the kernel at boot.&lt;br /&gt;
So if the kernel decides to assign a different device number to the supposed root device, your system may no longer boot.&lt;br /&gt;
&lt;br /&gt;
Yesterday I once again ran into this: when I added an additional disk to a system, the LVM volumes which were on that new disk got assigned device numbers before the existing system LVM volumes.&lt;br /&gt;
Giving the problem a little thought, I realized that the solution — though silly — is really simple: add an “&lt;code&gt;append="root=/dev/yournode"&lt;/code&gt;” directive to lilo.conf, and this boot-time argument will always override the root device set by lilo.&lt;br /&gt;
&lt;br /&gt;
No more changing root devices for me… 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/263983223" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/46-Clueless.html" rel="alternate" title="Clueless" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-18T06:36:00Z</published>
        <updated>2008-03-18T06:36:59Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=46</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/13-weird" label="weird" term="weird" />
    
        <id>http://blog.sysfs.net/archives/46-guid.html</id>
        <title type="html">Clueless</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                I'm a bit puzzled why feedburner would be listing a &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/www.ask.com/blogsearch?q=sylvia+saint&amp;amp;search=&amp;amp;qsrc=0&amp;amp;o=0&amp;amp;l=dir');"  href="http://www.ask.com/blogsearch?q=sylvia+saint&amp;search=&amp;qsrc=0&amp;o=0&amp;l=dir" rel="nofollow"&gt;blog search for Sylvia Saint&lt;/a&gt; as a reader of my feed earlier this week. Especially as I can't readily find my blog or feed in the search results.&lt;br /&gt;
(I guess this post could start bringing in search results)&lt;br /&gt;
&lt;br /&gt;
Apparently she is &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Sylvia_Saint');"  href="http://en.wikipedia.org/wiki/Sylvia_Saint"&gt;a porn star&lt;/a&gt; (Wikipedia), and a prototype one at that: blonde and busty.&lt;br /&gt;
&lt;br /&gt;
Ah, the things one can learn through reviewing website statistics... 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/263983224" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/45-Blog-migration.html" rel="alternate" title="Blog migration" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-16T18:39:00Z</published>
        <updated>2008-03-16T18:39:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=45</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=45</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/11-Web" label="Web" term="Web" />
    
        <id>http://blog.sysfs.net/archives/45-guid.html</id>
        <title type="html">Blog migration</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                &lt;div class="serendipity_imageComment_right" style="width: 180px"&gt;&lt;div class="serendipity_imageComment_img"&gt;&lt;a onclick="javascript: pageTracker._trackPageview('/extlink/photopassion.be/#photopassion-picture(3)');"  name="Confused" href="http://photopassion.be/#photopassion-picture(3)" title="Confused on photopassion.be"&gt;&lt;img width="180" height="135"  src="http://blog.sysfs.net/media/confused.jpg" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt; For a while now I had been planning to move this blog a different server and URL; a URL that I would have full control over instead of the user directory it was deployed in.&lt;br /&gt;
&lt;br /&gt;
I also had been longing for a different blog platform some time. While the primary reason for choosing Blosxom.PHP, that it did not depend on a database server, still held, I also had gotten tired of having to dig into it's code (usually in several places) for things that in my opinion should not require having to make changes all over the place.&lt;br /&gt;
&lt;br /&gt;
So when the ageing server that held the old blog had temporary IO problems last weekend, I considered the time ready for making the move. <br /><a href="http://blog.sysfs.net/archives/45-Blog-migration.html#extended">Continue reading "Blog migration"</a>
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/252563284" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/42-Solve-problems,-not-symptoms.html" rel="alternate" title="Solve problems, not symptoms" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-12T20:35:00Z</published>
        <updated>2008-03-13T16:26:05Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=42</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/12-health" label="health" term="health" />
    
        <id>http://blog.sysfs.net/archives/42-guid.html</id>
        <title type="html">Solve problems, not symptoms</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Today I read in an online news source that the &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/www.rnid.org.uk/');"  href="http://www.rnid.org.uk/"&gt;Royal National Institute for Deaf People&lt;/a&gt; is advising people to wear earplugs in clubs and asking for more stylish earplugs to be designed so young people would &lt;em&gt;want&lt;/em&gt; to wear them.&lt;br /&gt;
&lt;br /&gt;
This looks like a backwards way of dealing with the problem; why not campain to have the clubs' (and pubs, and concerts) sound level reduced so people don't &lt;strong&gt;have&lt;/strong&gt; to wear earplugs? When gardening, you also try to eradicate the weeds' roots... 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/250350736" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/41-Debian-firewire-support.html" rel="alternate" title="Debian firewire support" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-12T06:07:03Z</published>
        <updated>2008-03-12T06:07:03Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=41</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=41</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/4-Debian" label="Debian" term="Debian" />
    
        <id>http://blog.sysfs.net/archives/41-guid.html</id>
        <title type="html">Debian firewire support</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Christian, &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/www.perrier.eu.org/weblog/2008/03/11#key-packages');"  href="http://www.perrier.eu.org/weblog/2008/03/11#key-packages"&gt;you forgot to mention&lt;/a&gt; the Linux kernel, where a member of the kernel team &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/bugs.debian.org/cgi-bin/bugreport.cgi?bug=436267');"  href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436267" title="Bug #436267"&gt;deliberately&lt;/a&gt; &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/bugs.debian.org/cgi-bin/bugreport.cgi?bug=449272');"  href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449272" title="Bug #449272"&gt;broke&lt;/a&gt; &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/bugs.debian.org/cgi-bin/bugreport.cgi?bug=435062');"  href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435062" title="Bug #435062"&gt;hardware&lt;/a&gt; &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/bugs.debian.org/cgi-bin/bugreport.cgi?bug=435224');"  href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435224" title="Bug #435224"&gt;support&lt;/a&gt;.&lt;br /&gt;
Thanks to Holger &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/layer-acht.org/blog/debian/#1-155');"  href="http://layer-acht.org/blog/debian/#1-155"&gt;for these links&lt;/a&gt;, he has listed several more. I disagree with the suggestion that shipping the old firewire stack in the linux-extra-modules package is sufficient workaround; unless this is not prohibiting it from being included in the installer to &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/bugs.debian.org/cgi-bin/bugreport.cgi?bug=450836');"  href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450836" title="Bug #450836"&gt;support ethernet over firewire&lt;/a&gt;? (though in such case it will certainly have implications due to the fact that this package should be pulled in when the installer used eth1394)&lt;br /&gt;
&lt;br /&gt;
So Adrian, you too may want to reconsider if Debian really does have &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/fortytwo.ch/blog/archives/2008/03/#e2008-03-11T07_40_56.txt');"  href="http://fortytwo.ch/blog/archives/2008/03/#e2008-03-11T07_40_56.txt"&gt;less compatibility regressions&lt;/a&gt; than other distributions. 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/249960348" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/40-Bye-bike....html" rel="alternate" title="Bye bike..." />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-03-06T22:43:00Z</published>
        <updated>2008-03-06T22:43:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=40</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=40</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/1-life" label="life" term="life" />
    
        <id>http://blog.sysfs.net/archives/40-guid.html</id>
        <title type="html">Bye bike...</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Or, as it's said, &lt;a href="http://blog.sysfs.net/archives/1-Bye-bike....html"&gt;history repeats itself&lt;/a&gt;. Today I sold my &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/photopassion.be/');"  href="http://photopassion.be/" title="Photopassion website"&gt;motorcycle&lt;/a&gt; (wait for the “blade” photograph to pass by).&lt;br /&gt;
Again it wasn't really old, just 4 years; but it too had over 54000 kilometres; time again to release it.&lt;br /&gt;
&lt;br /&gt;
I didn't quite get the money of it that I wished for, but then again, for a bike with that mileage you can't really be picky about what people pay for it. And in hindsight the fireblade seems to have been a bad choice; there's a lot of them on sale at least over here right now.&lt;br /&gt;
Note to self: try to get a less popular bike next time, it pays off when trying to sell it.&lt;br /&gt;
&lt;br /&gt;
Actually I've already made the choice for a new bike (though I do not know if my choice follows the rule I just laid out). But it's been a hard choice; which is a story in itself. And that story is for another time.&lt;br /&gt;
&lt;br /&gt;
Again, I must say it feels strange. While this wasn't the first bike I sold off, I feel a little melancholious about it. I guess that's just part of selling any bike. Assuming you've build a bond with the machine. But then again, any real motor rider would build such bond. IMHO. 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/248551888" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/39-PyGTKglade-object-reuse.html" rel="alternate" title="PyGTK/glade object reuse" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-02-29T11:29:00Z</published>
        <updated>2008-03-10T19:36:32Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=39</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=39</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/3-Python" label="Python" term="Python" />
    
        <id>http://blog.sysfs.net/archives/39-guid.html</id>
        <title type="html">PyGTK/glade object reuse</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Someone asked on the PyGTK mailinglist if it is possible to reuse certain parts of a libglade window several times within an application.&lt;br /&gt;
It certainly is, and it's not even hard to do!&lt;br /&gt;
&lt;br /&gt;
I've quickly written a demo application to show how it's done.&lt;br /&gt;
&lt;div class="serendipity_imageComment_right" style="width: 272px"&gt;&lt;div class="serendipity_imageComment_img"&gt;&lt;a name="widgettree"&gt;&lt;img width="272" height="217"  src="http://blog.sysfs.net/media/widget_tree.png" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="serendipity_imageComment_txt"&gt;Glade widget tree&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
The user interface designed in glade is really simple, a textbox with two toggle buttons underneath. Activating one button will display a second, disparate textbox beside the original one. Deactivating it will remove that second textarea.&lt;br /&gt;
The other button will display and remove a copy of the first textbox which was there from application startup.&lt;br /&gt;
The full widget tree of this interface is shown in &lt;a href="#widgettree"&gt;the first screenshot&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The actual code to the demo application is rather brief. <br /><a href="http://blog.sysfs.net/archives/39-PyGTKglade-object-reuse.html#extended">Continue reading "PyGTK/glade object reuse"</a>
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/248551889" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/38-Programmers-prank.html" rel="alternate" title="Programmer's prank" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-02-23T20:50:00Z</published>
        <updated>2008-02-23T20:50:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=38</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/6-urandom" label="urandom" term="urandom" />
    
        <id>http://blog.sysfs.net/archives/38-guid.html</id>
        <title type="html">Programmer's prank</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                While performing some research on the &lt;a href="http://blog.sysfs.net/archives/36-PHP-and-SSL-with-Lighttpd-on-Debian-Etch.html"&gt;article about lighttpd, PHP and SSL&lt;/a&gt; I wrote a few days ago, I found out about a practical joke in Google's search results for the phrase “Once in a blue moon”.&lt;br /&gt;
The first result returned is an answer from Google Calculator, and the result they give is “1.16699016 × 10^-8 hertz”.&lt;br /&gt;
&lt;br /&gt;
While this was obviously not a `serious´ answer, it had to make sense somehow — but it didn't immediately occur to me what it might mean. When I found out how often a “&lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Blue%20moon');"  href="http://en.wikipedia.org/wiki/Blue%20moon"&gt;blue moon&lt;/a&gt;” actually occurs, every 2.7 years approximately, it seemed obvious that the above number had to be the frequency of that event. A little math confirmed this; inverse the above number and you get a number in seconds which is approximately 2.7 and then something.&lt;br /&gt;
&lt;br /&gt;
Nice easter egg from the Google crew. 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/248551890" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/37-Two-no-more.html" rel="alternate" title="Two no more" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-02-19T19:41:00Z</published>
        <updated>2008-02-19T19:41:00Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=37</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/1-life" label="life" term="life" />
    
        <id>http://blog.sysfs.net/archives/37-guid.html</id>
        <title type="html">Two no more</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                Mid august, “responsability” will get a new meaning: my wife is into the 15th week of our third pregnancy.&lt;br /&gt;
We actually already should've become parents last november, but almost halfway through the first pregnancy the child had stopped growing and was diagnosed with &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Patau_syndrome');"  href="http://en.wikipedia.org/wiki/Patau_syndrome"&gt;trisomy 13&lt;/a&gt;, because of a hereditary &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Robertsonian_translocation');"  href="http://en.wikipedia.org/wiki/Robertsonian_translocation"&gt;Robertsonian translocation&lt;/a&gt; that Veerle turned out to be having. Short of waiting for the pregnancy to spontaneously abort, the only way to deliver the child was induced labour. We already knew from the &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Karyotype');"  href="http://en.wikipedia.org/wiki/Karyotype"&gt;karyogram&lt;/a&gt; that had uncovered the trisomy syndrome that it was a boy, though it was impossible to see that. The little fellow was about two thirds the length he should've been, and weighed about one third the normal weight.&lt;br /&gt;
&lt;br /&gt;
We visited a fertility clinic a few weeks afterwards, but were told that the actual chance of us getting a healthy baby was a lot higher when we would naturally conceive than through in vitro fertilization. The only advantage of the latter method would be near elimination of the 50% chance to a failed pregnancy of natural conception. (For clarification: due to the translocation, there's a two-in-four chance that a conceived child carries an incorrect number of chromosomes; such embryos have a near-zero chance of making it through the pregnancy)&lt;br /&gt;
&lt;br /&gt;
By the end of summer, Veerle was pregnant again. This time however it lasted for only seven weeks, after which the foetus died. Examination of a tissue sample again uncovered trisomy 13 syndrome. And it was again a boy.&lt;br /&gt;
&lt;br /&gt;
Now it's the third pregnancy, and almost three weeks ago a &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Chorionic_villus_sampling');"  href="http://en.wikipedia.org/wiki/Chorionic_villus_sampling"&gt;chorionic villus sampling&lt;/a&gt; was performed to determine if this time the child would be healthy. Although a &lt;a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Fluorescent_in_situ_hybridization');"  href="http://en.wikipedia.org/wiki/Fluorescent_in_situ_hybridization"&gt;FISH&lt;/a&gt; (“&lt;i&gt;fluorescent in situ hybridization&lt;/i&gt;”) test performed in the first two days showed no sign of problems, it was only after the liberating phonecall that came in yesterday that we could take a deep breath and smile. The baby has inherited the Robertsonian translocation though, but that doesn't lessen our joy.&lt;br /&gt;
&lt;br /&gt;
As a side effect of the karyogram, we also know the gender weeks before ultrasound might reveal it. However, I haven't secured the necessary permit to disclose this information. I'll tell everyone in half a year from now... 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/248551891" height="1" width="1" /></div></content>
        
    </entry>
    <entry>
        <link href="http://blog.sysfs.net/archives/36-PHP-and-SSL-with-Lighttpd-on-Debian-Etch.html" rel="alternate" title="PHP and SSL with Lighttpd on Debian Etch" />
        <author>
            <name>Filip Van Raemdonck</name>
        </author>
    
        <published>2008-02-18T20:43:00Z</published>
        <updated>2008-03-10T19:27:37Z</updated>
        <wfw:comment>http://blog.sysfs.net/wfwcomment.php?cid=36</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.sysfs.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    
            <category scheme="http://blog.sysfs.net/categories/11-Web" label="Web" term="Web" />
    
        <id>http://blog.sysfs.net/archives/36-guid.html</id>
        <title type="html">PHP and SSL with Lighttpd on Debian Etch</title>
        <content type="xhtml" xml:base="http://blog.sysfs.net/"><div xmlns="http://www.w3.org/1999/xhtml">
                First, a question: dear lazyweb, how do I completely disable non-SSL access with lighttpd? I can't seem to find how to have a lighttpd SSL-only configuration. (and only binding port 80 on localhost does not count for an answer)&lt;br /&gt;
&lt;br /&gt;
On to the subject. While it's easy to add SSL to lighttpd and enable PHP (through fastcgi) — and Debian makes it even easier with it's lighty-enable-mod tool — if you only do it once in a blue moon then it's not exactly resident knowledge. So here are the steps to do it, on Debian Etch:&lt;br /&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;code&gt;apt-get&lt;/code&gt; the lighttpd, php4-cgi or php5-cgi, and openssl packages&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;lighty-enable-mod fastcgi&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;if using php5, update the path to the cgi binary in &lt;code&gt;/etc/lighttpd/conf-available/10-fastcgi.conf&lt;/code&gt; (it's preconfigured for php4)&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;lighty-enable-mod ssl&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;update the path to the SSL certificate in &lt;code&gt;/etc/lighttpd/conf-available/10-ssl.conf&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;restart the lighttpd server&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
That's all there is to it. Well, strictly speaking there's a step 4a: install a certificate; but that's arguably not a part of the configuration process.&lt;br /&gt;
(for reference: &lt;code&gt;openssl req -new -x509 -keyout /etc/lighttpd/selfcert.pem -out /etc/lighttpd/selfcert.pem -days 365 -nodes&lt;/code&gt; will generate a self-signed certificate) 
            <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/mechanixthoughts/~4/248551892" height="1" width="1" /></div></content>
        
    </entry>

</feed>
