Recent Posts

Hibernate Search - Query API helper

If you are programmatically generating a query string and then parsing it with the query parser then you should seriously consider building your queries dire...

ColdFusion whitespace

Quick hit today. Somehow I went six years working with ColdFusion without knowing that functions implicitly output anything inside them, including whitespac...

NetBIOS Naming Service + lmhosts

Recently, I have been working on a project using Alfresco JLAN to simulate a Windows CIFS (aka Samba) share in Java. Not being able to (easily) replace the ...

Ruby on Rails - First Impressions

I've started playing around with Ruby on Rails. Maybe it was my recent experience with Python, which has a similar syntax to Ruby. Perhaps it's because I ke...

The case of the OOM Killer

An aircraft company discovered that it was cheaper to fly its planes with less fuel on board. The planes would be lighter and use less fuel and money was sav...

Java replaceAll() File.separator

When dealing with file paths, it's not uncommon to construct a path where the file separators are missing or duplicated. Ie, instead of c:\temp\test.txt, yo...

Ant java.library.path

Maybe this will save someone an hour... to set java.library.path from inside an ANT Java task, you need to set the parameter fork="true".

OpenOffice Draw vs Visio

In an effort to get off of Microsoft Office, I have been trying to use alternatives instead. OpenOffice Writer and Calc have been very competent substitutes...