ScalaBox2D performance problems solved

Turns out I had a small bug in the broad phase collision detection that caused all the performance problems. It is now fixed and the speed is now roughly equal to JBox2D.


URL Alphabet

When FireFox 3.0 (or was it 2.0 even?) added the new location bar, I was initially not so happy with it. But I got used to it pretty quickly and now it saves me a lot of typing when I want to visit my favourite sites. Typing one letter is usually enough. I thought I’d write down the whole English alphabet and what the location bar shows first for each letter. I think this sums up my current interests pretty nicely. Except some sites in this list are not really my favourite, they just happen to start with an uncommon letter.

Update: Oh man, I’m so behind the times. Seems that this was a meme in 2006.

A is for

B is for

C is for (real estate portal)

D is for

E is for

F is for (still checking every now and then to see if someone solved the mystery)

G is for (surprise!)

H is for (although they are now SwedBank, I still use the old URL out of habit)

I is for (in it’s current incarnation an awesome video game podcast by Chris Remo, Jake Rodkin, Nick Breckon and occasionally Steve Gaynor)

J is for

K is for (real estate portal)

L is for http://localhost:8080/ :)

L is also for

M is for

N is for

O is for

P is for (and some other planets follow)

Q is for

R is for (the best of PC-focused games journalism)

S is for

T is for

U is for … wow. Nothing interesting for U

V is for

W is for

X is for

Y is for (another big surprise!)

Z is for (awesome video game reviews by Ben “Yahtzee” Croshaw)

What’s your URL alphabet?

ScalaBox2D Physics Engine source available

The source code for my Scala port of Box2D is now available at GitHub. There is not much support or documentation at the moment. For now, use only if you already know Box2D or really need a physics engine written in Scala :) More documentation and better user experience will be coming in the future.

I am working on the performance, but currently it is about two times slower than JBox2D (which you can also use from Scala).

Get the source code here. And a little information on how to build and run the testbed is available on the Wiki.

Eclipse finally defaults to UTF-8? In my dreams

Do my eyes deceive me? How the hell did this happen:

Eclipse defaults to UTF-8?

Eclipse defaults to UTF-8?

This happens in an Eclipse Galileo milestone (3.5M6), I can’t remember which exact package I downloaded, because I required some unusual combination of plug-ins.

If it was truly the case that UTF-8 is now the default, it would be awesome, because often programmers forget to change the default setting when creating a new workspace and end up committing something in an encoding specific to their machine. Which is guaranteed to cause pain at some point.

Unfortunately I think this is probably just a bug, because I downloaded another 3.5M6 package and it still defaulted to my region-and-operating-system-specific encoding. And even if I create a new workspace with this instance of Eclipse, it will also default to the other encoding. I wonder what exactly could have caused this instance to default to UTF-8 for a particular workspace…