Category Archives: Software Development

Hitting you over the head with the semicolon you left off the end of a C++ class declaration, comes the stumblings of a Developer and his pet sheep. Wooly.

Now reading…

The JavaFX Application Dev Cookbook arrived for me to review today. It promises to provide some worked examples of using JavaFX in the real world, which is always handy.  After all, why re-invent the wheel? I’m keen to see how … Continue reading

Posted in JavaFX | Tagged | Leave a comment

Tempus library for programmatic thread dumps

Turns out doing a CTRL+Break (or equivalent kill <signal> <pid> on *nix) programmatically is a bit harder than I thought.  This thread talks about ways to do it, but the easiest was to use the Tempus library which has a … Continue reading

Posted in Java | Tagged , | Leave a comment

Mongo DB

Watched this presentation about how Sourceforge chose MongoDB for their customer facing webapp.  You know, the one you go to download Azuerus and all those open source apps from Sourceforge chose Mongo because it offered them high read performance although … Continue reading

Posted in Database | Tagged , | Leave a comment

Reading Other Peoples & your own old code

Old code is hard to read.  Even your own.  Its not uncommon 6 months down the track, to experience a bit of “what was I thinking when I wrote that?”.  Its one of the first things drummed into me by … Continue reading

Posted in Development Practice, Software Development | Tagged , , , , | Leave a comment

Embedding Tomcat 7 in your App

So what if you ship with a plain old Apache server just to run some aging PHP.  If you have an server app running all the time, according to this post, it looks like you can embed Tomcat, just like … Continue reading

Posted in Hosting, Java, Java EE | Tagged , | Leave a comment

Strings and intern

Strings, yawn, boring.  They are kinda the bread and butter of our development but lets face it, we can take em for granted sometimes. So some neat tips from this blog post about Strings in Java. The most useful one … Continue reading

Posted in Java | Tagged , , | Leave a comment

Facebook as a business platform

I recently attended the Thoughtworks Quarterly Briefing which was about their Tech Radar – a whats hot in upcoming and existing software dev technologies.  One thing that came up as surprising was the idea of Facebook as a Business Platform.  … Continue reading

Posted in Platforms, Software Development | Tagged , , , | Leave a comment

Legacy Java Systems

I’ve had my fair share of working with legacy code.  I don’t think legacy code is a bad thing because its existence means it has addressed the majority of the needs of the business successfully enough to stay around.  However, … Continue reading

Posted in Development Practice, Java | Tagged , | Leave a comment

UUID’s in Java

UUID’s are useful for making unique reference numbers of things.  In an ideal world these UUIDs are so long, they never collide. The first place to discuss UUIDs would be RFC 4122.  The next part would be the wikipedia entry … Continue reading

Posted in Java, Networking | Leave a comment

CamelCaseString to Space Separated String

groovy> print ‘CamelCaseString’.replaceAll(/([A-Z][a-z]*)/, ‘$1 ‘).trim()Camel Case String There is probably a better regex approach that does not a space to the final word, and thus remove the need for a trim, but this is quick and easily embeddable anywhere, for … Continue reading

Posted in Code Snippets, Groovy | Tagged , , , | Leave a comment