Archive for the ‘Personal’ Category.

I’m moving…

So, the day has finally come. In a couple of hours my bed will be dismantled and my computer will be shut down. I’m about to start at DAIMI at Aarhus University so I have to move from Aalborg.

I’ll be staying with my Grandma until I can find a place for myself. This means that I’ve had to buy a 56K modem which is about 17 times slower than the nice broadband Internet access I’ve enjoyed through StofaNet. And let me tell you — it’s terrible slow :-( So if I don’t answer your emails right away, it’s probably because I haven’t got it yet. I guess I’ll only fetch my mail once or twice a day from now on.

I’ll let you know how it goes…

Switching to the Z shell

The Z Shell

I’ve recently switched to Zsh from BASH. I switched after Cookie had demonstrated it for me — I immediately saw one great feature: Zsh can handle a prompt on the right-hand side of the screen. The prompt is managed intelligently by Zsh, so that it temporarily removed if it gets in the way. I use my right prompt to show the current working-directory. When I’m working in a deeply-nested directory, this string can get quite long and take up much of the line-width. Before using Zsh, I also had my working-directory on the right of the line. But this was done by an ugly hack, as BASH doesn’t support such a prompt. The result was that my display would become garbled if I overwrote some of the right prompt. It was a mess!

The switch was done without any problems. I had to move the contents of my ~/.bash* files into the corresponding ~/.zsh* files — no problem. But I’ve also gone a step further and I’m now using the powerful completion-features of Zsh. I’ve added these two lines to my ~/.zshrc:

autoload -U compinit compinit

This initializes the completion-code which makes Zsh much more intelligent. Instead of always suggesting all files in the current directory, I’ll now only see directories after cd, manual-pages after man, compressed files after gunzip, and so on. It also knows about the valid options for a lot of programs like cvs, dvips, etc. All this only slows things down a little bit, thanks to Zshs ability to load the code automatically when needed. So it’s only when I try to complete an option to cvs that Zsh actually loads the necessary code.

So — Zsh is a great shell. Compared to other shells (well, compared to BASH) I think it’s much more advanced. I always thought that man bash was big, but that’s only until you try man zsh. That tells you that the manual has been split out into 11 different sections because of the many features :-) And each of these sections is rather big by itself…

My Mom and Dads 20 Years Anniversary

Yesterday we had dinner out, to celebrate that it’s now 20 years ago my Mom and Dad got married! Well, it’s actually 20 years and one week ago, but we were in Hungary last week… We went to a place called A Hereford Beefstouw. They have the best steaks I’ve ever tasted — they’re large (you can choose between 140 g, 200 g, and 300 g) and comes with baked potatoes. It’s also a bit expensive, but it’s worth it.

Movies about War

Pearl Harbor I went to see Pearl Harbor the other day. It was a good film, but it was more about love than about war. There’s nothing wrong with than — I had just been expecting a little more about the war. Instead of being a movie primarily about the attack of the Japanese on Pearl Harbor, it was a film about a romance that happened to take place at that time, December 1941.

The scenes with the Japanese attack on Pearl Harbor are great. There’s some nice flying action in the film. It’s just a shame that they’ve made so many mistakes in the film. Take a look at this page to see a list of the embarrassing mistakes.

But despite the errors in the film, it’s still a good film. It was long — about three hours, and it covers a lot of ground, starting with the Battle of Britain, moving on to the Japanese attack, and ending with the Doolittle Raid. If you don’t like these American movies about their heroic soldiers, then don’t bother seeing this movie. And, by the way, all the girls in the theater was weeping at the end of the movie — I’ve never seen that before…

Thirteen Days Another film I’ve seen recently is Thirteen Days. I bought in on DVD yesterday. The film describes the Cuban Missile Crises in 1962 where the world was on the brink of a nuclear war. This film is about the crisis, and is not a love-story. The film shows how the Kennedy brothers were under a great press from the military to issue the orders for an airstrike against the missiles in Cuba. In the film we follow Kenny O’Donnell (Kevin Costner) who was one of JFK’s most trusted advisors. That gives us an in-side view of the conflict.

As we’re only allowed to see what the Kennedy brothers saw, the crisis is gradually built up until we reach the climax where the Americans decide to trust the back-channel contact that have approached them.

I likes the film a lot, perhaps because we’ve been studying the crisis in our History class. By seeing it on film it suddenly comes alive in a new way. And it’s also a much more correct film than Pearl Harbor, just take a look here to see for yourself. As I’ve bought it on DVD I had a chance to hear the producers talk about the film. They said that many of the cars, the photographs, etc used in the film is in fact the original objects. That’s pretty impressive.

The Hungarian trip

I’ve just posted some news I wrote on my trip to Hungary. But here’s a little more about the trip.

We we’re lucky that the weather was good. The first two days or so it rained a lot (in fact it was just like in Denmark :-) but then the sun started shining. So the temperature rose to above 30 °C (86 °F) and the water also got warmer. But the temperature also made it somewhat unpleasant to walk around in the cities in the middle of the day.

Perhaps it’s part of this kind of holiday, but I quickly got fed up with driving for two hours to see some sight and then drive back again two hours later. We spend a lot of time on the Hungarian roads — too much I think. I would rather that we had lived right in the middle of Budapest, so that we could have concentrated on that. There must be some sights there.

We lived in a small town called Sukoró by Lake Velence. We went into the nearest large city, Sz�kesfeh�rvár (it took us about three days before we could pronounce it :-) a couple of times. We also tried to drive into Budapest, but was lucky to escape a huge traffic jam. We tried again on a Sunday and looked at some of the sights along the Duna.

But now we’re home again — that’s the best part of every trip: the return to home :-)