March 2010 Archives

Last weekend was mostly spent fighting with Gnome/DBus/HAL/MumbleKit.

The story starts with me upgrading my laptop to Karmic. (Well, no, actually it starts a bit before that, but we’ll pretend.) After deciding that the new version of GDM blows goats (see Google passim: it seems that it got HFPed) I downgraded to the gdm-2.20 package, which actually has documentation and can be configured. It was about this time that I discovered a bug.

Hyphenation fail

| No Comments

Groff mis-hyphenated an Xlib structure name. As a result, I noticed that it could have been re-camel-cased as ‘XGraphicSexPoseEvent’. Which is one I probably won’t be masking out.

(Hmm. $\mathrm{\TeX}$ makes the same hyphenation mistake.)

Not a UUOC

| No Comments

The other day, a colleague asked me how to multiplex lines from a number of asynchronous sources from a Unix shell script. Here’s what I came up with.

#! /bin/sh

set -e
for i; do
  while read line; do echo "$i: $line"; done <"$i"&
done | cat
wait

About this Archive

This page is an archive of entries from March 2010 listed from newest to oldest.

October 2009 is the previous archive.

April 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.2.13