Skip to content

Index

C++ base 10 to base 26

Last februari/march, I've been working again on an old obsession from ten years ago (when I was eighteen): to write a Minesweeper program that could solve very big maps as well or better than the best human player. At the time I did this because I thought that this was actually a million dollar challenge from the Clay Mathematics Institute. Now, I understand that the problem I solved at the time was not actually what was required, but still, once upon a time (such as early this year), I like to revisit the old problem and try to redo my old segfault generator as something that benefits from the fact that I'm now working with 10 years of programming experience instead of 1. Read More »

Zimbra has no shutdown init script on Debian and Ubuntu

There is a K01zimbra in rc6.d for reboot, but not in rc0.d. See this bug report I made. Read More »

Zimbra dependancy on ‘file’

Zimbra has a dependancy on 'file', which the installer file won't check for. It is also a WONTFIX bug, so beware: install file(1)! If you don't, mails get stuck in queue because amavisd won't run.

Read More »

Some links to read for getting into Atmel processors

A sort of bookmark: Dragonhide and absolute beginners guide.

Read More »

Getting electronic parts cheaply

A sort of bookmark: Futurlec and digikey.

Read More »

Find all manually installed packages on a Debian system

This should find all manually installed packages on a Debian system:

aptitude search '~i!~E' | grep -v "i A" | cut -d " " -f 4 Read More »

Enabling quota on a journalled ext3 file system on Debian

Source. And a source for non-journalled quotas. Read More »

Xen console name on different kernel versions

I've just been struggling to get a xen console working for Ubuntu 8.04 (hardy). By default, xen-create-image uses hvc0, but that's only since kernel 2.6.26 (don't know if that's only pv_ops or xen-patched). Hardy uses 2.6.24 and therefore it's xvc0. The xen-create-image command or xen-tools.conf config file therefore need a parameter serial_device=xvc0.

Read More »

Seek time benchmark for linux

This site provided a nice short c program to measure seek times. I would attach the file in case that site goes down, but this blog still has upload errors...

Read More »

Creating iSCSI target and initiator on Debian

This post is even more of a memory aid than normal; it's really only useful to me. Source. I assume Ubuntu is similar. Read More »