Skip to content

Category Archives: Uncategorized

Interface and Class Naming Anti-Patterns – Java Naming Convention Tautologies

28-Feb-11

Name your Interface what it is If your interface is a Truck, call it Truck. Not ITruck because it isn’t an ITruck it is a Truck. An Interface in Java is a Type. Then you have implementations of DumpTruck, TransferTruck, WreckerTruck, CementTruck, etc. When you are using the Interface Truck in place of a sub-class [...]

How to force changes to /etc/hosts to take effect in OSX

15-Jul-10

If you make changes to your /etc/hosts file and want the changes to take effect immediately without having to reboot issue the following command at in the Terminal dscacheutil -flushcache

Migrating Java Projects to Maven 2

13-Jul-10

Looks like Maven 2 is pretty much inline with the generic Ant based build system I have been using for the past 8 years. So I am going to take the plunge and start using Maven 2 so I don’t have to keep maintaining my system. Less time maintaining a build system means more time [...]

How to see what your site looks like in many browsers on many operating systems

04-Jun-10

I just found this site that lets you see what your pages look like in a bunch of different browsers on a bunch of different operating systems.

Adding list query support to CouchApp to jquery.couch.js and jquery.couch.app.js

25-Apr-10

Update: this has been applied in CouchDB as of applied in r939443. Here is the bit you add to jquery.couch.js in the couchdb/www/script directory. I added it right between the query function and the view function. Here is the entire modified jquery.couch.js if you just want to download it and use it without having to [...]