Saturday Morning Surfing: When a bug is unfixable; leave it alone

(Reading time: 5 – 8 minutes)

Programming is fun and easy compared to keeping track of everything.

One of the things I have to keep track of is the Thesis custom_functions.php source file for my Thesis custom template pages. This file sits on the web server of course, but also in a source code repository, and in a local copy running on my development computer.

Normally, this isn’t a problem.

Then I edited custom_functions.php through the built-in WordPress file editor. I forgot that the plugin editor strips out newline escapes ("\n""n"), which litters the web page with random letters “n” and thoroughly destroys the layout.

Now, having multiple copies is a problem, because one of the copies is broken.

So I spent a unhappy afternoon being stymied by an “unfixable bug” in the WordPress plugin editor.

“Works for me”

I’m not the only person who has had this trouble.

But none of the WordPress developers have it.

As you can see from the screen capture of the WordPress Trac ticketing system, issue #10903 is closed with a “worksforme.”

That’s a very hackerish thing to say.

I can’t say I blame them. WordPress is free software after all. If this issue really were a problem for me, I’d knuckle down and fix it myself, or pay someone to fix it for me.

Instead, I make like the internet and route around the damage.

The No-solution Solution

The no-solution solution for fixing bugs is pretty simple. Here’s a few concrete suggestions:

1. Leverage the pain of others.

Typically, when you have a bug in a piece of software like WordPress, many other people are experiencing the same problem.

Most likely, someone has also reported the problem.

Once the problem has been reported, it goes on a release schedule for eventual fixing (or not). You have little control (none) over the release schedule, so…

2. Do something else.

For me it falls into the category of “If it don’t work, find sumpin else to do.”

In my example above, I just stopped using the built-in plugin editor. I routed around the problem. Simple.

But that’s not good enough for some people. For example, Holly Jahangiri prefers a more direct approach:

That is an entirely-too-practical approach to life, David. I gravitate towards the “if it don’t work, beat your head against a brick wall until your ears bleed and some geek takes pity on you and figures it out so you’ll stop” approach. :)

3. Bang your head until your ears bleed.

A while back, Jena Isle had a problem with one of her articles submitted to Digg. The article could be loaded from her blog, but it came back with Invalid URL from Digg. It ended in my lap via Holly Jahangiri:

…”Invalid URL” has to do with special characters in the title. In this case, there are no obvious special characters, but when you try to Digg (or strangely enough, even copy from the address bar) the URL from the post page – Bam! error.

Bang your head until your ears bleed.

I did some poking around on Google, and found that it was known but infrequent problem, and nobody has any idea how to fix it. Blood, leaking from my ears… I emailed Holly something like “Don’t Digg that article.” Problem solved!

Holly, to her credit, continued to bang her head:

Oh, well, it’s still working for me – that bleeding out the ears thing – except there were no geekier geeks racing to my rescue and I did figure it out, finally, I think. For some reason, somehow, it was taking the url as having a comma before blogspot (I have no idea why, unless there’s some place to set that in the plug-in Jen’s using, but I suspect maybe, just maybe, it’s some weird error somewhere in her settings). Anyway, digging it from the FRONT page, not the post page, worked.

Yikes!

If head banging isn’t your thing (and nothing wrong with it if it is), you need to know…

When to punt

Free software such as WordPress depends on users reporting and, when possible, fixing bugs. It’s a good model, as you can see from the wild success of WordPress.

Fixing, or even reporting bugs isn’t always feasible. Putting on my developer hat, when a user can’t precisely describe a bug so that I can reproduce it, I’m not going to have time to fix it. Likewise, when I don’t have to precisely describe a bug, I won’t report it either.

Here are a few guidelines I use for deciding whether to fix or report bugs:

  • Do I have time? It’s going to be an hour’s work, at least. If fixing it won’t save me time in the long run, punt.
  • Does Google bring back junk? We’re getting close to the day when just about any keyword or phrase with traffic is going to be gamed. If I get no related results from search, punt.
  • Is the bug close to my competence level? There is this notion of a “technology stack” (which I’ll write more about in the future*). This means I’ll consider fixing bugs in WordPress, but not in the web server, etc.

NOTE: All of these guidelines apply to like activities, for example, web and WordPress theme design.

If something is just too hard to do, that’s a hint!

As a public service, here’s a recap of techniques for handling bugs:

  1. Leverage the pain of others.
  2. Do something else.
  3. Bang your head until your ears are bleeding.

Can you add to this list? What’s your special technique for handling bugs?


* BPE customers: this is a forward hook.

Top 3 Social Media Bookmarking Services – Don’t leave home without them

(Reading time: 5 – 8 minutes)

Updated: January 9, 2012

Bookmarking was one of the first features offered in early web browsers, before search engines. Users had to have a way to find web pages they had read, or wanted to read in the future. Saving the URL as a link maintained in a list by the web browser seemed elegant.

Until you changed web browsers… or browsed the web on a different account.

If you like this article and find it helpful, you could help me in return with a +1. Thanks!

Oh yeah… I should add that all this technology ran on unix networks… not PCs. The machine you sat in front of was irrelevant, only your account mattered. As long as you were using the same account, your browser bookmarks were available.

All changed when PC and Apple joined up. Now, when you changed machines, you changed accounts as well. All your bookmarks were caged on each machine. That’s nasty. It’s like being hobbled – when you’re coming from unix.

All of sudden, maintaining bookmarks turned into a huge problem. The solution: move all the bookmarks to the web; make your bookmarks available anywhere you have a web browser.

There are now hundreds of bookmarking web applications, most of which aren’t very useful. If you focus on just Digg, StumbleUpon and Delicious when you’re just starting out, you will learn the basic technology and build a useful presence.

Hey! You're in the middle of the Website In A Weekend eCourse. Learn how to create and operate a complete WordPress-based website in a single weekend. Start here: Website In A Weekend: Friday Evening - Off to the Races. (If you already have a blog... "audit" the eCourse... you'll find plenty to do.)

Let’s take a very brief look at each. To save you some time, I’ll give you a quote and link from the Wikipedia entry, then translate the technical for you, then add how these services benefit you.

1. Delicious

The Delicious.com bookmarking service is one of the earliest web-based bookmarking applications, and of these three, the most “bookmarky.” That is, Delicious focuses on provided “classical” bookmarking rather than news aggregation (Digg) or content discovery (StumbleUpon).

Let’s put up the periscope… here’s what Wikipedia says about Delicious:

Delicious is one of the most popular social bookmarking services. Many features have contributed to this, including the website’s simple interface, human-readable URL scheme, a novel domain name, a simple REST-like API, and RSS feeds for web syndication.

“Too much jargon. What the heck do all those buzzwords and acronyms mean?”

Good question.

Mostly, the jargon means Delicious is easy for you to use, and that it’s easy for developers to build stuff with it. Since it’s easy a lot of people use it and you get good links and traffic back to your website.

(There’s a lesson here for you engineering types attempting to build market share: the author lists features, not benefits. Whoop-te-do.)

I’m on Delicious too.

2. Digg

First, go get your Digg.com account. Then friend dmdoolin.

From 50,000 feet, here’s what Wikipedia has to say about Digg:

Digg is a social news website made for people to discover and share content from anywhere on the Internet, by submitting links and stories, and voting and commenting on submitted links and stories.

The premise of Digg is two fold: first, you create a personal database of articles that interest you; second, articles you submit to Digg get voted on. With enough votes, you may get to the front page of Digg which will drive a LOT of traffic to your website. Once you have you have some experience with Digg, you’ll see that bookmarking is just one capability of many.

Having links on Digg adds to your website’s credibility and authority. However, there is anecdotal evidence that Digg traffic doesn’t convert into sales very well.

Check out Digg in more detail here: To Digg Or Not To Digg — That is the question.

3. StumbleUpon

Combine bookmarking with content discovery and you have StumbleUpon.com.

The long story short on StumbeUpon from Wikipedia:

Web pages are presented when the user clicks the “Stumble!” button on the browser’s toolbar. StumbleUpon chooses which Web page to display based on the user’s ratings of previous pages, ratings by his/her friends, and by the ratings of users with similar interests.

Just as Digg is more than bookmarking, StumbleUpon provides community networking (e.g., friending and simple blogging) and news aggregation services, all very useful for helping you advertise and promote your website.

I also use StumbleUpon as a resource for finding very high quality content. All the content on StumbleUpon has been manually curated, that is, human eyeballs have looked at the web page and found it worthy.

Friend me, StumbleUpon username dmdoolin.

Hat tip Hat tip : Thanks to Josh Kohlbach for pointing out how to link directly to StumbleUpon. Check out Josh’s article on Creating Linkable Useful Content.

Learning more…

Don’t hold your breath on seeing yet another lame tutorial here at Website In A Weekend. Detailed instructions for basic usage on all of these are available on hundreds of websites, just ask Google, you’ll see.

On the other hand, if you absolutely cannot find the information you need to understand and use any of these three services, leave a comment. If there’s enough demand, or your question is interesting enough, I’ll write something up.

After mastering these three social media services, branch out. You may find surprising traffic from relatively unknown services, you won’t know until you try.

But… you left out my favorite!

Maybe so.

But it doesn’t matter what we personally like best… if 90% of our customers are using something different.

My strategy is to go where the market is, carving out the overlap between the market and what I find fun. (Even WordPress is a bit of compromise. Given my druthers, I’d probably be working on TextPattern… but that market is just too small.) You do the same with bookmarking and maybe I’ll see you on Plurk or something.

Finally, I’m definitely interested in your opinion and comments on these three social media web applications. The key word is social. If all my readers inform me that these three sites suck, and recommend better sites, I. Am. On. It.

Social media, right? You’re part of this too. Speak your mind!