Really Uber-Nerdy Joke

Posted by & filed under , , .

OK, so this one comes via Bill Gross, but I so couldn’t resist to spread it around — if you know your physics you will find it hilarious! (And if you don’t, you’ll just think I’m an uber-nerd :D)       Einstein, Newton, and Pascal are hanging out one afternoon. Einstein is bored, so […]

Perf4J and Object Creation/Destroy

Posted by & filed under , , , .

If at any point in your coding life you had to measure some component performance, chances are that you came across Perf4J at some point. To quote from their own website: Perf4J is to System.currentTimeMillis() as log4j is to System.out.println() There are of course other ways to measure timings of components execution, however, I found […]

Playing Around with Buffers

Posted by & filed under , , , .

I found myself recently using the Buffer class in the Apache Commons Collections framework — and realised that the Buffer-related classes don’t get enough coverage as they probably should, since they can actually provide out-of-the-box solutions to common development problems. So I started this little exercise partly to demonstrate some of the powerful Buffer-based classes […]