Recent Posts

Creating a new developer box

less than 1 minute read

I was issued a new laptop, HP 840 G1, so needed to set up a proper development environment. The first time I set it up I manually downloaded and installed m...

Funny Oracle error message

less than 1 minute read

Oracle has an “Early Adopter” version of SQL Developer, a tool I have “become accustomed to” at a prior job where they couldn’t/wouldn’t pay for developers t...

Quick graphic model of a DB

less than 1 minute read

Found a quick way to generate a DB entity model diagram with Oracle’s SQL Developer. Here is a description of how to do it, but in short: Open up the Data ...

Two Hard Things…

less than 1 minute read

There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton Long a favorite saying of mine, one for which I ...

Learning experience with git push

1 minute read

TL;DR, #1: merges in all branches in a directory/local repo will be pushed regardless of the current branch when push is done, #2 use a new clone “every” tim...

The most unusual place you’ve written code

less than 1 minute read

This piece asks about the most unusual place you’ve written code. My most unusual place was in PowerPoint at FL280 and in a Lincoln. I had an interview ass...

Injecting code via xsd into a jaxb object

less than 1 minute read

Found a cool feature of jaxb/xjc, -Xinject-code. With example xsd from prior post, look for ‘ci’. The code should probably be wrapped in a CDATA element. [s...

Idiom for generics on static methods

less than 1 minute read

I always forget this idiom: [sourcecode language=”java”] public static Collection getFirstN(int numRecs, Collection records) { List rtn = new Ar...