Wow… you know gas is expensive when the spammers start hawking gas cards.

Our support contact address received a message touting “Finest List of Nurses Including Email Addresses – Free $50 Gas Card” I had to wonder what the heck it was, so I took a look at the message. They were trying to sell “sales leads” — i.e. names and contact information — of nurses, and were offering to throw in the gas card if you spent enough on “leads” to do your own spamming.

Andrew Gregory points out that some browser detection scripts might have trouble when Opera 10 eventually rolls around. (Edit: Hallvord also comments.) Why? Because one of the easiest, ways of testing for a version number is to do look for the the “Browser n” or “Browser/n” patterns. The problem is that this strategy only grabs the first digit of the version number. That works fine for 1–9, but once you hit 10, suddenly it looks like 1 again.

Firefox and Safari, currently at just before and just after 3, are likely safe for now, but IE is creeping up on 8, and with their new, faster release schedule, IE10 may only be a couple of years away.

I’ll admit, I’ve written code like that myself (not the specific example, but I’ve done regexp matches that only look at the first digit), but always on sites that I expect to be able to maintain. Of course, one of the lessons to learn from Y2K is that shortcuts get entrenched, and code you thought you’d have time to clean up long before it became a problem has a tendency to stay in use far longer than you expected. And we’ve seen the same thing with web script archives, where someone’s example code that mostly worked in IE4 gets enshrined as “the” way to accomplish something, even though there have been better ways that work more consistently for years.

So, you’re a nerd (or a geek, if you prefer). You spend your life sitting in front of your computer, your TV, or your latest book. You don’t play sports, you don’t go running, hiking or cycling, and the word gym conjures up painful memories from middle school.

And you’ve put on a bit more padding than you’d like.

The problem is, you can’t stand exercise, you don’t want to spend the next 2 months eating cardboard food, and you don’t want to record your every caloric intake with a spreadsheet (though if that idea appeals to you, go for it). What’s a geek to do?

Well, here are some tweaks you can make to your lifestyle that, with a minimum of effort, will help. They won’t take the weight off quickly, but they’ll lower it over time. And you might be able to keep it off better than someone who goes on a crash diet, because you’re changing your habits, not just making a short-term change. Continue reading →

Five posts since last weekend didn’t show up properly in the feed, so if you’re following by RSS or LiveJournal, you probably missed these:

(For the record: the GMT timestamps were set to zero. It seems to be this problem, probably triggered by turning on the XCache-based object cache last weekend. I’ve applied a patch, so let’s see if it works.)

Central City is big. You just won’t believe how vastly, hugely, mind-bogglingly big it is. I mean, you may think it’s a long way down the road to the chemist’s, but that’s just peanuts to Central City. (With apologies to Douglas Adams.)

It’s an old post, but I just found the Absorbascon’s take on Central City, looking at the wide expanses depicted in Carmine Infantino’s Silver-Age drawings of the Flash’s hometown.

What is this vast complex? The National Science Center? NIH? STARLabs HQ? No. It’s Barry Allen’s back room. In his APARTMENT. In your house, this sort of room is barely big enough to hold the Cybex machine you don’t use. In a Central City apartment, it’s about the size of a bowling alley.

On a related, but more serious note, letterer Todd Klein has posted a 4-part study of the Flash Logo from 1940 through the present day: Part 1 · Part 2 · Part 3 · Part 4. With his insider knowledge, it’s far more thorough than the study I did a few years ago. (via Wallyoeste)

It’s clear that a lot of people don’t actually read web pages before they respond to them. They’ll do things like…

  • Contact someone with a similar name, even when it’s clearly the wrong sort of organization — say, a student writing club and not the bookseller that’s been causing them problems.
  • Ask a blogger for a job application for a company mentioned in the post.
  • Ask unrelated tech support questions on a blog post because they used the wrong search terms for their problem.
  • Ask for help creating Flash animations on a forum dedicated to the Flash super-hero, then get indignant when people have the gall to point out that they’re in the wrong place.

Now, usability guru Jakob Nielsen reports on a study showing just how much people don’t read. In the average visit, users only read 28% of your text if you’re lucky. You have to drop way down — to 111 words — just to count on visitors reading half of it.

Depressing, but it explains so much. And it suggests there’s a benefit to highlighting key phrases. If they’re only going to read ¼ of the text, you may as well make sure it includes the important stuff.

Mark Pilgrim, in The Day the Music Died, points out what happens when DRM meets market failure.

On August 31, Microsoft will turn off the servers that validate their “PlaysForSure” DRM system (this predates the system they use for the Zune). This means that anyone who has bought music that uses PlaysForSure will not be able to transfer it when they upgrade or replace their computer, or get a new music player.

It won’t be an instantaneous death like DIVX was, or like a subscription system, because it doesn’t phone home whenever you try to play a track. But it’ll be a lot faster than simple technological obsolescence. I can still play my old VHS tapes until my VCR breaks down (and then I could probably still get it fixed if I really wanted to), even though I don’t think I’ve seen a pre-recorded tape in a store in years.

This is also why I prefer to check Amazon’s MP3 store first, before going onto the iTunes Music Store, and then prefer DRM-free iTunes Plus to standard iTunes tracks. Given their current position, Apple isn’t likely to get rid of iTunes anytime soon, but if they ever did, I’d be in the same boat as people who purchased PlaysForSure tracks. (Though I’m hoping they’ll move the entire catalog away from DRM long before that happens.) Whereas since Amazon’s tracks are plain, ordinary MP3s, they could abandon the business tomorrow and I’d still be able to play the tracks for as long as I can find software that plays MP3s.

(via ma.tt)