Henry Spencer


Henry Spencer is a Canadian computer programmer and space enthusiast. He wrote "regex", a widely used software library for regular expressions, and co-wrote C News, a Usenet server program. He also wrote The Ten Commandments for C Programmers. He is coauthor, with David Lawrence, of the book Managing Usenet. While working at the University of Toronto he ran the first active Usenet site outside the U.S., starting in 1981. His records from that period were eventually acquired by Google to provide an archive of Usenet in the 1980s.
The first international Usenet site was run in Ottawa, in 1981; however, it is generally not remembered, as it served merely as a read-only medium. Later in 1981, Spencer acquired a Usenet feed from Duke University, and brought "utzoo" online; the earliest public archives of Usenet date from May 1981 as a result.
The small size of Usenet in its youthful days, and Spencer's early involvement, made him a well-recognised participant; this is commemorated in Vernor Vinge's 1992 novel A Fire Upon the Deep. The novel featured an interstellar communications medium remarkably similar to Usenet, down to the author including spurious message headers; one of the characters who appeared solely through postings to this was modeled on Spencer.
He is also credited with the claim that "Those who do not understand Unix are condemned to reinvent it, poorly."

Preserving Usenet

In mid-December 2001, Google unveiled its improved Usenet archives, which now go more than a decade deeper into the Internet's past than did the millions of posts that the company had originally acquired when it bought an existing archive called Deja News.
Between 1981 and 1991, while running the zoology department's computer system at the University of Toronto, Spencer copied more than 2 million Usenet messages onto magnetic tapes. The 141 tapes wound up at the University of Western Ontario, where Google's Michael Schmidt tracked them down and, with the help of David Wiseman and others, got them transferred onto disks and into Google's archives.

Free Software contributions

Henry Spencer helped Geoff Collyer write C News in 1987.
At around the same time he wrote a non-proprietary replacement for regex, the Unix library for handling regular expressions, and made it freely available; his API followed that of Eighth Edition Research Unix.
Spencer's library has been used in many software packages, including Tcl, MySQL, and PostgreSQL, as well as being adapted for others, including early versions of Perl. Circa 1993, Spencer donated a second version of his RE library to 4.4BSD, following the POSIX standard for regular expressions.
Spencer was technical lead on the FreeS/WAN project, implementing an IPsec cryptographic protocol stack for Linux.
He also wrote 'aaa', which is one of the longest and most complex programs ever written in the awk programming language.
He also developed a 4 point font used by entomologists in labeling pinned insect specimens.

Space

Spencer is a founding member of the Canadian Space Society, and has served on its board of directors several times since 1984. He did mission analysis for the CSS's Canadian Solar Sail project, and was Software Architect for MOST, a Canadian science microsatellite dedicated to studying variable light from stars and extrasolar planets launched by Eurockot in 2003.
The asteroid 117329 Spencer is named in his honour.
He is a highly regarded space enthusiast, and is a familiar and respected presence on several space forums on Usenet and the Internet. From 1983 to 2007 Spencer posted over 34,000 messages to the sci.space.* newsgroups. His knowledge of space history and technology is such that the "I Corrected Henry Spencer" virtual T-shirt award was created as a reward for anyone who can catch him in an error of fact.