>Quick Question

>Right now I’m building a dll file on Windows using the following make file:

all: sum.dll

sum.o: sum.c
gcc -c sum.c

sum.dll: sum.o
gcc -shared -o sum.dll sum.o

To build a so file on Unix I have to change the first and last lines to read sum.so instead of sum.dll. The same thing applies on OS X, but there I want to build sum.dylib. Does anyone know if there is a little flag or such that I can use to let GCC add the right file extension to the resulting file without having to play around with environment variables and such?

>Time for Qt-ness

>As of today I will spend all my working time on my book on Qt and other Qt projects until February. Hopefully this will mean a boost in productivity – I just want to avoid working myself to death :-)

>Two Weeks to Christmas

>Now it is just two weeks left until Christmas. Three weeks until the new year. The current state is that I have bought one Christmas gift – lots to go – and that my wife’s birthday is on the last day of the year. This means getting at least one more gift.

I also have to complete two more chapters for my book project – and complete my current customer project. I’m helping an automotive company some 70 kilometres from Gothenburg with their test management system.

Now, I’m not the one in the biggest rush – not by far. King Bore has not even got started. It is still between five and ten centigrades above freezing and no snow in sight.

I’m dreaming of a white Christmas…

>Python can be Qt – and KDE as well.

>In a comment David recently asked me if I had any reading tips on KDE, Qt and Python. I must start by saying that I have done little more than Hello World(TM) using PyQt.

Anyway, David, I would recommend you to start by visit Riverbank Computing – they have sections on both PyQt and PyKDE. They also manage the Python bindings for Qt. Then there is Boudewijn Rempt‘s book on PyQt GUI Programming with Python Using the Qt Toolkit – a book that I have been meaning to read for years. Finally there are two wiki resources #1 and #2.

>More Entertainment

>The next F1 season will kick of March 18 in Melbourne. Until then, do enjoy the lovely track of Pau (too short for F1 races – which is sad). Back in 1998 Montoya created history by lapping everyone. You can see it all in this two part YouTube playlist. When writing about Montoya I just cannot forget the fastest F1 lap ever. Just listen for the down shifts and how nice the car handles when pressed through variante Ascari. Just beautiful!

>A little poem that makes me smile for all of you.

This Be the Verse

They fuck you up, your mom and dad.
They may not mean to, but they do.
They fill you with the faults they had
And add some extra, just for you.

But they were fucked up in their turn
By fools in old-style hats and coats,
Who half the time were soppy-stern
And half at one another’s throats.

Man hands on misery to man.
It deepens like a coastal shelf.
Get out as early as you can.
And don’t have any kids yourself.

-Philip Larkin

>What – No Gadgets?!

>I just went and saw the new Bond movie Casino Royale. As an engineer and computer geek I really must say that I missed the gadgets – only some medical surveilance tech and a few bugs and trackers. No special seats in the car, not a single stinger missile and just a lot of far too long poker and fighting scenes. The only good thing about it was the classic 007 intro – it had a nice retro feel to it.

>Benefits of Italy

>As Ariya posts his recipies I just thought I’d share the easiest I know. First, boil some high quality pasta.

Then gently fry some garlic in oil, mix with the pasta and serve with undecent amounts of lovely homemade oliv oil (thanks Renso).


Top with some cheese and enjoy.

It was real fun getting the oil home since I had to check in all fluids. Lots of wrapping and fingers crossed it made it all the way.