“Free Upgrade!”

See the cover of this book? That black circle that contains the words “Ubuntu 8.04 on DVD” and some smaller writing that you can’t really read in that image? I saw it in the bookstore today.

It says “Free upgrade to 8.10.”

Earth to publisher: Ubuntu is free software. That means that they’re all free upgrades, and anyone who knows enough to want the book will pretty certainly know that already. Sheesh!

(Disclaimer: I only looked at the cover, I didn’t even open the book, so I can’t recommend it.)

Knowing Your Code

I’ve often been criticized for “reinventing the wheel” in my programming — creating my own programming components instead of using pre-written ones. Part of that was a deep-seated distrust of the competency of other programmers (something I learned early), and part of it was the fun of doing it myself. But reading some of the programming questions on Stack Overflow, I realized that there’s a third and even better reason: if I don’t thoroughly understand the code, I can’t track down problems with it.

I don’t know if all decent programmers share this trait, but I know my code very well. So well that I can track down most bugs in it in my head, without even being near a computer, so long as the code was typed in correctly. You can’t do that when you’re using code that someone else designed and wrote, not unless you already understand the solution so well that you can correctly guess what the original programmer did in almost all cases — which, for me, pretty much means I had to write one myself anyway.

So I’ll continue reinventing wheels whenever it makes sense to do so. It may take me a little longer to finish a program, but I’ll have a lot more confidence in the result, and I’ll be able to predict exactly what it will do under pretty much any circumstance.

Tactical Error

If I ever seem to think that it’s a good idea to go out on December twenty-third in lousy weather, would somebody please beat some sense into me?

An in-city trip — just a normal non-shopping errand that generally takes about a twenty minute drive — required an hour and fifteen minutes to complete today. There were no accidents or anything, just a lot of traffic, and all of it moving at the pace of an arthritic snail. Given the weather and the congestion, that was probably a good idea, but it was a ridiculous amount of time nonetheless. Thank goodness for a large store of unlistened-to podcasts, if I hadn’t had something to keep my mind off how long it was taking, I’d have probably killed something.

Sometimes I think bears are the smartest creatures on the planet: they sleep through this entire season.