< previous page page_317 next page >

Page 317

became standard; but see munge] 1. To make changes to a file, esp. large-scale and irrevocable changes. See BLT. 2. To destroy, usually accidentally, occasionally maliciously. The system only mungs things maliciously; this is a consequence of Finagle's Law. See scribble, mangle, trash, nuke. Reports from Usenet suggest that the pronunciation /muhnj/ is now usual in speech, but the spelling 'mung' is still common in program comments (compare the widespread confusion over the proper spelling of kluge). 3. The kind of beans the sprouts of which are used in Chinese food. (That's their real name! Mung beans! Really!)
Like many early hacker terms, this one seems to have originated at TMRC; it was already in use there in 1958. Peter Samson (compiler of the original TMRC lexicon) thinks it may originally have been onomatopoeic for the sound of a relay spring (contact) being twanged. However, it is known that during the World Wars, 'mung' was U.S. army slang for the ersatz creamed chipped beef better known as 'SOS', and it seems quite likely that the word in fact goes back to Scots-dialect munge.
munge /muhnj/ vt. 1. [derogatory] To imperfectly transform information. 2. A comprehensive rewrite of a routine, data structure or the whole program. 3. To modify data in some way the speaker doesn't need to go into right now or cannot describe succinctly (compare mumble).
This term is often confused with mung, which probably was derived from it. However, it also appears the word munge was in common use in Scotland in the 1940s, and in Yorkshire in the 1950s, as a verb, meaning to munch up into a masticated mess, and as a noun, meaning the result of munging something up (the parallel with the kluge/kludge pair is amusing).
Murphy's Law prov. The correct, original Murphy's Law reads: "If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it." This is a principle of defensive design, cited here because it is usually given in mutant forms less descriptive of the challenges of design for lusers. For example, you don't make a two-pin plug symmetrical and then label it 'THIS WAY UP'; if it matters which way it is plugged in, then you make the design asymmetrical (see also the anecdote under magic smoke).
Edward A. Murphy, Jr. was one of the engineers on the rocket-sled experiments that were done by the U.S. Air Force in 1949 to test human acceleration tolerances (USAF project MX981). One experiment involved a set of 16 accelerometers mounted to different parts of the subject's body. There were two ways each sensor could be glued to its mount, and some-

 
< previous page page_317 next page >

If you like this book, buy it!