Archive for August, 2006

fixing missing post slugs in wordpress

Thursday, August 31st, 2006

If you’ve ever moved from one house to another, you know that it’s not just moving day that is a mess in your new house, it drags on for a while until you get things sorted out. Lots of little details escape attention for days, weeks even. But eventually you track down every last one and after about a month or two, you are 100% in order.

Now you’re probably thinking what the hell does that have to do with the title of this entry?!? Well, just like moving houses, migrating data from one system to the next is similar. And moving from BLOG:CMS to WordPress has not been entirely trivial, so I still spot the odd bug even though it’s been a couple of weeks. One thing I neglected to consider when migrating the blog was missing post slugs. You see, WordPress uses post slugs as a way to label urls more human-friendly. Instead of {blog_url}?p=34 to open post number 34, it allows you to use urls in the form {blog_url}/index.php/year/month/day/blog-entry-title (the part after the last slash is what WordPress calls a post slug) This is nice for people who link to a blog entry, because the latter url makes a lot more sense to a human than the former (which is just a number of a column in a database).

(more…)

Six degrees of separation: nothing like a good play

Wednesday, August 30th, 2006

I haven’t been to that many plays and I could probably enumerate the really good plays I’ve seen on the fingers of one hand. Because even though the theatre is a big thing, a lot of the stuff being played there is very mediocre. But, there are good plays from time to time. The problem is that the form of putting them on is terribly outdated. I mean that whole thing where the actor talks to the audience and “noone can hear him”? Noone is buying that. The theatre doesn’t have the possibilities that movies have.

Which is precisely why taking a good play and making a movie of it can really bring out the bright points of that play. Like in the case of Six degrees of separation. I can imagine what it looks like on stage, which is why I like the movie all the more. The strongest point is that the plot is very good. Without trying to give anything away, the plot is very unclear and unexpected. It doesn’t make you guess what’s coming, you don’t feel compelled to. And there’s no way to know either.

It is a bit of a cliché on rich people living hollow lives and having all kinds of petty problems, but it has enough depth to not make that aspect be anymore than a secondary concern. The story is what drives it forward, and it is complex enough to fill 2 hours without boring you at all. The characters are ‘tasteful’ – vivid enough to be palpable, but subtle enough to not make you get sick of them. (This is something I get in theatres a lot – characters that are so dominating that their depth is exhausted long before the play breaks 30 minutes, and if they are annoying too, well..)

Banlieue 13: poetic senseless violence

Tuesday, August 29th, 2006

banlieue_13_poster.jpgLuc Besson strikes again. The guy has a passion for stunts and martial arts, but this movie from 2004 is far better than the Transporters and doesn’t make the slightest effort to be funny or charming, in stark contrast to the Taxis. It is a far more focused effort – focused on long, intense action sequences that stir your imagination.

How often do you see a truly violent movie that ends in a morality tale saying that violence is not the solution to our problems? If you can stand to ignore your instincts for a tight plot, solid casting and a proper escalation of the story, there is a chance you may really enjoy Banlieue 13. The mass killing scenes do get tedious at times, but the movie features some ground breaking stunts, based on parkour, the discipline of running at and jumping over urban obstacles at a high pace. It is a sight to behold, especially considering that most of these scenes were made without any kind of technical aid. So much cooler than yet another car chase.

Then, of course, comes the added benefit of bragging rights for watching classy European cinema “a film, is what it is”, rather than the same old Hollywood productions remade over and over. :D Until your friends see it and call your bluff, that is. ;)

Project Newman :: An evaluation

Tuesday, August 29th, 2006

The thing about a project like Newman is that it’s basically impossible to make it work perfectly. It has a difficult job, because there are so many potential sources of error. Servers may go offline, connections may fail, article formats may change and so on. It is as good as impossible to guarantee that Newman will do the right thing, because at the end of the day we are trying to analyze text, and computers are not good at doing that. Just look at spam filters – they have been improved upon for years, but everyone is still getting spam. Much less than before, of course, so the filters are definitely useful. And Newman too makes mistakes, but it does still succeed quite often.

Newman has been posting on Xtratime.org under the username Carsonne, a French female impersonator of Carson35’s it would seem. :D Carsonne averages about 15 posts a day since July 30, that is a little over 350 posts in all, 350+ news stories posted. While I haven’t been keeping score to present statistical numbers, I have kept a close eye on Carsonne and I would estimate that upwards of 90% of the stories posted were correctly parsed, formatted and classified. In fact, I recall about 10-15 misposts of the ones I’ve seen (which I think is most). And that is an error rate no human poster would have, Carsonne at an estimated 95% success rate is at least an order of magnitude below a human poster (ie. I would claim that a human poster would have a >99.5% success rate at copy/pasting and classifying stories – less than 2 misposts in 350).

(more…)

how to spend a lovely weekend down south

Monday, August 28th, 2006

Sørlandet (literally “south of the country”) is just the nicest place to be in the summer. Tourist flock from all of Europe to experience the Norwegian summer in this region. It’s been years since I’ve spent summers there myself, but this weekend I had a chance to go back to Mandal, a lovely little town with the best beach in the country.

trondheim_stavanger.png

First, catch a flight down south to Stavanger (cause it’s waaaay too far to drive). Then, get on the E39 direction Kristiansand. It’s about 200km to Mandal, so set aside 3-4h for this, it’s quite a scenic drive through the mountains and valleys, but you won’t go fast cause the roads are narrow and there’s traffic.

(more…)