Archive for November, 2007

Ubuntu on toshiba satellite s2670

X does ‘weird’ things on this machine (trident chip), looks like a moire effect so I assume sync issues. Being an X noob, I can’t figure out how to fix this,  following hints found on the web (mostly involving modelines) didn’t work either. Is there anyone out there who reads this and can give me [...]

Read the rest of this entry »

Traincoding: Permutations in python

To my shock, I didn’t find a way to enumerate all permutations of a set of items in any reasonably standard python module. (aka installed when I found out on the train). Of course this has been implemented many times before but I’m sharing it anyway :)
A set of n items has n! permutations. [...]

Read the rest of this entry »

Traincoding part one: per-thread global variables

Update: keybuk points out that this is pretty useless and that you should read documentation instead.
Every day, I travel about 80 minutes to work and 80 minutes back, by public transport. This is rather boring but fortunately I usually have my laptop with me, so I can do some work or experiments. Last week I [...]

Read the rest of this entry »