Category Archives: Technical

Backup/restore compact flash cards with Windows and Cygwin

In one of my side-ventures, which I’ve written about before, we develop and sell Linux and Java based nmea wireless navigation servers for the marine market. The devices run a small embedded Linux distribution on compact flash so we regularly … Continue reading

Posted in Systems Administration | 3 Comments

Search Engine Friendly URLs in Java

At work I’ve been looking into doing search engine friendly URL’s in Java. For those not in the know, a search engine friendly URL is of the form http://www.domain.com/foo/value1/value2 as opposed to the more typical approach of http://www.domain.com/foo?param1=value1&param2=value2. In my … Continue reading

Posted in Java, Search Engine Optimization | 1 Comment

Two additional Ruby features I wish were in Java

I’ve been tinkering with Ruby a little, mainly so I know what I’m missing since a lot of people really seem to dig it. Ruby has a lot of nice features that I like including mixins, closures, Rails scaffolding, active … Continue reading

Posted in Java, Ruby | Leave a comment

Firefox web development extensions

My three Firefox plugins of choice that save me a lot of time troubleshooting and working out web development issues are: 1. Web Developer Extension: this one is a must have! 2. User Agent Switcher: I use this one occasionally … Continue reading

Posted in Software Engineering, Technical, Web | Leave a comment

Only crazy people redeploy a webapp after editing a class or JSP

I tell ya, one of the things I love about Ruby, Python, Perl, etc… is that when you make a change to a the code or presentation layer, all you do is hit refresh in your browser. With java and … Continue reading

Posted in Java | Leave a comment

You can use XMLUnit without subclassing

I had almost written off XMLUnit because I assumed it required subclassing XMLTestCase and I already have my own JUnit TestCase sublass that I like to use. However, to my delight I discovered they have refactored out an XMLAssert class … Continue reading

Posted in Java | Leave a comment

Use and overuse of interfaces

Cedric’s blog entries on Extensibility the interface way, More on interfaces, and Numbered Interfaces got me thinking more about how often to use interfaces, prefixing them with I, adding an Impl to the end, etc… so for my own benefit … Continue reading

Posted in Software Engineering | Leave a comment

It's still too soon to upgrade to J2SE 5.0

We're a small enough company that we can make the move to J2SE 5.0 whenever we want but we're holding off right now for 3 main reasons: 1. I'm not interested in being an early adopter unless the gain will … Continue reading

Posted in Java | Leave a comment

Tired of checking for null arguments in the method body

One thing I find annoying at times is adding in null checks in a method body to throw an IllegalArgumentException for method arguments that shouldn't ever be null. Most of the time as programmers we skip it and rely on … Continue reading

Posted in Java | Leave a comment

Code coverage from within the IDE followup

Two weeks ago I wrote about code coverage from within Eclipse using djUnit. Since discovering djUnit I've become a huge fan of code coverage in the IDE to improve the TDD process. Since we're going to be using Idea at … Continue reading

Posted in Java | Leave a comment