Skip to content

Category Archives: coding

How Unit Testing Could Have Saved Lives

A recent article in The Independent describes a fascinating study.  Researchers found that forcing surgeons in a London hospital to implement a single new procedure caused the death rate after surgery to fall 47 percent.  Complications likewise fell by 36 percent.
These are enormous numbers:
Donald Berwick, the president of the US Institute for Healthcare Improvement, said [...]

Damn Useful: When You Forget to type Sudo

(This post is part of a series.  To read more tips and to learn about the philosophy behind these posts, check out the parent post.)
You know you’ve done this way too many times:
ben@lispclub ~ $ apt-get install blahblahblah
E: Could not open lock file /var/lib/dpkg/lock – open (13 Permission denied)
E: Unable to lock the administration directory [...]

Damn Useful Tips

This post is the first in a series called Damn Useful.  The posts will be a number of tips on the tools we use most frequently as programmers, particularly the shell and editor.  Because of my own preferences, I’ll focus on bash, vim, and unix tools like grep, screen, and others.
Here are [...]