Archive for the ‘Uncategorized’ Category

Blog Statistics – OSes and Browsers

Saturday, September 4th, 2010

Here at greybeardedgeek.net, I use the excellent StatPress WordPress plug-in to gather site statistics. I just took a look at the stats for Operating Systems and Browsers. What I found was a little surprising, and, as a software developer, frankly, I found it a bit depressing. Here's the raw stats: O.S. Visits Windows XP 42245 Linux 10186 Ubuntu Linux 8152 Windows Vista 6212 Mac ...

Running Roo Applications in Tomcat 5.5

Monday, April 19th, 2010

I used Spring Roo for a small, public web application recently, and all went well until I attempted to deploy it on a hosted VPS. The application didn't deploy, and I got the dreaded error message: java.lang.NoClassDefFoundError: javax/el/ValueExpression A little poking around led me to this Roo bug report that details the problem. ...

Integration Testing Applications With System Time Dependencies

Tuesday, March 23rd, 2010

I'm about to start working on an existing web application that has business rules concerning the timelines of processes. Things like "when X happens, if it's been more than 14 days since Y happened, do Z". Believe it or not, in the past, this has been integration-tested by doing Y, waiting 14 ...

Relative Cost of Printing On Different Printers

Saturday, January 2nd, 2010

I have an ancient, yet trustworthy HP6L black-and-white laser printer that I bought back in 19?? About a year ago, I replaced the last of a long line of crappy ink-jet color printers with an HP-CP1815ni color laser printer. I assumed that for printing in black-and-white, the 6L, being black-and-white only, would ...

Infinite Stupidity

Saturday, September 12th, 2009

As Albert Einstein has been quoted as saying, "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." *** Warning: this blog entry is a rant. The opinions expressed here are entirely mine, and do not necessarily represent the opinions of my employer, whose website ...

JavaOne 2009 – Thur. 6/4

Thursday, June 4th, 2009

This morning's general session was the Microsoft keynote. Microsoft and Sun made a pretty good attempt at trying to convince the crowd the the two companies are friendly competitors, and the interoperability is the highest goal for both. It looks like they may indeed be making inroads in the data center ...

Rotated Text in Java Swing 2D

Friday, May 15th, 2009

I was, um....Googling myself....and found an old post I made to comp.lang.java.programmer in 1999, answering someone's question about how to draw rotated text in Swing. I looked around, and ten years later, there still doesn't seem to be much easily-found information on this. So, here it is again.... I just worked this ...

Apache / Tomcat Integration – Serving The Root Context

Sunday, October 26th, 2008

About a year ago, I set up a web hosting reseller account with WestHost (http://westhost.com). I've been pretty happy with them (this site is hosted there), but up until now, I haven't pushed the limits much. Today, I tried to set up a new virtual site with Tomcat serving the root context. I've ...

Some Java Annotations Considered Harmful

Sunday, June 15th, 2008

In Java, annotations are currently all the rage. Personally, I think that not all annotations are created equal. Some are quite useful, while others make no sense to me at all. It seems that annotations are a golden hammer, and everything is a nail lately. Annotations such as those for JUnit make ...

Hierarchical SQL Queries and Hibernate

Sunday, June 15th, 2008

As I mentioned in an earlier post, I'm working (slowly) on a web app for my municipality's Office of Emergency Management. The app is meant to keep track of "first responders" - people who will respond in an emergency situation. This includes the local volunteer fire departments, rescue squad, OEM ...