Skip to content
WildCat StudioIndependent since 2011

Lessons learned

Check the power cord first: a short guide to boring explanations

Most technical problems have a dull cause, and most of the time spent on them goes into ignoring that. A field guide, with a cat in a supporting role.

Lessons learned2 min read

The reminder

A lesson from the repair years

Years ago I did computer repair work for people who needed it. One memorable call involved a machine that would not turn on, a likely power supply fault and a cat that had been quietly conducting its own hardware tests behind the desk. The full story is in chapter 12 of the founder's story. The lesson it left is the one worth keeping: before spending hours on a complicated diagnosis, make sure the thing has power.

It is funny, and it is also one of the most reliable rules in technical work.

Check in order of cheapness

A boring-first checklist

When something stops working, the temptation is to start with the interesting theory. The interesting theory is usually wrong. A better habit is to check explanations in order of how cheap they are to rule out.

  • Is it on, connected and plugged in? Power, cables, network, the right device, the right account.
  • What changed? Updates, settings, new hardware, a different network, yesterday's "quick fix".
  • Can it be reproduced? A fault that cannot be reproduced cannot be fixed, only guessed at.
  • Is the environment what you think it is? Versions, paths, permissions, configuration and caches cause an embarrassing share of software bugs.
  • Only then: form the elaborate hypothesis.

The same rule in software

Plugs come in many shapes

In software the power cord is a configuration file, an environment variable, an expired credential, a stale cache or a service that is simply not running. The checklist is identical. Confirm the boring things first, and write down what you confirmed, because the one thing you assumed is usually the one that was wrong.

It also protects you from a quieter mistake: fixing a symptom that was never the cause, and then wondering why the problem comes back.

When the simple answer is wrong

Be honest about it

Boring explanations are not always right. Some problems really are subtle, and the discipline is to rule out the dull causes quickly, not to pretend that no interesting ones exist. Sometimes a different method turns out to be better. Sometimes you spend three days discovering why everyone else did it the standard way. Either way something is learned.

The rule is not "the answer is always simple". It is "check the simple answers first, because they are cheap".

Related

Keep reading

Keep reading

More from the journal