John Goerzen: Git looks really nice, until....
So I have been learning about Git this weekend. It has some really nice-looking features for sure -- some things Mercurial doesn't have.
I was getting interested in switching, until I found what I consider a big problem.
Many projects that use git require you to submit things using git-format-patch instead of pushing/pulling from you. They don't want your merge history.
git-format-patch, though, doesn't preserve SHA1s, nor does it preserve merges.
Now, say we started from a common base where line 10 of file X said "hi", I locally changed it to "foo", upstream changed it to "bar", and at merge time I decide that we were both wrong and change it to "baz". I don't want to lose the fact that I once had it at "foo", in case it turns out later that really was the right decision.
When we track upstream changes, and submit with git format-patch, the canonical way to merge upstream appears to be:
git fetch; get rebase origin/master
Now, problem with that is it loses your original pre-conflict code on a case like this.
There appears to be no clean way around that whatsoever. I tried a separate "submission" branch, that rebases a local development-with-merge branch, but it requires a ton of git rebase --skip during the rebase process.
Thoughts?
I was getting interested in switching, until I found what I consider a big problem.
Many projects that use git require you to submit things using git-format-patch instead of pushing/pulling from you. They don't want your merge history.
git-format-patch, though, doesn't preserve SHA1s, nor does it preserve merges.
Now, say we started from a common base where line 10 of file X said "hi", I locally changed it to "foo", upstream changed it to "bar", and at merge time I decide that we were both wrong and change it to "baz". I don't want to lose the fact that I once had it at "foo", in case it turns out later that really was the right decision.
When we track upstream changes, and submit with git format-patch, the canonical way to merge upstream appears to be:
git fetch; get rebase origin/master
Now, problem with that is it loses your original pre-conflict code on a case like this.
There appears to be no clean way around that whatsoever. I tried a separate "submission" branch, that rebases a local development-with-merge branch, but it requires a ton of git rebase --skip during the rebase process.
Thoughts?
So, I have finally moved my blog to MovableType from Wordpress and a couple of interesting things have happened:
I held a talk this morning about the Belgian electronic ID card in
Debian (and derivates, like Ubuntu). Things were a bit tight there for a
moment, because I overslept; but eventually, we did make it in time.
The talk didn't go perfect. Because I overslept, I didn't have enough
time to test; because I didn't test enough, I found out that the
smartcard didn't work on the demo machine. Darn; it's pretty silly to
hold a talk about how easy it is to use the electronic ID card on
Debian, only to find out that I, myself, am unable to use it. Grmbl.
Anyway, the talk worked out okay. Despite the early hour, a decent
amount of people showed up—including Fabian Arrotin, who held a
talk about a similar topic in the CentOS room 
While performing some research on
Jeremy Visser writes about the
I'm wondering...
1. After several years of it sitting on my shelf, I finally read Kernighan and Pike's "The Practice of Programming". I was always a little intimidated by this slender little book. I felt like it was full of wisdom that I couldn't really absorb at the right pace. Now that I've spent some time working on more challenging code and trying to come to grips with at the least the basics of more advanced computing concepts it was the right time to read it. I can't recommend it highly enough, it really is packed with wisdom. I've got Kernighan's "Software Tools" on the way, and I'll post a proper review of this at some point since it's not as well known.
For various reasons, I usually carry an USB stick with me that holds a single ext2fs and has grub installed. This blog
entry quickly documents how to copy a Debian-Installer to it to be able to quickly install Debian without the need to
burn a CD.
I had tried this stunt last year already, but without success. I don’t know whether Debian Installer was not able
to boot from an USB stick back then or if I was just too stupid to do things right. This procedure was done with
today’s d-i daily image, so I guess that it will work this way in the future.
I’d like the USB stick to be useable for other things even if d-i is available on it as well. So I would have
liked d-i to be confined to a single subdirectory, which is possible with today’s code.
The Installation Manual is rather verbose about booting from USB stick. The only challenge is to find the Kernel and
the initrd files that are needed to actually boot. The exact path to these two files is not in the manual, but the nice
people on #debian-boot confirmed that


Being able to compare images can be really useful sometimes; I found it extremely helpful when I wanted to know what changed between two releases of the same font.
We can now apply the previous tip to something more useful; let's say we want to know how the glyphs in a font changed from a release to another.
In case of newly introduced glyphs you get the following:
After a failed attempt to fix Penny s car speakers taking
apart the interior of a Ford is way harder than it should be, and
of course we came out of the quest with the obligatory screw which
wouldn t fit anywhere I bought a pair of portable speakers. The

This weekend, like past years, I'm off to the