Hacker koan

Hacker koan

Hacker culture, and especially the artificial intelligence community at MIT, have invented a number of humorous short stories dubbed hacker koans about computer science; most of these are recorded in an appendix to the Jargon File, where they are called "AI Koans". Most do not fit the usual pattern of "koans", but they do tend to follow the form of being short, enigmatic, and often revealing an epiphany.

This section of the Jargon File has been described as "a sort of sacred epic, a hacker-culture Matter of Britain chronicling the heroic exploits of the Knights of the Lab." [http://www.catb.org/~esr/jargon/oldversions/jarg262.txt]

Examples

Uncarved block

:"In the days when Sussman was a novice, Minsky once came to him as he sat hacking at the PDP-6."

:"What are you doing?", "asked Minsky.":"I am training a randomly wired neural net to play Tic-tac-toe", "Sussman replied.":"Why is the net wired randomly?", "asked Minsky.":"I do not want it to have any preconceptions of how to play", "Sussman said."

:"Minsky then shut his eyes.":"Why do you close your eyes?" "Sussman asked his teacher.":"So that the room will be empty.":"At that moment, Sussman was enlightened."

Unlike most traditional Zen koans, this koan has a possible concrete and correct answer: just as the room is not really empty when Minsky shuts his eyes, neither is the neural network really free of preconceptions when it is randomly wired. The network still has preconceptions, they are simply random now, and from a random rather than a human source.

Interestingly, this particular koan seems to have been closely based on a real incident; the following text extract is from "" (chapter 6):

Victory

:"A student was playing a handheld video game during a class.":"The teacher called on the student and asked him what he was doing.":"The student replied that he was trying to master the game."

:"The teacher said, "There exists a state in which you will not attempt to master the game, and the game will not attempt to master you.":"The student asked, "What is this state?":"The teacher said," "Give me your video game, and I will show you."

:"The student gave him the game, and the teacher threw it to the ground, breaking it into pieces. The student was enlightened."

A very similar story exists in the "The Tao of Programming".

Enlightenment

This koan is attributed to Tom Knight, one of the primary developers of the Lisp machine at MIT:

:"A novice was trying to fix a broken Lisp machine by turning the power off and on.":"Knight, seeing what the student was doing, spoke sternly: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."

:"Knight turned the machine off and on.":"The machine worked."

Master Foo

:"It is recorded that once, when Master Foo was iterating along a beach, he came upon two of his disciples arguing by a computer processor.:"It is subtracting positive 1", declared the first.":"No; it is adding negative 1", asserted the other.":"Master Foo answered them thus: "Not incrementing, not decrementing — Equalizing!" whereupon both were enlightened."::(Derived from "Huineng's flag", Case 29, The Gateless Gate.)

Emacs and Bolio

This particular koan is sometimes punningly referred to as an “ice cream koan”, though that term also refers to an ice cream koan in . This koan refers to AI Lab tools that predate the GNU project:

: "A cocky novice once said to Stallman:" “I can guess why the editor is called Emacs, but why is the justifier called Bolio?”. "Stallman replied forcefully", “Names are but names, ‘Emack & Bolio's’ is the name of a popular ice cream shop in Boston-town. Neither of these men had anything to do with the software.”

: "His question answered, yet unanswered, the novice turned to go, but Stallman called to him," “Neither Emack nor Bolio had anything to do with the ice cream shop, either.” [This is correct – the store is named after two homeless men. See Emack & Bolio's#Name.]

A possible interpretation is that this is about the arbitrariness of identifiers in computer code – the name of variables does not affect the function of the code.

Collections

Eric S. Raymond compiled the original AI Koans into a collection as part of his work on the Hacker's Jargon Dictionary. Inspired by them, he has written several pastiches, "in toto" entitled the "Rootless Root" [http://www.catb.org/~esr/writings/unix-koans/] (a reference to the koan collection The Gateless Gate). Raymond notes that Danny Hillis invented the AI koan while a student at MIT. [cite book
title=The New Hacker's Dictionary
pages=p. 513
first=Eric S.
last=Raymond
year=1996
publisher=MIT Press
edition=3rd edition
]

Notes

External links

* [http://www.catb.org/~esr/jargon/html/koans.html Jargon File Koans] -(Eric S. Raymond's compilation)


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Koan (disambiguation) — Koan may refer to:* A legal case, as in The Cases of Judge Dee, 狄公安 Di Gongan in Chinese * Kōan 公安, a case, story, dialog, question, or statement in the history and lore of Chan (Zen) Buddhism * Emperor Kōan, an Emperor of Japan * Koōn (公安), a… …   Wikipedia

  • Kōan — Koan redirects here. For other uses, see Koan (disambiguation). Part of a series on Zen …   Wikipedia

  • Emacs — infobox software caption = GNU Emacs 22.0.91.1 with multiple buffers and syntax highlighting for LaTeX, C#, and C. developer = the GNU project author = Richard Stallman released = release year|1976 frequently updated = yes programming language =… …   Wikipedia

  • Category:Computer humor — Subcategories This category has the following 2 subcategories, out of 2 total. E [×] Esoteric programming languages‎ (17 P) W …   Wikipedia

  • Emack & Bolio's — Infobox Company name = Emack Bolio s type = genre = foundation = 1975 founder = Robert Rook location city = location country = location = United States locations = area served = United States key people = industry = Retail products = Ice cream… …   Wikipedia

  • Emacs — Para el computador Macintosh, véase eMac. Emacs …   Wikipedia Español

  • Mu (negative) — Chinese name Traditional Chinese 無 Simplified Chinese 无 …   Wikipedia

  • Liste der Ghost-in-the-Shell:-Stand-Alone-Complex-Episoden — Die Liste der Ghost in the Shell: Stand Alone Complex Episoden enthält alle 26 Episoden der japanischen Anime Fernsehserie Ghost in the Shell: Stand Alone Complex. Die einzelnen Episoden lassen sich in zwei Kategorien einteilen: „Stand Alone“… …   Deutsch Wikipedia

  • Liste der Biografien/Koa–Kod — Biografien: A B C D E F G H I J K L M N O P Q …   Deutsch Wikipedia

  • Mu (zen) — Para otros usos de este término, véase Mu (desambiguación). Carácter chino tradicional para wú ( ninguna cosa ); en coreano y japonés: mu). Representa el kōan del Perro de Zhaozhou …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”