T2‘09 Challenge

image

Sorry for being a little late: the T2’09 challenge just started. Via the F-Secure weblog. Don’t be fooled by the fact that page already contains two entries (“Mr. Speed” and “Mr. Style”) in the top. From what I understand, these are to signal that two winners will be ...

more ...

Careful with that axe^H^H^H static, Eugene!

557403262_2d8d8a3576_b An other instance from the “bugs which will bite you” series:

public class TestStatic {
    static class Foo {
        static Foo instance = new Foo();
        static String name = Foo.class.getName();

        public Foo() {
            System.err.println("Hello, my name is " + name);
        }
    }

    public static void main(String[] args) {
        System.err.println("Your name is ...
more ...

Freakonomics review

[![](http://2.bp.blogspot.com/_hrvCBhtWhJ4/Spk7R7VvqjI/AAAAAAAABMk/A7kIaVald-w/s320/51YA2F7-dPL._SL160_.jpg)](http://www.amazon.com/gp/product/0060731338?ie=UTF8&tag=hypefree-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0060731338)

I know, I know, I’m quite late to the game (Freakonomics was first published in 2005 ...

more ...

Spot the error

C++ compilers are notorious for giving error messages which point you in the wrong direction. However even simpler languages can have issues. Can you spot the real problem with the java code below?

abstract_java_error

There is a comma missing between the parameters! Nice, ey? (To be fair, on the sidebar Eclipse ...

more ...