Archive for August, 2008

JGroups and Daemon Threads

Monday, August 25th, 2008

I’ve spent the day in a frustrating battle with JGroups trying to get it to create all its internal threads as Daemons, rather than user threads. For those that don’t know, when only Daemon threads are left active, the JVM will shutdown, which is precisely the behavior I required.
Unfortunately, getting JGroups to do this isn’t [...]

Photo a Week - Week 1

Monday, August 25th, 2008

To kick off my “Photo-a-week” effort, I walked to Kings Park over the weekend and dutifully snapped away.
I captured a number of images I’m happy with (the best of which are viewable on my Flickr stream), but of them all, I’m most pleased with this one of an extremely excited child. At the time I [...]

Threatdown

Tuesday, August 19th, 2008

I love the Colbert Report like some Chinese men love park benches.
Threaddown is a segment on “The Colbert Report” where Steven Colbert runs though the top five current threat that, err, threaten the USA. This particular Threatdown, although a little old now, is the best I’ve seen (even if you don’t know about the running [...]

Clicky Click

Monday, August 18th, 2008

For a while now I’ve been harboring an increasing interest in photography. A while ago I purchased myself a Canon 400D and a few lenses to feed this new addiction. However, to my displeasure, I have been lax when it comes to actually getting out there and making full and frequent use of this toy. [...]

Why didn’t I think of that?

Thursday, August 14th, 2008

When your have a little bit of code that looks like this:
istringstream stringStream( number );
and your compiler gives you an error like this:
main.c:16: error: variable ‘std::istringstream stringStream’
has initializer but incomplete type
what is really means is that you forgot to include <sstream>
This is why I hate C++. Someone just give me Integer.parseInt(String) ffs.