« January 2005 | Main | March 2005 »

February 2005 Archives

February 1, 2005

The importance of your user interface metaphor.

Christ Stevenson bitched about the Gnome calculator. Apparently, if you enter the equation '2*2+2*2', it gives an answer of 12.

Continue reading "The importance of your user interface metaphor." »

February 7, 2005

The Dating Game

Working with legacy code can present some, um, interesting challenges. I just hit a wonderful issue to do with dates and timezones, caused by a really piss-poor data model.

Continue reading "The Dating Game" »

I must be missing something

Bush is proposing a 2.5 trillion dollar budget. Supposedly, this manages the following:

  • it is the "president's most austere budget to date"
  • it pushes the US federal budget deficit to "a record $427 billion", and "is the third straight year the Bush administration will have set, in dollar terms, a deficit high."

Continue reading "I must be missing something" »

Programming by difference

I'm currently working my way through Michael Feathers Working Effectively With Legacy Code. Damn good book, BTW. Anyway, this was this section on "programming by difference" that got my thinking while reading it.

Continue reading "Programming by difference" »

February 9, 2005

Fun facts about time zones

Did you know that there are places in the world with timezone offsets in quarter-hour increments?

The timezone for Nepal is UTC+5:45. Chatham Island (a territory of New Zealand) uses UTC+12:45. Interesting...

Don't propagate exceptions in test fixtures

Been seeing this pattern a lot today. I'm working with integration tests, which have a lot of test fixtures around to do common tasks (such as inserting data into the database). These test fixtures propagate exceptions. In many cases, they simply declare that they throw java.lang.Exception. Ouch.

Continue reading "Don't propagate exceptions in test fixtures" »

February 10, 2005

Reflections on how I got started in this biz...

I was listening to the audio presentation by Woz at ITConversations.com recently. I was really interested in his stories about how he got interested in hardware hacking, and it made me reflect on my early experiences with computers.

Continue reading "Reflections on how I got started in this biz..." »

February 16, 2005

Long != meaningful

Meaningful names for variables, methods, and classes go a long way to making uncommented code possible. However, meaning is not conveyed simply by length.

Continue reading "Long != meaningful" »

February 18, 2005

Beware the mechanical coder, my son...

Stumbled upon this beauty today (minor changes to protect the guilty)

Continue reading "Beware the mechanical coder, my son..." »

February 21, 2005

Things that bug me about IntelliJ

For the last few years, I've been saying that IntelliJ is the best Java IDE on the market, but that Eclipse is pretty close. I've also been using Eclipse that whole time (having used IntelliJ before that), because my then-employer didn't like to shell out money if they didn't have to.

Well, I'm at a different company, and everyone here uses IntelliJ (bought-and-paid -for, even!). And I'm finding that IntelliJ is as good as I remember, but there are a lot of things that are bugging me with it. Enough that I wonder if it's worth using.

Continue reading "Things that bug me about IntelliJ" »

I, for one, welcome our new corporate overlords...

Actually, I don't. But I have to ask: if they can make it illegal to circumvent copy protection to do something you could legally do without the copy protection, then why can't it be illegal to circumvent pop-up blockers?

Hmmm... considering that pop-up blockers are arguably a security feature, could the US DMCA be used here?

How do I find what tests use this method?

As I said earlier, I've been reading Michael Feathers Working Effectively With Legacy Code recently (I'm taking my time with it; it's a good book). He spends a lot of time talking about techniques to get code under test. However, he spends very little talking about finding out if (and to what extent) a method is under test in the first place. So here's how I do it:

Continue reading "How do I find what tests use this method?" »

About February 2005

This page contains all entries posted to Software is too expensive to build cheaply... in February 2005. They are listed from oldest to newest.

January 2005 is the previous archive.

March 2005 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.35