2006-11-21

Peter Jackson will not make The Hobbit

Crap! It seems that because some petty little dispute over some accounting issues Peter Jackson will not go on to make The Hobbit. It's really sad to hear. Especially since PJ seemed like he would have enjoyed making the movie. I'm not sure I'm looking forward to this movie anymore. With a new production team the end result can be pretty much anything.

Searching Haskell Code

Whoho! Google Code Search now supports Haskell code!

I've had some fun with Google Code Search since it was launched in early October. Among other things I've used to motivate changes to the standard libraries in Haskell based on how people write code. But not having proper support for Haskell has been a little awkward. One has to fiddle with file extensions to make it search in Haskell files. And it's always this suspicion that the search doesn't cover all that many Haskell files since the crawler presumably doesn't look for them. But all that is gone now, and I'm much happier. I've already put the new feature to good use.

2006-11-17

Football technicalities

There is something that I've been wondering about for many years. It concerns football (or soccer if you prefer). It's the following question:

What is the purpose of the goal area?

Do you know? I'd be surprised if you did. Do you even know what the goal area is? In case you don't: it's the little rectangle inside the penalty area and just in front of the goal. I think even most hard core football fans don't know what purpose it has.

Today I decided to look it up. And wikipedia is helpful here as usual. It turns out that "Indirect free kicks awarded to the attacking team within the goal area must be taken from the point on the line parallel to the goal line nearest where an incident occurred; they can not be taken further within the goal-area. Similarly drop-balls that would otherwise occur in the goal area are taken on this line." Indirect free kicks are awarded for technical fouls such as offside and usually happens far away from a teams own goal. Indirect free kicks within the penalty area are extremely rare. I've only seen it once. The reason the judge awarded the foul was that he thought the goal keeper took too many steps with the ball in his hands. This particular rule has now been dropped in favor for a six second time limit.

I should add though that I'm not that crazy about football as this post might suggest. I do like to watch a game every now and then. But I almost never watch more than one game per week and often it is much more seldom than that. I like to watch when Sweden's team is playing an international match. Every now and then I also watch one of the major clubs in the Spanish league play, as they play very good football.

2006-11-16

An Open Mind

Today, for no apparent reason, I ran 'fortune' and got the following quote:
If you keep an open mind people will throw a lot of garbage in it.

The man behind the quote is William Orton an American politician from way back.
I featured a similar quote here on this blog about a year and a half ago.

2006-11-03

The "C is Efficient" Language Fallacy

Maybe a week or so ago I stumbled upon an article via reddit called "Programmer's rant: what should and should not be added to C/C++". It was a terrible article. The author had some pretty bad misconceptions on how to produce fast code, which was what the article was most about. I just couldn't let that stand unchallenged so I wrote a comment which you can find if you scroll down on the page of the article. I will not repeat is here. If you're interested go to the page instead.

I was rather frustrated by the fact that this story had made it to the front page of reddit. Therefor I was pretty happy to see that a few days later there was another story on the front page debating the above article: The "C is Efficient" Language Fallacy. He makes pretty much the same argument as I did but he writes a lot better and have some good concrete examples.

The bottom line in both my comment and the other article is that functional languages are catching up pretty quickly when it comes to speed.

2006-10-22

Scrybe

So, it seems we're getting another web-based calender/information manager. The new one is called Scrybe. And as a matter of fact it looks pretty interesting. Most of its old competitors are all variations on the same theme. So what does Scrybe has that makes it stand out from the rest?

  • It has support for working offline. This is perhaps going to be the killer, the feature which makes Scrybe take over the market. Having offline support is just
  • Very well crafted user interface based on the focus+context principle. It simply looks and feels very intuitive.
  • Synconization with paper. I've *so* wanted this from other applications I've used. The possibility to print out the schedule and todo list and carry it around in your pocket for those occasions you don't want to bring your computer.

Those are the main features that will be useful for me. There are many more cool features in Scrybe, all explained in the video on their homepage. It's going to be interesting to see the launch of Scrybe and what will happened with the company in the future.

2006-10-20

Amazon's accurate recommendation

I got an email today from Amazon with a book recommendation. And they really nailed it this time!
We've noticed that customers who have expressed interest in books by Chris Okasaki have also ordered 300 Flowering Plants by Richard Bird. For this reason, you might like to know that this book will be released on 27 October 2006. You can pre-order your copy for just £7.99 by following the link below.

They recommend a book on flowers because I own a book on functional data structures?! Well, the reason is pretty obvious. They're mixing up authors with the same name. There is a professor at Oxford by the name of Richard Bird which does a lot of functional programming. If he wrote a new book I'd be very happy if Amazon sent me an email telling me about it. He has already written the standard text Introduction to Functional Programming, a nice introduction to Haskell. But he does not write books on flowers.

And yes, I know for a fact that the Oxford professor doesn't write books about gardening on his spare time. The two different Richard Bird authors have different middle names.

Well, Amazon. You gave me a laugh today but if you keep it up I'm going to get bored in the future. Make sure to fix this.

2006-10-15

Awesome Lenticular Cloud

Man! This is a nice looking Lenticular Cloud over Fiji!

Found via reddit.

2006-09-26

Haskell @ Google

The other day Google showed a list of various prizes Googlers had achieved recently. One competition which is of special interest for me since I've participated in it (although not this year) is the ICFP programming contest. I was impressed to see that two different teams from Google had taken both first and third place. And moreover, the winning team had actually used Haskell! So Haskell has a foot in the door at Google! That's great news!

2006-09-20

Some Science

I just want to mention two articles I read today.

The first one is from Scientific American and talks about what it is that makes a genius. Or, rather a grand master in chess. Most of the article talks about how the mind works for the best chess players and then generalize about the theories to other disciplines. So, how does experts think, and what makes their brain work this way? The answer is both rather surprising and liberating. It seems that to acquire the mental model of an expert all that is needed is practice. Experts learn to see patterns and these pattern evolve in the brain through practice, practice and practice. So, what about wonder kids? They just start early and work hard. And working hard is an important ingredient. You have to keep challenging yourself with problems that are slightly more difficult that what you can handle, thereby constantly pushing yourself. So, anyone can be an expert, it just takes passion and perseverance.

The other article really surprised me. It's a list of bogus science that nevertheless have had an impact on what we believe. Take a look at item no. 4. It discusses an observation about moths changing colors. This has been used as an example of evolution happening right in front of us. And I've taken it as proof that evolution really happens today. But it seems that it was all totally bogus. So have anyone observed evolution happening without relying on old fossils and various dating methods? It would be interesting to know.
[EDIT: It seems I shouldn't have been so quick to believe that web page. Here are some links that goes in to a bit of discussion around the peppered moth experiments.]

2006-09-14

Six = Infinity?

Gee, this piece of news really made me dissillusioned. You've probably heard of the theory that all people in the world are connected in at most six steps. This urban myth sprung out of an experiment made by a guy called Stanley Milgram. He performed an experiment to see if he could get letter to a specific person far away from himself by only using a chain of friends. The result? On average it took six people to get to the final destination.

So what the problem? The problem is that in 97% of all the letters sent didn't reach its target at all! So drawing any conclusions on the 3% that's left is just totally bogus.

You can read a more detailed article over at BBC in the article Connecting with people in six steps.

2006-09-13

Good film news

The other day tripped over some really pleasant film news. First and foremost: The Hobbit is going to happen! But it still remains to be seen whether it will be Peter Jackson who makes the movie. If he's going to make it it's not going to be anytime soon as he's signing up for quite a lot of projects right now. I would love for Peter Jackson to do The Hobbit though. Considering how Lord of the Rings turned out I don't think there is a single Tolkien fan who doesn't agree with me.

So they're going to make a Terminator 4. Which makes me skeptic. With no Linda Hamilton and no Arnold Schwarzenegger they really have to reinvent the whole concept to make a good movie out of it. I just wonder: Why? The first two Terminator movies are true classics. They don't need to undo film history as the Wachowski brothers did with the Matrix trilogy.

If I may digress a bit I'd like to take the moment to say a few words about Terminator 3 which I saw a few months ago. It wasn't as good as the first two but it wasn't that bad either. The movie didn't quite have that creepy feeling of the first two, the feeling of constantly being hunted by an unstoppable terminator. And the dystopic vision of the future wasn't quite there either. Also the choice of actors wasn't a very good one, especially the actor playing John Connor wasn't a very good choice. What really saved the movie was the ending.

The Thomas Crown Affair is getting a sequel which I think is exciting news. I like the movie a lot and the final heist in the movie is quite enjoyable.

Finally, not mentioned on the webpage I linked to above, it seems they're making a National Treasure 2. This is good news to me. National Treasure is one of those movies that I can watch over and over again and still enjoy it. I guess a lot of American history teachers are using it as it contains many highlights from American history. And I suppose there are enough interesting historical people and events in the US to make a second film. I'm looking forward to it.

et al.

Do you know what the acronym "et al." stands for? It's the kind of expression you see every day and roughly know what it means but never quite know what it comes from and what it stands for. At least, that's the case for me. So, today I decided to look it up. And Answers.com gave the following definition:
et al.
Latin
et alii (and others)

So, it's Latin. No surprise there. And it's short for et alii. Which really baffles me. Why on earth don't we write out the whole et alii? Replacing the last to i:s with a dot only saves one character. It seems totally silly to me. In fact I'm thinking of using the full form, et alii, from now on. It's simply not that difficult to write out the whole thing.

A last thought. Why do we use Latin at all? "and others" is not that difficult to write. "and so on" is in many situations preferable to "et cetera" or "etc." I guess it is an old relic from the time when English children had to study Greek and Latin. Spicing your language with a bit of Latin was perhaps a way to show off and as time passed some phrases became standard. Personally I don't mind these Latin abbreviations but I can't help feeling that the language would be simpler without them.

Modern life leads to more depression among children

I've blogged before about the mental illness of children and teenagers. Yesterday 110 teachers, psychologists, children's authors and other experts sent an open letter to the brittish paper Telegraph with the title Modern life leads to more depression among children. The letter is short and doesn't get into any details. The main purpose is to start a public debate about these questions.

Together with the public letter the Telegraph also had a short article around these issues "Junk culture 'is poisoning our children'".

This letter cause a bit of a stir in the blogosphere. Slashdot had some surprisingly good comments about this. And via Planet Haskell (yes, believe it or not) I stubled upon an interesting post about parenting.

I'll refrain from commenting about all this as I'm not a parent myself. But make sure to read the articles I've linked to. It's both interesting and thought provocative.

2006-09-08

Lunar Eclipse


So, we've just had a very small partial eclipse. Did you see it? Well, I managed to capture it with my camera so you can see how it looked on the picture to the right. Not too exciting, but still.

Lunar eclipses are nice in the way that they can be seen from many more places than a solar eclipse. Basically half of the world can watch it at the same time. But I guess that solar eclipses are cooler because they're so hard to catch.

If you want to know more about lunar eclipses Wikipedia is helpful as always.

2006-09-05

Programming Quotations

It's quote time again! This time a whole heap of Programming Quotations. There's lots of classics in there but most of them I haven't heard before. And some of them aren't specific to programming.

Some of my favourites:
It has been said that the great scientific disciplines are examples of giants standing on the shoulders of other giants. It has also been said that the software industry is an example of midgets standing on the toes of other midgets. -- Alan Cooper

Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. -- Laurence J. Peter

A notation is important for what it leaves out. -- Joseph Stoy

I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes. -- Dennie van Tassel

2006-09-01

The Scientific Refereeing Process

Via shapr's blog I came across an article by what seems to be a very bitter mathematician yelling about the way scientific journals and conferences work.

In my experience the situation is not as bad as he describes it but there is a point to what he is saying nevertheless.

One reaction againts crappy researchers who organize conferences with no refereeing might be to fire them. The problem is, the universities that hire them might not be too keen on firing them. Why? Well, every university need to have its quota of scientists, right? It would look really bad for a university to not have any scientists. And since the number of research positions in universities is a log bigger than there are good researchers then universtities will fill their positions with lesser researchers.

Sigh. What to do about this whole mess? Well, I find comfort in that there is a lot of good research going on too. And I just try to do my part in increasing our knowledge, which is what science is all about.

Why People Don't Use Mass Transit

I bought a car a year and a half ago. For quite some time I didn't use it to drive to work but lately I've abandoned the tram in favour for the car. But I keep thinking about switching back.

Since I'm thinking quite a bit about these questions I was delighted to find a page explaining Why People Don't Use Mass Transit. The author of this piece takes a purely economical view of the problem. And his main point is that if you put a price tag on time then it's really hard to beat using the car. How do one put a price tag on time? Well, what do you earn for 40 hours of work? Divide that amount by 40 hours and you have a price per hour. Using the salary to measure the cost of the time taken to travel may not be exactly what people use when deciding whether to take the car or not. But it is clear that people do value time since they take the car to such a large extent, and using the salary is in my opinion a pretty good instrument here.

So, have I decided to use the car since I read the article? No. I'm leaning towards switching back to the tram. But I keep postponing the switch. The car's just to convenient.

2006-08-30

Electric Mini

OK, here's a bit of bit of prejudice for you. I believe most guys have a particular car which they long for to have. I know I do anyway, despite my rather low interest in things-with-motors. And it's the Mini (note the cool url).

I just read an article about a modified Mini, called the
Treehugger: Electric Mini. The novel thing with this car is that it has the engines in its weels and is driven mostly by electricity. Though strictly speaking it's a hybrid car. The advantages with this approach are interesting: it's both more environment friendly and it gives the car more power. Though I bet it costs alot more.

Before the Electric Mini there were only four custom made Mini's that were electric. Those for were made for the 2003 remake of the movie The Italian Job. The thing was, they wanted to drive the cars around in the subway, but weren't allowed to bring any combustion vehicle down there. So they called BMW and had four cars custom made with electric engines only.

So I'm 30 years old

It happened a few weeks back.

Wow.