More about Bzrweb and some about Git

- 2 mins read
OK, I admit it. I cannot decide what version control system (VCS) to use. I’m stuck between the speed and massive snow ball effect of Git and the ease of use and emotional attachment I have to Bazaar. I’ve been “maintaining” bzrweb for a while now, not doing a very good job of it though. It’s lagging behind considerably to the bzr API. After the upgrade of vmlinux.org to the latest Ubuntu server release bzrweb actually didn’t work at all.

Howto Setup and Run Xen

- 3 mins read
This is an extremly brief and quick Xen tutorial. There are lots of them already, see your GNU/Linux distribution’s wiki, HowtoForge or other places for a starter guide. This particular HowTo deals with setting up Xen as easy as possible using Ubuntu 8.04 LTS as host operating system (dom0 in Xen terms) and Ubuntu 9.04 as guest operating systems (domU in Xen lingo). Ubuntu 8.04 LTS comes with a Xen kernel that can run as dom0.

Learning About GIT

- 2 mins read
It has been a long time coming, but now I’m seriously starting to look at Git. Git is the content tracker used by the Linux kernel folks, initially developed by Torvalds. At Westermo R&D we use Subversion for our daily operations and today I started migrating the software to Git. Mainly just to get a comparison of performance, storage size and to explore how we can use Git on top of svn to become more productive when working in parallel in different teams.

Brief libev update

- 1 min read
I have now updated the libev examples. It took me a while, but during that time I have been hard at work converting two of our network daemons to use libev. As of today the upcoming Westermo WeOS uses libev in both its rstpd and igmpd implementations. Updated example code: timer test message queue test Enjoy, and feel free to [contact me][6] if you have any questions or comments on the code.

The Marvellous libev

- 3 mins read
A very good friend mine recently told me about a neat event library, libev. Usually when he drops me links like that it takes me a couple of years to react and finally adopt. This time it only took me about a month. He has actually showed me lots of very useful stuff throughout the years, and even though we used GNU/Linux at university, he was one those hard core people who showed me the path into a successful full-time career as a Linux developer.

Why I Like C

- 1 min read
I thought I was alone, but it turns out I’m not. Scott James Remnant describes exactly what I’ve been feeling the last couple of years. Read his blog entry on the subject. I couldn’t agree more.

Link Collection 2009-02-28

- 1 min read
This makes it possible to debug why a disk needs to spin up, and to increase battery life even more. Dislike NetworkManager? Try wicd … Minimalistic distro Crush Bang Linux 8.10 Ah, what every FLOSS dad is looking for, a way to make your kids interested in your world instead of the dark side, and what is better than to trick them into it with a cool Linux game? Read Uwe Hermann’s blog about Teeworlds, or visit the home page.

Reminder to Self

- 1 min read
How to recode AVI-files to be able to write them to a Video CD. ffmpeg -i original.avi -target pal-vcd copy.mpg vcdimager -t vcd1 -l "Title" -c vcd.cue -b vcd.bin copy.mpg cdrdao write --device /dev/cdrw vcd.cue Note: vcdimager is able to take multiple .mpg files as argument, very useful when burning multiple family videos to the same disc! Tip from Johan Risberg on how to be able to reattach a UTF-8 Linux screen session from Cygwin.

Netork Programming -- Link Collection

- 1 min read
This is a first effort at collecting information about network programming structs and APIs available in UNIX. I plan on updating this as I find more. Linux Journal: Linux Network Programming, Part I, II, III. Linux Journal: Multicast Routing Code in the Linux Kernel Linux Journal: Inside the Linux Packet Filter, Part I, II /usr/include/netinet/in.h There are of course, in addition to these fine sources, the entire catalogue of work by Richard M.

Minix editline v0.3.0

- 1 min read
It’s here! Fresh, new and packed with new features! Well, really just one new major feature — support for ANSI arrow keys. A good enough reason to bump the minor version number :-) Get it from the usual FTP location: http://ftp.vmlinux.org/pub/People/jocke/minix-editline/