Easy, persistent, local DNS cache to reduce lookup times

Uncategorized 5 October 2006 | 2 Comments

Important Update! Don’t use this method any more! I have a much easier way to do it in a more recent post. But for posterity… First install resolvconf and pdnsd: sudo apt-get install pdnsd resolvconf. Resolvconf handles the messy interaction between different programs fighting over the /etc/resolv.conf file, and pdnsd provides a persistent DNS daemon, [...]

Tagged in , , , ,

Normalizing your MP3 collection with mp3gain

Uncategorized 20 September 2006 | 13 Comments

Carthik Sharma from Ubuntu Blog suggests the following method to normalize all the MP3 files in your collection: find . -type f -iname '*.mp3' -print0 | xargs -0 mp3gain -r -k Unfortunately, this seems to have problems with very large collections (I suspect that the command line is being filled up), so here’s what I [...]

Tagged in , , ,

Toilets and Thread Synchronization in C#

Uncategorized 16 September 2006 | 0 Comments

It dates from 2003, but this is still the best explanation of thread synchronization using Monitors that I’ve read.

Tagged in , ,

The Ur-Quan Masters on Ubuntu AMD64

Uncategorized 15 September 2006 | 3 Comments

At the moment, The Ur-Quan Masters doesn’t work on AMD64. This is a shame, because I just found it and realised Star Control II was the game that I had played on my friend-down-the-road’s computer so many years ago. Attempting to fix this by forcing the install of the 32-bit version of uqm doesn’t work, [...]

Tagged in , , , ,