Well, not really mine. The division I work at just won their 9th Oscar, and to celebrate they sent it around to the division offices so everybody could get their picture taken with it. In spite of the fact that I had nothing to do with it, I sat down at the table. Of course, I wasn’t allowed to actually touch it or anything – the photographer and her assistants handled it with rubber gloves on so it wouldn’t need re-polishing.
Category: Geekery
Upgrade to 2.3.3.
Only half a year or so late, I finally upgraded my blog to WordPress 2.3. And it seems to have worked “out of the box” with no surprises and everything working. That’s my favourite type of upgrade.
Another software developer who needs to be kicked in the balls
Whoever wrote the fucked up dependency checking in javac, and didn’t provide a way to turn it the fuck off.
I’m really sick and tired of having javac deciding that it needs to recompile something 3 directories ago in spite of the fact that both the jar file and the class file that it made about 3 seconds ago are in the CLASSPATH. This seems especially bad on directories that are NFS mounted, but if there is any clock skew between the NFS server and the NFS client, it’s less than a second and those source files haven’t been touched in weeks or months. It means that every time a low level class gets a new dependency, you have to modify the CLASSPATH in every fucking Makefile in the system because maybe, just maybe, javac will decide it needs to recompile that class for no apparent reason.
And don’t tell me “just switch to ant”. I have another rant building up against how ant and eclipse cause developers to forget everything they’ve ever known about partitioning of code and they start putting in calls to higher level stuff in low level code and causing circular dependencies.
Software Developers who need to be kicked in the balls
The following software developers need a good swift kick in the balls:
- People who can’t let a boolean stand alone, and have to compare it to another boolean, as in
"if (isOffline() == true)
“. Why not be extra safe, and make that “if ((isOffline() == true) == true)
“? - People who don’t realize that after you’ve modified a value in a Map, you don’t need to re-add it back to the Map to have it take effect. “get” returns a pointer to the original object, not a clone of it.
- Eclipse (or maybe Visual Age) users who leave the code littered with comments that say “
* TODO To change the template for this generated file go to Window - Preferences - Java - Code Generation - Code and Comments"
orInsert method description
. Either configure the template, or turn off automatically generated comments. - Anybody who declares a method to throw “Exception”, and anybody who calls methods that have explicit lists of what they throw, but who surround it with a “catch (Throwable t)” block. I don’t care if all you’re going to do is print the stack trace and continue, there’s no excuse for that sort of laziness.
- Anybody who changes huge swathes of somebody else’s code without asking the original developer if there is a better way. Especially if it’s code I wrote just a few weeks ago.
- People who use ‘do {…} while(cond);” People who use “if (cond == true) do { … } while (cond == true);” need to be kicked repeatedly.
- The entire staff of my company’s China office.
Ladies and Gentlemen, please welcome “Snowbird”
A first look at my lovely new toy, “Snowbird”, named after the best precision flying team IN THE WHOLE WORLD.