This is mainly some notes for myself so I don’t forget. Having worked with GNU Bazaar before much of Git is still alien to me.
This HowTo is divided into two parts:
what happens on your laptop, and what you must do on a remote server where you publish your changes So, let’s start stimple:
laptop> mkdir projectX; cd projectX laptop> git init laptop> emacs file1.txt laptop> git add file1.txt laptop> git commit -m "Initial commit" Thus far no suprises, right?
I just published the unobfuscated version of the 1989 IOCCC Best Game entry, Tetris™. See the original author’s, John Tromp, home page for the game for details. But suffice it to say, this is an extremely bare bones version of the classic game and very similar to the BSD games’ version.
Actually, this similarity in board layout, key combinations and feel led me to do some archaeological digging. I dowloaded the classic BSD games collection and, after having called GNU Indent on the obfuscated code, I started noticing such extreme similarities that just could not be coincidental.
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.
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.
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.
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.
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.
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.
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.
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.