Henry Spencer (born 1955) 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 (and, slightly obliquely, named for him).
He is also credited with the claim that "Those who do not understand Unix are condemned to reinvent it, poorly."
In mid-December 2001, Google unveiled its improved Usenet archives, which now go more than a decade deeper into the Net's past than did the millions of posts that the company got when it bought an existing archive called DejaNews.
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
At around the same time he wrote a non-proprietary replacement for
regex(3), 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.
He also developed a 4 point font used by entomologists in labeling pinned insect specimens.
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 (planning of launch and orbits) for the CSS's Canadian Solar Sail project (now defunct), 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.
- Spencer, Henry (October 14, 1987). "Ten Commandments For C Programmers". comp.lang.c.
- Lawrence, David; Spencer, Henry (January 1998). Managing Usenet. O'Reilly Media. ISBN 1-56592-198-4.
- Spencer, Henry (November 14, 1987). "space news from Sept 28 AW&ST". sci.space.shuttle.
- Wiseman, David G. (December 11, 2001). "Magi's NetNews Archive Involvement". Archived from the original on February 9, 2005.
- Mieszkowski, Katharine (January 8, 2002). "The Geeks Who Saved Usenet". Salon.com.
- Henry Spencer (1986-01-19). "regexp(3)". mod.sources. Web link. Retrieved 9 January 2013.
- "Regular Expressions". MySQL 5.6 Reference Manual. Oracle. 27 November 2012.
- "Regular Expression Details". PostgreSQL 8.4+ Reference Manual. 1 September 2008.
- Yarvin, Norman. "About Yarchive.net". Archived from the original on August 11, 2003.
|Wikiquote has a collection of quotations related to: Henry Spencer|
- Brief biography of Spencer at O'Reilly Media
- Spencer presentation at the Apollo Lunar Surface Journal
- "MOST satellite to rocket into space in October" Janet Wong, News@UofT, December 5, 2001
- Asteroids 101 (6:33), The Dawn Mission (4:38), Early Days (6:38) – Moon and Back, three videos of interviews at SpaceAccess 2013 conference, April 2013.
- The Ten Commandments for C Programmers (Annotated Edition) by Henry Spencer
- #ifdef Considered Harmful, or Portability Experience With C News - A paper he wrote with Geoff Collyer about software portability.
- aaa - the Amazing Awk Assembler by Henry Spencer
- awf - the Amazingly Workable Formatter by Henry Spencer