Some brainlessness in rsnapshot

I love rsnapshot, for the most part. It’s one of the most efficient and straightforward incremental backup solutions I’ve ever used — much more reliable than some of the commercial solutions I’ve tried. It leverages the power of GNU cp, your filesystem, rsync and others and smashes them all together into a big happy chunk of reliability.

However, it must contain some idiocy, and I guess it’s somewhere in parse_config_file. I just set up another server, the same way I usually do, but it needed a slightly different rsnapshot.conf. So I edited the one that was there and known to work because it automatically comes off my server images. Afterwards I wanted to do a test run of each of the backup intervals, because that’s what you do. But rsnapshot didn’t agree. It didn’t disagree either. It didn’t do *anything*.

The next step was to increase its logging verbosity and look for hints in syslog. Interesting: It seems to read its config file successfully and it even writes a pid file. Next, it checks for stale backup directories it might have to rotate. That means it parsed its config file and is happy, no? No! The thing wouldn’t copy anything into the backup. Not a single file!

As a last resort, I straced one of those test runs but forgot to include the tracing of child processes. That probably would have given me more of a clue — the way it was, it just added to my confusion.

In the end I decided to unpack a fresh, distribution-approved config file from /usr/share/doc/rsnapshot/examples and to make the required changes by hand. At that point, I scrolled back through my bash history to relaunch the test runs, but with my other hand I was already preparing to submit a bug report, when… It worked! The thing performed all the backups reliably, packed up and went to sleep until cron wakes it tomorrow.

There must have been **some** character **some**where in my config file that deeply confused rsnapshot, confused it so much that it claimed the config file syntax was OK but silently refused to work.

Perhaps config file parsing in rsnapshot has to be rethought. The way I see it, this is sad indeed. It’s the least reliable bit in an otherwise very reliable package, but it’s always the weakest link that breaks the chain, and other assorted age-worn sayings.

TurboGears: Web development done right

gearRuby on Rails is still the Hot Thing of the Moment for at least 68.4% of web developers, according to my highly scientific poll which involved asking no one at all. But while Dave Heinemeier Hansson was busy basking in his (entirely deserved) glory, other easy web development frameworks have come sneaking up from behind. “Yeah, those metoo projects,” you might say, “they try to mimic RoR in PHP and COBOL! Fools! They don’t realize that the Ruby bit is essential!” And you’d be making a good point. That’s why I chose a project with a different philosophy into whose direction you may kindly orient your nose now.

TurboGears is as fresh as a breath mint after a week-long diet of anchovies in garlic oil!

Continue reading “TurboGears: Web development done right”

Impressions from Malawi

Madonna’s adoption scandal may have catapulted Malawi into international headlines, but for my friends Alex Antener, Nathalie Bissig and me, the country has had some significance long before US pop stars have started buying children out of it.

nathalies malawi picture

Alex is currently on his second visit there and Nathalie is joining him on her first. That means that I’m still stuck in Switzerland ­čÖé

I’m trying to support Alex’ new project in Malawi, “Exterminate All the Brutes”, from here. So as you can guess, these impressions are not my own, they are photographs and drawings made by Nathalie Bissig in Malawi, who is in charge of documenting Alex’ work as well as doing work of her own. Nathalie has posted a blog entry with some more information and a link to the photo album of her sketchbook. The images are free content, released under the Creative Commons ShareAlike 2.5 license.

malawi picture 2

I just wanted to tickle your curiosity for these wonderful images. I will probably write about the software libre aspects of all this at a later date, or in the blog at Over there, I’ve already talked about thin client setups with Edubuntu that the students of The Polytechnic will subsequently be working with.

Forgotten Games: Trace Memory (aka: Another Code) (NDS)

another code box shotAnother Code: Two Memories (known as Trace Memory in the US) is a lightweight little adventure game for the Nintendo DS that should be hitting bargain bins soon. Why am I mentioning bargain bins? Because there is one key weakness that you’ll read about in reviews everywhere: The game is short.

But if you pick this game up at a bargain price, you can treat yourself to one of the more ingenious adventure titles to appear in the last few years, one that’s only possible on the DS. And that’s not marketing talk there.

You’ll be guiding 14 year old Ashley around a pretty desolate island. How do teenage girlies with white manga hair end up being stranded on an island? Ashley has received a mysterious package from her dad. Who she thought had been dead all these years. The package contained a relabeled Nintendo DS with a fingerprint reader. Once examined, it lured her and her aunt onto a forlorn little island that seems to have ghosts on it, and a past as tragic as Ashely’s own. You get to uncover her past, that of the island’s inhabitants and that of her father.

What’s charming, and a relief, is that Ashley deals with these circumstances in a more or less mature, coming-of-age story-like manner. Of course you’ll read sentences that seem like “WHAT!!! OMG WHY MY DAD DO THSI TO ME WTF!!!11” from time to time, but all in all the dialog is mature enough not to bore an adult to death. This is refreshing — look at Children of Mana or Dragon Quest Heroes: Rocket Slime. That’s kiddy dialog right there, and it annoys the hair off my scalp.

Ashley’s very beautifully drawn, in a slightly blurred and softly shaded style that’s not so typical of the mainstream anime I know. Her animations, while only intermittent, are smooth and rather natural. No V-for-victory signs and little arcs for smiley-eyes here, just a normal lanky teenager. With white hair. Grah, so they did have to sneak an anime clich├ę in there. Look at the box shot for an example, she’s drawn the same way in the game itself. Again, a nice and courageous change from the primary-colored Dead or Alive softporn girls with small noses and humongous breasts that the market cherishes so.

Unfortunately, the style of the 2D art doesn’t seem to extend to the 3D one. On the lower screen, you see the scene in polygonal 3D from a top-down view, where you can move Ashley around with the D-pad or stylus. On the upper screen there is static imagery or the scarcely-animated 2D portraits of people you talk to, and of Ashley herself. While the 2D style is convincing, the still 3D renders of the places you can look at seem like something out of a beginner’s tutorial in 3D modeling. Using POVray. With scenes written by hand, in a text editor. Think “Myst” and you’ll be thinking of prettier vistas still. This is further confused by the polygonal 3D style on the overhead map. It’s not horrible to look at, but it adds yet another style! So we’re dealing with three different graphical styles clashing together in one game. On the other hand, the still images get their job done very well, and Ashley is simply charming. So there.

I’m being all negative here, but that’s actually opposite to the purpose of this posting. What I’m trying to say is that this game, despite it’s shortcomings of, err, being short and utilizing three contrasting graphical styles, is very, very enjoyable. Not only is it a new commercial-grade adventure game, something that is rare in its own right, but it also brings a few innovations to the table, in an era where innovation is often equaled to monetary loss for publishers and when no one wants to take the risk of being the innovator anymore.

I’m talking about a few of the puzzles. You’ll be facing puzzles that involve using your very own Nintendo DS, physically, in completely new ways. And they don’t involve any stylus scribbling or mic blowing at all! I’ll let you find those on your own though, because it’s a very rewarding and surprising experience that makes your heart smile and your mind believe in the vitality of the adventure genre again. On the other hand, you won’t find any brain-wrecking exercises like in, say, an Infocom text adventure. That’s why I said lightweight: You’ll see through most of the puzzles in a few minutes to an hour, casually. If you’re looking for a true brain-teaser, you’ll have to look elsewhere.

To sum it up: The short lifespan of this game would make it disappointing at full price, but if you have any sort of sympathy for the adventure genre, you owe it to yourself to try finding this at either a bargain price or used.

English-speakers should buy Gothic 1 now

If you understand German, you’ve probably heard very good things about [Piranha Bytes’]( Gothic series. If you don’t understand German, you’ve probably heard very bad things. I won’t go into the reasons, but there were a few problems with Gothic’s English-language release. First it was delayed, then no release date was in sight at all, the publisher was barely saved from bankruptcy and then I heard of quality issues with the translation and voiceover.

Now that Gothic 3 is fresh off the press (simultaneously in German and English this time!), it would be nice for English speakers to be able to go back to the series’ roots. With the low sales of the original release, you’d be lucky to still find a copy, but now *Piranha Bytes are re-releasing the English version*! Joy for all!

I have never in my life found a more enjoyable roleplaying game. The surroundings are a beauty to look at, the characters are well thought out and every named NPC truly has a life and mood of their own. And there are a lot, I think I’ve encountered several dozen named NPCs in Gothic 1 alone, and this tradition was continued in Gothic 2. Gothic is not for number freaks, as there aren’t many stats and the character development between the different character classes is not 100% balanced. But if you like a well thought-out story, solid characters and beautiful surroundings, you can’t go wrong with Gothic.

The only complaint constantly lobbed at the Gothic series is that the controls are weird. Yes, weird they may be, but get your act together! If you have a single drop of true gamer blood in you, you will soak up the controls in less than half an hour, up to the point where you don’t even notice that they’re weird. They are very well designed to accomplish what they are there to accomplish: Allow controlling a complex game with only two action buttons and one to call up the inventory screen. Think about it while you play: You can control the *entire* game without ever having to move your left hand from the base WASD position or your right hand from the mouse.

So please, do yourself a favor. Plunk down whatever they charge for the budget-price re-release and drop into the world of Gothic. You won’t emerge again for a month, and you’ll be grinning on your way out.

You can [download the English Gothic 1 demo]( to see if you can live with the controls. If you can, you won’t regret buying this game.

Also, there’s Freddy’s texture patch which makes Gothic 1 look almost as good as Gothic 2 by replacing nearly all of the game’s textures. You can look at a few screenshots in [my gallery](

PS: Another side effect of its age is that the thing even runs on older PCs. Straddle that GeForce 2!

Buy Windows Vista, give your soul to Microsoft

Or you might as well.

The Windows Vista license agreement includes many completely ludicrous points, as [Wendy Seltzer points out]( Not only will the operating system phone home to Microsoft regularly, Microsoft also wants to stop you from listening to music, prevent you from trying to find out what’s wrong with your computer and make it impossible to upgrade your machine too often.

[I]( [really]( [urge]( [you]( [to]( [try]( [Free]( [operating]( [systems](

It’s not like there aren’t any.

Via [BoingBoing](

A very, very brief History of Personal Computing

The history of personal computing is full of reused ideas. Let’s see:

* Researchers fiddle with the first [GUI](, the mouse, [Ethernet networking]( and the precursors to all other modern elements of personal computing at Xerox’ [Palo Alto Research Center]( (PARC).
* Xerox PARC introduces [Alto](, [Star](
* Apple steals GUI idea and mouse from Xerox, introduces [Lisa](
* MIT steals GUI idea and mouse from Xerox, introduces [X Window System]( (It’s still not called X-Windows!)
* Richard Stallman announces [GNU](
* The Internet is born (but barely anyone knows).
* Apple introduces Macintosh, also with GUI and mouse, but much cheaper than Lisa and more successful.
* Microsoft steals GUI ideas and mouse from Apple and Xerox, introduces Windows.
* After two unsuccessful versions, Windows 3 is finally a success, largely because Microsoft’s marketing had succeeded to convince PC makers to preinstall it on their computers and thereby not giving consumers much choice in what operating system they want in the first place.
* Microsoft deliberately introduces errors into MS-DOS so that Windows would not run properly on competitors’ editions of DOS in order to reclaim lost market share and stifle competition.
* Apple cheerfully introduces new versions of Mac OS, each with some innovations in user interface design.
* Linux Torvalds releases Linux, a kernel for x86 PCs.
* The GNU project ports their packages onto Linux, forming the GNU/Linux operating system that is known today. The GNU project aims to create a free (as in software libre) UNIX-compatible operating system. Ideas stolen from UNIX? You be the judge!
* Be, Inc. introduces [BeOS](, a very modern operating system for personal computers. It had some features that Microsoft tried but failed to implement in their own operating systems even a decade later.
* Microsoft steals GUI innovations from Apple, introduces Windows 95.
* The [KDE project]( steals GUI innovations from generally everyone, introduces K Desktop Environment (KDE) running on the X Window System and, specifically, on GNU/Linux.
* The [GNOME]( project joins the merry pillaging, concerned about non-free components of KDE. Introduces GNOME desktop environment running on the X Window System and, specifically, on GNU/Linux.
* Microsoft fears competition from BeOS as Be, Inc. gets a distribution contract with a PC manufacturer. This manufacturer’s PCs would come with BeOS preinstalled for free. Microsoft uses their fiscal leverage to force the manufacturer to make BeOS invisible to users, leaving them with no idea that the system is installed and no way to easily run it. This is probably one of the key reasons that BeOS was not commercially successful and Be, Inc. went bankrupt, even though their product was technologically sound and years ahead of the competition at the time.
* Apple introduces Mac OS X with many innovations, though [not all of them without critics]( Funnily, Mac OS X is UNIXlike enough to also run the X Window System if it wants to.
* Microsoft releases Windows XP, a bastard child of Windows 98/Me and Windows 2000.
* Apple introduces Mac OS X versions 10.4 (Tiger) and 10.5 (Leopard) with some user interface innovations and gadgets.
* Microsoft steals innovations and gadgets from Apple’s Mac OS X, introduces Windows Vista.

As you can see, everybody stole and continues to steal from everybody else. There are very few innovators in between, only the fewest of them consistent in the amount and quality of innovations they produce. Even Apple had bad years, when barely anything changed and they had to struggle just to keep their system from losing key developers like Adobe due mainly to lack of memory protection and bad multitasking in Mac OS 8 and 9.

In other aspects, you can clearly see that some elements we take for granted today were only possible because one company or person copied the other. GNU/Linux would not have happened in this way without the UNIX systems of old. Windows 95 would not have happened without the innovations in Mac OS. All GUI history can be traced back to Xerox PARC, but it would be ludicrous to give Xerox credit for the spring-loaded folders of the Mac OS Finder or the treemap view of Konqueror’s file browsing mode.

What, then, is stealing? Can you steal an idea? How much do you need to add to someone else’s idea to make it your own, and make it an innovation?

What is to think of companies trying to kill the competition’s innovation? I’ve included the Microsoft vs. Be, Inc. example to ask that question, and also the one where Microsoft deliberately broke MS-DOS so the competition couldn’t run Windows properly. These are heavy-handed tactics that have positive outcomes for absolutely no one (except of course Microsoft).

Also, what are the benefits of reusing a concept? Every computer user today knows what a window is, what a scrollbar has to look like and what its function is. Things have evolved so far that even keyboard shortcuts in the same genre of program do the same. Ctrl-D or Command-D are expected to add a bookmark in a browser, for example. These similarities make computer use, and for many of us that means our daily lives, far, far easier.

I think we’d all benefit from more reciprocal stealing.

Boss of Microsoft Germany resigns

As reported by dpa and also posted at [Heise Online]( and [The Raw Story](, J├╝rgen Gallmann has resigned. Gallmann was not only chief executive of MS Germany but also had the position of Vice President EMEA. Apparently, he didn’t agree with tighter control by the Redmond headquarters over MS Germany.

This is the third (I believe?) in a series of shuffles and changes at the top of Microsoft — even Bill Gates has left the company! The announcement out of Germany comes only one day after MS had to [cut Bill Gates’ and Steve Ballmer’s bonuses due to slowing profit growth]( .

I hope this is all a sign that consumers are losing faith in the company as it is right now and that MS’ upper management is panicking around the meeting room like a bunch of scared chickens, trying to catch up to modern times.

Unfortunately, money is the only language Microsoft understands, and perhaps lack thereof and internal struggles will lead to their reconsidering their decisions in relation to the market, slow down with their heavy-handed tactics and become a fair player whose products compete on merit instead of the [sleaziness of their marketing](

One can dream.

Anti-DRM protest in Z├╝rich

I participated in a protest against [Digital Restrictions Management (DRM)]( today in front of the DataQuest Apple Store near Z├╝rich main station.

Georg Greve wrote an [article about the event](, so why should I bore you with my own recapitulation?

All in all, I was amazed how much time people actually spent to listen to us explain the situation, and how many agreed that DRM is a bad idea, and giving it legislative backing through the panicky, overly restrictive copyright laws that are now threatening to come to Europe is even worse.

A lot of fun was had by all!

PS: You just have to check out the [iPod ad inspired artwork]( they have there, as part of the [Defective by Design]( campaign. I think it conveys the DRM idea quite cleary.

*Update: Here are [my pictures]( of the event. CC-licensed, ofcoz!*

Sugar-sweet love letter to the Nintendo DS

It’s a few days old already, but Eurogamer has posted a [love letter to the DS]( that is just too sweet to miss. They’re not just getting all emotional and fanboyant about it, they also provide some reasons *why* they’re getting all emotional and fanboyant. Look at what they say about the incorporation of the physical characteristics of the DS into Another Code’s puzzles, for example.

They talk as if they’d devoured my little gaming soul and now it’s pouring back out of their nostrils, regurgitated as honey-scented liquid gold. That turns the night ablaze.