my recent reads..

The largest LEGO battleship in the world

The LEGO Battleship Yamata has now been launched.


read more and comment..

マキシマムザホルモン & THE Best Drummer In The World

マキシマムザホルモン (Makishimamu Za Horumon/Maximum the Hormone). I've had their latest album ぶっ生き返す for a month or so.

And listen to it .. oh, at least once a day. It's some kind of amazing.

Just saw they won the "MTV Best Rock Video Award" in Japan a few days back. Which is pretty mind blowing - Japan has a real vibrant alternative music scene, but the mainstream always seems dominated by the bubblegum schoolgirls and elderly crooners.

Yeah, did I mention Makishimamu Za Horumon is pretty "alternative"? Like driving down a mountain road at 100kph. Every turn you don't know what to expect. Don't try to guess - you will be wrong. Pop+punk+metal+ska+WTF!

Kind of like Red Hot Chili Peppers way over the edge. And in Japanese.

And I am sorry Lars and Nikko, Kawakita Nao 川北 奈緒 / ナヲ is now THE best drummer in the world. And her vocals are essential for the unique fusion that is MTH.

If you are in Osaka 大阪府 tomorrow (3-Jun), you can catch them live. You lucky bastards.

Let'er rip. This is classic. The first track from ぶっ生き返す..

read more and comment..

Java Puzzlers


Apparently, Joshua Block and Neal Gafter started the "Java Puzzlers" idea at Oracle Open World 2001. I wish I was there.

Subsequently, they've turned it into a book
, and a website.

If you program in Java, this is truly a must-read book.

More on my tech blog.


read more and comment..

Java Puzzlers. Be Afraid of the Dark.


Apparently, Joshua Block and Neal Gafter started the "Java Puzzlers" idea at Oracle Open World 2001. I wish I was there.

Subsequently, they've turned it into a book
, and a website.

If you program in Java, you must read this book. It covers the kind of traps in your code you wouldn't even imagine could be there.

I can guarantee you have written at least one of these issues into your code. And QA never caught it. And it is out in the wild RIGHT NOW. Arrgh!!

These days, I think (and hope) that most professional developers are relatively atuned to coding security issues and the rise of opinionated testing methodologies (Unit testing, TDD, BDD etc).

But this book is a real eye-opener to the range of issues that you wouldn't even think worthy of a unit test case.
public static boolean isOdd(int i) {
return i % 2 == 1;
}
Seems like a reasonable test for odd numbers? Except it is wrong a quarter of the time.

And that is just puzzle #1.

The book takes you through issues with strings, loops, classes, libraries, all the way to puzzle #95, where you learn why you shouldn't program like your brother.

Get a flavour from this presentation on Scribd from JavaOne 2007... Java Puzzlers me java puzzlers from javaone 2007
read more and comment..