Hex (Discworld)

Last updated

Hex is a fictional computer featured in the Discworld novels by Terry Pratchett. First appearing in Soul Music , Hex is an elaborate, magic-powered, self-building computer (not unlike the 'shamble', a kind of magical device used by the Witches of the Discworld) featuring ants and cheese as part of its architecture, and is housed in the basement of the High Energy Magic Building at the Unseen University (UU) in the twin city of Ankh-Morpork.

Contents

Hex is a computer unlike any other the Disc has ever seen, which is not particularly exceptional because previously, all other "computers" on the Disc had consisted of druidic stone circles. Programmed via 'Softlore', Hex runs and evolves under the watchful eyes of wizard Ponder Stibbons, who becomes the de facto IT manager at UU because he's the only one who understands what he's talking about.

Origins and evolution

Hex has its origins in a device that briefly appeared in Soul Music , created by Ponder Stibbons [1] and some student Wizards in the High Energy Magic building. In this form it was simply a complex network of glass tubes, containing "ants as carriers of information". [1] The wizards could then use punched cards to control which tubes the ants could crawl through, enabling it to perform simple mathematical functions.

By the time of the next novel, 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 lift the ants can ride on that turns a significant cogwheel. Its main purposes were, in a sense, data compression and information retrieval: 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 The Last Continent it was explained that the aforementioned "invisible writings" were snippets of books that were written a long time ago and lost, snippets of books that hadn't been written yet, and snippets of books that would never be written. The theory behind this was, all books are tenuously connected, due to the fact that every book ever written cites information from every other book, whether the writers mean to or not. Hex helps Stibbons by magically trawling the ether for these scraps of information.

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 didn'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; at the time, there was a massive excess of magic available due to a near catastrophic overload of the university's experimental thaumic reactor. 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 Unseen Academicals , Ponder Stibbons has placed a mask on the wall to communicate with, even though Hex's voice seems to come from everywhere as it travels in blit space. (Ponder comments "somehow, well, it feels better to have something to talk to.")

By the time of The Science of Discworld II: The Globe Stibbons has hooked Hex up to the University's clacks tower. Hex has 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.'[ citation needed ]) It is, however, debatable whether-or-not the Patrician, Lord Havelock Vetinari, knows.

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

Structure and technology

Currently,[ when? ] Hex is activated by "initializing the GBL," which Ponder Stibbons reluctantly admits means "pulling the Great Big Lever" (similar to the Internet slang "BRS", or "big red switch"). This is also a reference to the IBM Mainframe terminology for booting, known as IPL. This action 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 advertisement 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 (that is, if there are enough bugs in the system). This is a reference to[ citation needed ] 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 series of wooden blocks and later a quill on a hinged lever (echoing the real-world evolution of computer output from paper tape to video monitor).

It is all powered by a waterwheel covered in male sheep skulls, i.e. 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 (Hex's 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" (as described in Hogfather ). As a further advantage, when Hex is turned off for the summer, the beehive will provide quite a lot of honey.

There is also a mouse (pun for a computer pointer) 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, or if Ponder forgets to feed it cheese (also from Hogfather ). Hex also stops working (with the error message "Mine! Waah!") if the FTB is removed/disengaged; "FTB" stands for "Fluffy Teddy Bear," which was Hex's Hogswatchnight gift when Death stood in for the Hogfather. (FTB is a pun on FTP, the File Transfer Protocol.) Stibbons is concerned by these signs that Hex might be alive, but dismisses these thoughts, insisting that Hex only thinks it is alive.

Hex can apparently be shut down completely by means of a Big Red Lever (BRL). This seems to worry it further, indicating sentient life because it is afraid of death (in this case shutting down). An example of this appears in Hogfather : when Death approaches Hex, it asks if it is "Big Red Lever time".

Other Discworld computers

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

The Hex-like machine was mentioned again in Unseen Academicals, as constructed by the staff of the Higher Energy Magic Building at Brazeneck college (of whom the Archancellor is the retired Dean of Unseen University), and was given the name Pex. Pex was apparently powered by chickens rather than ants, a technology which was considered superior as the eggs it provided were edible. Adrian Turnipseed was responsible for its construction and maintenance, using various technologies he had learned from Ponder while helping to build the original Hex. However, he had apparently not learned well enough, as a seventy-foot chicken broke out of the Higher Energy Magic Building and demolished much of Pseudopolis, and presumably Pex as well.

Messages

Hex has a habit of spewing bizarre messages. Its "Out of Cheese" error from Interesting Times caught the fancy of many information technology employees, turning up in real-world systems [2] and in programming books. [3]

It alludes to the many confusing error messages that technology users have had to put up with in the Information Age. "Out of Paper" (also seen as "PC LOAD LETTER" for some printers) is familiar to many office workers. "Redo From Start" was 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. Other inscrutable Hex-talk includes:

+++Mr. Jelly! Mr. Jelly!+++  +++Error At Address: 14, Treacle Mine Road, Ankh-Morpork+++ +++MELON MELON MELON+++ +++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++ +++Whoops! Here Comes The Cheese! +++ +++Oneoneoneoneoneoneone+++

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

In the videogame Discworld II: Missing, Presumed..., if the player asks the question "Why?", Hex spits out various error messages different from those in the books:

*Blip* *Blip* *Blip* End of Cheese Error *Blip* *Blip* *Blip* Can Not Find Drive Z: *Blip* *Blip* *Blip* Unknown Application Error *Blip* *Blip* *Blip* Please Reboot Universe *Blip* *Blip* *Blip* Year Of The Sloth *Blip* *Blip* *Blip*

This echoes the science-fiction "does not compute" cliché, in which the protagonist confuses, locks up, or destroys a dangerous computer by giving it riddles or making paradoxical statements such as "everything I say is a lie". [4] [5]

Appearances

Hex appears in the books Interesting Times , Soul Music , Hogfather , The Last Continent , Going Postal , The Science of Discworld I, II and III , Making Money and Unseen Academicals and in the video game Discworld II: Missing Presumed...!?

Reception

New Scientist magazine published a letter praising the Discworld's Hex computer, where Pratchett had "developed the idea to a highly sophisticated level" over the course of several books. [1]

Real world connections

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

The name is a play on several meanings of the word "hex": a hex can be a witch (hence the video game Hexen meaning witches) or a magical spell, and "hex" is slang for hexadecimal, the base 16 system used to simplify the representation of binary numbers and widely used in the IT world. "Hex" ("6" in Greek) also denotes the number of legs ants have; and refers to Hex, a game that encourages strategy and planning.

In 2001, a new Silicon Graphics Origin 2800 supercomputer was installed as part of the University of Leicester's Centre for Mathematical Modelling and, with Pratchett's blessing, named HEX.

In 2019, Hex GBL was provided as an answer for a practice exam associated with Chapter 6 of Western Governors University's "Managing Cloud Security" course. [6]

Related Research Articles

<span class="mw-page-title-main">Terry Pratchett</span> English fantasy author (1948–2015)

Sir Terence David John Pratchett was an English humourist, satirist, and author of fantasy novels, especially comical works. He is best known for his Discworld series of 41 novels.

Unseen University Fictional school from the Discworld series

The Unseen University (UU) is a school of wizardry in Terry Pratchett's Discworld series of fantasy novels. Located in the fictional city of Ankh-Morpork, the UU is staffed by a faculty composed of mostly indolent and inept old wizards. The university's name is a pun on the Invisible College, and many aspects of the University are references to Oxford and Cambridge University. The exploits of the head wizards of the Unseen University are one of the main plot threads in the long-running fantasy series, and have played a central role in 13 novels to date, as well as the four supplementary Science of Discworld novels and the short story, A Collegiate Casting-Out of Devilish Devices.

<i>Sourcery</i> 1988 Discworld novel by Terry Pratchett

Sourcery is a fantasy novel by British writer Terry Pratchett, the fifth book in his Discworld series, published in 1988. On the Discworld, sourcerers – wizards who are sources of magic, and thus immensely more powerful than normal wizards – were the main cause of the great mage wars that left areas of the disc uninhabitable. As eight is a powerful magical number on Discworld, men born as the eighth son of an eighth son are commonly wizards. Since sourcerers are born the eighth son of an eighth son of an eighth son, they are wizards squared. To prevent the creation of sourcerers, therefore, wizards are not allowed to marry or have children. The first few pages of the novel deal with a sourcerer's father who cheats death by making a prophecy that Death must honour; the alternative is to risk destroying the Discworld. The rest of the novel deals with the sourcerer's plan to have wizards rule the Discworld, and the efforts of a small group – including Rincewind the Wizard, Nijel the Destroyer and Conina the Hairdresser, daughter of Cohen the Barbarian – to thwart those plans.

<i>Soul Music</i> (novel) 1994 Discworld novel by Terry Pratchett

Soul Music is a fantasy novel by British writer Terry Pratchett, the sixteenth book in the Discworld series, first published in 1994. Like many of Pratchett's novels it introduces an element of modern society into the magical and vaguely late medieval, early modern world of the Discworld, in this case Rock and Roll music and stardom, with near disastrous consequences. It also introduces Susan Sto Helit, daughter of Mort and Ysabell and granddaughter of Death.

<i>The Light Fantastic</i> 1986 Discworld novel by Terry Pratchett

The Light Fantastic is a comic fantasy novel by Terry Pratchett, the second of the Discworld series. It was published on 2 June 1986, the first printing being of 1,034 copies. The title, taken from a poem by John Milton, in which it refers to dancing lightly with extravagance.

<i>Equal Rites</i> 1987 Discworld novel by Terry Pratchett

Equal Rites is a comic fantasy novel by Terry Pratchett. Published in 1987, it is the third novel in the Discworld series and the first in which the main character is not Rincewind. The title is wordplay on the phrase "Equal Rights".

<span class="mw-page-title-main">Susan Sto Helit</span> Character in Terry Pratchetts Discworld novels

Susan Sto Helit, once referred to as Susan Death, is a fictional character in Terry Pratchett's Discworld series of fantasy novels. She is the granddaughter of Death, the Disc's Grim Reaper, and has a number of his abilities. She appears in three Discworld novels: Soul Music, Hogfather, and Thief of Time. Being both human and supernatural, Susan is frequently and reluctantly forced away from her attempts at "normal" life to do battle with malign supernatural forces or to take on her grandfather's job in his absence. Death tends to rely on her in his battles against the Auditors of Reality, particularly in situations where he has no power or influence. As the series progresses, she also begins to take on roles educating children, so that, as Pratchett mentions in The Art of Discworld, she has "ended up, via that unconscious evolution that dogs characters, a kind of Goth Mary Poppins".

<span class="mw-page-title-main">Rincewind</span> Character in Discworld novels by Terry Pratchett

Rincewind is a fictional character appearing in several of the Discworld novels by Terry Pratchett. He is a failed student at the Unseen University for wizards in Ankh-Morpork, and is often described by scholars as "the magical equivalent to the number zero". He spends most of his time running away from bands of people who want to kill him for various reasons. The fact that he's still alive and running is explained in that, although he was born with a wizard's spirit, he has the body of a long-distance sprinter. Rincewind is also renowned for being able to solve minor problems by turning them into major disasters. His unique "skill" is implied to be due to being the chosen one of "The Lady", the anthropomorphic personification of luck.

A major subset of the Discworld novels of Terry Pratchett involves the witches of Lancre. The three main witches introduced in 1988's Wyrd Sisters — crone Esme Weatherwax, mother Nanny Ogg and maiden Magrat Garlick — are a spoof on the Three Witches in Shakespeare's Macbeth, and a tongue-in-cheek reinterpretation of the Neopagans' Triple Goddess. The three witches are portrayed as more sensible and realistic than the often-foolish residents of the Discworld, and Granny Weatherwax "especially tends to give voice to the major themes of Pratchett's work."

<i>Interesting Times</i> 1994 Discworld novel by Terry Pratchett

Interesting Times is a fantasy novel by British writer Terry Pratchett, the seventeenth book in the Discworld series, set in the Aurient.

<i>Hogfather</i> 1996 Discworld novel by Terry Pratchett

Hogfather is the 20th Discworld novel by Terry Pratchett, and a 1997 British Fantasy Award nominee. It was first released in 1996 and published by Victor Gollancz. It came in 137th place in The Big Read, a BBC survey of the most loved British books of all time, making it one of fifteen books by Pratchett in the Top 200.

<i>The Science of Discworld II: The Globe</i> 2002 book by Terry Pratchett, Ian Stewart and Jack Cohen

The Science of Discworld II: The Globe is a 2002 book written by British novelist Terry Pratchett and science writers Ian Stewart and Jack Cohen. It is a sequel to The Science of Discworld, and is followed by The Science of Discworld III: Darwin's Watch.

<i>The Science of Discworld</i> 1999 book by Terry Pratchett, Ian Stewart and Jack Cohen

The Science of Discworld is a 1999 book by novelist Terry Pratchett and popular science writers Ian Stewart and Jack Cohen. Three sequels, The Science of Discworld II: The Globe, The Science of Discworld III: Darwin's Watch, and The Science of Discworld IV: Judgement Day, have been written by the same authors.

Death (<i>Discworld</i>) Fictional character in Discworld series

Death is a fictional character in Terry Pratchett's Discworld series and a parody of several other personifications of death. Like most Grim Reapers, he is a black-robed skeleton who usually carries a scythe. His jurisdiction is specifically the Discworld itself; he is only a part, or minion, of Azrael: the universal Death. He has been generally used by Pratchett to explore the problems of human existence, and has become more sympathetic throughout the series.

<span class="mw-page-title-main">Discworld (world)</span> Fictitious setting in the Discworld franchise

The Discworld is the fictional setting for all of Terry Pratchett's Discworld fantasy novels. It consists of a large disc resting on the backs of four huge elephants which are in turn standing on the back of an enormous turtle, named Great A'Tuin as it slowly swims through space. The Disc has been shown to be heavily influenced by magic and, while Pratchett has given it certain similarities to planet Earth, he has also created his own system of physics for it.

<span class="mw-page-title-main">Magician (fantasy)</span> Magicians appearing in fantasy fiction

A magician, also known as an enchanter/enchantress, mage, magic-user, sorcerer/sorceress, spell-caster, warlock, witch, or wizard, is someone who uses or practices magic derived from supernatural, occult, or arcane sources. Magicians are common figures in works of fantasy, such as fantasy literature and role-playing games, and enjoy a rich history in mythology, legends, fiction, and folklore.

<i>Terry Pratchetts The Colour of Magic</i> 2008 English fantasy movie directed by Vadim Jean

Terry Pratchett's The Colour of Magic is a fantasy-comedy two-part television adaptation of the bestselling novels The Colour of Magic (1983) and The Light Fantastic (1986) by Terry Pratchett. The fantasy film was produced for Sky1 by The Mob, a small British studio, starring David Jason, Sean Astin, Tim Curry, and Christopher Lee as the voice of Death. Vadim Jean both adapted the screenplay from Pratchett's original novels, and served as director.

<i>Unseen Academicals</i> 2009 Discworld novel by Terry Pratchett

Unseen Academicals is the 37th novel in Terry Pratchett's Discworld series. The novel satirises football, and features Mustrum Ridcully setting up an Unseen University football team, with the Librarian in goal. It includes new details about "below stairs" life at the university. The book introduces several new characters, including Trevor Likely, a street urchin with a wonderful talent for kicking a tin can; Glenda Sugarbean, a maker of "jolly good" pies; Juliet Stollop, a dim but beautiful young woman who might just turn out to be the greatest fashion model there has ever been; and the mysterious Mr Nutt, a cultured, enigmatic, idealistic savant. According to the publisher, Transworld, the "on sale" date for the hardback was 1 October 2009 although the official publication date is 8 October 2009. Bookshop chain Borders included a small set of exclusive Discworld football cards with each book.

<i>Discworld</i> Fantasy book series by Terry Pratchett

Discworld is a comic fantasy book series written by the English author Terry Pratchett, set on the Discworld, a flat planet balanced on the backs of four elephants which in turn stand on the back of a giant turtle. The series began in 1983 with The Colour of Magic and continued until the final novel The Shepherd's Crown, which was published in 2015, following Pratchett's death. The books frequently parody or take inspiration from classic works, usually fantasy or science fiction, as well as mythology, folklore and fairy tales, and often use them for satirical parallels with cultural, political and scientific issues.

<i>The Science of Discworld IV: Judgement Day</i> 2013 book by Terry Pratchett, Ian Stewart and Jack Cohen

The Science of Discworld IV: Judgement Day is a book set on the Discworld, by Terry Pratchett, Ian Stewart and Jack Cohen. It is the sequel to The Science of Discworld, The Science of Discworld II: The Globe and The Science of Discworld III: Darwin's Watch.

References

  1. 1 2 3 Rix, Stephen (February 14, 1998). "Letters : Ants online". New Scientist . Vol. 157, no. 2121. Retrieved September 16, 2022.
  2. Keefieboy (July 5, 2005). "Out of Cheese Error". Adventures in Dubai. Blogspot. Archived from the original (blog) on 2012-03-09. Retrieved 2009-06-20.
  3. Flaig, Ruediger-Marcus (2008). Bioinformatics Programming in Python. Wiley-VCH. ISBN   978-3-527-32094-3 . Retrieved 2009-06-20.
  4. Nicholls, Peter (1979). The Science Fiction Encyclopedia. Doubleday. p. 124. ISBN   0-385-13000-7.
  5. Meikle, William. "Science Fiction Writing - Ten Cliches to Avoid". SD Editorials. StreetDirectory.com. Retrieved 2009-06-20.
  6. "Hex GBL as an answer".