That was close!

The theme I have been using for a couple of years on this blog (Maple) didn’t work very well with WordPress 2.5 and I can’t find an updated copy anywhere. Since I’ve hacked the shit out of it over the years, I decided it was time to make a fresh start with a theme that’s actually supported. So the first thing I did was copy the default theme, and try to make it look more like Maple. That wasn’t fun, and I’m not 100% satisfied with the results. So I decided to look at other themes.

I couldn’t find what I wanted at the official themes site, mostly because their search engine doesn’t categorize themes by category, and also because their “preview” function doesn’t work. But I found this other site, whose name I won’t mention but it had the word “free” in the URL. I found a bunch of nifty themes there, and downloaded them. I was just customizing one theme to add gravatar support and give the comments an alternating colour scheme, when I noticed something weird down at the bottom. It looked like spam. I grepped the theme code for the spammy urls, and couldn’t find them. But I figured the offending code must be in footer.php. Sure enough, all the themes I’d downloaded from this site had encrypted code in footer.php. I couldn’t read it or decrypt it, but it obviously was there to insert spam code in your blog. I tried replacing the footer.php with one from the default theme, and that broke other stuff. Crafty buggers.

Anyway, I’ve removed all traces of this crap, and I guess we’re all stuck with the psuedo-Maple theme until the official site starts working again.

Hmmm

I upgraded my blog to WordPress 2.5 because the damn thing was nagging me all the time about being back at 2.3.3. But now I discover that my theme doesn’t work right with the new code, and one of my favourite plugins, the LiveJournal CrossPoster, doesn’t work. Now I’ve either got to find a less ugly theme, or fix the old Maple theme to support the new comment code with the built-in Gravatars.

Update: I might have found the fix for LJXP!
In lj_crosspost.php, change

if(version_compare($wp_version, “2.1”, “< ")) { require_once(ABSPATH . '/wp-includes/template-functions-links.php'); }

to

if(version_compare($wp_version, “2.3”, “< ")) { require_once(ABSPATH . '/wp-includes/link-template.php'); } else if(version_compare($wp_version, "2.1", "<")) { require_once(ABSPATH . '/wp-includes/template-functions-links.php'); }

Update #2:
I officially hate this update. It keeps adding bogus </code> tags even though my tags are perfectly well closed before I saved them. Let’s try with block quotes instead?

Bald Eagles!

It’s rare for me to get my second paddle of the season so quickly after the first (first was Sunday, second was today, Wednesday), but the weather cooperated and today was chicken wing day in the cafeteria so I wasn’t hungry when I got home, so away I went.

The creek was quite deserted by other boats, except for one flat bottom dinghy that two guys were fishing from. I’ve seen carp mating in that area, so that’s probably what they were after.

Considering that Sunday I saw almost no wildlife except geese, today was a bonanza day. I saw male red-winged blackbirds staking out their territories, several kingfishers patrolling their sections of the river (and raising their crests in alarm when I got too close), a few pairs of ducks, and I finally saw the famous Irondequoit Creek bald eagles. I rounded a corner and saw two soaring birds, one quite high and one just above the ridge line, nd immediately said “oh, turkey vultures”, but then the lower one spread his stunning white tail and I noticed that the head was bright white as well. I never did make out for sure if the higher one was a bald eagle as well, but I think it was. One thing that impressed me was that while it was soaring, it seemed to be moving back and forth much faster than a turkey vulture does. Maybe it’s anti-vulture prejudice, but it just seemed more, I don’t know, purposeful or something.

I also saw a crow or raven down fairly low, but he flew away rapidly as I got near so I didn’t get a good look. There were very distinct primary feathers curling up at the tips, which I think means it was a raven.

I went a little bit further than I did on Sunday, and I wasn’t as tired when I reached the weir, probably because I paced myself better. Probably just as well, because on the way home there were two stretches where I was paddling into a very strong wind. My weather widget says that the winds at the airport are 21G33 knots, or 24 to 33 mph, which I can easily believe. And when the wind is blowing in my face like that, my old canoe trip instincts say “paddle as hard as you can for the lee of the upwind shore, and don’t rest until you get there”, so that’s what I do.

And it just gets worse

On March 25th, I ranted about a developer who had checked in a bunch of stuff that required a special “upgrade DVD” without telling the other developer that this would be required in Rants and Revelations » Developer dumbassedness. Well, it turns out it’s worse than that. Far worse. Not only didn’t he not tell us about the magic DVD, but he hadn’t even tested the damn DVD. It’s now 2 weeks later, and his DVD *still* doesn’t work.

So now I’m caught in a vice – I had to “rebase” my development environment to the new build in order to deliver some bug fixes, and now my development environment and my test system are at different builds, which makes it hard to test things, and especially hard to use the remote debugger in Eclipse. And I can’t get them back in sync until this damn DVD is ready.

I’d also like to mention that I did a much more ambitious upgrade DVD a few years ago, where his DVD is upgrading from CentOS 5.0 to CentOS 5.1 and reformatting the content partition from ext3 to xfs, mine was upgrading from RedHat 7.3 to CentOS 3.3. And I didn’t leave the rest of the developers out to dry because I tested the hell out of it on my test system, reformatting it back to RedHat 7.3 and running versions of my upgrade script over and over for weeks before I put it into the development stream.

That’s pretty cool

A couple of old friends from my time in the Army Reserve found my picture and post at Rants and Revelations » Lorne Scots SRTP 1979 and have left some comments. It’s great, especially Alex McKelvey’s precis of what happened to nearly everybody. All this time later, it’s hard to remember who you liked and who you hated, and it probably doesn’t matter much now, but Alex was one of the ones I liked.