readenglishbook.com » Other » The Hacker's Dictionary, - [best reads of all time .txt] 📗
  • Author: -
  • Performer: 0262680920

Book online «The Hacker's Dictionary, - [best reads of all time .txt] 📗». Author -



1 ... 19 20 21 22 23 24 25 26 27 ... 111
Go to page:
cases of the disease, the programmer cannot comprehend why each fix of this kind seems only to further disgruntle the user.

:calculator: [Cambridge] n. Syn. for {bitty box}.

:can: vt. To abort a job on a time-sharing system. Used esp. when the person doing the deed is an operator, as in "canned from the {{console}}". Frequently used in an imperative sense, as in "Can that print job, the LPT just popped a sprocket!" Synonymous with {gun}. It is said that the ASCII character with mnemonic CAN

(0011000) was used as a kill-job character on some early OSes.

:can't happen: The traditional program comment for code executed under a condition that should never be true, for example a file size computed as negative. Often, such a condition being true indicates data corruption or a faulty algorithm; it is almost always handled by emitting a fatal error message and terminating or crashing, since there is little else that can be done. This is also often the text emitted if the `impossible' error actually happens! Although "can't happen" events are genuinely infrequent in production code, programmers wise enough to check for them habitually are often surprised at how often they are triggered during development and how many headaches checking for them turns out to head off.

:candygrammar: n. A programming-language grammar that is mostly {syntactic sugar}; the term is also a play on `candygram'.

{COBOL}, Apple's Hypertalk language, and a lot of the so-called `4GL' database languages are like this. The usual intent of such designs is that they be as English-like as possible, on the theory that they will then be easier for unskilled people to program.

This intention comes to grief on the reality that syntax isn't what makes programming hard; it's the mental effort and organization required to specify an algorithm precisely that costs. Thus the invariable result is that `candygrammar' languages are just as difficult to program in as terser ones, and far more painful for the experienced hacker.

[The overtones from the old Chevy Chase skit on Saturday Night Live should not be overlooked. (This was a "Jaws" parody.

Someone lurking outside an apartment door tries all kinds of bogus ways to get the occupant to open up, while ominous music plays in the background. The last attempt is a half-hearted "Candygram!"

When the door is opened, a shark bursts in and chomps the poor occupant. There is a moral here for those attracted to candygrammars. Note that, in many circles, pretty much the same ones who remember Monty Python sketches, all it takes is the word "Candygram!", suitably timed, to get people rolling on the floor.) --- GLS]

:canonical: [historically, according to religious law'] adj. The usual or standard state or manner of something. This word has a somewhat more technical meaning in mathematics. Two formulas such as 9 + x and x + 9 are said to be equivalent because they mean the same thing, but the second one is incanonical form' because it is written in the usual way, with the highest power of x first. Usually there are fixed rules you can use to decide whether something is in canonical form. The jargon meaning, a relaxation of the technical meaning, acquired its present loading in computer-science culture largely through its prominence in Alonzo Church's work in computation theory and mathematical logic (see {Knights of the Lambda Calculus}).

Compare {vanilla}.

This word has an interesting history. Non-technical academics do not use the adjective canonical' in any of the senses defined above with any regularity; they do however use the nounscanon'

and canonicity' (not *canonicalness or *canonicality). Thecanon' of a given author is the complete body of authentic works by that author (this usage is familiar to Sherlock Holmes fans as well as to literary scholars). `The canon' is the body of works in a given field (e.g., works of literature, or of art, or of music) deemed worthwhile for students to study and for scholars to investigate.

The word canon' derives ultimately from the Greekkanon'

(akin to the English cane') referring to a reed. Reeds were used for measurement, and in Latin and later Greek the wordcanon'

meant a rule or a standard. The establishment of a canon of scriptures within Christianity was meant to define a standard or a rule for the religion. The above non-techspeak academic usages stem from this instance of a defined and accepted body of work.

Alongside this usage was the promulgation of canons' (rules') for the government of the Catholic Church. The techspeak usages ("according to religious law") derive from this use of the Latin `canon'.

Hackers invest this term with a playfulness that makes an ironic contrast with its historical meaning. A true story: One Bob Sjoberg, new at the MIT AI Lab, expressed some annoyance at the use of jargon. Over his loud objections, GLS and RMS made a point of using it as much as possible in his presence, and eventually it began to sink in. Finally, in one conversation, he used the word canonical' in jargon-like fashion without thinking. Steele: "Aha! We've finally got you talking jargon too!" Stallman: "What did he say?" Steele: "Bob just usedcanonical' in the canonical way."

Of course, canonicality depends on context, but it is implicitly defined as the way hackers normally expect things to be.

Thus, a hacker may claim with a straight face that according to religious law' is *not* the canonical meaning ofcanonical'.

:card: n. 1. An electronic printed-circuit board (see also {tall card}, {short card}. 2. obs. Syn. {{punched card}}.

:card walloper: n. An EDP programmer who grinds out batch programs that do stupid things like print people's paychecks. Compare {code grinder}. See also {{punched card}}, {eighty-column mind}.

:careware: /keir'weir/ n. {Shareware} for which either the author suggests that some payment be made to a nominated charity or a levy directed to charity is included on top of the distribution charge. Syn. {charityware}; compare {crippleware}, sense 2.

:cargo cult programming: n. A style of (incompetent) programming dominated by ritual inclusion of code or program structures that serve no real purpose. A cargo cult programmer will usually explain the extra code as a way of working around some bug encountered in the past, but usually neither the bug nor the reason the code apparently avoided the bug was ever fully understood (compare {shotgun debugging}, {voodoo programming}).

The term cargo cult' is a reference to aboriginal religions that grew up in the South Pacific after World War II. The practices of these cults center on building elaborate mockups of airplanes and military style landing strips in the hope of bringing the return of the god-like airplanes that brought such marvelous cargo during the war. Hackish usage probably derives from Richard Feynman's characterization of certain practices as "cargo cult science" in his bookSurely You're Joking, Mr. Feynman' (W. W. Norton & Co, New York 1985, ISBN 0-393-01921-7).

:cascade: n. 1. A huge volume of spurious error-message output produced by a compiler with poor error recovery. This can happen when one initial error throws the parser out of synch so that much of the remaining program text is interpreted as garbaged or ill-formed. 2. A chain of USENET followups each adding some trivial variation of riposte to the text of the previous one, all of which is reproduced in the new message; an {include war} in which the object is to create a sort of communal graffito.

:case and paste: [from cut and paste'] n. 1. The addition of a new {feature} to an existing system by selecting the code from an existing feature and pasting it in with minor changes. Common in telephony circles because most operations in a telephone switch are selected usingcase' statements. Leads to {software bloat}.

In some circles of EMACS users this is called `programming by Meta-W', because Meta-W is the EMACS command for copying a block of text to a kill buffer in preparation to pasting it in elsewhere.

The term is condescending, implying that the programmer is acting mindlessly rather than thinking carefully about what is required to integrate the code for two similar cases.

:casters-up mode: [IBM] n. Yet another synonym for broken' ordown'. Usually connotes a major failure. A system (hardware or software) which is down' may be already being restarted before the failure is noticed, whereas one which iscasters up' is usually a good excuse to take the rest of the day off (as long as you're not responsible for fixing it).

:casting the runes: n. What a {guru} does when you ask him or her to run a particular program and type at it because it never works for anyone else; esp. used when nobody can ever see what the guru is doing different from what J. Random Luser does.

Compare {incantation}, {runes}, {examining the entrails}; also see the AI koan about Tom Knight in "{A Selection of AI Koans}" ({appendix A}).

:cat: [from catenate' via {{UNIX}}cat(1)'] vt.

[techspeak] To spew an entire file to the screen or some other output sink without pause. 2. By extension, to dump large amounts of data at an unprepared target or with no intention of browsing it carefully. Usage: considered silly. Rare outside UNIX sites. See also {dd}, {BLT}.

Among UNIX fans, `cat(1)' is considered an excellent example of user-interface design, because it outputs the file contents without such verbosity as spacing or headers between the files, and because it

1 ... 19 20 21 22 23 24 25 26 27 ... 111
Go to page:

Free e-book «The Hacker's Dictionary, - [best reads of all time .txt] 📗» - read online now

Comments (0)

There are no comments yet. You can be the first!
Add a comment