Eclipse + CDT + MinGW + XP x64

I’ve previously complained about the lack of decent free IDEs for developing C++, and since it’s been a while, I gave Eclipse another shot. The good news: CDT 4 no longer crashes every 5 minutes, it has much better project structure, and I think I can work with this. The bad news: It took ages to get everything up and running with MinGW.

The following is an attempt to remember what the problems were.
Continue reading

Algorithms

Flashback to my time at university. The Sedgewick was the most popular algorithms book among students, being both cheaper and translated to German. Myself, I was using the CLRS Introduction to Algoritms.

This book was found when we were rummaging through stuff that was going to be thrown away at work, and I couldn’t let that happen. I could have used it last week when I was implementing patricia tries. Why is there no good C implementation of them on the ‘net? Anyhow, the question of how to delete an element from a patricia trie isn’t addressed in Sedgewick, so it wouldn’t have helped. I found out, so it wasn’t important, but still, you look up one thing in a classic like this and it’s not in there? How sad.

Study: 95% of all e-mail sent in 2007 was Spam

CNET reports,

There was a time – 2004 to be precise – when spam “only” consumed 70 percent of all e-mail. Those were the good old days. Today, as Barracuda Networks’ annual spam report shows, upwards of 95 percent of all e-mail is spam.

Personally I think those numbers are skewed. Barracuda is a professional provider of spam blocking, and their customers are businesses that can afford to install a dedicated machine for spam filtering. We had one at Funcom. Me on the other hand, I don’t have one of those. And at least judging from myself, I’m less likely to enter my home email address into a form than my work email.

Still, 95% is insane. Spam processing is probably the major part of what my server is doing. About 2-3 of them every day make it through my SpamAssassin and end up getting filtered by the Thunderbird rules or myself. Some years ago I set up an automated process that takes the Junk folder on my IMAP server and teaches it to SpamAssassin so that it learns from the mistakes it made, so I’m staying ahead of the deluge.

Could everybody please stop buying from these people so they give up?

read more | digg story

Stranger in a Strange Land: Smoking

I knew that going back to Germany would be a culture shock. It’s a bit like going to a foreign country. In a way, it’s stranger than that. Because at some point I must have accepted all this as normal.

Cigarette vending machines, for example. I don’t think other countries have these anymore. And why would you put them next to a bubblegum vending machine?

vending machines

Continue reading

Shanghai: Food

So how was Shanghai, Enno?

It was fun. I can’t believe how little of it I saw though – we worked almost the entire week, and I pretty much only had Saturday to explore. Luckily, I had a very nice guide. Line showed me the back streets and the touristy places alike.

Line, my Norwegian Guide to China

So why did I enjoy the trip so much, when my colleagues mostly didn’t? Well, I admit the heat and humidity were pretty bad – 35 degrees and 80-90% humidity take some getting used to. But I’m a sucker for exotic food. Anything I can’t get at home I’ll try, and even set my vegetarianism aside for it.
Continue reading