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

<channel>
	<title>Robotic Tendencies</title>
	<atom:link href="http://robot101.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://robot101.net</link>
	<description>The personal blog of Robert McQueen</description>
	<lastBuildDate>Fri, 21 May 2010 18:22:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VP8 rumblings</title>
		<link>http://robot101.net/2010/05/21/vp8-rumblings/</link>
		<comments>http://robot101.net/2010/05/21/vp8-rumblings/#comments</comments>
		<pubDate>Fri, 21 May 2010 18:13:24 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Telepathy]]></category>

		<guid isPermaLink="false">http://robot101.net/?p=123</guid>
		<description><![CDATA[As you all know by now, exciting moves from Google on the WebM project have lead to them open-sourcing On2&#8242;s VP8 codec to provide a freely available video codec for HTML5 content. Collabora Multimedia worked with Entropy Wave to add support to GStreamer for the new codec from day 1, and I was really happy [...]]]></description>
			<content:encoded><![CDATA[<p>As you all know by now, exciting moves from Google on the <a href="http://www.webmproject.org/">WebM project</a> have lead to them open-sourcing On2&#8242;s VP8 codec to provide a freely available video codec for HTML5 content. <a href="http://www.collabora.co.uk/press/2010/05/join-google-webm-project.html">Collabora Multimedia worked with Entropy Wave</a> to add support to GStreamer for the new codec from day 1, and I was really happy yesterday to update my Debian system and get the support installed locally too. Thanks to our and Igalia&#8217;s fine work on GStreamer HTML5 support in WebKitGTK+, <a href="http://blog.kov.eti.br/?p=113">Gustavo Noronha</a> found it worked out of the box with Epiphany too.</p>
<p>Predictably, the MPEG-LA <a href="http://digitaldaily.allthingsd.com/20100520/googles-royalty-free-webm-video-may-not-be-royalty-free-for-long/">aren&#8217;t too pleased with this</a>, and are no doubt winding up their PR and industry allies at the moment, as well as this opening a new front on the Apple vs Google ongoing platform battle. But if your business model is collecting money through what is essentially a protection racket and spreading FUD about patent litigation, the <a href="http://www.webmproject.org/license/bitstream/">VP8 license</a> implicitly creating a zero-cost zero-revenue patent pool is not going to be good news for you (from the department of Google <a href="http://googleblog.blogspot.com/2009/10/announcing-google-maps-navigation-for.html">deleting your business model</a>). The question is now whether the allure of Google&#8217;s content will win over against the legal chest pounding of the patent trolls, and whether they start flipping switches to make YouTube only serve up WebM content after a while.</p>
<p>Also in amazing and incredible news, Collabora&#8217;s Telepathy/GStreamer/GNOME/Debian/general R&#038;D guru and staunch Web 2.0 holdout Sjoerd Simons has actually now <a href="http://sjoerd.luon.net/blog/">got a blog</a> after a mere 3 years of us suggesting it to him since he joined Collabora as an intern. He&#8217;s been hacking on some <a href="http://sjoerd.luon.net/posts/2010/05/telepathy_and_vp8/">RTP payloader</a> elements for VP8 so we can use it for video calling on the free desktop. All very exciting stuff, especially in conjunction with <a href="http://telepathy.freedesktop.org/wiki/Muji">Muji</a> (multi-user video calls over XMPP) support heading into Telepathy thanks to <a href="http://www.nlnet.nl/">NLNet</a>&#8216;s ongoing support.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2010/05/21/vp8-rumblings/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Telepathy Q&amp;A from the Boston GNOME Summit</title>
		<link>http://robot101.net/2009/10/14/telepathy-qa/</link>
		<comments>http://robot101.net/2009/10/14/telepathy-qa/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 06:36:17 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[Telepathy]]></category>

		<guid isPermaLink="false">http://robot101.net/?p=114</guid>
		<description><![CDATA[The first Telepathy session session on Saturday evening at the Boston GNOME Summit was very much of a Q&#38;A where myself and Will answered various technical and roadmap issues from a handful of developers and downstream distributors. It showed me that there&#8217;s a fair amount of roadmap information we should do better at communicating outside [...]]]></description>
			<content:encoded><![CDATA[<p>The first Telepathy session session on Saturday evening at the Boston GNOME Summit was very much of a Q&amp;A where myself and Will answered various technical and roadmap issues from a handful of developers and downstream distributors. It showed me that there&#8217;s a fair amount of roadmap information we should do better at communicating outside of the Telepathy project, so in the hope its useful to others, read on&#8230;</p>
<p><span id="more-114"></span></p>
<h2>MC5</h2>
<p>Ted Gould was wondering why Mission Control 4 had an API for getting/setting presence for all of your accounts whereas MC5 does not. MC5 has a per-account management of desired/current presence which is more powerful, but loses the convenience of setting presence in one place. Strictly speaking, doing things like deciding which presence to fall back on (a common example being if you have asked for invisible but the connection doesn&#8217;t support it) is a UI-level policy which MC should not take care of, but in practice there aren&#8217;t many different policies which make sense, and the key thing is that MC should tell the presence UI when the desired presence isn&#8217;t available so it could make a per-account choice if that was preferable. As a related side point, Telepathy should implement more of the invisibility mechanisms in XMPP so it&#8217;s more reliably available, and then we could more meaningfully tell users which presence values were available before connecting, allowing signing on as invisible.</p>
<p>Since MC5 gained support for gnome-keyring, its not possible to initialise Empathy&#8217;s account manager object without MC5 prompting the user for their keyring password un-necessarily (especially if the client is Ubuntu&#8217;s session presence applet and the user isn&#8217;t using Empathy in the current session but has some accounts configured). Currently the accounts D-Bus API requires that all properties including the password are presented to the client to edit. A short-term fix might be to tweak the spec so that accounts don&#8217;t have to provide their password property unless it&#8217;s explicitly queried, but this might break the ABI of tp-glib. Ultimately, passwords being stored and passed around in this way should go away when we write an authentication interface which will pass authentication challenges up to the Telepathy client to deal with, enabling a unified interface for OAuth/Google/etc web token, Kerberos or SIP intermediate proxy authentication, and answering password requests from the keyring lazily or user on demand.</p>
<h2>Stability &amp; Security</h2>
<p>Jonathan Blandford was concerned about the churn level of Telepathy, from the perspective of distributions with long-term support commitments, and how well compatibility will be maintained. Generally the D-Bus API and the tp-glib library APIs are maintained to the GNOME standards of making only additive changes and leaving all existing methods/signals working even if they are deprecated and superseded by newer interfaces. A lot of new interfaces have been added over the past year or so, many of which replace existing functionality with a more flexible or more efficient interface. However, over the next 4-6 months we hope to finalise the new world interfaces (such as multi-person media calls, roster, authentication, certificate verification, more accurate offline protocol information, chat room property/role management), and make a D-Bus API break to remove the duplicated cruft. Telepathy-glib would undergo an ABI revision in this case to also remove those symbols, possibly synchronised with a move from dbus-glib to GVariant/etc, but in many cases clients which only use modern interfaces and client helper classes should not need much more than a rebuild.</p>
<p>Relatedly there was a query about the security of Telepathy, and how much it had been through the mill on security issues compared to Pidgin. In the case of closed IM protocols (except MSN where we have our own implementation) then we re-use the code from libpurple, so the same risks apply, although the architecture of Telepathy means its possible to subject the backend processes to more stringent lockdowns using SElinux or other security isolation such as UIDs, limiting the impact of compromises. Other network code in Telepathy is based on more widely-used libraries with a less chequered security history thus far.</p>
<h2>OTR</h2>
<p>The next topic was about support for OTR in Telepathy. Architecturally, it&#8217;s hard for us to support the same kind of message-mangling plugins as Pidgin allows because there is no one point in Telepathy that messages go through. There are multiple backends depending on the protocol, multiple UIs can be involved in saving (eg a headless logger) or displaying messages (consider GNOME Shell integration which previews messages before passing conversations on to Empathy), and the only other centralised component (Mission Control 5) does not act as an intermediary for messages. Historically, we&#8217;ve always claimed OTR to be less appealing than native protocol-level end-to-end encryption support, such as the proposals for Jingle + peer to peer XMPP + TLS which are favoured by the XMPP community, mostly because if people can switch to an unofficial 3rd party client to get encryption, they could switch to a decent protocol too, and because protocol-level support can encrypt other traffic like SRTP call set-up, presence, etc.</p>
<p>However, there is an existing deployed OTR user base, including the likes of Adium users on the Mac, who might often end up using end to end encryption without being aware of it, who we would be doing a disservice by Telepathy not supporting OTR conversations with these people. This is a compelling argument which was also made to me by representatives from the EFF, and the only one to date which actually held some merit with me compared to just implementing XMPP E2E encryption. Later in the summit we went on to discuss how we might achieve it in Telepathy, and how our planned work towards XMPP encryption could also help.</p>
<h2>Tubes</h2>
<p>We also had a bit of discussion about Tubes, such as how the handlers are invoked. Since the introduction of MC5, clients can register interest in certain channel types (tubes or any other) by implementing the client interface and making filters for the channels they are interested in. MC5 will first invoke all matching observers for all channels (incoming and outgoing) until all of them have responded or timed out (eg to let a logger daemon hook up signal callbacks before channel handling proceeds), all matching approvers for incoming channels until one of them replies (eg to notify the user of the new channel before launching the full UI), and then sending it to the handler with the most specific filter (eg Tomboy could register for file transfers with the right MIME type and receive those in favour to Empathy whose filter has no type on it). Tubes can be shared with chat rooms, either as a stream tube where one member shares a socket for others to connect to (allowing re-sharing an existing service implementation), or a D-Bus tube where every member&#8217;s application is one endpoint on a simulated D-Bus bus, and Telepathy provides a mapping between the D-Bus names and the members of the room.</p>
<p>In terms of Tube applications, now we&#8217;ve got working A/V calling in Empathy, as well as desktop sharing, and an R&amp;D project on multi-user calls, our next priority is on performance and Tube-enabling some more apps such as collaborative editing (Gobby, AbiWord, GEdit, Tomboy&#8230;?).  There was a question about whether Tube handlers can be installed on demand when one of your contacts initiates that application with you. It&#8217;d be possible to simulate this by finding out (eg from the archive) which handlers are available, and dynamically registering a handler for all of those channel types, so that MC5 will advertise those capabilities, but also register as an approver. When an incoming channel actually arrives at the approval stage, prompt the user to install the required application and then tell MC5 to invoke it as the handler.</p>
<p>Colin Walters asked about how Telepathy did NAT traversal. Currently, Telepathy makes use of libnice to do ICE (like STUN between every possible pair of addresses both parties have, works in over 90% of cases) for the UDP packets involved in calls signalled over XMPP, either the Google Talk variant which can benefit from Google&#8217;s relay servers if one or other party has a Google account, so is more reliable, or the latest IETF draft which can theoretically use TURN relays but its not really hooked up in Telepathy and few people have access to them. XMPP file transfers and one-to-one tube connections use TCP which is great if you have IPv6, but otherwise impossible to NAT traverse reliably, so often ends up using strictly rate-limited &#8220;SOCKS5&#8243;-ish XMPP proxies, or worse, in-band base64 in the XML stream. We hope to incorporate (and standardise in XMPP) a reliability layer which will allow us to use Jingle and ICE-UDP for file transfers and tubes too, allowing peer to peer connections and higher-bandwidth relays to enhance throughput significantly.</p>
<h2>Future</h2>
<p>Ted Gould had some good questions about the future of Telepathy&#8230;</p>
<blockquote>
<p>Should Empathy just disappear on the desktop as things like presence applets or GNOME Shell take over parts of its function? Maybe, yes. In some ways its goal is just to bring Telepathy to end users and the desktop so that its worth other things integrating into Telepathy, but Telepathy allows us to do a lot better than a conventional IM client. Maemo and Sugar on the OLPC use Telepathy but totally integrates it into the device experience rather than having any single distinct IM client, and although Moblin uses Empathy currently it has its own presence chooser and people panel, and may go on to replace other parts of the user experience too. GNOME Shell looks set to move in this direction too and use Telepathy to integrate communications with the desktop workflow.</p>
<p>Should Telepathy take care of talking to social networking sites such as Facebook, Twitter, etc? There&#8217;s no hard and fast rule &#8211; Telepathy only makes sense for real-time communications, so it&#8217;s good for exposing and integrating the Facebook chat, but pretty lame for dealing with wall posts, event invitations and the like. Similarly on the N900, Telepathy is used for the parts of the cellular stack that overlap with real-time communications like calling and SMS, but there is no sense pushing unrelated stuff like configuration messages through it. For Twitter, the main question is whether you actually want tweets to appear in the same UI, logging and notification framework as other messages. Probably not anything but the 1-to-1 tweets, meaning something like Moblin&#8217;s Mojito probably makes more sense for that. Later in the summit I took a look at Google Latitude APIs, which seem like something which Telepathy can expose via its contact location interface, but probably not usefully until we have support for metacontacts in the desktop.</p>
<p>Can/will Telepathy support IAX2? It can, although we&#8217;d have to do a local demultiplexer for the RTP streams involved in separate calls. It&#8217;s not been a priority of ours so far, but we can help people get started (or Collabora can chat to people who have a commercial need for it). Similarly nobody has looked at implementing iChat-compatible calling because our primary interest lies with open protocols, but if people were interested we could give pointers &#8211; its probably just SIP and RTP after you dig through a layer of obfuscation or two.</p>
</blockquote>
<p>If you want to know more about Telepathy feel free to comment with some follow-up questions, talk to us in #telepathy on Freenode, or post to the <a href="http://lists.freedesktop.org/mailman/listinfo/telepathy">mailing list</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/10/14/telepathy-qa/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Boston GNOME Summit 2009</title>
		<link>http://robot101.net/2009/10/14/boston-gnome-summit-200/</link>
		<comments>http://robot101.net/2009/10/14/boston-gnome-summit-200/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 06:29:12 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[GNOME]]></category>

		<guid isPermaLink="false">http://robot101.net/?p=110</guid>
		<description><![CDATA[I spent this weekend in Boston for the annual GNOME summit. I really enjoyed it this year, although there were fewer attendees than previously it felt very focussed and productive. There&#8217;s some cool stuff going on, and it&#8217;s always great to catch up with all of the usual free software suspects in Boston. Some highlights [...]]]></description>
			<content:encoded><![CDATA[<p>I spent this weekend in Boston for the annual GNOME summit. I really enjoyed it this year, although there were fewer attendees than previously it felt very focussed and productive. There&#8217;s some cool stuff going on, and it&#8217;s always great to catch up with all of the usual free software suspects in Boston. Some highlights from the weekend:</p>
<ul>
<li>Corridor session with David Zeuthen, Ryan Lortie, Matthias Clasen and later joined by me and Will Thompson from Collabora, discussed a lot of the issues of integrating D-Bus into Glib and I think achieved a pretty good consensus about how GVariant and GDBus should fit together and start getting the pieces merged. Really looking forwards to it, GVariant looks mad ninja.</li>
<li>Some nice discussions about Gtk+ 3.0 roadmap, although I&#8217;m still worried that the sealing/accessor work will take so much developer time there won&#8217;t be that much time to make the improvements its supposed to enable. Theming was mentioned but what else should there be? Also spotted Kristian Høgsberg, Cody Russell and Matthias again talking about client-side decorations, presumably Wayland scheming&#8230; :)</li>
<li>Nice session about messaging and other notifications in GNOME Shell. I really like the way the project is going, and hopefully we can join in and spend some time hooking Telepathy up here, although as a fallback to make the existing stuff (which doesn&#8217;t have specific code to hook in and make a UI), then it&#8217;d be nice if the shell could also be a frontend for the notify/indicate stuff which Ubuntu have been pushing in GNOME 2.x already.</li>
<li>Had some good brainstorming about <a href="http://resiak.livejournal.com/61272.html">Telepathy integration</a> in games and Tomboy sharing too, as well as some slightly less conclusive pondering about how to deliver metacontacts (ie, merging multiple sources such as IM, social networking and other address books) in GNOME. We need to sync up with what Moblin is doing here as it looks quite promising and should give us some components to re-use.</li>
<li>Will, Sjoerd and I spent an hour or two around a blackboard working out how XMPP end-to-end TLS encryption might be exposed to clients in Telepathy, in order to work out how best we&#8217;d expose OTR too. It looks like we have a fairly workable proposal now which we&#8217;ll be explaining in due course, but it means at least we can give more useful advice to people who are interested in implementing it, or move forwards on implementing it ourselves.</li>
</ul>
<p>I was really impressed by Jason Clinton and others&#8217; <a href="http://jasondclinton.livejournal.com/76972.html">summaries</a> of the sessions, which I think are really valuable for the people who couldn&#8217;t make it to the summit. He asked me to take some notes about the first <a href="http://telepathy.freedesktop.org/">Telepathy</a> session on Saturday evening while he was taking notes about the Outreach session. Rather than lumber him with my deranged scratchings from Tomboy, I&#8217;ll blog them separately.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/10/14/boston-gnome-summit-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today&#8217;s the day</title>
		<link>http://robot101.net/2009/08/27/todays-the-day/</link>
		<comments>http://robot101.net/2009/08/27/todays-the-day/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 11:04:35 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://robot101.net/2009/08/27/todays-the-day/</guid>
		<description><![CDATA[If Collabora has seemed quiet recently, it&#8217;s because we&#8217;ve been slaving away on various parts of a really awesome project, which we can finally start talking about. Maemo 5 is coming! \o\ \o/ /o/]]></description>
			<content:encoded><![CDATA[<p>If <a href="http://www.collabora.co.uk/">Collabora</a> has seemed quiet recently, it&#8217;s because we&#8217;ve been slaving away on various parts of a <em>really awesome</em> project, which we can finally start talking about. <a href="http://www.maemo.nokia.com/">Maemo 5 is coming!</a> \o\ \o/ /o/</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/08/27/todays-the-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Empathy / Telepathy BOF at GCDS</title>
		<link>http://robot101.net/2009/07/09/empathy-telepathy-bof-at-gcds/</link>
		<comments>http://robot101.net/2009/07/09/empathy-telepathy-bof-at-gcds/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 17:17:51 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Telepathy]]></category>

		<guid isPermaLink="false">http://robot101.net/2009/07/09/empathy-telepathy-bof-at-gcds/</guid>
		<description><![CDATA[Flyby blog entry. Been an awesome week, hope people enjoyed the Collabora party last night. Getting to the GNOME Shell BOF this morning was a real struggle, but I really like the way its going. We&#8217;ve scheduled an Empathy BOF for Friday at 15:45 in room 2-4, hoping to talk with folks about improving the [...]]]></description>
			<content:encoded><![CDATA[<p>Flyby blog entry. Been an awesome week, hope people enjoyed the Collabora party last night. Getting to the GNOME Shell BOF this morning was a real struggle, but I really like the way its going. We&#8217;ve scheduled an Empathy BOF for Friday at 15:45 in room 2-4, hoping to talk with folks about improving the accounts UI, tracker/addressbook and GNOME Shell integration.</p>
<p>Aside from that, we&#8217;re planning to hack on Empathy for basically the whole day, looking at MC5 porting and UI polish, so there will be a big load of Collabora folks and friends somewhere. Will update when I know where.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/07/09/empathy-telepathy-bof-at-gcds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top acts</title>
		<link>http://robot101.net/2009/03/13/top-acts/</link>
		<comments>http://robot101.net/2009/03/13/top-acts/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 22:45:06 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://robot101.net/?p=104</guid>
		<description><![CDATA[I&#8217;ve been very impressed several times in the past few months when I&#8217;ve discovered awesome new top-like utilities. I&#8217;m probably being slow on the uptake and everyone else but me knows about these, but in case its not just me thats been stuck in the &#8217;70s: htop A much-needed refresh of oldschool top, this still [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been very impressed several times in the past few months when I&#8217;ve discovered awesome new <tt>top</tt>-like utilities. I&#8217;m probably being slow on the uptake and everyone else but me knows about these, but in case its not just me thats been stuck in the &#8217;70s:</p>
<dl>
<dt><a href="http://htop.sourceforge.net/"><tt>htop</tt></a></dt>
<dd>A much-needed refresh of oldschool <tt>top</tt>, this still works on your beloved console but gives you visual bar-graphs of CPU, RAM and swap, lets you scroll through the processes and deliver signals/renicing without having to copy the PID off the moving target. Its like the future!</dd>
<dt><a href="http://www.ex-parrot.com/~pdw/iftop/"><tt>iftop</tt></a></dt>
<dd>One of those things I use so often now I have no idea how I even survived without it. Why is this server lagging, who&#8217;s hogging the wireless/DSL, which VM is chewing all of the upstream bandwidth? <tt>iftop</tt> shows you at a glance how much traffic is being used by which host pairs on a given interface, and you can toggle port numbers on and off with simple key-presses. Absolutely indispensable.</dd>
<dt><a href="http://guichaz.free.fr/iotop/"><tt>iotop</tt></a></dt>
<dd>Does this box feel slow to anyone else? Is it swapping, or is it the database server chewing all the IO? Why does my drive keep seeking? It&#8217;s amazing&#8230; top for IO bandwidth usage!</dd>
</dl>
<p>A passing mention is deserved for <a href="http://www.webta.org/projects/apachetop/"><tt>apachetop</tt></a> too, which is pretty neat, but when a server is being hammered it&#8217;s not something I found too hard to get a feel for just by tailing the log for a while, so it&#8217;s not been as life-changing as the others. Maybe that just means my servers don&#8217;t see enough traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/03/13/top-acts/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>This is a local mail for local people, we&#8217;ll have no trouble here!</title>
		<link>http://robot101.net/2009/03/06/local-mail/</link>
		<comments>http://robot101.net/2009/03/06/local-mail/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 02:39:27 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://robot101.net/?p=86</guid>
		<description><![CDATA[&#8220;&#8230; all programs that interact with e-mail are broken in one way or another. Please be careful.&#8221; &#8211; Lars Wirzenius I seem to have a cunning knack of finding problems with configuring server software, particularly involving e-mail, where a) I can&#8217;t find answers in Google, b) most people I go and ask for help say [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
&#8220;&#8230; all programs that interact with e-mail are broken in one way or another. Please be careful.&#8221; &#8211; Lars Wirzenius
</p></blockquote>
<p>I seem to have a cunning knack of finding problems with configuring server software, particularly involving e-mail, where a) I can&#8217;t find answers in Google, b) most people I go and ask for help say they&#8217;d usually ask me such things, and c) if I go onto IRC or mailing lists I end up helping other people and not getting any help with my problem. It&#8217;s quite likely this is just because I&#8217;m something of a perfectionist, so the ridiculous crappy hacks people come up with and seem content to entrust their mail to are unacceptable to me for one reason or another. Anyway, in my ongoing quest for the perfect mail system, I&#8217;ve painted myself into a corner again.</p>
<p><small>(I&#8217;m currently running with postfix, postgrey, clamav-milter, dspam, dovecot using LDA, managesieve and the cmusieve &amp; antispam plugins. If I can get the current incarnation working, I&#8217;ve had enough requests to write up a full HOWTO, and seen enough around with pretty questionable content, that I&#8217;ll probably do it before too long.)</small></p>
<p>I&#8217;ve got postfix&#8217;s <tt>local</tt> transport configured to hand mail to dspam over LMTP, using <tt>mailbox_transport = lmtp:unix:/dspam/dspam.sock</tt>. dspam is configured to listen here, add <tt>X-DSPAM-Result</tt> and signature headers, and then deliver the mail with dovecot&#8217;s <tt>deliver</tt> LDA (which I&#8217;ve set to <tt>4750 root:dspam</tt>). From <tt>dspam.conf</tt>:</p>
<p><code>ServerParameters "--deliver=innocent,spam -d %u"<br />
ServerDomainSocketPath "/var/spool/postfix/dspam/dspam.sock"<br />
...<br />
Preference "spamAction=tag"<br />
Preference "signatureLocation=headers"<br />
...<br />
TrustedDeliveryAgent "/usr/lib/dovecot/deliver"</code></p>
<p>My dovecot configuration is pretty standard, using PAM for both <tt>passdb</tt> and <tt>userdb</tt>, and provides the <tt>auth-master</tt> socket that <tt>deliver</tt> needs. The problem I have is that postfix&#8217;s <i>local</i> transport is qualifying the <i>local</i> username with the FQDN of the machine before delivering it to dspam with LMTP (the <i>local</i> mail transfer protocol), even for locally-originated mail which was only addressed with a bare username! dspam doesn&#8217;t mangle it or care if the user is local or not, and then cheerfully invokes <tt>deliver -d robot101@omega.example.co.uk</tt>, which returns <tt>EX_NOUSER</tt> (addressee unknown) because my username is just <tt>robot101</tt>. From <tt>mail robot101</tt>:</p>
<p><code>Mar  6 02:25:40 omega postfix/pickup[13607]: DAA4942F41F: uid=1000 from=&lt;robot101&gt;<br />
Mar  6 02:25:40 omega postfix/cleanup[13637]: DAA4942F41F: message-id=&lt;20090306022540.DAA4942F41F@omega.example.co.uk&gt;<br />
Mar  6 02:25:40 omega postfix/qmgr[12552]: DAA4942F41F: from=&lt;robot101@omega.example.co.uk&gt;, size=339, nrcpt=1 (queue active)<br />
Mar  6 02:25:40 omega dovecot: auth(default): passwd(robot101@omega.example.co.uk): unknown user<br />
Mar  6 02:25:40 omega dspam[13527]: Delivery agent returned exit code 67: /usr/lib/dovecot/deliver -d robot101@omega.example.co.uk<br />
Mar  6 02:25:40 omega postfix/lmtp[13640]: DAA4942F41F: to=&lt;robot101@omega.example.co.uk&gt;, orig_to=&lt;robot101&gt;, relay=omega.example.co.uk[/dspam/dspam.sock], delay=0.08, delays=0.05/0.01/0.01/0.03, dsn=4.3.0, status=deferred (host omega.example.co.uk[/dspam/dspam.sock] said: 421 4.3.0 &lt;robot101@omega.example.co.uk&gt; Delivered (in reply to end of DATA command))</code></p>
<p>So, no e-mail for me. Dearest lazyweb, which of the three components is behaving wrongly, and how can I fix it?</p>
<p><small>(And no, I&#8217;m not just going to switch to GMail. I store my data on hard drives, which are sometimes in servers, not &#8220;in the cloud&#8221;. Until about a month ago, most people I knew spoke about clouds which were made of particles of water in the sky, rather than as a data storage media. What if it rains? ;)</small></p>
<p><b>Update</b>: The problem is fixed! Even though arguably the problem is dspam&#8217;s for not knowing which users are local or not, it&#8217;s fixable in dovecot 1.1.x using the <tt>auth_username_format = %n</tt> option. Thanks so much to <a href="http://anmar.eu.org/">Angel Marin</a> for helping me out.</p>
<p><b>Update 2</b>: There&#8217;s also a <a href="http://article.gmane.org/gmane.mail.spam.dspam.user/10076">patch</a> for dspam floating around which adds a <tt>StripRcptDomain</tt> option, which makes the LMTP server truncate the e-mail address at the @, so essentially assumes everyone to be a local user. The problem with both of these fixes is that they&#8217;re both blunt instruments which will break virtual users on the same host. I <a href="http://article.gmane.org/gmane.mail.spam.dspam.user/15235">think</a> the real fix would be something more like a <tt>LocalDomains</tt> option in dspam, to choose which domains should be considered local and truncated from the e-mail addresses for delivery purposes.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/03/06/local-mail/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Auctions, Beards, Conferences and Devils</title>
		<link>http://robot101.net/2009/01/23/auctions-beards-conferences-and-devils/</link>
		<comments>http://robot101.net/2009/01/23/auctions-beards-conferences-and-devils/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 04:20:54 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Collabora]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Telepathy]]></category>

		<guid isPermaLink="false">http://www.robot101.net/?p=75</guid>
		<description><![CDATA[It&#8217;s the last day of the most awesome linux.conf.au 2009 conference in Hobart, Tasmania. I&#8217;ve just witnessed the a room full of 500 people sit with baited breath as Linus wielded a set of clippers to shave Bdale Garbee&#8216;s beard, followed by Bdale (with a razor with 3 more blades than last time he shaved, [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left"><a href="http://linux.conf.au/"><img src="http://robot101.net/files/tuz.png" width=203 height=150 alt="Tuz, coming soon to a Linux kernel near you" border=0 /></a></div>
<p>It&#8217;s the last day of the most awesome <a href="http://linux.conf.au/">linux.conf.au</a> 2009 conference in Hobart, Tasmania. I&#8217;ve just witnessed the a room full of 500 people sit with baited breath as Linus wielded a set of clippers to shave <a href="http://www.gag.com/bdale/blog/">Bdale Garbee</a>&#8216;s beard, followed by Bdale (with a razor with 3 more blades than last time he shaved, a tiny bowl of water and a hand-mirror) trying to make it look neater. The <a href="http://search.twitter.com/search?q=%23lca">LCA twitter feed</a> was up on the projector, and someone rightly observed this whole event was actually <a href="http://twitter.com/desplesda/statuses/1140852779">pretty weird</a>. There are already <a href="http://www.flickr.com/photos/tags/lca2009/">pictures on flickr</a> too. However, well done to Bdale for being such a good sport, but it looks like his wife Karen will accompany him next year to make sure he doesn&#8217;t agree to anything else like this, and supervise the waxing of <a href="http://ozlabs.org/~rusty/">Rusty</a>&#8216;s chest&#8230; :)</p>
<p>What&#8217;s this all in aid of? After the <a href="http://hardy.dropbear.id.au/blog/2009/01/how-to-win-an-lca-charity-auction-without-really-trying">incredible auction</a> for this <a href="http://www.mnh.si.edu/exhibits/natures_best_2008/gallery/waterfall.html">beautiful picture</a> from Karen, and generous donations at the Penguin Dinner on Wednesday night, the conference has now raised between AU$ 35k and 40k towards the <a href="http://www.tassiedevil.com.au/">Save the Tasmanian Devil</a> appeal. Around AU$ 1.3k of the nonsensical winning consortium&#8217;s AU $10.6k bid came from the Collabora folks who were at the dinner, and AU$ 1.2k from Collabora and Collabora Multimedia directly. We were all set to place a winning AU$ 3k bid but then <a href="http://mjg59.livejournal.com/">Matthew</a> and <a href="http://www.fooishbar.org/blog">Daniel</a> came up with the Bdale shaving scheme, and then things <em>really</em> picked up. I&#8217;m glad we took part &#8211; the lead scientist from the project was <a href="http://www.flickr.com/photos/stibbons/3215625515/">really grateful</a>, and I hope the money can make a real difference to their great work.</p>
<div style="float: right"><a href="http://telepathy.freedesktop.org/"><img src="http://people.collabora.co.uk/~robot101/telepathy-logo-rect.png" width=167 height=189 alt="Telepathy" border=0 /></a></div>
<p>On more mundane matters, I also gave my <a href="">talk</a> this morning, and my slides (Telepathy slides v2.0 thanks to <a href="http://blog.barisione.org/">Marco</a>) are <a href="http://people.collabora.co.uk/~robot101/telepathy-lca-2009.pdf">online</a>. I also made a few demos of new awesome stuff you can do with Telepathy (most of the patches are already merged upstream or well on the way):</p>
<ul>
<li>Geolocation support (<a href="http://xmpp.org/extensions/xep-0080.html">XEP-0080</a>) support in <a href="http://git.collabora.co.uk/?p=user/pierlux/telepathy-gabble.git;a=shortlog;h=refs/heads/location">the XMPP backend</a> and <a href="http://git.collabora.co.uk/?p=user/pierlux/empathy.git;a=shortlog;h=refs/heads/geolocation">Empathy</a>, using <a href="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</a> to find your location and the <a href="http://blog.pierlux.com/projects/libchamplain/en/">libchamplain</a> Clutter &amp; Open Streetmap widget to display where your contacts are. Thanks to <a href="http://blog.pierlux.com/en/">Pierre-Luc</a>, <a href="http://alban.apinc.org/blog/">Alban</a> and <a href="http://dgh.livejournal.com/">Daf</a> for their work here &#8211; more details on <a href="http://blog.pierlux.com/2009/01/22/empathy-where-are-you/en/">Pierre-Luc&#8217;s blog</a>.</li>
<li>Support for launching file transfers over link-local XMPP from Nautilus using the Empathy plugin for <a href="http://svn.gnome.org/viewvc/nautilus-sendto/trunk/src/plugins/empathy/">nautilus-sendto</a>. This is already merged upstream but needs a <a href="http://bugzilla.gnome.org/show_bug.cgi?id=567596">patch</a> to work with trunk Empathy. Thanks to <a href="http://blog.barisione.org/">Marco</a>, <a href="http://jonnylamb.com/">Jonny</a> and <a href="http://cass.no-ip.com/~cassidy/blog/index.php/">Guillaume</a> for their work on this.</li>
<li>Alban also made a neat hack to <a href="">Rhythmbox</a> which allows exporting your DAAP music server to one of your contants over a Telepathy <a href="http://telepathy.freedesktop.org/spec.html#org.freedesktop.Telepathy.Channel.Type.StreamTube.DRAFT">Stream Tube</a>. Thanks also to recent work from Marco, these tubes now go over XMPP&#8217;s <a href="http://xmpp.org/extensions/xep-0065.html">SOCKS5 Bytestreams</a>, giving much better throughput than the earlier in-band implementation, network permitting. The next step is unleashing the full might of our <a href="http://nice.freedesktop.org/">libnice</a> NAT traversal library, signalling tubes with <a href="http://xmpp.org/extensions/xep-0166.html">Jingle</a>, and therefore making connections work peer to peer in up to 95% of the cases. However, this won&#8217;t affect the APIs, stuff will just go faster! Isn&#8217;t Telepathy wonderful?</li>
<li><a href="http://www.tester.ca/">Olivier</a> stepped up to show off the demo from <a href="http://linux.conf.au/programme/schedule/view_talk/119">his talk</a> about <a href="http://farsight.freedesktop.org/wiki/">Farsight</a>, which shows his <a href="http://git.collabora.co.uk/?p=user/tester/pitivi.git;a=shortlog;h=refs/heads/call-recording">branch</a> using the new <a href="http://git.collabora.co.uk/?p=telepathy-farsight.git;a=summary">telepathy-farsight</a> library to allow recording Telepathy video calls directly into the <a href="http://www.pitivi.org/wiki/Main_Page">PiTiVi</a> video editor. His network was screwed up so it didn&#8217;t work, but I did see it work in his talk yesterday! Awesome stuff, hopefully <a href="http://blogs.gnome.org/edwardrv/">Edward</a> and friends can pick it up and merge it in before too long.</li>
<li>Unfortunately we ran out of time for <a href="http://resiak.livejournal.com/">Will</a> to show off Guillaume&#8217;s recent work on Telepathy-enabled Abiword on the desktop (rather than just Sugar&#8217;s Write activity), but I expect he&#8217;ll <a href="http://cass.no-ip.com/~cassidy/blog/index.php/">blog</a> about it soon!</li>
</ul>
<p>On that note, these were just the five that I picked to try and fit into my talk. There are a load more demos in the pipeline from the other guys in <a href="http://www.collabora.co.uk/">Collabora</a> of doing stuff with Telepathy, so keep a close look on <a href="http://planet.collabora.co.uk/">Planet Collabora</a> for the next cool thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/01/23/auctions-beards-conferences-and-devils/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quitclock</title>
		<link>http://robot101.net/2009/01/21/quitclock/</link>
		<comments>http://robot101.net/2009/01/21/quitclock/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:47:31 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.robot101.net/?p=66</guid>
		<description><![CDATA[(Apologies in advance for the shameless plug.) It&#8217;s possibly a little late to talk about new year&#8217;s resolutions, but if anyone is a Facebook user and has given up smoking (or plans to), you might be interested in Quitclock. My brother Alastair is a health editor for the Bupa private health insurance company, and thought [...]]]></description>
			<content:encoded><![CDATA[<p>(Apologies in advance for the shameless plug.) It&#8217;s possibly a little late to talk about new year&#8217;s resolutions, but if anyone is a <a href="http://www.facebook.com/">Facebook</a> user and has given up smoking (or plans to), you might be interested in <a href="http://www.facebook.com/apps/application.php?id=39245025835">Quitclock</a>.</p>
<p><a href="http://www.facebook.com/apps/application.php?id=39245025835"><img src="http://www.robot101.net/files/quitclock.gif" width=184 height=246 border=0 /></a></p>
<p>My brother Alastair is a health editor for the <a href="http://www.bupa.co.uk/">Bupa</a> private health insurance company, and thought of this neat project which was <a href="http://www.yes-no-cancel.co.uk/2009/01/01/bupas-quitclock-facebook-app-now-online/">implemented</a> by my housemate <a href="http://martin.kleppmann.de/">Martin Kleppman</a>, and <a href="http://www.bupa.co.uk/health_information/html/health_news/171208_quitclock.html">announced</a> at new year. It helps you keep track of how long since you&#8217;ve smoked, how much money you&#8217;ve saved, lets you and your friends know how you&#8217;re doing, and has health tips about the improvements that you can expect from your new-found abstinence. I&#8217;m not a smoker but hopefully someone will find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/01/21/quitclock/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My new font rendering technique is unstoppable</title>
		<link>http://robot101.net/2009/01/21/my-new-font-rendering-technique-is-unstoppable/</link>
		<comments>http://robot101.net/2009/01/21/my-new-font-rendering-technique-is-unstoppable/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:29:59 +0000</pubDate>
		<dc:creator>Robert McQueen</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.robot101.net/?p=64</guid>
		<description><![CDATA[You know it&#8217;s time to call it a day and write your talk tomorrow when&#8230; I just upgraded Gtk+, Cairo and Pango to the versions in Debian experimental while I was upgrading some Telepathy packages, and got this the next time I loaded OO.o. Magic. But seriously, anyone got any ideas what&#8217;s going on? Update: [...]]]></description>
			<content:encoded><![CDATA[<p>You know it&#8217;s time to call it a day and write your <a href="http://linux.conf.au/programme/schedule/view_talk/210">talk</a> tomorrow when&#8230;</p>
<p><a href="http://www.robot101.net/files/fontless-oo.png"><img src="http://www.robot101.net/files/fontless-oo-small.png" border=0 width=320 height=240 /></a></p>
<p>I just upgraded Gtk+, Cairo and Pango to the versions in Debian experimental while I was upgrading some Telepathy packages, and got this the next time I loaded OO.o. Magic. But seriously, anyone got any ideas what&#8217;s going on?</p>
<p><b>Update</b>: I switched my Debian mirror to .au and downloaded OpenOffice.org 3.0.1~rc2, and installed the Gtk+ and GNOME stuff too, and not only did the fonts came back, but it no longer looks like the 80s. Score! Thanks for the tips. Back to my talk&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://robot101.net/2009/01/21/my-new-font-rendering-technique-is-unstoppable/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
