Computer Controller Beer Fermentation

I’ve spent this and the last weekend soldering together a bunch of circuitry that I can use to control my beer brewing process. I have built three calibrateable temperature sensors and two circuits to drive two different relays. There will then be connected to an Arduino that will be the brains. The temerature sensors will [...]

Capturing SIGINT in multithreaded python

Multithreaded Python scripts doesn’t always respond to signals. This is because it is not defined which thread will receive the signal. Also, it seems that if a thread is sleeping the signal might be interrupted altogether. The sympton of this that I saw the most often was that the script deadlocked and had to be [...]

Ph.D topic

There’s been a lot of questions what it is I am going now, and I’ve decided to try to write a bit about it. The official title of my work is “Using machine learning to detect events in traffic flows”. What this actually means is a bit more complex A traffic flow is basically the [...]

System freezes in Ubuntu 7.10

I installed Ubuntu 7.10 on my stationary machine in an attempt to get it into a more working state, and I was very unhappy with the 7.10 version. The system kept freezing completely and not even the system recall key combos worked. After experimenting a bit I noticed that it happened whenever the machine was [...]

iSync plugin for the Sony Ericsson w910i

UPDATE: See this page for the latest version. I got my new cellphone yesterday and everything was bliss. I was happy. Everything was just great. I was impressed by the nice feel of it, the responsive interface and the form factor. Today, I wanted to transfer the contacts from laptop to the new phone and [...]

The programmers bill of rights

Amusing, but oh so true. Coding Horror: The Programmer’s Bill of Rights

Running java 5.0 code on java 1.4

Today I had one realization. The customer is running OS X 10.3, and apple doesn’t officially support java 5.0 for anything else than OS X 10.4. I remembered having read that it is possible to do cross-compiling with javac. However, the cross compiling just means that you can link against the class files from one [...]

How To Force Eject a CD or DVD on a Mac

If you ever end up with a CD or DVD stuck in your Mac, and you can’t do a mechanical force eject because you don’t actually have a hole in which to poke your cdrom-drive through, you are still not without hope. The trick is to do a cold start with the computer (shut it [...]

expressions survey

Google Earth

This is both a program and a service driven by google. At the moment, it’s only really spectacular in the US, but it still rocks for the rest of the world. It is more or less a virtual and interactive globe, like the ones they have in schools. The difference is that you can zoom [...]