Hex (Discworld)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Kevinkor2 (talk | contribs) at 15:53, 20 March 2007 (changed {{bsm}} to {{smallcaps}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:Infobox Discworld character

Hex is an elaborate, Heath Robinson/Rube Goldberg-esque, magic-powered computer housed at Unseen University (UU) in the city of Ankh-Morpork, in author Terry Pratchett's Discworld series.

Template:Spoiler

Hex is a computer unlike any other the Disc has ever seen (which is not particularly hard since all other 'computers' on the Disc consist of druidic stone circles). Hex runs and evolves under the watchful eyes of apprentice wizard Ponder Stibbons, who becomes the IT manager at UU because he's the only one who understands what he's talking about.

Evolution

Hex has its origins in a device that briefly appeared in Soul Music, created by student wizard Skazz in the High Energy Magic building. In this form it was simply a complex network of glass tubes, containing ants. The wizards could then use punch cards to control which tubes the ants could crawl through, enabling it to perform simple mathematical functions.

By the time of Interesting Times Hex had become a lot more complex, and was constantly reinventing itself. Part of it is now clockwork, which interfaces with the ant-farm via a paternoster the ants can ride on that turns a significant cogwheel. Its main purposes were to analyse spells, to see if there were simpler "meta-spells" underlying them, and to help Stibbons with his study of "invisible writings", by running the spells used to bring the writings into existence (these spells must be cast rapidly, and each one can only be used once before the universe notices they shouldn't work). In other words, data compression and information retrieval.

In Hogfather Hex contained several things that nobody remembered installing, and was asking about electricity. It was at around this time that the wizards become concerned that it may be trying to become something they don't understand.

By The Science of Discworld Hex was capable of "once and future computing"; increasing its abilities simply by deducing that the required processing power would exist eventually. Presumably this requires a high expenditure of magic, as it has not been mentioned again. This virtual memory appeared as translucent silver towers superimposed onto the real Hex. Hex was sufficiently intelligent by this time not to tell the wizards what it was doing, in case it worried them.

By the time of The Science of Discworld II: The Globe Stibbons had hooked it up to the University's clacks tower, and it worked out all the codes, meaning the University can now use the clacks for free, and has the Disc's first modem. (The legal issues have been carefully considered by Archchancellor Mustrum Ridcully, who concluded that no-one was going to find out so they may as well do as they please.)

In The Art of Discworld, Pratchett explains that "the wizards invented something sufficiently computerlike that computerness entered into it".

Description

Currently, Hex is activated by initializing the GBL, which Stibbons reluctantly admits means "pulling the Great Big Lever" (similar to the Internet slang BRS (Big Red Switch)). This releases millions of ants into a much more complex network of glass tubes that makes up the bulk of Hex, hence the sticker on Hex that reads Anthill inside, a pun on Intel’s ad slogan Intel Inside. Hex "thinks" by controlling which tubes the ants can crawl through, thus allowing it to perform increasingly complex computations if enough ants are provided (i.e. if there are enough bugs in the system). This is a reference to Douglas Hofstadter's Gödel, Escher, Bach, in which there exists a sentient ant colony, with the ants acting as neurons. Hex can now be given input through a huge wooden keyboard, in analogue writing by means of a complicated mechanical eye designed by Hex itself, or vocally through an old hearing trumpet, and gives output by means of a quill on a hinged lever. It is all powered by a waterwheel covered in male sheep skulls (in other words, RAM). When it is particularly busy, an hourglass comes down on a spring - another sideways reference to Windows. Another apparently important feature is an aquarium, so the operator has something to watch when Hex is working (screensaver). Hex's long-term memory storage is a massive beehive contained in the next room; the presence of the bees makes this secure memory, because attempting to tamper with it would result in being stung to death.

There is also a mouse that has built its nest in the middle of Hex. It doesn't seem to do anything, but Hex stops working if it is removed. Hex also stops working (with the error message "Mine! Waah!") if the FTB (Fluffy Teddy Bear, a gift from the Hogfather, whom Hex believes in, having been instructed to do so) is removed. Stibbons is concerned by these signs that Hex might be alive, but insists that it only thinks it is.

Hex can apparently be shut down completely by means of a Big Red Lever. This seems to worry it.

Ponder Stibbons has connected Hex to the Unseen University's clacks tower giving it the equivalent of an internet connection. It has since cracked the system allowing the wizards to send clacks for free. Whether or not this is actually legal is a question the faculty is carefully not asking.

Oddly, The Science of Discworld puts the name Hex in small capital letters, hex, that are the same type as when Death speaks. In The Science of Discworld II: The Globe, Hex is written as it is here.

According to The Science of Discworld III: Darwin's Watch, another Hex-like machine has been invented by the smaller magical university of Braseneck College. This is much simpler than the original, however; according to Stibbons, Hex is technically a Very Big Thing, while the Braseneck device is barely a Quite Big Thing (the next step up would be a Great Big Thing, every particle of the universe being modelled within it; apparently these terms are quite exact, as when the Lecturer in Recent Runes postulated that the Braseneck wizards would try and build an Even Bigger Thing, Ponder Stibbons corrected him. Apparently a Very Big Thing is capable of pushing boundaries twice as big up to three times as far as a Quite Big Thing).

Hex can be seen as a reversal of Arthur C. Clarke's Third Law, which states that Any sufficiently advanced technology is indistinguishable from magic. Hex, as apparently the most advanced form of magic on the Discworld, has now become effectively indistinguishable from technology.

Inspiration

The inspiration for Hex, which evolves through seemingly unexplainable upgrades like extra cheese, a CWL (Clothes Wringer from the Laundry, for crunching numbers and other things) the FTB protocol (Fluffy Teddy Bear) and "small religious pictures" (icons), came from Pratchett's own early experiments with unfathomable upgrades on his ZX-81.

The name is a play on the multiple meanings of the word "hex"; a hex can be a "magical spell" and also an abbreviation of "hexadecimal". It may also be a play on HAL 9000, or on TLAs in general.

In 2001, a new SGI Origin 2800 supercomputer was installed as part of the University of Leicester's Centre for Mathematical Modelling. With Terry Pratchett's blessing, the new machine was named HEX after the computer in the Discworld novels.

Quotes / Error messages

  • ++?????++ Out of Cheese Error. Redo From Start.
  • Mr. Jelly! Mr. Jelly! Error at Address Number 6, Treacle Mine Road.
  • Melon melon melon
  • +++Wahhhhhhh! Mine!+++
  • +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++

N.B. Please do not actually try to reboot the universe. This error means that Hex detected something not possible even by the standards of the Discworld. It references to the impossibility to divide by 0 which is not possible in the real world.

Hex's messages are often delimited by the sequence +++, which recalls the escape sequence in the Hayes command set, a standard used in modems.

"REDO FROM START" is the somewhat unhelpful error message produced by the BASIC interpreter in many early home computers when non-numeric characters were entered in response to a prompt for numerical input.

Appearances

Hex was mentioned in the following books:

External links