nikhil.io

45 Jokes from The Laughter Lover

by John T. Quinn

Translation copyright 2001 John T. Quinn; all rights reserved.

Introduction

Philogelos (The Laughter Lover) is a collection of some 265 jokes1 likely made in the fourth or fifth century CE. Some manuscripts give the names of the compilers as the otherwise-unknown Hierocles and Philagrios. Other manuscripts drop the name of one or other or both.

Although The Laugher Lover is the oldest surviving example, joke-books already had a long pedigree. According to Athenaeus 614d-e, Philip the Great of Macedon had paid handsomely for a social club in Athens to write down its members’ witticisms. At the dawn of the second century BCE, Plautus twice has a character refer to joke-books (Persa 392; Stichus 400).

Modern scholars such as Rapp and Baldwin have noted how women are infrequent targets of the humor - earning, in fact, attack under only one category of their own, “Horny Women”, a category containing just two jokes. Yet one may wonder, for instance, whether the jokes under “Misogynistic Men” have as their primary target the female sex rather than the men who hate them. Baldwin also remarks on the virtual absence of homosexual themes in the collection.

I have included in this selection all jokes in which women are mentioned or appear as characters. Also included are jokes that seemed particularly relevant for gender studies. I follow the Greek text edited by R.D. Dawe (Bibliotheca Teubneriana, 2000). All the headings, except the last one (“Miscellaneous”), have some manuscript warrant. I decided to translate the alternate versions of the same joke to underscore the fact that these jokes represent primarily an oral rather than a written tradition; the humor lies in the conceit and not in a canonical text.

Select Bibliography

  • Baldwin, Barry, trans. with commentary, The Philogelos or Laughter-Lover (Amsterdam, 1983)
  • Jennings, Victoria, review of R.D. Dawe’s text, BMCR 01.04.05
    [http://ccat.sas.upenn.edu/bmcr/2001/2001-04-05.html]
  • Rapp, Albert, “A Greek Joe Miller” Classical Journal 46 (1951), pp.286-290 & 318
  • Thierfelder, Andreas, German trans. with commentary, Philogelos, Der Lachfreund (Munich, 1968)

Translation

Intellectuals

#27. An intellectual, falling sick, had promised to pay the doctor if he recovered. When his wife nagged at him for drinking wine while he had a fever, he said: “Do you want me to get healthy and be forced to pay the doctor?”

#43. When an intellectual was told by someone, “Your beard is now coming in,” he went to the rear-entrance and waited for it. Another intellectual asked what he was doing. Once he heard the whole story, he said: “I’m not surprised that people say we lack common sense. How do you know that it’s not coming in by the other gate?”2

#45. An intellectual during the night ravished his grandmother and for this got a beating from his father. He complained: “You’ve been mounting my mother for a long time, without suffering any consequences from me. And now you’re mad that you found me screwing your mother for the first time ever!”

#51A. An intellectual caught sight of a deep well on his country-estate, and asked if the water was any good. The farmhands assured him that it was good, and that his own parents used to drink from that well. The intellectual expressed his amazement: “How long were their necks, if they could drink from something so deep!”

#51B. An intellectual visiting his country-estate asked if the water in a well there was good to drink. He was told that it was good, and that his own parents used to drink from the well. The intellectual was amazed: “How long were their necks, that they could drink from something so deep!”

#53. An intellectual was eating dinner with his father. On the table was a large lettuce with many succulent shoots. The intellectual suggested: “Father, you eat the children; I’ll take mother.”3

#57. An intellectual got a slave pregnant. At the birth, his father suggested that the child be killed. The intellectual replied: “First murder your own children and then tell me to kill mine.”4

#64. An intellectual bought a pair of pants. But he could hardly put them on because they were too tight. So he got rid of the hair around his legs.5

#69. An intellectual checked in on the parents of a dead classmate. The father was wailing: “O son, you have left me a cripple!” The mother was crying: “O son, you have taken the light from my eyes!” Later, the intellectual suggested to his friends: “If he were guilty of all that, he should have been cremated while still alive.”

#70. An intellectual came to check in on a friend who was seriously ill. When the man’s wife said that he had ‘departed’, the intellectual replied: “When he arrives back, will you tell him that I stopped by?”

#72. An intellectual had been at a wedding-reception. As he was leaving, he said: “I pray that you two keep getting married so well.”

#73. The same intellectual said that the tomb of Scribonia was handsome and lavish, but that it had been built on an unhealthy site.6

#97. Upon the death of his wife, an intellectual was out shopping for a coffin and got into a big fight over the price. When the salesman swore that he couldn’t sell it for less than fifty thousand, the intellectual said: “Since you’re under an oath, here’s the fifty thousand. But throw in for free a small casket, in case I need it for my son.”

#98. A friend met an intellectual, and said: “Congratulations! You’ve got a baby boy!” The intellectual replied: “Thanks to buddies like you!”7

Men on the Make

#106. A professional beggar had been letting his girlfriend think that he was rich and of noble birth. Once, when he was getting a handout at the neighbor’s house, he suddenly saw her. He turned around and said: “Have my dinner-clothes sent here.”

#107. There was another man, just like the last one - a big talker, but in fact impoverished. By chance he got sick, and his girlfriend, coming into his place without warning, found him lying on a humble mat made of reeds. Turning over, he claimed that the doctors were responsible: “The best and most famous doctors in the city ordered me to sleep on a mat like this.”

Abderites8

#114. An Abderite saw a eunuch and asked him how many kids he had. When that guy said that he didn’t have the balls, so as to be able to have children, the Abderite asked 9

#115. An Abderite saw a eunuch talking with a woman and asked him if she was his wife. When he replied that eunuchs can’t have wives, the Abderite asked: “So is she your daughter?”

#116. An Abderite who was a eunuch had the misfortune to develop a hernia.10

#252. An unlucky eunuch developed a hernia.

#117. An Abderite shared a mattress with a man who suffered from a hernia. In the night, he got up to relieve himself. When he returned, he accidentally (since it was still dark) stepped right on the spot of the hernia. When the man let out a howl, the Abderite asked: “Why weren’t you lying down heads-up?”11

#123. An Abderite followed custom and cremated his dead father. He ran home and said to his ailing mother: “There are a few fire-logs still left. If you want to stop suffering, get yourself cremated on them.”

Jokesters

#145. When a jokester who was a shopkeeper found a policeman screwing his wife, he said: “I got something I wasn’t bargaining for.”

#151. When a jokester saw a pimp renting the services of a black prostitute, he said: "What’s your rate for the night?12

#151 (bis) A. When a jokester saw an ophthalmologist busy rubbing away on a girl, he said: “Watch out, young man, that you don’t, in healing her sight, ruin her ‘I’”.13
#151 (bis) B & #260. When a jokester saw an ophthalmologist busy rubbing away on a girl in her prime, he said: “Don’t, in healing her sight, ruin her depths.”

#262. A jokester went abroad; there, he developed a hernia. Coming home, he was asked if he had brought a present back. “Nothing for you - just a headrest for my thighs.” 14

#263. Someone needled a jokester: “I had your wife, without paying a dime.” He replied: "It’s my duty as a husband to couple with such a monstrosity. What made you do it?’

Kymeans15

#159. A Kymean constructed a huge threshing-floor and stationed his wife on the opposite end. He asked her if she could see him. When she replied that it was hard for her to see him, he snapped: “The time will come when I’ll build a threshing-floor so big that I won’t be able to see you and you won’t be able to see me.”16

Rude People

#187A. A rude astrologer cast a sick boy’s horoscope. After promising the mother that the child had many years ahead of him, he demanded payment. When she said, “Come tomorrow and I’ll pay you,” he objected: “But what if the boy dies during the night and I lose my fee?”

#187B. A rude star-gazer cast a sick boy’s horoscope. After promising the mother that the child had many years ahead of him, he demanded payment. When the mother said, "I’ll pay tomorrow, " he objected: “But what if the boy dies during the night? Do I lose my fee?”

Incompetents

#197. An incompetent schoolteacher was asked who the mother of Priam was. Not knowing the answer, he said: “It’s polite to call her Ma’am.”."17

#201. A man, just back from a trip abroad, went to an incompetent fortune-teller. He asked about his family, and the fortune-teller replied: “Everyone is fine, especially your father.” When the man objected that his father had been dead for ten years, the reply came: “You have no clue who your real father is.”

#202. An incompetent astrologer cast a boy’s horoscope and said: “He will be a lawyer, then a city-official, then a governor.” But when this child died, the mother confronted the astrologer: “He’s dead – the one you said was going to be a lawyer and an official and a governor.” “By his holy memory,” he replied, “if he had lived, he would have been all of those things!”

#204. An incompetent astrologer cast a man’s horoscope and said: “You are unable to father children.” When the man objected that he had seven kids, the astrologer replied: “Look after them well.”18

Gluttons

#219. A glutton betrothed his daughter to another glutton. Asked what he was giving her as a dowry, he replied: “A house whose windows face the bakery.”

Drunkards

#227A. While a drunkard was imbibing in a tavern, someone approached and told him: “Your wife is dead.” Taking this in, he said to the bartender: “Time, sir, to mix a drink up from your dark stuff.”19

#227B. While an intellectual was imbibing in a tavern, someone approached and told him: “Your wife is dead.” The intellectual said: “Time, my good man, to mix me some dark wine.”

People with Bad Breath

#232. A man with bad breath, kissing his wife over and over, said: “My Lady, my Hera, my Aphrodite.” And she said, turning away: “My - o Zeus an ozeus!”20

#234. A man with bad breath asked his wife: “Madame, why do you hate me?” And she said in reply: “Because you love me.”

#239A. A young actor was loved by two women, one with bad breath and the other with reeking armpits. The first woman said: “Give me a kiss, master.” And the second: “Give me a hug, master.” But he declaimed: "Alas, what shall I do? I am torn betwixt two evils!’21

#239B. An actor who was a jokester was loved by two women, one with bad breath and the other with reeking armpits. One said: “Give me a kiss.” And one said: “Give me a hug.” But he declaimed: “Alas, what shall I do? I am torn betwixt two evils!”

Horny Women

#244A. A young man said to his libido-driven wife: “What should we do, darling? Eat or have sex?” And she replied: “You can choose. But there’s not a crumb in the house.”

#244B. A young man said to his libido-driven wife: “What should we do, darling? Eat or have sex?” And she said: “You can choose. But we don’t have a crumb.”

#245A. A young man invited into his home frisky old women. He said to his servants: “Mix a drink for one, and have sex with the other, if she wants to.” The women spoke up as one: “I’m not thirsty.”
#245B. A young man was hosting frisky old women. He said to his slaves: “Mix a drink for the one that wants it and have sex with the one who wants that.” And the women said: “I’m not thirsty.”

Misogynistic Men

#246. A misogynist stood in the marketplace and announced: “I’m putting my wife up for sale, tax-free!” When people asked him why, he said: “So the authorities will impound her.”22

#247A. A misogynist paid his last respects at the tomb of his dead wife. When someone asked him, “Who has gone to rest?,” he replied: “Me, now that I’m alone.”

#247B. While a misogynist was paying his last respects to his wife, someone asked him: “Who has gone to rest?” He replied: “Me, now that I’m alone.”

#248A. A misogynist was sick, at death’s door. When his wife said to him, “If anything bad happens to you, I’ll hang myself,” he looked up at her and said: “Do me the favor while I’m still alive.”

#248B. When a misogynist took sick and his wife said to him, “If you die, I’ll hang myself,” he looked up at her and said: “Do me the favor while I’m still alive.”

#249. A misogynist had a wife who never stopped talking or arguing. When she died, he had her body carried on a shield to the cemetery. When someone noticed this and asked him why, he replied: “She was a fighter.”23

Miscellaneous

#250. A young man was asked whether he took orders from his wife or if she obeyed his every command. He boasted: “My wife is so afraid of me that if I so much as yawn she shits.”

#251. The lady of a house had a simple-minded slave. But when she got a peek at just how thick his other head was also, she lusted after him. She put a mask over her face so that he wouldn’t recognize her, and played around with him. Joining her game, he had sex with her. Then, grinning as he usually did, he reported to his master: “Sir, sir, I fucked the dancer and the mistress was inside!”24

Other Ancient Jokes On the WWW


Permission is hereby granted to distribute for classroom use, provided that both the translator and Diotima are identified in any such use. Other uses not authorized in writing by the translator or in accord with fair use policy are expressly prohibited.

  1. An exact count is elusive because some jokes appear twice in the collection, often with minor modifications.↩︎

  2. This is the only joke with homoerotic undertones. It was a common trope that a boy lost his desirability as a “beloved” when his beard filled in. I have adopted Baldwin’s suggestion of reading a further joke here in a play on the Greek word that means both “anus” and “gate”.↩︎

  3. The main stalk of the lettuce is the “mother” and its shoots are the “children.” Mythological background helps color the black humor: Cronus swallowed his own children; Oedipus married his mother.↩︎

  4. The father’s suggestion was likely the “common sense” attitude. Fathers in the classical world could indeed reject their infant children and have them killed.↩︎

  5. Originally barbarian garb, trousers became fashionable in late antiquity. The intellectual here adopts this he-man style – but proceeds to pluck out the hair on his legs & groin in the manner of an effeminate.↩︎

  6. The same jest appears in the collection as #26, but without the name “Scribonia.” The most famous Scribonia was the second wife of the emperor Augustus, whom he divorced on the alleged grounds of moral turpitude. Baldwin doubts the identification, conjecturing that the Augustan Scribonia would not have had a notable tomb. But reality hardly needs to intrude on a joke. Thierfelder noticed that in Philogelos the initial formula “The same” links two jokes with similar content – but thought #73 an exception to the pattern. However, if the joke’s Scribonia is indeed the famous one, the use of “The same” in #73 is not an exception, for both #72 and #73 allude to divorce and remarriage. Perhaps even we are to understand that the remark in #73 was made at the wedding-reception which is the setting of #72, where mention of tombs, and of Scribonia, would have been ill-omened.↩︎

  7. The intellectual gives thanks for the congratulations, but the rest of us understand the thanks as a comment on how his wife got pregnant.↩︎

  8. Abdera was a city in Thrace, whose inhabitants bore the brunt of dumb-ethnic jokes since at least the days of Cicero in the first century BCE.↩︎

  9. The joke is missing its punchline in the manuscripts. “But do you at least have some grandchildren?” has been suggested as a possibility. It seems to me, rather, that the jest should hinge on the otherwise more-explicit-than-necessary mention of the missing balls, and I have completed the joke accordingly.↩︎

  10. In the most common type of hernia suffered by men, some of the lower intestine enters the scrotum (which, of course, a eunuch lacks), distending it. For a joke on that swelling, see #262.↩︎

  11. Part of the joke plays on “head” as “tip of the penis”. The collection plays on the obscene meaning of the word also in #251 & #262. Brushing up against an erect penis would have been a warning sign to the Abderite not to step down on the man.↩︎

  12. In Greco-Roman antiquity, black-skinned people were often compared to the night.↩︎

  13. The doctor is rubbing ointment into her eye, but the jokester foresees a more sexual sort of friction. My use of “I” aims to capture some of the pun in the Greek word which means both “eye” and “girl”.↩︎

  14. A play on the obscene meaning of the word “head”, as in #117.↩︎

  15. The people of Kyme, a coastal city of Asia Minor, are made the butt of more jokes in the Philogelos than even the people of Abdera. Strabo, at the start of the first century CE, remarks on the proverbial stupidity of the Kymeans.↩︎

  16. Commentators have puzzled over the joke. I take it that the humor is quite simple, and hinges on the expression “it was hard for her” – the wife means only that she can just barely see him, but the husband misconstrues it to mean that she doesn’t like looking at him.↩︎

  17. No wonder the schoolteacher was at a loss: there were six different names current for the mother of the king of Troy.↩︎

  18. “Look after them well”: the astrologer insinuates that his client won’t be able to have another child, if one that he already has were to die.↩︎

  19. The drunkard wants wine that is dark-colored as a sign of mourning – to the extent that imbibing after hearing such news is a sign of mourning at all!↩︎

  20. Unable to find a suitable English equivalent, I have reproduced the Greek, in which “ozeus” is a word for “person with bad breath.”↩︎

  21. The declamation is a line in tragic diction; however, no known Greek tragedy contains this line.↩︎

  22. The joke depends on the fact that black-market goods, sold without the proper tax assessment, were subject to confiscation.↩︎

  23. The bodies of war-heroes in archaic Greece were sometimes honored by being carried on a shield.↩︎

  24. Dancing-girls often wore masks as part of their outfit. The “straight meaning” against which the punchline plays is this: the slave worries that the lady was unexpectedly inside the house, and so had caught him having unauthorized sex. In the middle of this joke, Dawe emends the text slightly and indicates a lacuna. I follow Jennings in preferring to ignore these changes.↩︎

The Five Cognitive Distortions of People Who Get Stuff Done

By Michael Dearing. Couldn’t find any video and not sure if this is tongue-in-cheek (like the “48 Laws of Power”.) The distortions are:

  1. Personal Exceptionalism
    I am special.
  2. Dichotomous Thinking
    X is sh*t. Y is genius.
  3. Correct Overgeneralization
    I see two dots and draw the right line.
  4. Blank-Canvas Thinking
    Painting by numbers isn’t art. And I want to make art.
  5. Schumpeterianism
    I am a creative destruction machine.

TL;DR be a ruthless, inflexible, self-absorbed dick so you can identify, refine, and deliver Value™.

Plurals in Python

>>> n = 0
>>> print "%d item%s" % (n, "s"[n==1:])
0 items
>>> n = 1
>>> print "%d item%s" % (n, "s"[n==1:])
1 item
>>> n = 2
>>> print "%d item%s" % (n, "s"[n==1:])
2 items

# If you might want to print negative items, add abs to the test:
>>> n = -1
>>> print "%d item%s" % (n, "s"[abs(n)==1:])
2 items

# If a word has irregular plural morphology, use a list:
>>> n=1
>>> print "%d %s" % (n, ['abacus','abaci'][n!=1])
1 abacus
>>> n=2
>>> print "%d %s" % (n, ['abacus','abaci'][n!=1])
2 abaci

Source.

What David Foster Wallace Circled in His Dictionary

by Slate Magazine and the Harry Ransom Center

“Calling Bullshit” is a free online course that helps you “detect and defuse” Bullshit when you encounter it.

Our learning objectives are straightforward. After taking the course, you should be able to:

  • Remain vigilant for bullshit contaminating your information diet.
  • Recognize said bullshit whenever and wherever you encounter it.
  • Figure out for yourself precisely why a particular bit of bullshit is bullshit.
  • Provide a statistician or fellow scientist with a technical explanation of why a claim is bullshit.
  • Provide your crystals-and-homeopathy aunt or casually racist uncle with an accessible and persuasive explanation of why a claim is bullshit.

Further,

We will be astonished if these skills do not turn out to be among the most useful and most broadly applicable of those that you acquire during the course of your college education.

I don’t think there’s more critical a juncture than now for courses like these. Just wish more people took them.

Ayn Rand the Philosopher

by samiiRedditBot

“Two novels can change a bookish fourteen-year old’s life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other involves orcs.” – Kung Fu Monkey

Ayn Rand is to philosophy what Twilight is to horror fiction - being that the only people who like it have absolutely no experience of what the subject is really about and as a result have nothing to compare it to. Her influence only extends to the general public and she is pretty much ignored by academia, and even then she is more or less unknown outside of North America. I suppose that if you’re a fan you might think this is due to her ideas being so radical that they threaten the liberal elite of University Academia, who plot to turn the USA into a communist country, or whatever. However the reality is that it’s just really bad to the point of being actually quite painful to read if you know anything at all about real philosophy. Reading the woman is to philosophiers like watching CSI if you know anything about computers - just painful.

What Ayn Rand supposed is that there exists a absolute reality of the A=A. Essentially in her mind existence exists and everything that man does is merely the reordering of existence. She goes on to argue that things like art enable man to create metaphors in reality enabling their wildest metaphysical dreams to take flight. She’ll argue that things such as visual illusions, do not prove that that man can not trust their perceptions but rather their perceptions are always correct and any mistakes are mistakes of interpretation, rather than perception of reality. She argues that since you are able to draw absolute logical conclusions and concepts from reality, that the only valid form of logic is Aristotelian logic because it is the one most grounded in reality.

She argues that the ideal world is one where all men are following their own “rational self interest” that they have drawn from reality, which in her mind is represented via a perfect capitalist society, and that there exists a “conspiracy” to suppress men by making them “unsure” of reality. She’ll redefine terms like selfishness and altruistic towards this end. For example a moral individual is one who follows their own “selfish” interest to build houses or whatever but that this is always undermined by “altruistic parasites” who will loot the efforts these selfish individuals rather than going out and doing things for themselves, mainly because they envy the selfish.

Now, as far as philosophical views go this is a pretty loony view of the world. Here are some objections

Her views are over simplistic solutions to complex problems, for example even if you suppose that there exists an absolute reality then you’re still left with the problem of how you, as a subjective individual, reconcile your abstract ideas to it - these are the sort of problems that real philosophers attempts to address. Basically in saying “existence exists” you haven’t actually “solved” anything but merely misdirected attention away from the problem. It is like saying that to end war people should just stop fighting, yeah sure, that people would stop fighting might be a consequence but then how would people otherwise solve disputes? It is childish logic, essentially.

Her views are dogmatic, that is they are true because you believe them to be true rather than being able to prove it to be true. There is this attitude that no one shall enter the kingdom but through me, this is not the way philosohpy works - because philosophy is dialectical - but rather the way religion works. What she is doing in saying that reality objectively exists is to make her personal subjective views appear to be more concrete than they actually are. Which is what her true intent is: to turn her specific definition of what capitalism is into some weird religion for the gullible, and nothing more.

She simply makes stuff up, for example she supposes that the whole of 19th century Idealism is merely a conspiracy to make people unsure of their own existence so that they are easier to control by 'altruistic ’ dictators. She spends the vast majority of her time in her books simply constructing and then knocking down various strawmen, who are represented by her characters. For example Dr. Floyd Ferris.

Her work is just derivative of other better philosophiers such as Nietzsche, that she has simply rewrittern a bad interpretation of in order to sell her rubbish moral opinions. As a consequence you’re much better off just going to the source and cutting out the middle hag, espically since she seems to have a rather limited grasp of genuine philosophy, and much of anything in general. This is very apparent if you even have a basic working knowledge of philosophy.

She’ll just ignore her own arguments when they turn out to be inconvient. For example she’ll celebrate the triumph of the Apollo project which being a government funded collective effort is the very antithesis of everything she is about. Brushing it off with broad statments like: “It would have been done” etc. And everything about who she was, how she became who she was and how she lived her life point towards a high level of cognitive dissonance. In fact there are convenient loopholes in her philosophy that state that her arguments can be ignored based a emergency situation, such as being on a life boat etc.

But the greatest failing is that even if you subscribe to her “philosophy” and ignore the above, even then it still falls down by its own argument. For example suppose I give you $5 for a hotdog, now as a objectivist to suppose that some benefit has occured between both parties then you have to presume that money is actually worth something outside of a social context, otherwise nothing has been created in the transaction since at the end of the day all money is, is a abstract concept. To put this another way, if I gave you $5 for a hot dog then there would be absolutely no benefit to you if you are unable to spend it due to it not being legal tender. To quote Adam Smith: “All money is a matter of belief”, currency is only currency because of social and economic forces and not because it is instrinically worth anything. It is not linked to reality in anyway, at all, but is only symbolically representative of reality. Do you see how it defeats itself? if objectivism is followed to it’s logical conclusion then money is worthless, in a supposed capitalist utopia

In conclusion: Rand just wrote a very bad interpretation of Nietzsche for young adults. Where Nietzsche argued that the problem with society was that it was based in ideals, E.G., Christianity, that were essentially founded in nihilism and were therefore self-destructive because they were effectively internalizing resentment and suppressing human passions, and went on to argue that the cure to this was to be found in the “free spirits” being those able to break free from this endless pattern of idealized self-destruction by getting back in touch with their own human drives, who love fate, who are (or do not resent) the strong and who reject notions of absolute ideal truth. What Rand does is take this view literary and argue that rather than rejecting it you should buy into a ideal - that further that it is objectively the only ideal, there being only one reality - that is ultimately for the benefit of those at the top of the pyramid, that represent the ideal man - her interpretation of the free spirits - and that society should be constructed only for the benefit of these people. That all the problems of society come about due to rejecting this and suppressing the elite - who would magically solve all the world’s problems if they were given free reign to pursue their own selfish goals. Really, it’s like the difference between devil worship and atheism, the latter rejects religion itself while the former gives up and decides to join the comic relief.

–edit, Wow if I known that I would have made best of Reddit I would have actually spent more time editting the post for clarity rather than giving up half way through and deciding to go to bed. It’s a jumble to be sure.

Don’t Use Hadoop - Your Data Isn’t That Big

A still-very-relevant 9-year old article. Pandas has gone from strength to strength since he wrote that.

In terms of expressing your computations, Hadoop is strictly inferior to SQL. There is no computation you can write in Hadoop which you cannot write more easily in either SQL, or with a simple Python script that scans your files.

SQL is a straightforward query language with minimal leakage of abstractions, commonly used by business analysts as well as programmers. Queries in SQL are generally pretty simple. They are also usually very fast - if your database is properly indexed, multi-second queries will be uncommon.

Hadoop does not have any conception of indexing. Hadoop has only full table scans. Hadoop is full of leaky abstractions - at my last job I spent more time fighting with java memory errors, file fragmentation and cluster contention than I spent actually worrying about the mostly straightforward analysis I wanted to perform.

If your data is not structured like a SQL table (e.g., plain text, json blobs, binary blobs), it’s generally speaking straightforward to write a small python or ruby script to process each row of your data. Store it in files, process each file, and move on. Under circumstances where SQL is a poor fit, Hadoop will be less annoying from a programming perspective. But it still provides no advantage over simply writing a Python script to read your data, process it, and dump it to disk.

In addition to being more difficult to code for, Hadoop will also nearly always be slower than the simpler alternatives. SQL queries can be made very fast by the judicious use of indexes - to compute a join, PostgreSQL will simply look at an index (if present) and look up the exact key that is needed. Hadoop requires a full table scan, followed by re-sorting the entire table. The sorting can be made faster by sharding across multiple machines, but on the other hand you are still required to stream data across multiple machines. In the case of processing binary blobs, Hadoop will require repeated trips to the namenode in order to find and process data. A simple python script will require repeated trips to the filesystem.

How Big is Too Big for JSON?

From over 10 years ago (I’m sorting through my old bookmarks). A single object looks like this:

{
    "ACCTOUNT_NUMBER":"1234567890",
    "CUSTOMER_NAME":"ACME Products and Services, Inc.",
    "ADDRESS":"123 Main Street",
    "CITY":"Albuquerque",
    "STATE":"NM",
    "ZIP":"87101-1234"
}

He tested the usability of a given browser while it loaded between 1 and 1,000,000 such records.

From this test, I am considering the sweet spot to be around 10,000 records at (1.55MB). The maximum number of usable records I would push to a browser would be around 25,000 records (3.87MB). Keep in mind there are numerous factors to keep in mind when determining how many records you should return to your JavaScript application. The purpose of this test was to help identify a general maximum number for conversations around large record sets with JSON.

Would love to see an updated version of the tests.

The Universal Estimation Table

Estimate Actual Time
Very Easy 1 Hour
Easy 2 Hours
Quite Easy 4 Hours
Looks Quite Easy 6 Hours
Average 8 Hours
Looks Average 12 Hours
No Clue 16 Hours
Seems Complex 24 Hours
Complex 30 Hours
Very Complex 40 Hours
Can Take Some Time 48 Hours
Fuck 60 Hours
Yeah Looks Pretty Easy 80 Hours

Combine: “No Clue. Can take some time, but yeah… looks pretty easy” = 16 + 48 + 80 = 144 hours.

Source Unknown. See also: “Midwest Distances

The Schmidt Pain Index

This is the Schmidt Sting Pain Index, an eponymous and subjective measurement of the pain caused by bees, wasps, and ants (and other things in the order hymenoptera.) It ranges from 0-4. In Level Zero, you don’t feel any pain whatsoever; the stinger doesn’t even penetrate your skin. The humble and familiar honeybee will deliver a Level 2.

Schmidt describes Level 4, the absolute worst, as follows:

Bullet Ant

“Pure, intense, brilliant pain… like walking over flaming charcoal with a three-inch nail embedded in your heel”

“That really shuts you down. It really felt like a bullet. It was instantaneous, almost even before it stung me. It was absolutely riveting. There were huge waves and crescendos of burning pain—a tsunami of pain coming out of my finger. The tsunami would crash as they do on the beach, then recede a little bit, then crash again. It wasn’t just two or three of these waves. It continued for around 12 hours. Crash. Recede. Crash. It was absolutely excruciating. There wasn’t much I could do except be aware of it and groan.”

Tarantula Hawk

“Blinding, fierce [and] shockingly electric”

“A running hair dryer has just been dropped into your bubble bath”

“Like you were walking underneath a high-voltage electric line in a wind storm, a wind gust snapped the line, and it fell on your arm. You get 20,000 volts all at once cascading through your body. It’s pure electrifying pain. Instantaneous. Very clean and sharp.”

Warrior Wasp

“Torture. You are chained in the flow of an active volcano. Why did I start this list?”

Here’s Dr. Schmidt with a giant bug on his face.

Dr Justin O. Schmidt

Some quotes and that image are from this article he penned in Esquire (cached) where he touches upon why the pain profiles are different.

“Crowded, Compartmentalized, Sticky, Spatially Inhomogeneous”

In college, I remember being blown away by a huge, physical map of metabolic pathways our Biochemistry professor once brought into class. It looked like this:

metabolic pathways

Here it is online. Kinda like a Google Maps of cellular reactions. It was impressed upon us that the interior of a cell (especially a eukaryotic one) is a really, really busy and tight and ‘goopy’ place: “crowded, compartmentalized, sticky, spatially inhomogeneous”. As that paper notes, this messy, “macromolecular crowding” helps your proteins fold properly (among several other factors.) This was a bit hard for me to appreciate since, up to then, I was only accustomed to images of cells from a light microscope or vastly simplified illustrations school texts.

I was somehow reminded of all of that after seeing some astounding paintings by Professor David S. Goodsell (Wiki, Twitter, Website). He calls the series “Molecular Landscapes.” Here are a few related to the pandemic we’ve been through.

SARS-CoV-2 and Neutralizing Antibodies, 2020

Art by David S. Goodsell

Acknowledgement: David S. Goodsell, RCSB Protein Data Bank and Springer Nature; doi: 10.2210/rcsb_pdb/goodsell-gallery-025. The painting was commissioned for the cover of a special COVID-19 issue of Nature, presented 20 August 2020, and is currently in the collection of the Cultural Programs of the National Academy of Sciences.

(Unknown Title)

Art by David S. Goodsell

Acknowledgement: Illustration by David S. Goodsell

Coronavirus, 2020

Art by David S. Goodsell

Acknowledgement: Illustration by David S. Goodsell, RCSB Protein Data Bank; doi: 10.2210/rcsb_pdb/goodsell-gallery-019. This painting depicts a coronavirus just entering the lungs, surrounded by mucus secreted by respiratory cells, secreted antibodies, and several small immune systems proteins. The virus is enclosed by a membrane that includes the S (spike) protein, which will mediate attachment and entry into cells, M (membrane) protein, which is involved in organization of the nucleoprotein inside, and E (envelope) protein, which is a membrane channel involved in budding of the virus and may be incorporated into the virion during that process. The nucleoprotein inside includes many copies of the N (nucleocapsid) protein bound to the genomic RNA.

SARS-CoV-2 Fusion, 2020

Art by David S. Goodsell

Acknowledgement: Illustration by David S. Goodsell, RCSB Protein Data Bank; doi: 10.2210/rcsb_pdb/goodsell-gallery-026. This painting depicts the fusion of SARS-CoV-2 (magenta) with an endosomal membrane (green), releasing the viral RNA genome into the cell cytoplasm (blue), where it is beginning to be translated by cellular ribosomes to create viral polyproteins. The painting includes speculative elements that are designed to highlight the process, most notably, multiple states of the viral spike protein are shown.

SARS-CoV-2 mRNA Vaccine, 2020

Art by David S. Goodsell

Acknowledgement: Illustration by David S. Goodsell, RCSB Protein Data Bank; doi: 10.2210/rcsb_pdb/goodsell-gallery-027. Messenger RNA (mRNA) vaccines developed for the COVID-19 pandemic are composed of long strands of RNA (magenta) that encode the SARS-CoV-2 spike surface glycoprotein enclosed in lipids (blue) that deliver the RNA into cells. Several different types of lipids are used, including familar lipids, cholesterol, ionizable lipids that interact with RNA, and lipids connected to polyethylene glycol chains (green) that help shield the vaccine from the immune system, lengthening its lifetime following administration. In this idealized illustration, all of the lipids are arranged in a simple circular bilayer that surrounds the mRNA and the PEG strands have both extended and folded conformations. In reality, the structure may be less regular, as suggested in the NanoLetters paper […]

“Windows is more than just an operating system; it’s a fabric woven into our lives and in our work.”

No. It’s just a fucking operating system1. A giant program on a computer. What weird, disconnected, embarrassing bullshit ‘spiritual’ techbro nonsense.

“We made a website full of memes you can search through, powered by Bitcoin and Machine-Learning (of course), and are changing the world.” No. Stop it.

I think I’m cranky because I’m hungry 🍕

Some Horoscopes

by Unknown

Aquarius (Jan 23 - Feb 22)

You have an inventive mind and are inclined to be progressive. You lie a great deal. You make the same mistakes repeatedly because you are stupid. Everyone thinks you are a fucking jerk.

Pisces (Feb 23 - Mar 22)

You are a pioneer type and think most people are dickheads. You are quick to reprimand, impatient and full of advice. You do nothing but piss-off everyone you come in contact with. You are a prick.

Aries (Mar 23 - April 22)

You have a wild imagination and often think you are being followed by the FBI or CIA. You have minor influence on your friends and people resent you for flaunting your power. You lack confidence and are a general dipshit.

Taurus (April 23 - May 22)

You are practical and persistent. You have a dogged determination and work like hell. Most people think you’re are stubborn and bullheaded. You are nothing but a goddamed communist.

Gemini (May 23 - June 22)

You are a quick and intelligent thinker. People like you because you are bisexual. You are inclined to expect too much for too little. This means you’re are a cheap bastard. Geminis are notorious for thriving on incest.

Cancer (June 23 - July 22)

You are sympathetic and understanding to other people’s problems, which makes you a sucker. You are always putting things off. That is why you will always be on welfare and won’t be worth a shit. Everyone in prison is a Cancer.

Leo (July 23 - Aug 22)

You consider yourself a born leader. Others think you are an idiot. Most Leos are bullies. You are vain and cannot tolerate criticism. Your arrogance is disgusting. Leo people are thieving motherfuckers and enjoy masturbation more than sex.

Virgo (Aug 23 - Sept 22)

You are the logical type and hate disorder. Your shit-picking attitude is sickening to your friends and co-workers. You are cold and unemotional and often fall asleep while fucking. Virgos make good bus drivers and pimps.

Libra (Sept 23 - Oct 22)

You are the artistic type and have a difficult time dealing with reality. If you are a male you are probably queer. Chances for employment and monetary gain are nill. Most Libra women are whores. All Libras die of venereal disease.

Scorpio (Oct 23 - Nov 22)

You are the worst of the lot. You are shrewd in business and cannot be trusted. You shall achieve the pinnacle of success because of your total lack of ethics. You are the perfect son-of-a-bitch. Most Scorpios are murdered.

Sagittarius (Nov 23 - Dec 22)

You are optimistic and enthusiastic. You have a reckless tendency to rely on your luck since you have no talent. The majority of Sagittarians are drunks. You are a worthless piece of shit.

Capricorn (Dec 23 - Jan 22)

You are conservative and afraid of taking risks. You are basically chickenshit. There has never been a Capricorn of any importance. You should punch yourself.

Friendly’s Staff Fails To Live Up To Restaurant Name, Writes “100% Sh*t Show” On Receipt

by Chris Morran

I read this story a long while ago and have been searching for it since. I have related increasingly exaggerated variants of it from memory every few years to friends who laugh nervously when I lose my damn mind to the “She just went home I guess” part.

To me, few things are funnier than stories of the wittingly incompetent and their inadvertent courage in this boring, rigged dystopia we live in (cached).

A New Hampshire family says that after a night out to eat at Friendly’s didn’t go so well, a restaurant staffer decided to express their inner feelings through the increasingly preferred medium of the restaurant’s billing system, dropping the phrase “100% sh*t show” at the bottom of the dinner bill.

However, judging by the family’s recollection of the night, that phrase might be an accurate description of the service they received.

After waiting for about 30 minutes without service, they thought they finally located a waitress to take their order. But over the 45 minutes that followed, they were twice served other diners’ food, while theirs was missing in action.

“Come to find out, the waitress that had taken our order never submitted it she just left,” one of the customers tells WHDH-TV, “She went home I guess.”

The restaurant apologized and offered to pay for the family’s meal. And while this comp was reflected on the final check, so was the “sh*t show” remark.

“They had to have had it either entered into the cash register or they had a [expletive] show button,” says the diner, adding that she and her family aren’t offended or boycotting the restaurant and that they will go back to that Friendly’s in the future.

For what it’s worth, Friendly’s HQ released a statement to WHDH:

“[T]his type of behavior is completely unacceptable. We are investigating this with the restaurant and will take swift action. We hope we get the opportunity to rectify this directly with the guest.”

Thanks to Craig for the tip!

You Cannot Overcook Mushrooms

Note that you can certainly burn them. That’s not ‘cooking’, however. The key here is that mushroom cell walls are composed of chitin which is far more heat-stable by virtue of the structures it forms, compared to pectin which is what you’d find in veggies1.

In this video, Dan Souza explains all this and does something quite surprising when cooking mushrooms: He sautés the mushrooms in water to ‘collapse’ them prior to cooking them in just a teeny bit of oil (and the usual salt, pepper, butter, and herbs.) Amazing.

  1. You’ll also find chitin in the “exoskeletons of arthropods, such as crustaceans and insects, the radulae of molluscs, cephalopod beaks, and the scales of fish and skin of lissamphibians.” Leave it to fungi to be weird 😍🍄↩︎

Using AWS Without Succumbing to Hype, FOMO, and Over-Engineering

by Daniel Vassallo

This is how I use the good parts of @awscloud, while filtering out all the distracting hype.

My background: I’ve been using AWS for 11 years — since before there was a console. I also worked inside AWS for 8 years (Nov 2010 - Feb 2019).

My experience is in web- sites/apps/services. From tiny personal projects to commercial apps running on 8,000 servers. If what you do is AI, ML, ETL, HPC, DBs, blockchain, or anything significantly different from web apps, what I’m writing here might not be relevant.

Step 1: Forget that all these things exist: Microservices, Lambda, API Gateway, Containers, Kubernetes, Docker.

Anything whose main value proposition is about “ability to scale” will likely trade off your “ability to be agile & survive”. That’s rarely a good trade off.

Start with a t3.nano EC2 instance, and do all your testing & staging on it. It only costs $3.80/mo.

Then before you launch, use something bigger for prod, maybe an m5.large (2 vCPU & 8 GB mem). It’s $70/mo and can easily serve 1 million page views per day.

1 million views is a lot. For example, getting on the front page of @newsycombinator will get you ~15-20K views. That’s just 2% of the capacity of an m5.large.

It might be tempting to use Lambda & API Gateway to save $70/mo, but then you’re going to have to write your software to fit a new immature abstraction and deal with all sorts of limits and constraints.

Basic stuff such as using a cache, debugging, or collecting telemetry/analytics data becomes significantly harder when you don’t have access to the server. But probably the biggest disadvantage is that it makes local development much harder.

And that’s the last thing you need. I can’t emphasize enough how important it is that you can easily start your entire application on your laptop, with one click.

With Lambda & API Gateway you’re going to be constantly battling your dev environment. Not worth it, IMO.

CloudFormation: Use it. But too much of it can also be a problem. First of all, there are some things that CFN can’t do. But more importantly, some things are best left out of CFN because it can do more harm than good.

The rule of 👍: If something is likely to be static, it’s a good candidate for CFN. Ex: VPCs, load balancers, build & deploy pipelines, IAM roles, etc. If something is likely to be modified over time, then using CFN will likely be a big headache. Ex: Autoscaling settings.

I like having a separate shell script to create things that CFN shouldn’t know about.

And for things that are hard/impossible to script, I just do them manually. Ex: Route 53 zones, ACM cert creation/validation, CloudTrail config, domain registration.

The test for whether your infra-as-code setup is good enough is whether you feel confident that you can tear down your stack & bring it up again in a few minutes without any mistakes. Spending an unbounded amount of time in pursuit of scripting everything is dumb.

Load balancers: You should probably use one even if you only have 1 instance. For $16/mo you get automatic TLS cert management, and that alone makes it worth it IMO. You just set it up once & forget about it. An ALB is probably what you’ll need, but NLB is good too.

Autoscaling: You won’t need it to spin instances up & down based on utilization. Unless your profit margins are as thin as Amazon’s, what you need instead is abundant capacity headroom. Permanently. Then you can sleep well at night — unlike Amazon’s oncall engineers 🤣

But Autoscaling is still useful. Think of it as a tool to help you spin up or replace instances according to a template. If you have a bad host, you can just terminate it and AS will replace it with an identical one (hopefully healthy) in a couple of minutes.

VPCs, Subnets, & Security Groups: These may look daunting, but they’re not that hard to grasp. You have no option but to use them, so it’s worth spending a day or two learning all there is about them. Learn through the console, but at the end set them up with CFN.

Route 53: Use it. It integrates nicely with the load balancers, and it does everything you need from a DNS service. I create hosted zones manually, but I set up A records via cfn. I also use Route 53 for .com domain registration.

CodeBuild/Deploy/Pipeline: This suite has a lot of rough edges and setup can be frustrating. But once you do set it up, the final result is simple and with few moving parts.

Don’t bother with CodeCommit though. Stick with GitHub.

Sample pipeline: A template for setting up an AWS environment from scratch.

S3: At 2.3 cents per GB/mo, don’t bother looking elsewhere for file storage. You can expect downloads of 90 MB/s per object and about a 50 ms first-byte latency. Use the default standard storage class unless you really know what you’re doing.

Database: Today, DynamoDB is an option you should consider. If you can live without “joins”, DDB is probably your best option for a database. With per-request pricing it’s both cheap and a truly zero burden solution. Remember to turn on point-in-time backups.

But if you want the query flexibility of SQL, I’d stick with RDS. Aurora is fascinating tech, and I’m really optimistic about it’s future, but it hasn’t passed the test of time yet. You’ll end up facing a ton of poorly documented issues with little community support.

CloudFront: I’d usually start without CloudFront. It’s one less thing to configure and worry about. But it’s something worth considering eventually, even just for the DDoS protection, if not for performance.

SQS: You likely won’t need it, and if you needed a message queue I’d consider something in-process first. But if you do have a good use case for it, SQS is solid, reliable, and reasonably straightforward to use.

Conclusion: I like to seperate interesting new tech from tech that has survived the test of time. EC2, S3, RDS, DDB, ELB, EBS, SQS definitely have. If you’re considering alternatives, there should be a strong compelling reason for losing all the benefits accrued over time.

On Software Engineering and Complexity

me, a software engineer: large scale production systems are complex and require teams of experts to keep running. It’s near impossible to get right 100% of the time

me, when an app I use goes down once: these fucking clowns, what the fuck

@aweary

Floofballs

Vox on something I’ve always wondered: Why tennis pros reject balls before a serve (and what happens to the ones they do.)

More fluff ⇒ more drag ⇒ more time for your opponent to react. So they’re looking for a ball with less fluff for their first serve, and a floofier one for their second.

But while it is provably true that floofier balls are slower, and as Serena Williams’ coach points out, the more important (and potent) thing here is the mental effect of the ritual itself and not the actual Physics 🎾

The Medieval Friendzone

A young Elizabeth I found herself on the throne of England immediately “besieged by suitors” to whom she made “no firm promises” but sent very nice-sounding letters. One such suitor was a young Eric XIV of Sweden. He was so thirsty, he offered to come to England to visit her. That’s when she fired off this missive on the 25th of February, 1559.

Elizabeth I to King Eric XIV of Sweden

Translation:

Most Serene Prince, our very dear Cousin,

A letter truly yours both in the writing and sentiment, was given us on 30 December by your very dear brother, the Duke of Finland. And while we perceive therefrom that the zeal and love of your mind towards us is not diminished, yet in part we are grieved that we cannot gratify your Serene Highness with the same kind of affection. And that indeed does not happen because we doubt in any way of your love and honour, but, as often we have testified both in words and in writing, that we have never yet conceived a feeling of that kind of affection towards any one. We therefore beg your Serene Highness again and again that you be pleased to set a limit to your love, that it advance not beyond the laws of friendship for the present nor disregard them in future… I have always given both to your brother, who is certainly a most excellent Prince and deservedly very dear to us, and also to your ambassador likewise, the same answer with scarcely any variation of the words, that we do not conceive in our heart to take a husband but highly commend the single life, and hope that your Serene Highness will not longer spend time in waiting for us.

Source