<?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>Raw Matter - Tech</title>
    <link>http://blog.fortytwo.ch/</link>
    <description>cmot's almost completely debian-unrelated weblog</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3.1-1 - http://www.s9y.org/</generator>
    <managingEditor>avbidder+blog@fortytwo.ch</managingEditor>
<webMaster>avbidder+blog@fortytwo.ch</webMaster>
<ttl>125</ttl>
<pubDate>Sat, 06 Feb 2010 14:04:42 GMT</pubDate>

    <image>
        <url>http://blog.fortytwo.ch/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Raw Matter - Tech - cmot's almost completely debian-unrelated weblog</title>
        <link>http://blog.fortytwo.ch/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Multiple Interfaces, Same IP</title>
    <link>http://blog.fortytwo.ch/archives/75-Multiple-Interfaces,-Same-IP.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/75-Multiple-Interfaces,-Same-IP.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=75</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Playing around a bit with ssh tunneling right now.  When I create a kind of VPN concentrator with a few tun interfaces: is there any reason why I can&#039;t just assign the same IP on all these tun interfaces?  A quick test shows this set up working nicely, with &lt;tt&gt;ifconfig tunX localip pointopoint remoteip&lt;/tt&gt; (the &lt;tt&gt;localip&lt;/tt&gt; part being the same) setting up the routes to chose the right tun device for all remote IP addresses, and ping worked just fine for me. Firewall rules will always have the remote IP and/or the interface name to decide when a packet applies.&lt;/p&gt;

&lt;p&gt;Obviously setting up a listening socket at only one of these interfaces is not so trivial now since I can&#039;t just listen to the IP, but that&#039;s a restriction I&#039;m happy with.  Anything else I&#039;m not thinking of right now?&lt;/p&gt;  
    </content:encoded>

    <pubDate>Fri, 05 Feb 2010 12:47:19 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/75-guid.html</guid>
    
</item>
<item>
    <title>IPv6 sucks.</title>
    <link>http://blog.fortytwo.ch/archives/71-IPv6-sucks..html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/71-IPv6-sucks..html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=71</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=71</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I&#039;ve had &lt;tt&gt;alias net-pf-10 off&lt;/tt&gt; and &lt;tt&gt;alias ipv6 off&lt;/tt&gt; in my configuration for ages, but with recent kernels, IPv6 is apparently compiled in, so my eth0 now has a (link local) IPv6 address.&lt;/p&gt;

&lt;p&gt;... which means that I now had Java apps suddenly fail to connect to the database.  Since stuff like sqlplus (Bah!) works, I didn&#039;t immediately think about a network problem and started testing various JVM versions and hunting missing libraries etc.  Only, it turned out that running  java with &lt;tt&gt;&lt;b&gt;-Djava.net.preferIPv4Stack=true&lt;/b&gt;&lt;/tt&gt; is the magic bullet.&lt;/p&gt;

&lt;p&gt;Is there a proper fix?  I know IPv6 is (supposed to be) the nice and shiny future, but currently I just don&#039;t have any IPv6 connection so it just creates problems for me right now.  (Ok, let&#039;s add here that I dislike Java anyway because its philosophy, or the philosophy of most software I have to deal with, is to define its own world instead of integrating nicely with the host platform.  If you look at it from another direction you may think I should have titled this &amp;ldquo;I suck&amp;rdquo;)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 12 Jan 2010 09:42:34 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/71-guid.html</guid>
    
</item>
<item>
    <title>Industry Standard</title>
    <link>http://blog.fortytwo.ch/archives/70-Industry-Standard.html</link>
            <category>Linux Desktop</category>
    
    <comments>http://blog.fortytwo.ch/archives/70-Industry-Standard.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=70</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;!-- s9ymdb:11 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;231&quot; height=&quot;222&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.fortytwo.ch/uploads/packages.png&quot; alt=&quot;&quot; /&gt;&lt;p&gt;Wow.  I just stumbled over the &lt;a href=&quot;http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;cat_id=FontDownloads&quot;&gt;SIL Fonts&lt;/a&gt;, which I haven&#039;t heard of before.  Looks like an absolutely great project.  Not only are these fornts released under an &lt;a href=&quot;http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;item_id=OFL&quot;&gt;open license&lt;/a&gt; (I haven&#039;t read it myself, but many of these fonts are in Debian...), but above all I really liked the selection of supported systems with icons by each entry: The Old Windows 3.1 Windows flag stands for &amp;ldquo;tested on Windows&amp;rdquo;, the very old rainbow colored apple for &amp;ldquo;tested on Mac&amp;rdquo;, our official (and current :-) familiar swirl not only for tested on Debian, but for &amp;ldquo;Debian package available&amp;rdquo;.&lt;/p&gt;

&lt;p&gt;I mean: while it&#039;s not uncommon today to see some kind of Linux support in software (or other downloads), explicit Debian support is not that widespread.  And seeing this side by side with the two very outdated logos for the two other mainstream OSs (and Ubunut not even being mentioned on this page) is ... what, exactly?  Wishful thinking?  An ironic comment on how the (conputing) landscape should look like?  Made me smile, in any case.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 09 Jan 2010 11:56:51 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/70-guid.html</guid>
    
</item>
<item>
    <title>True Support</title>
    <link>http://blog.fortytwo.ch/archives/68-True-Support.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/68-True-Support.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=68</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=68</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I know, preaching to the choir and all that.  But this can&#039;t be said often enough (and perhaps the odd non-Debian person stumbles upon this...): Here&#039;s another example of how amazingly fast free tech support works: The newest Linux kernel (Debian package version: 2.6.32-1) wouldn&#039;t boot on my &lt;a href=&quot;http://www.qnap.com/pro_detail_feature.asp?p_id=127&quot;&gt;QNAP TS-419P&lt;/a&gt; NAS (&lt;a href=&quot;http://blog.fortytwo.ch/archives/65-Toys,-Number-One.html&quot;&gt;see also my earlier posting about the device&lt;/a&gt;).  Now, since I don&#039;t have a serial console cable, I can&#039;t really help a lot to debug this (and I am extremely happy that the people at QNAP have thought about recovery: it&#039;s &lt;a href=&quot;http://www.cyrius.com/debian/kirkwood/qnap/ts-219/recovery.html&quot;&gt;trivial&lt;/a&gt; to just flash a working kernel or firmware image via DHCP and TFTP), bu still &lt;a href=&quot;http://www.cyrius.com/debian/kirkwood/qnap/&quot;&gt;Martin Michlmayr&lt;/a&gt; immediately took the time to help me and soon could reproduce it on one of his own machines.  The problem has been identified, I got a fixed kernel, and a patch is on his way to the kernel maintainers.  All within literally just a few days.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sat, 19 Dec 2009 12:13:31 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/68-guid.html</guid>
    
</item>
<item>
    <title>Toys, Number Two</title>
    <link>http://blog.fortytwo.ch/archives/66-Toys,-Number-Two.html</link>
            <category>Linux Desktop</category>
    
    <comments>http://blog.fortytwo.ch/archives/66-Toys,-Number-Two.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=66</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Second part (and biggest in terms of space) is my new &lt;a href=&quot;http://www.lenovo.com/&quot;&gt;Lenovo desktop computer&lt;/a&gt; with a nice &lt;a href=&quot;http://www.necdisplay.com/Products/Product/?product=b2824707-0c2c-4c7a-83e7-c4dfb2e4b742&quot;&gt;NEC 26&quot; screen&lt;/a&gt;.  The screen is quite a bit better than my bulky 19&quot; &lt;a href=&quot;http://www.google.com/search?q=hitachi+cm772&quot;&gt;CRT&lt;/a&gt;, but the story of buying the desktop was more involved.&lt;/p&gt;

&lt;p&gt;I&#039;ve read the widely reported &lt;a href=&quot;http://linux-foundation.org/weblogs/press/2009/10/13/the-linux-foundation-announces-new-exclusive-perks-for-individual-members/&quot;&gt;Linux Foundation announcement&lt;/a&gt; about new membership benefits and promptly fell for it.  Thumbs down for LF, because they absolutely failed to mention that the discounts on HP, Dell and Lenovo products are only available within the U.S.  [insert here: cheap joke about U.S. Americans not knowing that the rest of the world even exists.]&lt;/p&gt;

&lt;p&gt;Thumbs up for Lenovo, though: after a few emails with both the LF and Lenovo, I got a 40% discount on their original price for my system.&lt;/p&gt;

&lt;p&gt;Now obviously big brand computers like these are still overpriced (or less powerful at the same price) when compared with a white box.  And I almost went with a barebone, CPU, etc. because I quite like putting hardware together.  On the other hand, I haven&#039;t really kept up with CPU socket types etc., and since I absolutely wanted an Intel GPU, the 36 months on site support won out.  And when the new computer went beep beep beep (and dark) on the third or fourth boot, I was quite happy that I didn&#039;t go the white box route after all...&lt;/p&gt;

&lt;p&gt;I won&#039;t bore you with installation details (I&#039;ll be getting back CHF 45 for my unused copy of Vista, of course), suffice to say that today&#039;s dual core 64 bit 3GHz / 4GB RAM machines are a bit faster than the 32 bit ca 1 GHz / 1GB RAM with mostly unaccelerated graphics from five years ago...&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 01 Dec 2009 21:50:41 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/66-guid.html</guid>
    
</item>
<item>
    <title>Toys, Number One</title>
    <link>http://blog.fortytwo.ch/archives/65-Toys,-Number-One.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/65-Toys,-Number-One.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=65</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=65</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;After I had been living with mostly the same electronic toys over the last few years (ok, I got the &lt;a href=&quot;http://blog.fortytwo.ch/archives/30-New-Toy.html&quot;&gt;netbook&lt;/a&gt; earlier this year, but that&#039;s about it... and it might even count as a serious work tool given how much I came to use it) all the toys I&#039;ve agonized over buying suddenly appeared on the doorstep within these two weeks...&lt;/p&gt;

&lt;p&gt;First part was the &lt;a href=&quot;http://www.qnap.com/pro_detail_feature.asp?p_id=127&quot;&gt;QNAP TS-419P&lt;/a&gt; which I bought after reading about QNAP on &lt;a href=&quot;http://www.cyrius.com/journal/debian/kirkwood/qnap/ts-x10&quot;&gt;Martin Michlmayr&#039;s blog&lt;/a&gt;.  The decision was quick when I realized that at least part of the Debian related information was not hidden in some obscure web forums but was there on the &lt;a href=&quot;http://wiki.qnap.com/wiki/Debian_Installation_On_QNAP&quot;&gt;QNAP wiki itself&lt;/a&gt;, indicating quite some level of support from the manufacturer.  Beyond that, tbm does an awsome job supporting QNAP users like myself through his excellent &lt;a href=&quot;http://www.cyrius.com/debian/kirkwood/qnap/&quot;&gt;QNAP / Kirkwood pages&lt;/a&gt;  and also, since Debian installer support for the 419 is not quite finished, by email.  Kudos to him!&lt;/p&gt;

&lt;p&gt;So, once I get past some remaining obstacles (for some reason, the initrd refused to mount a raid1 root device when I tried it at first; working on that, but it&#039;s not that easy to debug without console access...) our old storage / Internet router (very old!  Pentium II 350MHz with 128M RAM and its probably third internal disk, which became ridicolous to use when I bought a (big) external USB disk and realized it only has USB 1...) can be retired.  Should be good for the environment, too, I should hope, in terms of power consumption even considering that I now run 3 more disks.&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 01 Dec 2009 21:31:29 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/65-guid.html</guid>
    
</item>
<item>
    <title>Application names</title>
    <link>http://blog.fortytwo.ch/archives/63-Application-names.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/63-Application-names.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=63</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=63</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Just read &lt;a href=&quot;http://amarok.kde.org/blog/archives/1143-Application-Naming.html&quot;&gt;Mark Kretschmann&lt;/a&gt; about application naming.&lt;/p&gt;

&lt;p&gt;Another consideration is: will the name show up in Google?  Some projects have been extremely bad at this, the prime example I&#039;m thinking of is the &lt;a href=&quot;http://www.google.com/search?hl=en&amp;q=+kvm&quot;&gt;KVM&lt;/a&gt; virtualisation module in Linux.  I&#039;m treating KVM as the name here, since the term &amp;ldquo;Kernel-based Virtual Machine&amp;rdquo; is not even a name, really... (ok, it has become popular enough so that &lt;a href=&quot;http://www.linux-kvm.org/&quot;&gt;linux-kvm.org&lt;/a&gt; now shows up at the top.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Fri, 27 Nov 2009 11:00:36 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/63-guid.html</guid>
    
</item>
<item>
    <title>HTTP over UDP?</title>
    <link>http://blog.fortytwo.ch/archives/62-HTTP-over-UDP.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/62-HTTP-over-UDP.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=62</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I was just seeing the headlines about Google&#039;s &amp;ldquo;SPDY&amp;rdquo; technology which, as far as I understand right now (haven&#039;t read the &lt;a href=&quot;http://lwn.net/Articles/362473/&quot;&gt;LWN article&lt;/a&gt; yet) is trying to accelerate HTTP by doing fancy things within the TCP stream.&lt;/p&gt;

&lt;p&gt;I&#039;m just thinking: why not do HTTP over UDP instead, like DNS does?  This would cut down latency for small requests a lot, and for big transfers, the added latency woulnd&#039;t matter that much.  How could that work?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For starters: either the browser always tries UDP first and falls back to TCP, or the server could advertise UDP capability in its HTTP headers.  Either way, browser would need to have a small cache on where UDP can be used.
Given that all browsers already carry lots of databases (content cache, cookies, pop-up policies, form completion, ...) I don&#039;t hesitate to propose this additional one...&lt;/li&gt;
&lt;li&gt;If it is established that a server for a domain can handle UDP requests, lots of heuristics could be used to determine wether the browser should send UDP or TCP requests; the end result would always be that the server is free to either respond with the content in an UDP packet if it fits, or decline an UDP answer with a &amp;ldquo;please use TCP&amp;rdquo; 3xx response code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I figure that with today&#039;s JavaScript enabled, Ajaxy web, many requests (and responses, of course) would indeed be small and would fit in an UDP packet (especially since I&#039;d say content should be compressed in any case without special negotiation.)  OTOH, encryption would be hard (or, at least in a first protocol revision, not supported) and since persistent TCP connections are available, maybe this is just unnneccessary.  I don&#039;t know.  But I&#039;m not sure if persistent TCP connections are actually that widely in use on web application where a user might click on a button every few minutes.  How long do browsers and servers keep the TCP connection open?&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 19 Nov 2009 08:27:49 +0100</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/62-guid.html</guid>
    
</item>
<item>
    <title>IPSec: Hopelessly confused</title>
    <link>http://blog.fortytwo.ch/archives/55-IPSec-Hopelessly-confused.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/55-IPSec-Hopelessly-confused.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=55</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Yes, this is a dear lazyweb...&lt;/p&gt;

&lt;p&gt;I&#039;m more and more confused about IPSec on Linux.  Has anybody done a more or less recent summary about IPSec and Linux?  All I find is quite old and probably doesn&#039;t apply anymore...  About the only thing I&#039;m sure about is that &lt;a href=&quot;http://www.freeswan.org/&quot;&gt;FreeS/WAN&lt;/a&gt; is officially dead.  But otherwise?  &lt;a href=&quot;http://www.openswan.org/&quot;&gt;Openswan&lt;/a&gt; vs. &lt;a href=&quot;http://www.strongswan.org/&quot;&gt;strongSWAN&lt;/a&gt; vs. &lt;a href=&quot;http://www.kame.net/&quot;&gt;KAME&lt;/a&gt; (or is that &lt;a href=&quot;http://ipsec-tools.sourceforge.net/&quot;&gt;ipsec-tools&lt;/a&gt;?)  And what about the kernel side?  Are they now all using the same code or are there still patches?&lt;/p&gt;

&lt;p&gt;It would probably best if the hypothetical knowledgeable person would not comment here but insert a relevant notice at the top of &lt;a href=&quot;http://wiki.debian.org/IPsec&quot;&gt;http://wiki.debian.org/IPsec&lt;/a&gt;, to avoid having yet another obscure page (mine) show up in Google...&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 24 Sep 2009 15:15:41 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/55-guid.html</guid>
    
</item>
<item>
    <title>We're all doomed!</title>
    <link>http://blog.fortytwo.ch/archives/54-Were-all-doomed!.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/54-Were-all-doomed!.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=54</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Yes, we&#039;re all doomed.  Especially, Debian is doomed.  We&#039;re relying too much on public key cryptography, which is based mostly on the factorization problem (getting the two big prime numbers that essentially make up a public key is hard.)&lt;p&gt;
&lt;p&gt;And now &lt;a href=&quot;http://www.schneier.com/blog/archives/2009/09/quantum_compute.html&quot;&gt;they&lt;/a&gt; [Link to Bruce Schneier, where I&#039;ve got the news from] have gone ahead and have built a working quantum computer, which can solve the factorization problem very quickly.  So, will we have to re-check all Debian software that was signed with an RSA key in the last few months?&lt;/p&gt;
&lt;p&gt;The huge number that the quantum has successfully cracked was:&lt;/p&gt;
&lt;p style=&quot;text-align: center;&quot;&gt;15&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 23 Sep 2009 11:26:56 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/54-guid.html</guid>
    
</item>
<item>
    <title>Introducing Pony Express</title>
    <link>http://blog.fortytwo.ch/archives/53-Introducing-Pony-Express.html</link>
            <category>Pony Express</category>
    
    <comments>http://blog.fortytwo.ch/archives/53-Introducing-Pony-Express.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=53</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Email on a desktop Unix system is apparently a hard topic.  At least, so far nobody seems to have solved it to my satisfaction...  That&#039;s where the Pony Express comes in: a sensible &lt;tt&gt;/usr/bin/sendmail&lt;/tt&gt; implementation for desktop sysstems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No queue, no running processes.&lt;/li&gt;
&lt;li&gt;pass users&#039; email to a mail hub&lt;/li&gt;
&lt;li&gt;support per user outgoing mail hub and SMTP authentication + TLS.&lt;/li&gt;
&lt;li&gt;still allow local mail delivery, so stuff like cron will deliver to local mailboxes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Mercurial repository is &lt;a href=&quot;https://fortytwo.ch/hg/px&quot;&gt;available&lt;/a&gt;; Pony Express is written in Python 3.  I&#039;ll not upload a Debian package right now since as far as I&#039;ve seen Python 3 is not supported by the usual Python helper scripts.  Status: Lots of missing features and probably lots of bugs, but I use it from kmail to deliver mail, and the commandline &quot;mail&quot; also works.  But that&#039;s the extent of the testing it has received so far, and in addition it&#039;s also one of the first things I&#039;ve ever done in Python, so consider yourself warned.  Still, feedback and patches welcome.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; Daniel, no, I can&#039;t. I missed msmtp when I looked for a solution after I saw that nullmailer and ssmtp wouldn&#039;t do what I wanted.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; cate / simon: my &amp;ldquo;apt-cache search&amp;rdquo; skills obviously suck, I didn&#039;t find esmtp either.  Oh, well... I wanted to learn Python anyway, and since Pony Express is basically a frontend to Python&#039;s smtp library, it was not that much work.  lamson sounds interesting for other projects, I&#039;ll have to look at it.  From the description it&#039;s not what I want here, though.  Marius: kmail does its own queueing, so I usually use the send later option and send non-local email from the commandline only while connected.  I&#039;ll have to think about a non-daemon, non-cron queue style that suits my need (event-triggered from if-up.d perhaps), but as soon as I start to accept mail that I can&#039;t immediately get out of the system complexity goes up quite a bit. Developing PX into a full MTA would still be a fun project and I&#039;ve got a few other ideas that I could incorporate.  Not tonight, though ;-)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 16 Sep 2009 11:50:08 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/53-guid.html</guid>
    
</item>
<item>
    <title>Has Microsoft Won?</title>
    <link>http://blog.fortytwo.ch/archives/52-Has-Microsoft-Won.html</link>
            <category>Linux Desktop</category>
    
    <comments>http://blog.fortytwo.ch/archives/52-Has-Microsoft-Won.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=52</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Ok, I admit I did that to get you to read the article...&lt;/p&gt;

&lt;p&gt;I&#039;m just a bit saddened that Microsoft Exchange compatibility seems to be the holy grail of Open Source (Free Software if you like) PIM application developers.  Right now I&#039;ve read &lt;a href=&quot;http://greeneg.blogspot.com/2009/08/kde-pim-and-mapi.html&quot;&gt;Gary Greene&#039;s announcement&lt;/a&gt; that he&#039;ll bring &lt;a href=&quot;http://pim.kde.org/&quot;&gt;KDE PIM&lt;/a&gt; closer to Exchange, but other PIM clients (Evolution, IIRC) are also working hard at being good frontends to Exchange servers.  Meanwhile, I&#039;ve run into problems with various Open Source groupware servers (strictly speaking Open Source, you&#039;ll probably remember me &lt;a href=&quot;http://blog.fortytwo.ch/archives/48-Open-Source-vs.-Free-Software-vs.-Open-Source.html&quot;&gt;ranting&lt;/a&gt; about this before) when trying to use KDE PIM.&lt;/p&gt;

&lt;p&gt;So, the the way into the future seems to be to run KDE PIM with the soon to be completed ;-) MS Exchange connector, running an almost-Open Source groupware server with a commercial Outlook Connector plug-in. (&lt;b&gt;Update: &lt;/b&gt;Clarification: running a groupware server with an outlook connectivity plug-in.  I think Zimbra offers something like this, for example.)&lt;/p&gt;

&lt;p&gt;(To give you a bit background data: We run &lt;a href=&quot;http://www.zimbra.com/&quot;&gt;Zimbra&lt;/a&gt; at a client, which has a nice web frontend and runs very well with its own fat client.  Using KDE PIM is not really an option, too many features don&#039;t work.  &lt;a href=&quot;http://www.open-xchange.com/&quot;&gt;Open-Xchange&lt;/a&gt; was what we had there before Zimbra; KDE PIM integration is not really possible either, they don&#039;t have a fat client, and while the web frontend is nice, they had a poor track record with reacting to issues (and we did have the paid for version with 150 users, and at least one integrator claimed that with 150 users we were big enough that they would react immediately to our complaints...)  I had a very quick look at &lt;a href=&quot;http://www.egroupware.org/&quot;&gt;eGroupWare&lt;/a&gt;, but that was right around the time when &lt;a href=&quot;http://www.tine20.org/&quot;&gt;Tine 2.0&lt;/a&gt; forked away from it, so we weren&#039;t sure where the community was going.  I didn&#039;t look closely at &lt;a href=&quot;http://www.opengroupware.org/&quot;&gt;OpenGroupware.org&lt;/a&gt;/&lt;a href=&quot;http://www.scalableogo.org/&quot;&gt;SOGo&lt;/a&gt;; from what I remember they dropped out of the evaluation early because of missing features.)  &lt;a href=&quot;http://www.kolab.org/&quot;&gt;Kolab&lt;/a&gt; should, as far as I know, have the desired integration with KDE PIM, but I&#039;m not sure what the status is on that front, and when I last looked, there was basically no web frontend at all, and the KDE PIM integration did at least at some time in the past require its own version of the KDE appliactions.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 18 Aug 2009 08:20:03 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/52-guid.html</guid>
    
</item>
<item>
    <title>Reverse 80-20                </title>
    <link>http://blog.fortytwo.ch/archives/47-Reverse-80-20.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/47-Reverse-80-20.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=47</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=47</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;I&#039;ve observed this several times: for people (sysadmins, not end users)
coming from Klickibunti systems, using the Linux commandline follows a    
&amp;ldquo;reverse 80-20&amp;rdquo; rule.  The first 20% of skills are the hardest to
learn, after that it&#039;s all gravy.  I&#039;m trying to identify what fundamental   
concepts are usually missed by people who learn mostly by copying commands from
recipes they copy from Google search results.  (If you comment: my blog sadly  
eats formatting, so if you write more than a few lines it may be better to     
write to your blog and trackback-ping me.)&lt;/p&gt;                                 

&lt;p&gt;&lt;b&gt;Paths&lt;/b&gt; and &lt;b&gt;the Working directory&lt;/b&gt;: Files without paths are
created/looked for in the current working directory, the same applies to the
argument of the &lt;tt&gt;cd&lt;/tt&gt; command.  Paths beginning with &#039;/&#039; are absolute,
and this is handy because it is not necessary to repeatedly &lt;tt&gt;cd ..&lt;/tt&gt;  
before descending to some other path.  (And yes, directory names can be     
concatenated to paths instead of using repeated &lt;tt&gt;cd&lt;/tt&gt; commands with a single   
directory name.)&lt;/p&gt;                                                        

&lt;p&gt;&lt;b&gt;Stdin/out/err&lt;/b&gt; and &lt;b&gt;shell redirection&lt;/b&gt;: The typical question here
is whether &lt;tt&gt;| less&lt;/tt&gt; works with this-and-that command, too.  Admittedly, 
stderr and stdout are not used consistently, and commands like ssh who use the 
terminal instead of stdin (and for good reason) don&#039;t make this lesson         
easier.&lt;/p&gt;                                                                    

&lt;p&gt;&lt;b&gt;Shell commandline expansion&lt;/b&gt;: Shell globs and variables etc. are
expanded by the shell before calling the command.  Accordingly, the rules are
the same everywhere, and this nice trick of using &lt;tt&gt;[A-Z]*&lt;/tt&gt; when copying
files works for deleting files with &lt;tt&gt;rm&lt;/tt&gt;, too.  This is tightly linked 
with the first concept shown here, and lack of understanding here directly
leads to spaces in filenames.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Regular expressions&lt;/b&gt; are useful.  They are not just something I insist
you learn, but they actually help you do your work.  They&#039;re everywhere.  If
you understand grep and understand about redirection, the world is your
mollusc.  Somehow related is that I can not understand how somebody can refuse to 
learn &lt;b&gt;a decent text editor&lt;/b&gt;.  One that runs in the text console, so you
can use it in ssh, and one with built-in search and regex based replace.  It
doesn&#039;t need to be vim (although the fact that a vi style editor is available
everywhere is an advantage.)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;. is not in &lt;tt&gt;$PATH&lt;/tt&gt;&lt;/b&gt;: This is, of course, the whole chain of
understanding what &#039;&lt;tt&gt;.&lt;/tt&gt;&#039; is to what shell variables are, at least in
principle, to what &lt;tt&gt;$PATH&lt;/tt&gt; does to executing a command in a directory,
not by going there and then running &lt;tt&gt;./command&lt;/tt&gt; but by specifying the
path to the command to the final ah-ha that using &lt;tt&gt;./command&lt;/tt&gt; actually
&lt;em&gt;is&lt;/em&gt; specifying the path to the command (and not just &amp;ldquo;it works
that way&amp;rdquo;.)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;No news is good news&lt;/b&gt;:  Typical sign is running &lt;tt&gt;cp&lt;/tt&gt; twice (ah,
we&#039;ve discovered cmdline history) to make sure it works or running &lt;tt&gt;rm&lt;/tt&gt;
twice to make sure that the fike is really gone.&lt;/p&gt;

&lt;p&gt;And then there is the secret rule: &lt;b&gt;Sometimes you don&#039;t want to know.&lt;/b&gt;
The Unix world is full of arcane details where asking why doesn&#039;t get you
anywhere  (not technically, at least.  Learning the history of Unix and
Unix-like systems is fun, interesting and may contribute to a deeper
unerstanding in the end.)  Most programs use getopt style argument processing,
but &lt;tt&gt;dd&lt;/tt&gt; is just different.  The directory &lt;tt&gt;/usr&lt;/tt&gt; is not a
directory where users store their data.  There are sed style regex (regexes?)
and there are pcre.  Firefox is called Iceweasel in Debian.  There are vi style
console keys (less, view, vi, and yes, the man viewer is less) and emacs style
console keys (default bash settings, the info viewer.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 11 Jun 2009 20:20:46 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/47-guid.html</guid>
    
</item>
<item>
    <title>buthead ... or where we learn about the secret art of RTFM</title>
    <link>http://blog.fortytwo.ch/archives/44-buthead-...-or-where-we-learn-about-the-secret-art-of-RTFM.html</link>
            <category>Interesting</category>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/44-buthead-...-or-where-we-learn-about-the-secret-art-of-RTFM.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=44</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;Thinking that this might be worth hacking on &lt;tt&gt;tail&lt;/tt&gt; (because I felt the functionality would be better kept there than in &lt;tt&gt;head&lt;/tt&gt;), I started to have a look at its source.  Lo and behold! &lt;b&gt;&lt;tt&gt;tail -n +&lt;i&gt;N&lt;/i&gt;&lt;/tt&gt;&lt;/b&gt; already does exactly this...&lt;/p&gt;

&lt;p&gt;(Obviously a followup to &lt;a href=&quot;http://upsilon.cc/~zack/blog/posts/2009/05/command_of_the_day:_buthead/&quot;&gt;Zack&lt;/a&gt;&#039;s comment on my &lt;a href=&quot;http://blog.fortytwo.ch/archives/43-Installing-self-compiled-packages.html&quot;&gt;previous&lt;/a&gt; posting.)&lt;/p&gt;  
    </content:encoded>

    <pubDate>Thu, 28 May 2009 15:16:50 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/44-guid.html</guid>
    
</item>
<item>
    <title>Installing self-compiled packages</title>
    <link>http://blog.fortytwo.ch/archives/43-Installing-self-compiled-packages.html</link>
            <category>Tech</category>
    
    <comments>http://blog.fortytwo.ch/archives/43-Installing-self-compiled-packages.html#comments</comments>
    <wfw:comment>http://blog.fortytwo.ch/wfwcomment.php?cid=43</wfw:comment>

    <wfw:commentRss>http://blog.fortytwo.ch/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>nospam@example.com (Adrian von Bidder)</author>
    <content:encoded>
    &lt;p&gt;A script I keep reinventing again and again: installing those binary packages from a self-compiled package where the other (presumably older) version is already installed on the system.  I don&#039;t have time to make this generic right now, but still...&lt;/p&gt;
&lt;pre&gt;
for i in *deb; do 
    echo ${i%%_*};
done | xargs dpkg -l 2&gt;/dev/null \
    | buthead 5 \
    | cut -f 3 -d \  \
    | while read p; do
         echo  ${p}_4.2.3-1vbi_i386.deb;
      done \
    | xargs sudo dpkg -E -i
&lt;/pre&gt;

&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; I don&#039;t know how I managed to see &lt;tt&gt;-E&lt;/tt&gt; in &lt;tt&gt;dpkg&lt;/tt&gt;&#039;s manpage but miss &lt;tt&gt;-O&lt;/tt&gt; which is right above it.  Thanks, Guillem.  Josh: Either my english is just not good enough, or the manpage of &lt;tt&gt;debi&lt;/tt&gt; is from a slightly different reality.  I just can&#039;t make out what, exactly, the tool tries to do.   (Ok, since dpkg -iOE does exactly what I want anyway I didn&#039;t try very hard either.)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Update: &lt;/b&gt; &lt;a href=&quot;http://blog.fortytwo.ch/archives/44-buthead-...-or-where-we-learn-about-the-secret-art-of-RTFM.html&quot;&gt;RTFM&lt;/a&gt;.  
    </content:encoded>

    <pubDate>Thu, 28 May 2009 12:25:51 +0200</pubDate>
    <guid isPermaLink="false">http://blog.fortytwo.ch/archives/43-guid.html</guid>
    
</item>

</channel>
</rss>