The Geek Code

In 1993 Robert A. Hayden of Minnesota State University, Mankato, proposed a simple code by which self-identified geeks could inform each other about their interests, opinions, and skills in email signature blocks and Usenet messages:

https://commons.wikimedia.org/wiki/File:Bloque_de_c%C3%B3digo_geek_(1330560000).svg
Image: Wikimedia Commons

This example can be decoded to mean:

Type of Geek: Geek of Technical Writing.
Dress: Mostly “I’m usually in jeans and a t-shirt,” but it varies.
Shape: I’m of average height, I’m rounder than most.
Age: 25-29.
Computers: I’ll be first in line to get the new cybernetic interface installed into my skull.
UNIX: I have a Unix account to do my stuff in. I use Linux.
Perl: I know Perl exists, but that’s all.
Linux: I use Linux exclusively on my system. I monitor comp.os.linux.* and even answer questions sometimes.
Emacs: Emacs is too big and bloated for my tastes.
World-Wide Web: I have the latest version of Netscape, and wander the web only when there’s something specific I’m looking for.
USENET News: Usenet News? Sure, I read that once.
USENET Oracle: I refuse to have anything with that!
Kibo: I’ve read Kibo.
Microsoft Windows: I refuse to have anything with that!
OS/2: Tried it, didn’t like it.
Macintosh: Macs suck. All real geeks have a character prompt.
VMS: Unix is much better than VMS for my computing needs.
Political and Social Issues: I refuse to have anything with that!
Politics and Economic Issues: It’s ok to increase government spending, so we can help more poor people. Tax the rich! Cut the defense budget!
Cypherpunks: I am on the cypherpunks mailing list and active around Usenet. I never miss an opportunity to talk about the evils of Clipper and ITAR and the NSA. Orwell’s 1984 is more than a story, it is a warning to our’s and future generations. I’m a member of the EFF.
PGP: I don’t send or answer mail that is not encrypted, or at the very least signed. If you are reading this without decrypting it first, something is wrong. IT DIDN’T COME FROM ME!
Star Trek: It’s a damn fine TV show and is one of the only things good on television any more.
Babylon 5: I’ve seen it, I am pretty indifferent to it.
X-Files: I’ve Converted my family and watch the show when I remember. It’s really kinda fun.
Role Playing: I’ve written and published my own gaming materials.
Television: I watch some tv every day.
Books: I enjoy reading, but don’t get the time very often.
Dilbert: I read Dilbert daily, often understanding it.
DOOM!: It’s a fun, action game that is a nice diversion on a lazy afternoon.
The Geek Code: I know what the geek code is and even did up this code.
Education: Got an Associates degree.
Housing: Friends come over to visit every once in a while to talk about Geek things. There is a place for them to sit. But someday I would like to say: “Married with children – Al Bundy can sympathize.”
Relationships: I date periodically.
Sex: Male. I’ve had real, live sex.

Hayden’s description of Geek Code version 3.12 is archived here.

Math Notes

Each of the numbers 102564, 128205, 153846, 179487, 205128, and 230769 quadruples when its last digit is moved to the first position.

And this property is retained when each is concatenated with itself, as many times as desired (102564102564102564 × 4 = 410256410256410256).

A Tennis Poem

https://commons.wikimedia.org/wiki/File:Ballhaus_t%C3%BCbingen.jpg

If in my weake conceit, (for selfe disport),
The world I sample to a Tennis-court,
Where fate and fortune daily meet to play,
I doe conceive, I doe not much misse-say.

All manner chance are Rackets, wherewithall
They bandie men like balls, from wall to wall:
Some over Lyne, to honour and great place,
Some under Lyne, to infame and disgrace;
Some with a cutting stroke they nimbly send
Into the hazzard placed at the end;
Resembling well the rest which all they have,
Whom death hath seiz’d, and placed in their grave:
Some o’re the wall they bandie quite away,
Who never more are seene to come in play:
Which intimates, that even the very best
Are soone forgot of all, if once deceast.

So, (whether silke-quilt ball it bee, or whether
Made of course cloth, or of most homely lether;)
They all alike are banded to and fro,
And all at last to selfe same end do goe,
Where is no difference, or strife for place:
No odds betweene a Trype-wife and your Grace:
The penny-counter’s every whit as good,
As that, which in the place of thousands stood.
When once the Audit’s full cast up, and made,
The learned Arts, well as the manual Trade:
The Prisoner and the Judge upon the Bench:
The pampred Lady, and the Kitchin-wench:
The noble Lord, or, Counsailor of State,
The botchy-Lazer, begging at the gate,
Like Shrubs, and Cedars mingled ashes, lye
Without distinction, when they once do dye.
Ah for unpartiall death, and th’homely grave
Looke equall on the free man and the slave.

So most unpartiall umpires are these twain,
A King with them’s but as a Common Swain.
No upper hand, ‘twixt dust of poore and rich,
No Marshall there to sentence which is which;
And onced resolv’d to powder, none can ken
The dust of Kings from dust of other men:
But as at Chesse, when once the game is doon,
The side which lost, and that as well which wonn,
The victor King, and conquer’d pawne, together
Jumbled, are tumbled to th’same bagge of lether,
Without regard whether the pawne or King
Therein lye uppermost, or underling.

Nathlesse all sorts, each sexe of purpose winke,
And of this destinie doon seldome thinke,
Living, (alacke), as life should never faile,
And deeme of death but as an old wives’ tale.

— William Lathum, 1634

Kriegspiel

Rotenberg kriegspiel problem

Kriegspiel is a variant of chess in which neither player can see the other’s pieces. The two players sit at separate boards, White with the white pieces and Black with the black, and a referee facilitates the game. When a player attempts a move, the referee declares whether it’s legal or illegal. If it’s legal then it stands; if it’s not, the player retracts it and tries again.

This makes for some interesting chess problems. In this example, by Jacques Rotenberg, White knows that there’s a black bishop on a dark square, but he doesn’t know where it is. How can he mate Black in 8 moves?

This is tricky, because if White captures the bishop by accident, the position is stalemate. Accordingly White must avoid bishop or knight moves to begin with. The answer is to try 1. Rg2. If the referee declares that this is illegal, that means that the black bishop is somewhere on the second rank and it’s safe for White to play 1. Nf2, giving mate immediately.

If the referee declares that 1. Rg2 is legal, then the move is made, Black moves his invisible bishop (his king and pawn have no legal moves), and it’s White’s turn again.

Now White announces 2. Rg8. If the referee says that this is illegal, then the black bishop is on the g-file, and White can safely play 2. Be5. Now if Black captures the bishop, then 3. Nf2 is mate; on any other Black move, 3. Nf2+ followed (if necessary) by 4. Rxh2+ is mate.

If 2. Rg8 is legal, then White plays it, Black again inscrutably moves his bishop, and now White plays 3. Rh8. (There’s no danger that he’ll capture the black bishop inadvertently on h8, because it cannot have been on g7 on the previous turn.)

Black moves his invisible bishop again and now White plays 4. Rh5 followed by 5. Rb5 (if that’s not possible then 5. Rh3 and 6. Be5), 6. Rb1, 7. Nf2+ Bxf2 and 8. Kxf2#. White wins in eight moves at most. In order to travel safely from a2 to b1, the white rook must pass through h8!

A Fool’s Logic

“It is true that you may fool all the people some of the time; you can even fool some of the people all the time; but you can’t fool all of the people all the time.”

This is commonly attributed to Abraham Lincoln, though it’s not clear that he actually said it. In 2004 mathematician Paul Stockmeyer noticed that its meaning is somewhat ambiguous, too. If we use P(x) to denote the predicate “x is a person,” T(y) to denote the predicate “y is a time,” and F(x, y) to denote the two-argument predicate “x is fooled at time y,” then the first phrase of the quotation, “It is true that you may fool all the people some of the time,” might mean either

\displaystyle  \forall x\left ( P\left ( x \right ) \Rightarrow \exists y\left ( T\left ( y \right ) \wedge F\left ( x, y \right )\right )\right )

or

\displaystyle  \exists y\left ( T\left ( y \right ) \wedge \forall x\left ( P\left ( x \right )\Rightarrow F\left ( x, y \right ) \right )\right ).

The first statement means “For every possible x, if x is a person then there exists a y such that y is a time and moreover x is fooled at time y” (or, more coloquially, “For every person, there is a time when that person is fooled”).

The second means “There exists a y such that y is a time and moreover for every x, if x is a person then x is fooled at time y (or “There is a time when everyone is simultaneously fooled”).

Which is the right interpretation? Stockmeyer polled his classes and found them nearly equally divided. And that’s only the first phrase of the quotation! Does the second phrase, “you can even fool some of the people all the time,” mean that there are people who remain constantly fooled about everything — or that you can always find a fool at any given time?

“However they are interpreted, they serve as a wonderfully effective preparation for his main point contained in the third phrase,” Stockmeyer writes. “And this phrase, with two quantifiers of the same type, is completely unambiguous.”

(Paul K. Stockmeyer, “What Did Lincoln Really Mean?” College Mathematics Journal 35:2 [2004], 103-104.)

Allestone

https://archive.org/details/fathersmemoirsof01malk/page/n161?q=Allestone

In 1806 British scholar Benjamin Heath Malkin published A Father’s Memoirs of His Child to record the almost alarming gifts of his son Thomas, who had taught himself to read and write by age 2, inquired into mathematics and Latin, and at age 5 invented an imaginary country called Allestone:

Allestone … was so strongly impressed on his own mind, as to enable him to convey an intelligible and lively transcript of its description. Of this delightful territory he considered himself as king. He had formed the project of writing its history, and had executed the plan in detached parts. Neither did his ingenuity stop here; for he drew a map of the country, giving names of his own invention to the principal mountains, rivers, cities, seaports, villages, and trading towns.

“The country is an island,” the father explained, “and therefore the better calculated for the scene of the transactions he has assigned to it. The rivers, for the most part, rise in such situations, and flow in such directions, as they would in reality assume. Their course is marked out with reference to the position of principal towns, and other objects of general convenience.”

Thomas sketched out the country’s political history, principal actors, and monetary system, and had composed a series of representative adventures among its people and a comic opera (“only imaginary music, made by Thomas Williams Malkin, who does not understand real music”), when he died, probably of peritonitis, at age 6 — leaving his subjects without a king.

Trade Secrets

Seems there were three lawyers and three MBAs traveling by train to a conference. At the station, the three MBAs each buy tickets and watch as the three lawyers buy only a single ticket. ‘How are three people going to travel on only one ticket?’ asks an MBA. ‘Watch and you’ll see’ answers a lawyer.

They all board the train. The MBAs take their respective seats but all three lawyers cram into a restroom and close the door behind them. Shortly after the train has departed, the conductor comes around collecting tickets. He knocks on the restroom door and says, ‘Ticket, please.’ The door opens just a crack and a single arm emerges with a ticket in hand. The conductor takes it and moves on.

The MBAs see this and agree it was quite a clever idea. So after the conference, the MBAs decide to copy the lawyers on the return trip and save some money (being clever with money and all that). When they get to the station, they buy a single ticket for the return trip. To their astonishment, the lawyers don’t buy a ticket at all. ‘How are you going to travel without a ticket?’ asks one perplexed MBA. ‘This time we can’t tell you,’ says one of the lawyers, ‘it’s a professional secret.’

When they all board the train the three MBAs cram into a restroom and the three lawyers cram into another one nearby. The train departs. Shortly afterward, one of the lawyers leaves his restroom and walks over to the restroom where the MBAs are hiding. He knocks on the door and says, ‘Ticket please.’

— Marc Galanter, Lowering the Bar: Lawyer Jokes and Legal Culture, 2005

Relative

https://books.openedition.org/sdo/docannexe/image/956/img-2.jpg

Navigators from the Poluwat atoll of Micronesia find their way among islands by appealing to parallax — a reference island at one side of their course will appear to pass beneath a succession of stars:

The star bearings of the reference island from both the starting and ending points of the trip are known, since on another occasion the reference island may itself become a destination. In between there are other navigation star positions under which the reference island will pass as it ‘moves’ backwards. Its passage under each of these stars marks the end of one etak and the beginning of another. Thus the number of star positions which lie between the bearing of the reference island as seen from the island of origin and its bearing as seen from the island of destination determine the number of etak, which can here be called segments, into which the voyage is conceptually divided. When the navigator envisions in his mind’s eye that the reference island is passing under a particular star he notes that a certain number of segments have completed and a certain proportion of the voyage has therefore been accomplished.

This is a dynamic model: Where Western navigators think of a vessel moving among stationary islands, the Poluwatese find it more natural to think of the canoe as stationary and the islands as moving around it. “Etak is perfectly adapted for its use by navigators who have no instruments, charts, or even a dry place in which to spread a chart if they had one,” writes Stephen D. Thomas in The Last Navigator. “Etak allows the Micronesian navigator to process all his information — course, speed, current drift, and so on — through a single, sea-level perspective.”

(Thomas Gladwin, East Is a Big Bird: Navigation and Logic on Puluwat Atoll, 1970, quoted in Lorenzo Magnani, Philosophy and Geometry, 2001.)

The Miser and His Gold

https://commons.wikimedia.org/wiki/File:PL_Chrzanowski_Ignacy_-_Biernata_z_Lublina_Ezop_p0059.png

There was a miser who sold his property and bought a lump of gold. The man then buried his gold just outside the city walls, where he constantly went to visit and inspect it. One of the workmen noticed the man’s behaviour and suspected the truth. Accordingly, after the man had gone away, he took the gold. When the man came back and found that the hiding-place was empty, he began to cry and tear his hair. Someone saw the man’s extravagant grief and asked him what was wrong. Then he said to the man, “Enough of your grieving! Take a stone and put it where the gold was, and make believe the gold is still there: it’s not as if you ever made any use of it!”

— Aesop

A Modest Proposal

https://www.flickr.com/photos/home_of_chaos/7609870922
Image: Flickr

While a visiting fellow at All Souls College, Oxford, in 1978, Claude Shannon pondered a personal challenge he faced there:

An American driving in England is confronted with a wild and dangerous world. The cars have the driver on the right and he is supposed to drive on the left side of the road. It is as though English driving is a left-handed version of the right-handed American system.

I can personally attest to the seriousness of this problem. Recently my wife and I, together with another couple on an extended visit to England, decided to jointly rent a car. … With our long-ingrained driving habits the world seemed totally mad. Cars, bicycles and pedestrians would dart out from nowhere and we would always be looking in the wrong direction. The car was usually filled with curses from the men and with screams and hysterical laughter from the women as we careened from one narrow escape to another.

His solution was “grandiose and utterly impractical — the idle dream of a mathematician”:

How will we do this? In a word, with mirrors. If you hold your right hand in front of a mirror, the image appears as a left hand. If you view it in a second mirror, after two reflections it appears now as a right hand, and after three reflections again as a left hand, and so on.

Our general plan is to encompass our American driver with mirror systems which reflect his view of England an odd number of times. Thus he sees the world about him not as it is but as it would be after a l80° fourth-dimensional rotation.

A corresponding adjustment to the steering system will turn the car left when the driver steers right, and vice versa. And filling the cabin with a high-density liquid will reverse the feeling of centrifugal force as well. “A snorkel provides for his breathing and altogether, with our various devices, he feels very much as though he were at home in America!”

(Claude E. Shannon, “The Fourth-Dimensional Twist, or a Modest Proposal in Aid of the American Driver in England,” typescript, All Souls College, Oxford, Trinity term, 1978; via Jimmy Soni and Rob Goodman, A Mind at Play: How Claude Shannon Invented the Information Age, 2017.)