Reverse Mystery Bugs

Wednesday, May 14th, 2008

For a change this is about software bugs, not insects. :-) Ever have a reverse mystery bug? This is not one that’s hard to find or understand, but one that’s brutally easy to understand and fix. The mystery is how the code ever worked in the first place. I had one of those this morning.

The AppleScript I use to manage the quotes of the day on Cafe con Leche stopped working mysteriously. Running the script with the result log open made the problem obvious: it couldn’t find the file index.html in my cafeconleche directory. Well, that’s an easy fix. The file isn’t named index.html and hasn’t been for many moons. It’s named index.phtml (because it uses PHP to include some files). I changed the name of the file the script was trying to open to index.phtml, and all was well.

But here’s what I don’t understand: why didn’t this break yesterday? and the day before that? and the day before that? It was working just fine until this morning. was there a symlink from the old index.html name, and if so why did it vanish? Was my script updated previously, and somehow got replaced by an older version? And if so, how and why?
(more…)

Are We Deborked Yet?

Friday, May 2nd, 2008

I couldn’t figure out how to fix the comments problem introduced by the recent upgrade so I restored the database from backup, and ran the upgrade one more time. There were still a number of error messages:
(more…)

Some borkage cured

Wednesday, April 30th, 2008

OK, I think I’ve at least partially deborked the upgrade. There are still some problems with comments needing moderation. Holler if you notice any remaining problems. I still can’t figure out how to assign a category to a new post. I’m not sure if that’s remaining borkage or the new blog interface. (OK, got it: it’s the interface.)

The proximate cause was that the WordPress scripts did not have permission to create and drop tables. The underlying cause was a combination of classic programmer errors:
(more…)

Upgraded WordPress

Tuesday, April 29th, 2008

I’ve upgraded WordPress on this site to version 2.5.1. For the first time, things did not go perfectly smoothly so please holler if you notice any problems.
(more…)

Security Pros Like Muscle Men

Monday, April 7th, 2008

This is what happens when computer book titles are too sexy:

Recommended for You Provocateur Studio Men 2008 Calendar Provocateur Studio Men 2008 Calendar Because you purchased… Fuzzing: Brute Force Vulnerability Discovery

And here I thought they were recommending this because of all the gay porn I’d been buying. :-)

Moving House and Site

Tuesday, January 8th, 2008

I’m not 100% sure why this site when down for a few hours yesterday. I thought it was a dead hard drive, and then a dead power adapter. Now I don’t know since it seems to all be working again. In any case I’ve been planning a move to a hosting service, and now seems like as good a time as any. I’m moving across the country in a couple of weeks though I haven’t yet found a place to live, so keeping the site going in the spare bedroom no longer seems like an easy choice. I hope to have the site transferred over to a more reliable host next week (or sooner if the Mac Mini goes down again.)