<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/log/templates/default/atom.css" type="text/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://loeki.tv/log/feeds/atom10.xml" rel="self" title="Voila!" type="application/atom+xml" />
    <link href="http://loeki.tv/log/"                        rel="alternate"    title="Voila!" type="text/html" />
    <link href="http://loeki.tv/log/rss.php?version=2.0"     rel="alternate"    title="Voila!" type="application/rss+xml" />
    <title type="html">Voila!</title>
    <subtitle type="html">Kinky as in blog</subtitle>
    <icon>http://loeki.tv/log/templates/default/img/s9y_banner_small.png</icon>
    <id>http://loeki.tv/log/</id>
    <updated>2010-03-01T21:03:45Z</updated>
    <generator uri="http://www.s9y.org/" version="1.3.1-1">Serendipity 1.3.1-1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:thijs@kinkhorst.com" />

    <entry>
        <link href="http://loeki.tv/log/archives/93-IPCCommTimeout-not-working-with-mod_fcgid-2.2.html" rel="alternate" title="IPCCommTimeout not working with mod_fcgid 2.2" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2009-04-02T14:50:33Z</published>
        <updated>2010-03-01T21:03:45Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=93</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=93</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/2-FLOSS" label="FLOSS" term="FLOSS" />
    
        <id>http://loeki.tv/log/archives/93-guid.html</id>
        <title type="html">IPCCommTimeout not working with mod_fcgid 2.2</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>In a setup where we use Apache FastCGI with PHP through mod_fcgid and suEXEC, we experienced the problem that long running scripts always resulted in a 500 Internal Server Error after exactly 40 seconds. This is due to the <tt>IPCCommTimeout</tt> setting, but changing that setting didn't seem to yield any effect.</p>

<p>I stumbled on a blog entry saying that <a href="http://jay.vox.com/library/post/mod_fcgid-ignoring-fastcgi-config-settings.html">they only work within the VirtualHost block</a>. I tried this for my test-vhost but it also didn't work. It took me a while to find the complete solution (workaround): you need to specify <tt>IPCCommTimeout</tt> in <em>every</em> VirtualHost block, because a later VirtualHost will globally reset your setting in a previous one.</p>

<p>So until this bug is fixed the neat workaround is to place the mod_fcgid settings in a separate configuration file and <tt>Include</tt> that file inside <em>each</em> VirtualHost.</p>   
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/92-Electronisch-Patintendossier.html" rel="alternate" title="Electronisch Patiëntendossier" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-11-01T16:26:04Z</published>
        <updated>2008-11-08T08:06:19Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=92</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=92</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/6-Politics" label="Politics" term="Politics" />
    
        <id>http://loeki.tv/log/archives/92-guid.html</id>
        <title type="html">Electronisch Patiëntendossier</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Today everyone in the Netherlands received a letter about the new national electronic health record (EPD) and the possibility to object against registration. EPD aims to provide access to one's patient data to every care provider through a central information broker. I have submitted the form to disallow my data to be accessed through this system.</p>

<p>First of all, there's no clear benefit for me, and I think that goes for the large majority of people. The possible situation where someone has a critical condition <em>and</em> isn't treated by his regular doctor <em>and</em> is unable to inform the stand-in of this <em>and</em> the stand-in has the time to delve through the entire EPD <em>and</em> actually finds and correctly interprets the necessary information seems extremely small for anyone, let alone the big majority that doesn't suffer such critical conditions in the first place. Hence, making it the default for everyone seems very inappropriate. See also this <a href="http://digitaalbestuur.nl/weblog/bewusteloos-op-straat-epd-blog-deel-ii">interesting article</a>, written in Dutch by my uncle.</p>

<p>Interestingly the same minister was recently opposed to a default-allow for organ donorship, which may address a problem that is much more real.</p>

<p>The other concern is security. I am not worried by the technical security of the system, it seems to be of acceptable standard (see <a href="https://www.os3.nl/_media/2007-2008/courses/rp2/ns-report.pdf?id=archive%3Aresearch_projects&amp;cache=cache">this report</a> by my friend Niels). I am more concerned about access restrictions: these are implemented post hoc, that is, anyone can access my file and I can check who accessed my it and whether they had the right to. However, this procedure involves sending in paper forms which I think in practice will not bring about much review.</p>

<p>Combined this project reminds me of voting computers - introducing new concerns while solving no actual problems.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/91-DNSCurve.html" rel="alternate" title="DNSCurve" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-10-11T11:24:05Z</published>
        <updated>2008-10-12T19:14:50Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=91</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=91</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/2-FLOSS" label="FLOSS" term="FLOSS" />
    
        <id>http://loeki.tv/log/archives/91-guid.html</id>
        <title type="html">DNSCurve</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Yesterday I attended a lecture by professor D.J. Bernstein, best known for his products like qmail, owner of one of the <a href="http://cr.yp.to/">coolest domain names</a> in the world and for his often controversial but always interesting visions.</p>

<p>His talk focused on why the majority of internet traffic still is not encrypted. We protect our email passwords but the 95% of other things we do is completely unprotected from a sniffer. He then narrowed it down to DNS. The problems with DNSSEC are evident and it's still a question of whether it will ever be implemented (after 15 years the design is still in flux, let alone that it's properly implemented or actually used).</p>

<p>On a more constructive side he presented his own solution: <a href="http://dnscurve.org/">DNSCurve</a>: using elliptic curve cryptography to not only sign but also encrypt DNS traffic, and do so on the fly rather than the cumbersome precomputation approach of DNSSEC. Bernstein shows that the extra cost of on the fly cryptography is, even for root servers, very minor compared to the costs of the entire system, but it does significantly reduce the administrative burden compared to DNSSEC. As usual he has made an interesting case, a worthwhile read.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/90-Hopping-to-Ameland-for-a-quick-coffee.html" rel="alternate" title="Hopping to Ameland for a quick coffee" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-10-05T15:59:20Z</published>
        <updated>2008-10-05T18:40:54Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=90</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=90</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/5-Leven-etc" label="Leven etc" term="Leven etc" />
    
        <id>http://loeki.tv/log/archives/90-guid.html</id>
        <title type="html">Hopping to Ameland for a quick coffee</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Our friend <a href="http://www.math.uu.nl/people/eldering/">Jaap</a> is besides a mathematical researcher also an aviator. Last weekend he took <a href="http://www.phys.uu.nl/~sebille/">Erik</a>, Judith and me on a flight from Hoogeveen (<a href="http://www.vliegveldhoogeveen.nl/">EHHO</a>) in Drenthe to the island of Ameland (<a href="http://www.ehal.nl/">EHAL</a>). It's a really nice experience to plan the flight on the map, fly over land, the Waddensea and the North Sea, hear the radio communications; and the check-in was a lot more relaxed compared to EHAM (Schiphol). On the other hand the on-board catering left something to be desired.</p>

<p align="center"><img width='110' height='83' src="http://loeki.tv/log/uploads/zus1.jpg" alt="photo 1" />
<img width='110' height='83' src="http://loeki.tv/log/uploads/zus2.jpg" alt="photo 2" />
<img width='110' height='83' src="http://loeki.tv/log/uploads/zus3.jpg" alt="photo 3" /></p>

<p align="center"><a href="http://gallery.me.com/erikvansebille/100015">all pictures are here</a></p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/89-DOMjudge-2.2.1-released.html" rel="alternate" title="DOMjudge 2.2.1 released" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-09-01T19:57:18Z</published>
        <updated>2008-09-01T19:57:18Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=89</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=89</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/2-FLOSS" label="FLOSS" term="FLOSS" />
    
        <id>http://loeki.tv/log/archives/89-guid.html</id>
        <title type="html">DOMjudge 2.2.1 released</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://domjudge.sourceforge.net/DOMjudgelogo_sc.png" alt="DOMjudge logo" align="right" />
<p>A few weeks ago we released version 2.2.0, and now version 2.2.1 of <a href="http://domjudge.sourceforge.net/">DOMjudge</a>, our programming contest jury system. I'm actually very satisfied with the 2.2 branch because it implements some important wishes that users of the system had, especially moving nearly all state into the one central database instead of spread over db, files and hosts. It is getting more and more complete on the functionality side.</p>

<p>Our next target, 3.0, will focus on a different part: installing the system and getting it running is not quite trivial. The system has grown organically, and the current setup procedure tries to install everything at once, from building the judging environment, setting up the web interface to generating the documentation.  We aim to pull that apart so it gets easier and the administrator keeps better oversight. But that's all for the next contest season. Meanwhile, the 2.2.x branch will be maintained for bugfixes at least until ultimo 2008.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/87-Bad-at-math.html" rel="alternate" title="Bad at math" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-08-02T14:17:51Z</published>
        <updated>2008-08-05T08:30:16Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=87</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/5-Leven-etc" label="Leven etc" term="Leven etc" />
    
        <id>http://loeki.tv/log/archives/87-guid.html</id>
        <title type="html">Bad at math</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>This morning's newspaper featured a front page article reporting that <a href="http://vk.nl/binnenland/article1051264.ece">elementary schools are bad at math</a>. The third paragraph states:
<blockquote>"The quality of arithmetic education has a strong variation. Nearly a quarter of all schools is weak, over a quarter are strong. Exactly half scores 'average'."</blockquote></p>

<p>Maybe I've been badly educated, but don't those statistics match what should be expected? If it's a normal (gaussian) distribution, both the lower and higher scoring chunks should be about the same size and indeed, the average part should be by far the largest. Of course I could be misunderstanding it all, probably due to me also being educated under this system.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/86-msttcorefonts-renamed-and-losing-relevance.html" rel="alternate" title="msttcorefonts renamed and losing relevance" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-07-19T09:38:12Z</published>
        <updated>2008-07-22T15:30:51Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=86</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/2-FLOSS" label="FLOSS" term="FLOSS" />
    
        <id>http://loeki.tv/log/archives/86-guid.html</id>
        <title type="html">msttcorefonts renamed and losing relevance</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img width='240' height='169' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://loeki.tv/log/uploads/240px-Font_Sample_-_Liberation_Sans.svg.png" alt="Liberation Font Sample" />

<p>The msttcorefonts package, downloader of the Microsoft Core Fonts for the Web, has been renamed to <a href="http://packages.debian.org/ttf-mscorefonts-installer">ttf-mscorefonts-installer</a> to be more in line with other TrueType font packages (this is in testing since today).</p>

<p>But better news is that it hopefully is losing relevance: a few weeks ago, the <a href="http://packages.debian.org/ttf-liberation">ttf-liberation</a> package entered testing. The Liberation fonts are good replacements for Arial, Courier New and Times New Roman, created by RedHat and released under a free licence. Users requiring these three fonts can just install the ttf-liberation package from main, rather than use the (necessarily) convoluted downloader from contrib. Quite a win for Debian's compatibility with the Windows World.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/85-FEE-error-on-Nikon-DSLR-fixed.html" rel="alternate" title="FEE error on Nikon DSLR - fixed" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-07-17T17:20:06Z</published>
        <updated>2008-07-23T21:16:53Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=85</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/5-Leven-etc" label="Leven etc" term="Leven etc" />
    
        <id>http://loeki.tv/log/archives/85-guid.html</id>
        <title type="html">FEE error on Nikon DSLR - fixed</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Recently my Nikon D70s, when using a new Sigma lens, displayed the following error in the aperture display: <span style="font-variant: small-caps; font-weight: bold;">fEE</span>. As it took me some time to find out the cause and fix it, I'll explain it here perhaps for the benefit of others.</p>

<p>What does it mean? Some lenses require that the aperture is set to smallest when they are connected to the body (the largest f-number; this is usually coloured <span style="color: #ffa500;">orange</span>). <span style="font-variant: small-caps;">fEE</span> is indicated when the lens is connected wrongly and the camera refuses to operate until the lens is reconnected.</p>

<img width='101' height='110' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://loeki.tv/log/uploads/1157c.thumb.gif" alt="lens" title="Image courtesy Nikon; it was hard taking a picture myself with the lens removed..." /><img width='110' height='100' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://loeki.tv/log/uploads/1157d.thumb.gif" alt="body" title="Image courtesy Nikon; it was hard taking a picture myself with the lens removed..." />

<p>If like me you still get the <span style="font-variant: small-caps;">fEE</span> even though you've connected the lens correctly, then obviously something is broken. The camera "knows" whether the aperture ring is set to the right value due to a notch on the lens (rightmost picture) and a switch on the body ("EE Servo Coupling Post", left picture). In my case the switch on the body had broken off.</p>

<p>You can of course send your camera in for repair, but for me it was easily repaired by sticking a hairpin in the switch. A little piece of plastic and some superglue could work as well.</p>

  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/84-1-3.html" rel="alternate" title="1-3" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-06-21T21:31:04Z</published>
        <updated>2008-06-21T21:31:04Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=84</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    
    
        <id>http://loeki.tv/log/archives/84-guid.html</id>
        <title type="html">1-3</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img width='378' height='126' style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://loeki.tv/log/uploads/Naamloos-1_tcm16-388528.jpg" alt="Marco vs Guus" title="Marco vs Guus" align="right" />

Wat. een. deceptie.  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/83-Bug-Squashing-Party.html" rel="alternate" title="Bug Squashing Party" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-06-12T15:08:55Z</published>
        <updated>2010-03-01T20:56:48Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=83</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=83</wfw:commentRss>
    
    
        <id>http://loeki.tv/log/archives/83-guid.html</id>
        <title type="html">Bug Squashing Party</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This weekend will see the second <a href="http://wiki.debian.org/BSP2008/Utrecht">Bug Squashing Party</a> hosted in Utrecht, this time to help get Debian Lenny released. Stichting NLnet has generously provided funding for the cost of food and drink. For all details see the wiki page.  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/82-Efteling-May-2008.html" rel="alternate" title="Efteling May 2008" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-05-25T09:55:33Z</published>
        <updated>2008-05-27T13:46:11Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=82</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=82</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/1-Efteling" label="Efteling" term="Efteling" />
    
        <id>http://loeki.tv/log/archives/82-guid.html</id>
        <title type="html">Efteling May 2008</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Here's a selection of pictures from a recent visit to the Efteling.</p>


<p align="center">
<a href="http://loeki.tv/efteling/20080521/5.html">
<img src="/efteling/20080521/aap/2.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/9.html">
<img src="/efteling/20080521/aap/3.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/11.html">
<img src="/efteling/20080521/aap/4.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/14.html">
<img src="/efteling/20080521/aap/5.jpg" width="125" height="125" border="1" />
</a>
<br />

<a href="http://loeki.tv/efteling/20080521/16.html">
<img src="/efteling/20080521/aap/6.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/20.html">
<img src="/efteling/20080521/aap/7.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/21.html">
<img src="/efteling/20080521/aap/8.jpg" width="125" height="125" border="1" />
</a>
<a href="http://loeki.tv/efteling/20080521/24.html">
<img src="/efteling/20080521/aap/9.jpg" width="125" height="125" border="1" />
</a>
</p>

<p>Click the icons for full versions or <a href="/efteling/20080521/">view full set</a>. I'm still planning on making yet another web photo album software of my own based on a revolutionary idea. Maybe I will actually do it sometime, who knows.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/81-Setting-up-Mailman-to-store-members-in-a-MySQL-database.html" rel="alternate" title="Setting up Mailman to store members in a MySQL database" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-05-15T13:33:05Z</published>
        <updated>2010-03-01T20:52:45Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=81</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    
    
        <id>http://loeki.tv/log/archives/81-guid.html</id>
        <title type="html">Setting up Mailman to store members in a MySQL database</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img width='135' height='167' align="right" style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://loeki.tv/log/uploads/little_mailman.jpg" alt="Little Mailman" />

<p>For a project I was looking for a way to use GNU Mailman for mailinglist management (especially its powerful web based moderation, bounce handling and attachment scrubbing features) but storing the mailinglist member information in a SQL database. That's useful when you want to relate mailinglist members to extra information already in a database and functionality on an interactive website, and it's possible on a per-mailinglist basis. This turned out to be not very difficult but just not that clearly documented.</p> 

<p>What I used:</p>
<ul>
<li><a href="http://www.list.org/">Mailman</a>. I used the 2.1.x version packaged in Debian etch: an "open" system is just one apt-get away!</li>
<li>The 
<a href="http://trac.rezo.net/trac/rezo/browser/Mailman/MySQLMemberAdaptor">MySQL Member Adaptor</a> available from rezo.net. There are several versions of MySQLMemberAdaptor around the web, but this one seems the most recent.</li>
</ul>

<p>This explanation assumes you know how to work with Mailman in a regular setup, and things like creating databases and users under MySQL. Take the following steps:</p>

<ol>

<li>Install and set up mailman as you would otherwise.</li>

<li>Put the <tt>MysqlMemberships.py</tt> file into the dir that is Mailman's base, this normally already has files like <tt>MemberAdaptor.py</tt> in it. For Debian this is <tt>/usr/lib/mailman/Mailman</tt>. You only need to add MysqlMemberships.py, the other files from rezo.net are not needed.</li>

<li><strike>The create table query in <tt>MysqlMemberships.py</tt> does not work with MySQL 5, I had to apply <a href="/~thijs/fix-query.patch">this patch</a> which I've sent to MySQLMembership's author in the meantime.</strike> This patch has been applied by Fil.</li>

<li>For bounce handling to work well, you may need this patch aswell:
<a href="http://mail.python.org/pipermail/mailman-developers/2005-October/018261.html">patch for Bouncer.py</a>; it has been applied in Mailman 2.1.11 and up.

<li>Create a database and a MySQL user, and add that information into your <tt>mm_cfg.py</tt>, like this:
<pre>MYSQL_MEMBER_DB_NAME = "mailman"
MYSQL_MEMBER_DB_USER = "mailman"
MYSQL_MEMBER_DB_PASS = "somethingrandom"
MYSQL_MEMBER_DB_HOST = "localhost"
MYSQL_MEMBER_TABLE_TYPE = "wide"        # wide means one table per list, flat = one large table</pre></li>

<li>Create a mailinglist like you normally would (e.g. via newlist). To enable the MySQL backend for just that list, create a file <tt>extend.py</tt> under <tt>/var/lib/mailman/lists/</tt><i>listname</i> with the following content:<pre>from Mailman.MysqlMemberships import MysqlMemberships

def extend(list):
        list._memberadaptor = MysqlMemberships(list)
</pre>
(whitespace is significant in Python).</li>

<li>It should work now! Upon receiving the first request for your list, the database table will be created automatically, which you can then populate. You may need to restart the mailman qrunner after you make further changes to your setup.</li>
</ol>
  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/80-Great-leaps-of-innovative-progress-developments!.html" rel="alternate" title="Great leaps of innovative progress developments!" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-05-08T19:28:57Z</published>
        <updated>2008-05-09T13:22:06Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=80</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=80</wfw:commentRss>
    
    
        <id>http://loeki.tv/log/archives/80-guid.html</id>
        <title type="html">Great leaps of innovative progress developments!</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                My previous entry features the first ever comment on this blog to arrive over IPv6. Fantastic! I guess this will be the final breakthrough that the protocol needed!!  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/79-16%25-is-not-that-much.html" rel="alternate" title="16% is not that much" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-05-07T12:38:49Z</published>
        <updated>2010-08-18T19:49:10Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=79</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=79</wfw:commentRss>
    
    
        <id>http://loeki.tv/log/archives/79-guid.html</id>
        <title type="html">16% is not that much</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>A <a href="http://www.rtl.nl/system/redirect?base64to=Lyh2bT0vYWN0dWVlbC9lZGl0aWVubC9ob21lLyx0ZW1wbGF0ZT0vc3lzdGVtL3ZpZGVvcGxheWVyL3RhZi90ZW1wbGF0ZS5odG1sKS9zeXN0ZW0vdmlkZW8vaHRtbC9jb21wb25lbnRzL2FjdHVlZWwvZWRpdGllbmwvbWlNZWRpYS8yMDA4L3dlZWsxOS9tYV9iZXZyaWpkaW5nc2RhZy5hdmlfcGxhaW4ueG1s">survey</a>  has shown that 16% of youth doesn't know why we're celebrating the 5th of May. According to quality news show Editie NL, this is a worrying fact. Well, is it? I find it rather reassuring that apparently 84% of the younger generation do know that 5 May is about the liberation from German occupation (I remember now that I forgot to thank the Canadians when I was there two weeks ago). 16% is not much: if you get a 16% discount you're usually not making a great deal. Actually, I would be very surprised of a survey that would show that <em>less</em> than 16% of people are completely ignorant of the world around them. These same people probably wouldn't know the  connection between the colour of the national team's shirts and the royal house, or be able to tell whether St Nicolaas is a protestant or catholic. Or the ones that <a href="http://www.manchestereveningnews.co.uk/news/s/1022757_cool_cash_card_confusion">claim money because -6 is larger than -5</a>.</p>

<p>Every country has its fair share of "challenged" people. Also in recent news is that Barack Obama is losing votes because he admitted to eating rucola (arugula) from time to time. Voter's "reasoning" boils down to "if I don't know what that is, then a president that eats it can't be trusted". It gets even more sad when you realise that these people probably do know it, but don't realise they call it <em>rocket</em>. Great way to lose votes.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://loeki.tv/log/archives/77-The-problem-with-Planet-Debian.html" rel="alternate" title="The problem with Planet Debian" />
        <author>
            <name>Thijs Kinkhorst</name>
            <email>thijs@kinkhorst.com</email>        </author>
    
        <published>2008-04-21T12:33:18Z</published>
        <updated>2008-04-21T12:33:18Z</updated>
        <wfw:comment>http://loeki.tv/log/wfwcomment.php?cid=77</wfw:comment>
    
        <wfw:commentRss>http://loeki.tv/log/rss.php?version=atom1.0&amp;type=comments&amp;cid=77</wfw:commentRss>
    
            <category scheme="http://loeki.tv/log/categories/2-FLOSS" label="FLOSS" term="FLOSS" />
    
        <id>http://loeki.tv/log/archives/77-guid.html</id>
        <title type="html">The problem with Planet Debian</title>
        <content type="xhtml" xml:base="http://loeki.tv/log/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>There is some discussion again about what should be on topic for Planet Debian, whether it should be used for Debian-related announcements and what the archival policy should be. I believe that this discussion is rooted in two circulating views of what Planet Debian should be:</p>

<ol type="I">
<li>A forum for DD's to post Debian-related thoughts and ideas, to be used for those cases where they think a mailing list post may be less appropriate;</li>
<li>A way to collect stories about what DD's do and think in any context, the human interest angle: get to know your Debian peers more than just in technical matters.</li>
</ol>

<p>Although I always regarded Planet Debian to be the latter and I appreciate reading posts telling me about someone's job or other interests, either one isn't an invalid approach per se. They do however prompt different choices about listing policy (Debian-only feeds vs. everything goes), how much effort it is to keep up with them and perhaps archival.</p>

<p>The best way to match the expectations of those two groups would be to create two "planets", one for each group. Create an aggregator where any DD can add any of their feeds, and another one with a strict listing policy: only feeds that carry posts actually related to Debian development matters (probably a subset of the first). Then only the question remains which one will get to carry the Planet Debian name...</p>  
            </div>
        </content>
        
    </entry>

</feed>