Archive for the 'java' Category

Fixing Random Crashes in JNI Code

Tuesday, June 2nd, 2009

Do you have an application that uses JNI to provide a C/C++ interface to a Java library? Are you experiencing random crashes and segmentation faults in seemingly unrelated parts of said application? Have you pulled out all your hair while trying to figure out what the problem is?
The good news is that I may have [...]

Feeling like a Git

Sunday, January 25th, 2009

I keep hearing about how cool Git is, and how much better it is than Subversion, so much more powerful and flexible. I must admit that every time I look at Git I tend to notice something new interesting that I feel I could use in my day-to-day development life. Sadly, every time I try [...]

The Beckoning Silence

Wednesday, January 21st, 2009

I had an interesting experience yesterday, one that tied together a couple of things I’ve picked up in the various streams of news that have flowed across my browser and RSS reader of late.
Late last year, Joel talked about the new Fog Creek offices they’d just completed and were moving into. Apart from looking absolutely [...]

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 [...]

Quality and Perception

Saturday, August 2nd, 2008

Today I read an interesting article that defines “software quality” as a function of thought and reflection rather than purely measurable metrics such as the number of passing unit tests. This sentiment resonates quite clearly with me and especially so over the past month. In this time I’ve been assigned to work on a legacy [...]