I'm busy, honest.

I haven't been writing so much recently - only one blog post for January, and I didn't even find the time to finish all the things I did in December. This is because I'm busy. Honest. So, before it gets too far into February, I'd better summarize things a little. Projects I worked on recently: f-spot - Near the end of December, I joined the Debian Mono packaging team, and helped clear up a few bugs in the photo management application I use. However, it turns out that f-spot could really use more help upstream - the number of forwarded Debian bugs is quite high, and there are some pretty nasty bugs outstanding. In fact, the upload we made has been synced to Ubuntu Hardy, so a bunch of users are going to run into horrible problems unless we fix them before the release. Oh dear. enscript - I finally started to write some code for GNU Enscript. Recently I fixed the build system so that it didn't fail `make distcheck', for the first time in over a decade. Win. I'm trying to work towards a maintenance release, rather like the new maintainer of a2ps has done. gnu-standards - the GNU maintainers' information document was under a license that didn't allow modifications, so it had to be packaged in Debian's non-free section. I asked about it, and it got relicensed. So now I'm trying to get the Debian package updated and moved back into `main'. postgresql-autodoc - this was a random package I picked up, adopted, and got uploaded sometime in December. I haven't heard any complaints yet, but then my fixes were mostly for typos. ...

February 2, 2008 · Tim Retout

Stale config files and upgrades

I've had two cases recently where an old configuration file has been causing problems, and there's no clean upgrade strategy. My wireless card was made by Broadcom, and I use the newer b43 driver in Linux. However, the new mac80211 drivers introduce a second network interface (used internally by mac80211) but with the same MAC address as the normal interface. And because it gets created first, udev puts this master interface into the place where the real interface is meant to be, and the real one gets called 'wlan0_rename'. The fix was to look at /etc/udev/rules.d/z25_persistent-net.rules on Debian, and either add 'ATTRS{type}="1"' to the appropriate line, or delete the file, and let it get created on the next boot. ...

January 2, 2008 · Tim Retout

Fitts' law bugs

Firstly, a rant: as of December 2007, a self-righteous idiot named Chris Cunningham thinks he can change the name of "Fitts' law" to "Fitts's law" on wikipedia, in the name of grammar. To boot, he claims to have changed every link to "GNU/Linux" to point to "Linux", probably without regard to the difference in meaning. I am not happy. Fortunately, a recent attempt to become an admin was unsuccessful. Anyway. I noticed recently in Epiphany that I couldn't hit the scrollbar by slamming the mouse to the right edge of the screen. It turns out there are two bugs stopping me doing this, one less subtle than the other. ...

December 31, 2007 · Tim Retout

Hello from Morpeth

So I'm in Morpeth for Christmas, staying with my mum. Until today there was no internet access here - they had been paying for an ADSL connection since May, but hadn't managed to get the modem to work with the computer. After a trip to the shops for a nice ADSL wireless router, I can now type blog entries from bed. There was an existing computer to get working with the router as well. It looked like it had an ethernet port on the back, so should have been easy. However, it was running Windows 98, and I couldn't see it in the hardware list - no drivers. After a bit of prodding around with a Debian live cd, I realised that the integrated network card was even turned off in the BIOS. After that, I had to fiddle around with downloading drivers on my laptop from 3com's website, transferring them via a USB keyring and the Debian live cd (no built-in USB mass storage support nine years ago) to the HDD, and then brave the install procedure. ...

December 23, 2007 · Tim Retout

Desktop annoyances - getting a prompt

Continuing my search for the subtle things that have annoyed me for years about my desktop usage, I want to think about shell startup times. Application startup times have been done to death, I'm sure - it is one of the more obvious areas to work on when improving a desktop application. Evolution's startup time is still appalling, for instance; I count five seconds before I get a GUI, and many more before I see any email. Still, in the case of my bloated email client, it doesn't matter that much - I generally start it once a day, at 9am, when I need coffee anyway. It then proceeds to hang around in the background. It would certainly be nice for applications in general to start more quickly, but it's not the cause of these subconscious feelings of annoyance that I want to pin down. ...

December 19, 2007 · Tim Retout

Desktop annoyances - network lag

Some things always feel uncomfortable about my desktop usage, even when I change solutions - KDE, GNOME, XFCE, all the way down to evilwm and beyond, to the console. I want to pin these problems down, in order to address them. First I want to focus on network lag. Take email as an example. One of the biggest changes I made to my use of email a few years ago was to store all my email on an IMAP server, so that I can access it from any computer I happen to be using. This has obvious advantages - I have an archive going back years, can do spam filtering and classification in one place, and so on. It does mean performance can suffer, and I'm dependent on a net connection to read my old email. Compare how git changes how you can work with source code, both through its speed and through being able to commit while offline. ...

December 17, 2007 · Tim Retout

Emacs keybindings for GTK text fields

My attempt to learn to use emacs continues. Today's discovery: I can enable emacs-like keybindings in GTK text fields (well, Readline-like) - this includes form fields in Epiphany. I have remapped C-w to backward-kill-word, to be more like Readline. I'm working up to writing some lisp to make common tasks easier... like writing blog entries, perhaps. I'll need to synchronize my .emacs files somehow... but I need to make more of an effort to use emacs over vim at work.

December 7, 2007 · Tim Retout

TAOCP volumes I and II

This evening, my order from amazon.com arrived. It took a few weeks, but the savings with the USD exchange rate were huge. I'm now the proud owner of the first two volumes of The Art of Computer Programming (3rd ed.) by Donald Knuth. First impressions of volume one are that it's quite heavy on the maths; I'm pretty sure the first chapter will go slightly beyond most undergraduate maths courses, mostly because it is focusing on a few key areas. Or perhaps I should have worked harder at university. But anyway, it will be interesting. Also prominent is the 60s-style machine language for an imaginary architecture that has six-bit words... and needs self-modifying code to call subroutines. Great. It's slated to be replaced in the fourth edition, but that could be twenty years away. :)

December 7, 2007 · Tim Retout

Ubuntu for relatives

My mum will shortly receive a laptop with Ubuntu installed (from Dell). She will be the second of my relatives to start using Ubuntu, after my brother - the advantages are the lower initial price, no recurring anti-virus software costs, better interoperability out of the box with cameras and printers, and photo management software for no charge (again, out of the box). I'm really hoping Dell don't mess this up.

December 7, 2007 · Tim Retout

Munin Apache uptime plugin

At work, we have a customer who are having problems with their web server. So many problems, in fact, that I felt the need to write a Munin plugin to graph the uptime of Apache, so that I could tell when it had been restarted. The graphs are as boring as the code, which is entirely stolen from Munin's 'apache_volume' and 'uptime' plugins.

December 4, 2007 · Tim Retout