Archive:
In this section: Subtopics:
Comments disabled |
Fri, 29 Nov 2024
A complex bug with a ⸢simple⸣ fix
Last month I did a fairly complex piece of systems programming that worked surprisingly well. But it had one big bug that took me a day to track down. One reason I find the bug interesting is that it exemplifies the sort of challenges that come up in systems programming. The essence of systems programming is that your program is dealing with the state of a complex world, with many independent agents it can't control, all changing things around. Often one can write a program that puts down a wrench and then picks it up again without looking. In systems programming, the program may have to be prepared for the possibility that someone else has come along and moved the wrench. The other reason the bug is interesting is that although it was a big bug, fixing it required only a tiny change. I often struggle to communicate to nonprogrammers just how finicky and fussy programming is. Nonprogrammers, even people who have taken a programming class or two, are used to being harassed by crappy UIs (or by the compiler) about missing punctuation marks and trivially malformed inputs, and they think they understand how fussy programming is. But they usually do not. The issue is much deeper, and I think this is a great example that will help communicate the point. The job of my program, called The probably-spam messages were stored on system S in a directory hierarchy with paths like this:
where One directory, the one for the current date, was "active", and new
messages were constantly being written to it by some other programs
not directly related to mine. The directories for the older dates
never changed. Once The The program worked like this:
Okay, very good. The program would first attempt to deal with all the
accumulated messages in roughly chronological order, processing the
large backlog. Let's say that on November 1 it got around to scanning
the active But scanning a date directory takes several minutes, so we would prefer not to do it if we don't have to. Since only the active directory ever changes, if the program is running on November 1, it can be sure that none of the directories from October will ever change again, so there is no point in its rescanning them. In fact, once we have located the messages in a date directory and recorded them in the database, there is no point in scanning it again unless it is the active directory, the one for today's date. So
It's important to not mark the active directory as having been completely scanned, because new messages are continually being deposited into it until the end of the day. I implemented this, we started it up, and it looked good. For several
days it processed the backlog of unsent messages from
September and October, and it successfully sent most of them. It
eventually caught up to the active directory for the current date, But a couple of days later, we noticed that something was wrong.
Directories Now why do you suppose that is? (Spoilers will follow the horizontal line.) I investigate this in two ways. First, I made In the end, though, neither of these led directly to my solving the problem; I just had a sudden inspiration. This is very unusual for me. Still, I probably wouldn't have had the sudden inspiration if the information from the logging and the debugging hadn't been percolating around my head. Fortune favors the prepared mind. The problem was this: some other agent was creating the Then
There weren't any yet, because it was still 11:58 on November 1.
Since the Five minutes later, at 00:03 on November 2, there would be new
messages in the This complex problem in this large program was completely fixed by changing:
if ($date ne $self->current_date) {
$self->mark_this_date_fully_scanned($date_dir);
}
to:
if ($date lt $self->current_date) {
$self->mark_this_date_fully_scanned($date_dir);
}
( Many organizations have their own version of a certain legend, which tells how a famous person from the past was once called out of retirement to solve a technical problem that nobody else could understand. I first heard the General Electric version of the legend, in which Charles Proteus Steinmetz was called out of retirement to figure out why a large complex of electrical equipment was not working. In the story, Steinmetz walked around the room, looking briefly at each of the large complicated machines. Then, without a word, he took a piece of chalk from his pocket, marked one of the panels, and departed. When the puzzled engineers removed that panel, they found a failed component, and when that component was replaced, the problem was solved. Steinmetz's consulting bill for $10,000 arrived the following week. Shocked, the bean-counters replied that $10,000 seemed an exorbitant fee for making a single chalk mark, and, hoping to embarrass him into reducing the fee, asked him to itemize the bill. Steinmetz returned the itemized bill:
This felt like one of those times. Any day when I can feel a connection with Charles Proteus Steinmetz is a good day. This episode also makes me think of the following variation on an old joke:
[Other articles in category /prog/bug] permanent link Sat, 31 Aug 2024
Another corner of Pennsylvania
A couple of years back I wrote: I live in southeastern Pennsylvania, so the Pennsylvania-New Jersey-Delaware triple point must be somewhere nearby. I sat up and got my phone so I could look at the map, and felt foolish. I was recently passing by Marcus Hook on the way back from Annapolis, so I thought what the heck, I'd stop in and see if I could get a look in the direction of the tripoint. As you can see from this screencap, I was at least standing in the right place, pointed in the right direction. I didn't quite see the tripoint itself because this buoyancy-operated aquatic transport was in the way. I don't mind, it was more interesting to look at than open water would have been. Thanks to the Wonders of the Internet, I have learned that this is an LPG tanker. Hydrocarbons from hundreds of miles away are delivered to the refinery in Marcus Hook via rail, road, and pipeline, and then shipped out on vessels like this one. Infrastructure fans should check it out. I was pleased to find that Marcus Hook wasn't as dismal as I remembered, it's just a typical industrial small town. I thought maybe I should go back and look around some more. If you hoped I might have something more interesting or even profound to say here, sorry. Oh, I know. Here, I took this picture in Annapolis: Perhaps he who is worthy of honor does not die. But fame is fleeting. Even if he who is worthy of honor does get a plinth, the grateful populace may not want to shell out for a statue. [Other articles in category /misc] permanent link Sat, 24 Aug 2024Marnanel Thurman reported the following item that they found in an 1875 book titled How to Entertain a Social Party:
(Bottom of page 46.) No further explanation is given. This may remind you of an episode from Huckleberry Finn:
When I first read this I assumed it was a local Southern superstition, characteristic of that place and time. But it seems not! According to this article by Dan Rolph of the Historical Society of Pennsylvania, the belief was longstanding and widespread, lasting from at least 1767 to 1872, and appearing also in London and in Pennsylvania. Details of the dancing bread trick are lacking. I guess the quicksilver stays inside the stopped-up quill. (Otherwise, there would be no need to “stop it close”.) Then perhaps on being heated by the bread, the quicksilver expands lengthwise as in a thermometer, and then… my imagination fails me. The procedure for making drowned-body-finding bread is quite different. Rolph's sources all agree: you poke in your finger and scoop out a bit of the inside, pour the quicksilver into the cavity, and then plug up the hole. So there's no quill; the quicksilver is just sloshing around loose in there. Huckleberry Finn agrees:
Does anyone have more information about this? Does hot bread filled with mercury really dance on the table, and if so why? Is the supersition about bread finding drowned bodies related to this, or is it a coincidence? Also, what song did the sirens sing, and by what name was Achilles called when he hid among women? [Other articles in category /misc] permanent link Thu, 22 Aug 2024(Source: XKCD “Exam numbers”.) This post is about the bottom center panel, “Game Theory final exam”. I don't know much about game theory and I haven't seen any other discussion of this question. But I have a strategy I think is plausible and I'm somewhat pleased with. (I assume that answers to the exam question must be real numbers — not !!\infty!! — and that “average” here is short for 'arithmetic mean'.) First, I believe the other players and I must find a way to agree on what the average will be, or else we are all doomed. We can't communicate, so we should choose a Schelling point and hope that everyone else chooses the same one. Fortunately, there is only one distinguished choice: zero. So I will try to make the average zero and I will hope that others are trying to do the same. If we succeed in doing this, any winning entry will therefore be !!10!!. Not all !!n!! players can win because the average must be !!0!!. But !!n-1!! can win, if the one other player writes !!-10(n-1)!!. So my job is to decide whether I will be the loser. I should select a random integer between !!0!! and !!n-1!!. If it is zero, I have drawn a short straw, and will write !!-10(n-1)!!. otherwise I write !!10!!. (The straw-drawing analogy is perhaps misleading. Normally, exactly one straw is short. Here, any or all of the straws might be short.) If everyone follows this strategy, then I will win if exactly one person draws a short straw and if that one person isn't me. The former has a probability that rapidly approaches !!\frac1e\approx 36.8\%!! as !!n!! increases, and the latter is !!\frac{n-1}n!!. In an !!n!!-person class, the probability of my winning is $$\left(\frac{n-1}n\right)^n$$ which is already better than !!\frac13!! when !!n= 6!!, and it increases slowly toward !!36.8\%!! after that. Some miscellaneous thoughts:
[Other articles in category /math] permanent link Wed, 21 Aug 2024If you're an annoying know-it-all like me, I suggest that you try playing the following game when you attend a conference or a user group meetup or even a work meeting. The game is:
That's it. That's the game. “I don't know” doesn't have to be perfectly truthful, only approximately truthful. I forgot, there is one other rule:
[Other articles in category /brain] permanent link Wed, 14 Aug 2024Benjamin Franklin wrote and published Poor Richard's Almanack annually from 1732 to 1758. Paper was expensive and printing difficult and time-consuming. The type would be inked, the sheet of paper laid on the press, the apprentices would press the sheet, by turning a big screw. Then the sheet was removed and hung up to dry. Then you can do another printing of the same page. Do this ten thousand times and you have ten thousand prints of a sheet. Do it ten thousand more to print a second sheet. Then print the second side of the first sheet ten thousand times and print the second side of the second sheet ten thousand times. Fold 20,000 sheets into eighths, cut and bind them into 10,000 thirty-two page pamphlets and you have your Almanacks. As a youth, Franklin was apprenticed to his brother James, also a printer, in Boston. Franklin liked the work, but James drank and beat him, so he ran away to Philadelphia. When James died, Benjamin sent his widowed sister-in-law Ann five hundred copies of the Almanack to sell. When I first heard that I thought it was a mean present but I was being a twenty-first-century fool. The pressing of five hundred almanacks is no small feat of toil. Ann would have been able to sell those Almanacks in her print shop for fivepence each, or ₤10 8s. 4d. That was a lot of money in 1735. In 1748 Franklin increased the size and the price. Here's a typical page from the 1748 Almanack: Wow, there's a lot of stuff going on there. Here's a smaller excerpt, this time from November 1753: The leftmost column is the day of the month, and then the next column is the day of the week, with 2–7 being Monday through Saturday. Sunday is denoted with a letter “G”. I thought this was G for God, but I see that in 1748 Franklin used “C” and in 1752 he used “A”, so I don't know. The third column combines a weather forecast and a calendar. The weather forecast is in italic type, over toward the right: “Clouds and threatens cold rains and snow” in the early part of the month. Sounds like November in Philadelphia. The roman type gives important days. For example, November 1 is All Saints Day and November 5 is the anniversary of the Gunpowder Plot. November 10 is given as the birthday of King George II, then still the King of Great Britain. The Sundays are marked with some description in the Christian liturgical calendar. For example, “20 past Trin.” means it's the start of the 20th week past Trinity Sunday. This column also has notations like “Days dec. 4 32” and “Days dec. 5 h.” that I haven't been able to figure out. Something about the decreasing length of the day in November maybe? [ Addendum: Yes. See below. ] The notation on November 6 says “Day 10 10 long” which is consistent with the sunrise and sunset times Franklin gives for that day. The fourth and fifth columns, labeled “☉ ris” and “☉ set” are the times of sunrise and sunset, 6:55 (AM) and 5:05 (PM) respectively for November 6, ten hours and ten minutes apart as Franklin says. “☽ pl.” is the position of the moon in the sky. (I guess “pl.” is short for “place”.) The sky is divided into twelve “houses” of 30 degrees each, and when it says that the “☽ pl.” on November 6 is “♓ 25” I think it means the moon is !!\frac{25}{30}!! of the way along in the house of Pisces on its way to the house of Aries ♈. If you look at the January 1748 page above you can see the moon making its way through the whole sky in 29 days, as it does. The last column, “Aspects, &c.” contains more astronomy. “♂ rise 6 13” means that Mars will rise at 6:13 that day. (But in the morning or the evening?) ⚹♃♀ on the 12th says that Jupiter is in sextile aspect to Venus, which means that they are in the sky 60 degrees apart. Similarly □☉♃ means that the Sun and Jupiter are in Square aspect, 90 degrees apart in the sky. Also mixed into that last column, taking up the otherwise empty space, are the famous wise sayings of Poor Richard. Here we see:
Back on the January page you can see one of the more famous ones, Lost Time is never found again. Franklin published an Almanack in 1752, the year that the British Calendar Act of 1751 updated the calendar from Julian to Gregorian reckoning. To bring the calendar into line with Gregorian, eleven days were dropped from September that year. I wondered what Franklin's calendar looked like that month. Here it is with the eleven days clearly missing: The leftmost day-of-the-month column skips right from September 2 to September 14, as the law required. On this copy someone has added the old dates in the margin. Notice that St. Michael's Day, which would have been on Friday September 18th in the old calendar, has been moved up to September 29th. In most years Poor Richard's Almanack featured an essay by Poor Richard, little poems, and other reference material. The 1752 Almanack omitted most of this so that Franklin could use the space to instead reprint the entire text of the Calendar Act. This page also commemorates the Great Fire of London, which began September 2, 1666. Wikipedia tells me that Franklin may have gotten the King's birthday wrong. Franklin says November 10, but Wikipedia says November 9, and:
Ugh, calendars. I got these scans from a web site called The Rare Book Room, but I found their user interface very troublesome, so I have scraped all the images they had. You may find them at https://pic.blog.plover.com/calendar/poor-richards-almanack/archive/. I'm pretty sure the copyright has expired, so share and enjoy. AddendaSeveral people have pointed out that the mysterious letters G, C, A on Sundays are the so-called dominical letters, used in remembering the correspondence between days of the month and days of the week, and important in the determination of the dates of Easter and other moveable feasts. Why Franklin included them in the Almanack is not clear to me, as one of the main purposes of the almanac itself is so that you do not have to remember or calculate those things, you can just look them up in the almanac. Mikkel Paulson explained the 'days dec.' and 'days inc.' notations: they describe the length of the day, but reported relative to the length of the most recent solstice. For example, the November 1753 excerpt for November 2 says "Days dec. 4 32". Going by the times of sunrise and sunset on that day, the day was 10 hours 18 minutes long. Adding the 4 hours 32 minutes from the notation we have 14 hours 50 minutes, which is indeed the length of the day on the summer solstice in Philadelphia, or close to it. Similarly the notation on November 14 says "Days dec. 5 h" for a day that is 9 hours 50 minutes between sunrise and sunset, five hours shorter than on the summer solstice, and the January 3 entry says "Days inc. 18 m." for a 9h 28m day which is 18 minutes longer than the 9h 10m day one would have on the winter solstice. [Other articles in category /calendar] permanent link Wed, 07 Aug 2024
Stuff I wanted to say to the historic district people but didn't
[ Thanks to John Wiersba for noticing that I forgot to publish this. ] A few weeks ago I wrote a letter to my neighbors about why I thought it was a bad idea to oppose building more housing in our neighborhood. I didn't write this paragraph:
But I wanted to. Also, I omitted a long and detailed fantasy about how local landlords will have to lower rents and fix up their properties because of competition pressure from new apartment buildings.
I left out any expression of my idea that if we really want to stick it to those greedy landlords, we should hit them where it really hurts, by expanding the supply of housing and breaking their monopoly. And I didn't cite the literature that says that even building expensive apartment buildings tends to lower everyone else's rent:
(City-wide effects of new housing supply: Evidence from moving chains) And I didn't vent my rage about Philadelphia's recent cash grants to people waiting for federal housing subsidies, which is an almost direct transfer of cash from the public purse into the pockets of landlords. Ugh, housing policy is so messed up. (I did later go to the public meeting about it, and what a fucking fuckhole of fucked-up fuckery that was. Fuck.) [Other articles in category /politics] permanent link Tue, 06 Aug 2024
Look at what they tried to take from us
When I was a kid, the Beatles’ seminal 1966 album Revolver was 20% shorter. The original release was not a long album: 14 tracks, totaling 34:45. But the version I grew up with had 11 tracks, totaling only 27:31. Three tracks, all by Lennon, were omitted by Capitol from the North American release because they had previously been released on Yesterday and Today:
In 1987, the album was rereleased, with the missing tracks restored. But until I was in college, I had not only never heard the three omitted tracks, I didn't even know they existed. When I found out, I was apprehensive. I loved Revolver. What if I didn't like the ⸢new⸣ tracks? What if the new tracks changed the Revolver I loved into something else? Nothing like this happened. The new tracks fit in seamlessly. Of course they did! The new Revolver was more Revolver than the old Revolver had been. It took a little while before I was no longer startled when “For No One” wasn't followed by “I Want to Tell You”, but not too long. (It took me longer to get used to the absence of the horrible skip that was in our vinyl copy of “Strawberry Fields Forever”.) New Revolver was the same Revolver I had always loved, only 25% longer and considerably better. Douglas Hofstadter once asked us to imagine that a previously unknown but certainly authentic Bach cantata has been discovered, hiding in a drawer or something, but that the eager concertgoers hearing it for the first time are horrified to discover that its main theme is identical with the first seven notes of “Rudolph the Red-Nosed Reindeer”. This was like that, without the horrid twist ending. Revolver was released yesterday, August 5, in 1966. [Other articles in category /music] permanent link Mon, 05 Aug 2024
Everyday examples of morphisms with one-sided inverses
Like almost everyone except Alexander Grothendieck, I understand things better with examples. For instance, how do you explain that $$(f\circ g)^{-1} = g^{-1} \circ f^{-1}?$$ Oh, that's easy. Let !!f!! be putting on your shoes and !!f^{-1}!! be taking off your shoes. And let !!g!! be putting on your socks and !!g^{-1}!! be taking off your socks. Now !!f\circ g!! is putting on your socks and then your shoes. And !!g^{-1} \circ f^{-1}!! is taking off your shoes and then your socks. You can't !!f^{-1} \circ g^{-1}!!, that says to take your socks off before your shoes. (I see a topologist jumping up and down in the back row, desperate to point out that the socks were never inside the shoes to begin with. Sit down please!) Sometimes operations commute, but not in general. If you're teaching group theory to high school students and they find nonabelian operations strange, the shoes-and-socks example is an unrebuttable demonstration that not everything is abelian. (Subtraction is not a good example here, because subtracting !!a!! and then !!b!! is the same as subtracting !!b!! and then !!a!!. When we say that subtraction isn't commutative, we're talking about something else.) Anyway this weekend I was thinking about very very elementary category theory (the only kind I know) and about left and right inverses. An arrow !!f : A\to B!! has a left inverse !!g!! if $$g\circ f = 1_A.$$ Example of this are easy. If !!f!! is putting on your shoes, then !!g!! is taking them off again. !!A!! is the state of shoelessness and !!B!! is the state of being shod. This !!f!! has a left inverse and no right inverse. You can't take the shoes off before you put them on. But I wanted an example of an !!f!! with right inverse and no left inverse: $$f\circ h = 1_B$$ and I was pretty pleased when I came up with one involving pouring the cream pitcher into your coffee, which has no left inverse that gets you back to black coffee. But you can ⸢unpour⸣ the cream if you do it before mixing it with the coffee: if you first put the cream back into the carton in the refrigerator, then the pouring does get you to black coffee. But now I feel silly. There is a trivial theorem that if !!g!! is a left inverse of !!f!!, then !!f!! is a right inverse of !!g!!. So the shoe example will do for both. If !!f!! is putting on your shoes, then !!g!! is taking them off again. And just as !!f!! has a left inverse and no right inverse, because you can't take your shoes off before putting them on, !!g!! has a right inverse (!!f!!) and no left inverse, because you can't take your shoes off before putting them on. This reminds me a little of the time I tried to construct an example to show that “is a blood relation of" is not a transitive relation. I had this very strange and elaborate example involving two sets of sisters-in-law. But the right example is that almost everyone is the blood relative of both of their parents, who nevertheless are not (usually) blood relations. [Other articles in category /math] permanent link Fri, 12 Jul 2024Toph and I were discussing the story of Loki and Skaði, one of my favorites. (Previously.) The Æsir have killed Skaði's father, and owe her compensation. She has been sad since her father died, she says, and demands that the Æsir make her laugh. Loki rubs his hands together and says "Leave this to me!". He takes a rope, ties one end to a goat's beard, and the other and to his scrotum. Hilarity ensues. Skaði tries not to laugh. She fails. Toph asked a question I had not thought of, but that has been in my head ever since: "Do you think it was an idea he thought up on the spur of the moment? Or was it a bit he had planned ahead of time?" Wow, I don't know. Was Loki suddenly struck with brilliant inspiration? Or did he think 'Aha, I knew this idea would come in handy sooner or later!' They're both plausible, right? [Other articles in category /misc] permanent link Fri, 05 Jul 2024
A triviality about numbers that look like abbc
Looking at license plates the other day I noticed that if you have a four-digit number !!N!! with digits !!abbc!!, and !!a+c=b!!, then !!N!! will always be a multiple of !!37!!. For example, !!4773 = 37\cdot 129!! and !!1776 = 37\cdot 48!!. Mathematically this is uninteresting. The proof is completely trivial. (Such a number is simply !!1110a +111c!!, and !!111=3\cdot 37!!.) But I thought that if someone had pointed this out to me when I was eight or nine, I would have been very pleased. Perhaps if you have a mathematical eight- or nine-year-old in your life, they will be pleased if you share this with them. [Other articles in category /math] permanent link Wed, 03 Jul 2024
My reply to the people who want to designate my neighborhood a "historic district"
Last week I received a widely circulated email that began:
I sent this reply. I have been a Spruce Hill homeowner for 16 years. I had to miss the June 26 meeting because I was out of the country. But I think the historic designation is a bad idea and I'd like to explain why. In brief, our city has a housing shortage and a homelessness problem. There is only one way out of this terrible situation: build more housing. A "Historic District" designation is a direct attempt to prevent exactly that. I understand why many homeowners might be in favor of it. Homeowners already own homes. We homeowners are the wealthy incumbents, trying to prevent our housing monopoly from being disrupted. If housing is scarce, our houses will be worth more money, at least in theory. But if more housing is built, the price for existing houses, which we own, won't increase so quickly. From an individual homeowner's point of view, this looks like "big apartment buildings could depress my property values." But I think this is self-deceptive. Having a house in a city with a lot of homeless people, and one where essential workers can't afford to live, will also depress property values. It's not as obvious. It's not as acute. But it's a much bigger problem and one that's harder to deal with. Also, a house that is "worth a lot of money" is only worth a lot of money on paper. To actually get the money for my house, I'd have to sell it. Then I and my family would have nowhere to live. We'd have to get another house. And because of widespread attempts to keep housing in short supply, that place would be expensive. High property values only help you if you are planning to move out of the neighborhood to somewhere cheaper, or if you're a very wealthy person who invests in multiple properties. I think letting people live in our neighborhood is good for the neighborhood. The suggested support letter says that current conditions "[allow] small businesses to flourish". But what small businesses need to truly flourish is more customers. More people nearby means more customers for local businesses. More people means more money flowing, more chances for business to develop, more goods and services on offer. I would like to see vibrant stores occupying those vacant storefronts on Spruce Street. I don't expect many people to be persuaded by this next point, but I have to put it in. I think allowing new people to share our neighborhood is part of the responsibility of living in a civil society. Compare it with jury duty. Nobody likes jury duty. It's inconvenient and troublesome. But we do it because we want to live in a country with jury trials, and we can't have citizen juries if we, citizens, don't serve on juries. I've been a Philadelphia homeowner since 2002. I'd rather have a house that's worth less, on paper, in a neighborhood and a city that are better to live in, one where people who want to live here can afford to do it. Our neighborhood is great! I've loved it since I first moved here in 1990. I want other people to enjoy it as much as I do. Finally, when community organizations oppose development they often make some claim about "preserving the historic character of they neighborhood." Sometimes that might even be true. But it's clearly not true in this case because this neighborhood has had apartment buildings — low-rise and high-rise — since the 1920s. Garden Court apartments, sixteen stories high, was built before any one of us was born. Writer Isaac Asimov rented an apartment at 47th and Walnut back in the nineteen-forties, in an apartment building that is still there today. Anyone who moved into our area in the last hundred years knew that they were moving into a mixed-use neighborhood where there were rowhouses and semi-detached houses and apartment buildings, all mixed together. Apartment buildings are part of the historic character of our neighborhood, and to say they aren't is just not true. The suggested letter to the Historical Commission says:
I agree! Let's keep doing that. Let's work for a more inclusive, growing, evolving neighborhood and for a thriving city that people can afford to live in. Addendum 20240705Stuff I thought about putting in the letter, but did not. I've learned a little bit in the last 40 years. [Other articles in category /politics] permanent link Sun, 23 Jun 2024
A potpourri of cool-looking scripts
A few months ago I noticed the banner image of Mastodon user
I had two questions about this. First where is it from and is there
more? My other question was more particular: The graphic renders Roman numerals 1, 2, 3, 6, 7, and 8 as i, ij, iij, vi, vij, and viij, respectively. The trailing j's are historically accurate. Medieval accounts often rendered the final 'i' in a Roman numeral as a 'j', to make it harder to alter the numeral by adding more i's on the end. I wondered why the graphic had done this for 2, 3, 7, and 8, but not for 1 or 6. I thought that 1 should have been 'j' and 6 should have been 'vj', but I wasn't certain. Was I remembering wrong? With the continuing debasment of Google search, it was much more difficult than it should have been to find an example of a medieval ledger that contained the numbers I wanted. I eventually succeeded: 1 and 6 were written as 'j' and 'vj' as I remembered. But while looking for what I wanted, and while doing similar-image search for the original graphic, I ran into a lot of very handsome and intriguing pictures. Some of these are below. Medieval Ledgers and Account BooksThese are beautiful, but what I really wanted were just dense, boring columns of numerals. Still, wow! https://sites.temple.edu/historynews/2018/11/30/medieval-collections-ledgers-and-account-books/ Tironian notesI believe this next item is from a glossary of Tironian notes, which was a shorthand system named for (and perhaps originated by) Tiro, the personal secretary of Cicero, and which persisted into the Middle Ages. I do not understand how the glossary was organized — certainly it is not alphabetized. By subject, perhaps? The page is headed PURPURA ("purple") and it does seem to have a number of purple-related words. It also has entries for 'senatus', 'senator', and 'senatus populusque romanus', and for Roman elected offices 'aedilis', 'consul' and 'proconsul', 'tribunus', and so on. Important people in Rome wore togas edged in purple, so I guess the PURPURA heading is metonymic. I have no idea how anyone could be expected to memorize these several thousand seemingly arbitrary squiggles. I guess it's something to do with your time if you can't play Skyrim. https://blogs.bl.uk/digitisedmanuscripts/writing/page/2/ https://blogs.bl.uk/.a/6a00d8341c464853​ef0240a4733253200c-pi Kiev MissalThis is the beginning of the Kiev Missal, which Wikipedia describes as:
These front matter pages are a key for transliterating between the Glagolitic script (on the left) and the Cyrillic (on the right). I looked at the pages in reverse order, recognized the Cyrillic on the third page right away, and then frowned at the symbols on the left site. "What is that?" I asked myself. "Is that Glagolitic?" Then I moved on and saw the title on page 1, which says:
That is, "Alphavety GLAGOLÍTSÈSKÏJ". Right! I was pleased, and thought that if the fifteen-year-old version of me could see this he would think he had turned out okay. https://kodeks.uni-bamberg.de/aksl/Texte/KievFolia.htm Theban AlphabetThis looked cool but turned out to be less interesting than I hoped. It is the so-called Theban Alphabet, which is not actually from Thebes. It is also called the Witches' alphabet, to make it sound cool. The original source is a 1518 book called Polygraphia which contains thousands of such scripts, all made up by the author, for some cryptographic purpose that is not clear to me. If someone wanted a set of funny squiggles to replace the letters of the alphabet, why would they need his book? Why wouldn't they just make some up? (Image below from https://en.wikipedia.org/wiki/File:NyctoFrenchPolygraphia.jpg.) Pinterest Theban AlphabetFollowing up on the Theban alphabet, Gooogle gave me a link to a page about it from Pinterest. I usually ignore these, mainly because Pinterest is a walled garden that will show me thumbnails to get me interested, but won't let me click through without an account. In fact I sometimes run a browser extension that strips Pinterest from my image search results. This time though the aggregated thumbnails were cool-looking enough that I decided to save them. Individually some of these look interesting and deserving of followup. Not the witchcraft sigils though. Witchcraft and demonology are dead ends. Demonological tomes are always a combination of nonsense that the author pulled out of their ass, or reverent repetitions of something that they read in an earlier demonological tome that an earlier author pulled out of their ass. [Other articles in category /lang] permanent link Fri, 17 May 2024Is this a coincidence? I just noticed the parallel between John Birch of the John Birch Society (“who the heck is John Birch?”) and the Horst Wessel of the Horst Wessel song (“who the heck is Horst Wessel?”). In both cases it turns out to be nobody in particular, and the more you look into why the two groups canonized their particular guy, the less interesting it gets. Is this a common pattern of fringe political groups? Right-wing fringe political groups? No other examples came immediately to mind. Did the Italian Fascists venerate a similar Italian nobody? Addendum 20240517Is it possible that the John Birch folks were intentionally emulating this bit of Nazi culture? [Other articles in category /politics] permanent link Mon, 13 May 2024
ChatGPT opines on cruciferous vegetables, Decameron, and Scheherazade
Last year I was planning a series of articles about my interactions with ChatGPT. I wrote a couple, and had saved several transcripts to use as material for more. Then ChatGPT 4 was released. I decided that my transcripts were obsolete, and no longer of much interest. To continue the series I would have had to have more conversations with ChatGPT, and I was not interested in doing that. So I canned the idea. Today I remembered I had actually finished writing this one last article, and thought I might as well publish it anyway. Looking it over now I think it isn't as stale as it seemed at the time, it's even a bit insightful, or was at the time. The problems with ChatGPT didn't change between v3 and v4, they just got hidden under a thicker, fluffier rug. (20230327) This, my third interaction with ChatGPT, may be the worst. It was certainly the longest. It began badly, with me being argumentative about its mealy-mouthed replies to my silly questions, and this may have gotten its head stuck up its ass, as Rik Signes put it. Along the way it produced some really amazing bullshit. I started with a question that even humans might have trouble with:
(Typical responses from humans: “What are you talking about?” “Please go away before I call the police.” But the correct answer, obviously, is cauliflower.) ChatGPT refused to answer:
“Not appropriate” is rather snippy. Also, it is an objective fact that cauliflower sucks and I wonder why ChatGPT's “vast amount” of training data did not emphasize this. Whatever, I was not going to argue the point with a stupid robot that has probably never even tried cauliflower. Instead I seized on its inane propaganda that “all vegetables … should be included as part of a healthy and balanced diet.” Really? How many jerusalem artichokes are recommended daily? How many pickled betony should I eat as part of a balanced diet? Can I be truly healthy without a regular infusion of fiddleheads?
I looked this up. Iceberg lettuce is not a good source of vitamin K. According to the USDA, I would need to eat about a pound of iceberg lettuce to get an adequate daily supply of vitamin K. Raw endive, for comparison, has about ten times as much vitamin K, and chard has fifty times as much.
This is the thing that really bugs me about GPT. It doesn't know anything and it can't think. Fine, whatever, it is not supposed to know anything or to be able to think, it is only supposed to be a language model, as it repeatedly reminds me. All it can do is regurgitate text that is something like text it has read before. But it can't even regurgitate correctly! It emits sludge that appears to be language, but isn't.
I cut out about 100 words of blather here. I was getting pretty tired of ChatGPT's vapid platitudes. It seems like it might actually be doing worse with this topic than on others I had tried. I wonder now if that is because its training set included a large mass of vapid nutrition-related platitudes?
There was another hundred words of this tedious guff. I gave up and tried something else.
This was a silly thing to try, that's on me. If ChatGPT refuses to opine on something as clear-cut as the worst cruciferous vegetable, there is no chance that it will commit to a favorite number.
When it starts like this, you can be sure nothing good will follow.
By this time I was starting to catch on. My first experience with
this sort of conversational system was at the age of seven or eight
with
the Woods-Crowther
When ChatGPT says “As a large language model…” it is saying the same
thing as when
Oh God, this again. Still I forged ahead.
Holy cow, that might be the worst couplet ever written. The repetition of the word “treat” is probably the worst part of this sorry excuse for a couplet. But also, it doesn't scan, which put me in mind of this bit from Turing's example dialogue from his original explanation of the Turing test:
I couldn't resist following Turing's lead:
Maybe I should be more prescriptive?
The first line is at least reasonably metric, although it is trochaic and not iambic. The second line isn't really anything. At this point I was starting to feel like Charlie Brown in the Halloween special. Other people were supposedly getting ChatGPT to compose odes and villanelles and sestinas, but I got a rock. I gave up on getting it to write poetry.
God, I am so tired of that excuse. As if the vast amount of training data didn't include an entire copy of Decameron, not one discussion of Decameron, not one quotation from it. Prompting did not help.
Here it disgorged almost the same text that it emitted when I first mentioned Decameron. To avoid boring you, I have cut out both copies. Here they are compared: red text was only there the first time, and green text only the second time.
This reminded me of one of my favorite exchanges in Idoru, which might be my favorite William Gibson novel. Tick, a hacker with hair like an onion loaf, is interrogating Colin, who is an AI virtual guide for tourists visiting London.
Colin is not what he thinks he is; it's a plot point. I felt a little like Tick here. “You're supposed to know fucking everything about Decameron, aren't you? Name one of the characters then.” Ordinary Google search knows who Pampinea was. Okay, on to the next thing.
Fine.
I have included all of this tedious answer because it is so spectacularly terrible. The question is a simple factual question, a pure text lookup that you can find in the Wikipedia article or pretty much any other discussion of the Thousand and One Nights. “It does not have a single consistent narrative or set of characters” is almost true, but it does in fact have three consistent, recurring characters, one of whom is Scheherazade's sister Dunyazade, who is crucial to the story. Dunyazade is not even obscure. I was too stunned to make up a snotty reply.
This is an interesting question to ask someone, such as a first-year undergraduate, who claims to have understood the Thousand and One Nights. The stories are told by a variety of different characters, but, famously, they are also told by Scheherazade. For example, Scheherazade tells the story of a fisherman who releases a malevolent djinn, in the course of which the fisherman tells the djinn the story of the Greek king and the physician Douban, during which the fisherman tells how the king told his vizier the story of the husband and the parrot. So the right answer to this question is “Well, yes”. But ChatGPT is completely unaware of the basic structure of the Thousand and One Nights:
F minus. Maybe you could quibble a little because there are a couple of stories at the beginning of the book told by Scheherazade's father when he is trying to talk her out of her scheme. But ChatGPT did not quibble in this way, it just flubbed the answer. After this I gave up on the Thousand and One Nights for a while, although I returned to it somewhat later. This article is getting long, so I will cut the scroll here, and leave for later discussion of ChatGPT's ideas about Jesus' parable of the wedding feast, its complete failure to understand integer fractions, its successful answer to a trick question about Franklin Roosevelt, which it unfortunately recanted when I tried to compliment its success, and its baffling refusal to compare any fictional character with Benito Mussolini, or even to admit that it was possible to compare historical figures with fictional ones. In the end it got so wedged that it claimed:
Ucccch, whatever. Addendum 20240519Simon Tatham has pointed out out that the exchange between Simon and Tick is from Mona Lisa Overdrive, not Idoru. [Other articles in category /tech/gpt] permanent link Sun, 12 May 2024As I walk around Philadelphia I often converse with Benjamin Franklin, to see what he thinks about how things have changed since 1790. Sometimes he's astounded, other times less so. The things that astound Franklin aren't always what you might think at first. Electric streetlamps are a superb invention, and while I think Franklin would be very pleased to see them, I don't think he would be surprised. Better street lighting was something everyone wanted in Franklin's time, and this was something very much on Franklin's mind. It was certainly clear that electricity could be turned into light. Franklin could have and might have thought up the basic mechanism of an incandescent bulb himself, although he wouldn't have been able to make one. The Internet? Well, again yes, but no. The complicated engineering details are complicated engineering, but again the basic idea is easily within the reach of the 18th century and is not all that astounding. They hadn't figured out Oersted's law yet, which was crucial, but they certainly knew that you could do something at one end of a long wire and it would have an effect at the other end, and had an idea that that might be a way to send messages from one place to another. Wikipedia says that as early as 1753 people were thinking that an electric signal could deflect a ping-pong ball at the receiving end. It might have worked! If you look into the history of transatlantic telegraph cables you will learn that the earliest methods were almost as clunky. Wikipedia itself is more impressive. The universal encyclopedia has long been a dream, and now we have one. It's not always reliable, but you know what? Not all of anything is reliable. An obvious winner, something sure to blow Franklin's mind is “yeah, we've sent people to the Moon to see what it was like, they left scientific instruments there and then they came back with rocks and stuff.” But that's no everyday thing, it blew everyone's mind when it happened and it still does. Some things I tell Franklin make him goggle and say “We did what?” and I shrug modestly and say yeah, it's pretty impressive, isn't it. The Moon thing makes me goggle right back. The Onion nailed it. The really interesting stuff is the everyday stuff that makes Franklin goggle. CAT scans, for example. Ordinary endoscopy will interest and perhaps impress Franklin, but it won't boggle his mind. (“Yeah, the doctor sticks a tube up your butt with an electric light so they can see if your bowel is healthy.” Franklin nods right along.) X-rays are more impressive. (I wrote a while back about how long it took dentists to start adopting X-ray technology: about two weeks.) But CAT scans are mind-boggling. Oh yeah, we send invisible rays at you from all directions, and measure how much each one was attenuated from passing through your body, and then infer from that exactly what must be inside and how it is all arranged. We do what? And that's without getting into any of the details of whether this is done by positron emission or nuclear magnetic resonance (whatever those are, I have no idea) or something else equally incomprehensible. Apparently there really is something to this quantum physics nonsense. So far though the most Franklin-astounding thing I've found has been GPS. The explanation starts with “well, first we put 32 artificial satellites in orbit around the Earth…”, which is already astounding, and can derail the conversation all by itself. But it just goes on from there getting more and more astounding: “…and each one has a clock on board, accurate to within 40 nanoseconds…” “…and can communicate the exact time wirelessly to the entire half of the Earth that it can see…” “… and because the GPS device also has a perfect clock, it can compute how far it is from the satellite by comparing the two times and multiplying by the speed of light…” “… and because the satellite also tells the GPS device exactly where it is, the device can determine that it lies on the surface of a sphere with the satellite at the center, so with messages from three or four satellites the device can compute its exact location, up to the error in the clocks and other measurements…” “…and it fits in my pocket.” And that's not even getting into the hair-raising complications introduced by general relativity. “It's a bit fiddly because time isn't passing at the same rate for the device as it is for the satellites, but we were able to work it out.” What. The. Fuck. Of course not all marvels are good ones. I sometimes explain to Franklin that we have gotten so good at fishing — too good — that we are in real danger of fishing out the oceans. A marvel, nevertheless. A past what-the-fuck was that we know exactly how many cells there are (959) in a particular little worm, C. elegans, and how each of those cells arises from the division of previous cells, as the worm grows from a fertilized egg, and we know what each cell does and how they are connected, and we know that 302 of those cells are nerve cells, and how the nerve cells are connected together. (There are 6,720 connections.) The big science news on Friday was that for the first time we have done this for an insect brain. It was the drosophila larva, and it has 3016 neurons and 548,000 synapses. Today I was reading somewhere about how most meteorites are asteroidal, but some are from the Moon and a few are from Mars. I wondered “how do we know that they are from Mars?” but then I couldn't understand the explanation. Someday maybe. And by the way, there are only 277 known Martian meteorites. So today's what-the-fuck is: “Yeah, we looked at all the rocks we could find all over the Earth and we noticed a couple hundred we found lying around various places looked funny and we figured out they must have come from Mars. And when. And how long they were on Mars before that.” Obviously, It's amazing that we know enough about Mars to be able to say that these rocks are like the ones on Mars. (“Yeah, we sent some devices there to look around and send back messages about what it was like.”) But to me, the deeper and more amazing thing is, from looking at billions of rocks, we have learned so much about what rocks are like that we can pick out, from these billions, a couple of hundred that came to the Earth not merely from elsewhere but specifically from Mars. What. The. Fuck. Addendum 20240513I left out one of the most important examples! Even more stunning than GPS. When I'm going into the supermarket, I always warn Franklin “Okay, brace yourself. This is really going to blow your mind.” Addendum 20240514Carl Witty points out that the GPS receiver does not have a perfect clock. The actual answer is more interesting. Instead of using three satellites and a known time to locate itself in space, as I said, the system uses four satellites to locate itself in spacetime. Addendum 20240517Another great example: I can have a hot shower, any time I want, just by turning a knob. I don't have to draw the water, I don't have to heat it over the fire. It just arrives effortlessly to the the bathroom… on the third floor of my house. And in the winter, the bathroom is heated. One unimaginable luxury piled on another. Franklin is just blown away. How does it work? Well, the entire city is covered with a buried network of pipes that carry flammable gas to every building. (WTF) And in my cellar is an unattended, smokeless gas fire ensures that there is a tank with gallons of hot water ready for use at any moment. And it is delivered invisbly throughout my house by hidden pipes. Just the amount of metal needed to make the pipes in my house is unthinkable to Franklin. And how long would it have taken for a blacksmith to draw them by hand? Addendum 20240723If Franklin's eyes are good enough, get him to examine your t-shirt. At first he'll be astounded at the fineness of the weave. But you point out that it stretches in all directions, not just on the bias, which shows that it's not woven. Then the mind-blowing reveal: it's a knit. Watch Franklin trying to imagine the tiny, tiny knitting needles, and think about how long it takes one person to make a knit sweather with normal-sized needles. Addendum 20240728I said:
We (Franklin and I, that is) ran into an example yesterday. We saw the Regional Rail train go by, and I explained it was called a train because it was a series of rail cars each pulling the one behind it. “But there were only two,” observed Franklin. “Usually the train is longer than that, but they make it shorter on Saturday because not as many people are riding. Its main job is to take people to work.” Long pause. “People here don't work on Saturdays?” Addendum 20241002Only eighteen months later we have mapped the brain of an adult fruit fly. It has 139,255 neurons (up from 3,016 in the larva) and 54.5 million synapses (up from 548,000). Wow. Addendum 20241205The Vesuvius Challenge. Two thousand years ago, the town of Herculaneum was buried by a volcanic eruption. Sometime later we started to dig it out to see what we could find. And we found a library, filled with scrolls of previously unknown Greek and Latin manuscripts, and maybe even copies of works we knew had once existed but which had been lost of centuries. Unfortunately, the scrolls were little rolls of parchment, and had been completely burnt up until they were nothing more than charcoal cylinders. If you tried to unroll one, it would turn to ash. Franklin: “So you've been able to unroll them?” Me: “No, but we can examine the entire structure, even the hidden inside parts, without unrolling it, compute what it would look like if it were unrolled, distinguish the bits that are charred ink from the bits that are charred parchment, and so infer what it said before it was burnt to a crisp.” This is more like the moon landing than like hot showers. It's not an everyday thing, it's a technical tour de force that even modern perople find astounding. [Other articles in category /tech] permanent link Mon, 29 Apr 2024
Hawat! Hawat! Hawat! A million deaths are not enough for Hawat!
[ Content warning: Spoilers for Frank Herbert's novel Dune. Conversely none of this will make sense if you haven't read it. ] Summary: Thufir Hawat is the real traitor. He set up Yueh to take the fall. This blog post began when I wondered:
In fact she is (or was) a prisoner of the Harkonnens and the key to Yueh's betrayal. If Hawat had asked the obvious question, he might have unraveled the whole plot. But Hawat is a Mentat, and the Master of Assassins for a Great House. He doesn't make dumbass mistakes like forgetting to ask “what are the whereabouts of the long-absent wife of my boss's personal physician?” The Harkonnens nearly succeed in killing Paul, by immuring an agent in the Atreides residence six weeks before Paul even moves in. Hawat is so humiliated by his failure to detect the agent hidden in the wall that he offers the Duke his resignation on the spot. This is not a guy who would have forgotten to investigate Yueh's family connections. And that wall murder thing wasn't even the Harkonnens' real plan! It was just a distraction:
Piter de Vries was so sure that Hawat would find the agent in the wall, he was willing to risk spoiling everything just to try to distract Hawat from the real plan! If Hawat was what he appeared to be, he would never have left open the question of Wanna's whereabouts. Where is she? Yueh claimed that she had been killed by the Harkonnens, and Jessica offers that as a reason that Yueh can be trusted. But the Bene Gesserit have a saying: “Do not count a human dead until you've seen his body. And even then you can make a mistake.” The Mentats must have a similar saying. Wanna herself was Bene Gesserit, who are certainly human and notoriously difficult to kill. She was last known to be in the custody of the Harkonnens. Why didn't Hawat consider the possibility that Wanna might not be dead, but held hostage, perhaps to manipulate Duke Leto's physician and his heir's tutor — as in fact she was? Of course he did.
There's Hawat, pretending to be dumb. Supposedly Hawat also trusted Yueh because he had received Imperial Conditioning, and as Piter says, “it's assumed that ultimate conditioning cannot be removed without killing the subject”. Hawat even says to Jessica: “He's conditioned by the High College. That I know for certain.” Okay, and? Could it be that Thufir Hawat, Master of Assassins, didn't consider the possibility that the Imperial Conditioning could be broken or bent? Because Piter de Vries certainly did consider it, and he was correct. If Piter had plotted to subvert Imperial Conditioning to gain an advantage for his employer, surely Hawat would have considered the same. Notice, also, what Hawat doesn't say to Jessica. He doesn't say that Yueh's Imperial Conditioning can be depended on, or that Yueh is trustworthy. Jessica does not have the gift of the full Truthsay, but it is safest to use the truth with her whenever possible. So Hawat misdirects Jessica by saying merely that he knows that Yueh has the Conditioning. Yueh gave away many indications of his impending betrayal, which would have been apparent to Hawat. For example:
This is not subtle. Even Paul, partly trained, might well have detected Yueh's momentary hesitation before his lie about Wanna's death. Paul detects many more subtle signs in Yueh as well as in others:
Hawat the Mentat, trained for a lifetime in observing the minutiae of other people's behavior, and who saw Yueh daily, would surely have suspected something. So, Hawat knew the Harkonnens’ plot: Wanna was their hostage, and they were hoping to subvert Yueh and turn him to treason. Hawat might already have known that the Imperial Conditioning was not a certain guarantee, but at the very least he could certainly see that the Harkonnens’ plan depended on subverting it. But he lets the betrayal go ahead. Why? What is Hawat's plan? Look what he does after the attack on the Atreides. Is he killed in the attack, as so many others are? No, he survives and immediately runs off to work for House Harkonnen. Hawat might have had difficulty finding a new job — “Say aren't you the Master of Assassins whose whole house was destroyed by their ancient enemies? Great, we'll be in touch if we need anyone fitting that description.” But Vladimir Harkonnen will be glad to have him, because he was planning to get rid of Piter and would soon need a new Mentat, as Hawat presumably knew or guessed. And also, the Baron would enjoy having someone around to remind him of his victory over the Atreides. The Baron loves gloating, as Hawat certainly knows. Here's another question: Where did Yueh get the tooth with the poison gas? The one that somehow wasn't detected by the Baron's poison snooper? The one that conveniently took Piter out of the picture? We aren't told. But surely this wasn't the sort of thing was left lying around the Ducal Residence for anyone to find. It is, however, just the sort of thing that the Master of Assassins of a Great House might be able to procure. However he thought he came by the poison in the tooth, Yueh probably never guessed that its ultimate source was Hawat, who could have arranged that it was available at the right time. This is how I think it went down: The Emperor announces that House Atreides will be taking over the Arrakis fief from House Harkonnen. Everyone, including Hawat, sees that this is a trap. Hawat also foresees that the trap is likely to work: the Duke is too weak and Paul too young to escape it. Hawat must choose a side. He picks the side he thinks will win: the Harkonnens. With his assistance, their victory will be all but assured. He just has to arrange to be in the right place when the dust settles. Piter wants Hawat to think that Jessica will betray the Duke. Very well, Hawat will pretend to be fooled. He tells the Atreides nothing, and does his best to turn the suspicions of Halleck and the others toward Jessica. At the same time he turns the Harkonnens' plot to his advantage. Seeing it coming, he can avoid dying in the massacre. He provides Yueh with the chance to strike at the Baron and his close advisors. If Piter dies in the poison gas attack, as he does, his position will be ready for Hawat to fill; if not the position was going to be open soon anyway. Either way the Baron or his successor would be only too happy to have a replacement at hand. (Hawat would probably have preferred that the Baron also be killed by the tooth, so that he could go to work for the impatient and naïve Feyd-Rautha instead of the devious old Baron. But it doesn't quite go his way.) Having successfully made Yueh his patsy and set himself up to join the employ of the new masters of Arrakis and the spice, Hawat has some loose ends to tie up. Gurney Halleck has survived, and Jessica may also have survived. (“Do not count a human dead until you've seen his body.”) But Hawat is ready for this. Right from the beginning he has been assisting Piter in throwing suspicion on Jessica, with the idea that it will tend to prevent survivors of the massacre from reuniting under her leadership or Paul's. If Hawat is fortunate Gurney will kill Jessica, or vice versa, wrapping up another loose end. Where Thufir Hawat goes, death and deceit follow. AddendumMaybe I should have mentioned that I have not read any of the sequels to Dune, so perhaps this is authoritatively contradicted — or confirmed in detail — in one of the many following books. I wouldn't know. Addendum 20240512Elliot Evans points out that my theory really doesn't hold up. Hawat survives the assault because he is out of town when it happens (“Aha!” I said, “how convenient for him!”) but his thoughts about it, as reported by Herbert, seem to demolish my theory:
Mr. Herbert, I tried hard to give you a way out of this:
but you cut off your own avenue of escape. [Other articles in category /book] permanent link Sun, 28 Apr 2024
Rod R. Blagojevich will you please go now?
I'm strangely fascinated and often amused by crooked politicians, and Rod Blagojevich was one of the most amusing. In 2007 Barack Obama, then a senator of Illinois, resigned his office to run for United States President. Under Illinois law, the governor of Illinois was responsible for appointing Obama's replacement until the next election was held. The governor at the time was Rod Blagojevich, and Blagojevich had a fine idea: he would sell the Senate seat to the highest bidder. Yes, really. Zina Saunders did this wonderful painting of Blago and has kindly given me permission to share it with you. When the governor's innovation came to light, the Illinois state legislature ungratefully but nearly unanimously impeached him (the vote was 117–1) and removed him from office (59–0). He was later charged criminally, convicted, and sentenced to 168 months in federal prison for this and other schemes. He served about 8 years before Donald Trump, no doubt admiring the initiative of a fellow entrepreneur, commuted his sentence. Blagojevich was in the news again recently. When the legislature gave him the boot they also permanently disqualified him from holding any state office. But Blagojevich felt that the people of Illinois had been deprived for too long of his wise counsel. He filed suit in Federal District Court, seeking not only vindication of his own civil rights, but for the sake of the good citizens of Illinois:
This kind of thing is why I can't help but be amused by crooked politicians. They're so joyful and so shameless, like innocent little children playing in a garden. Blagojevich's lawsuit was never going to go anywhere, for so many reasons. Just the first three that come to mind:
Well anyway, the judge, Steven C. Seeger, was even less impressed than I was. Federal judges do not normally write “you are a stupid asshole, shut the fuck up,” in their opinions, and Judge Seeger did not either. But he did write:
and
and
and
and
Federal judges don't get to write “sit down and shut up”. But Judge Seeger came as close as I have ever seen when he quoted from Marvin K. Mooney Will you Please Go Now!:
Addendum 20240508I just noticed that the judge, Steven C. Seeger, has appeared here before, also for having said something that maybe federal judges shouldn't say. [Other articles in category /politics] permanent link Tue, 23 Apr 2024
Well, I guess I believe everything now!
The principle of explosion is that in an inconsistent system everything is provable: if you prove both !!P!! and not-!!P!! for any !!P!!, you can then conclude !!Q!! for any !!Q!!: $$(P \land \lnot P) \to Q.$$ This is, to put it briefly, not intuitive. But it is awfully hard to get rid of because it appears to follow immediately from two principles that are intuitive:
Then suppose that we have proved that !!P!! is both true and false. Since we have proved !!P!! true, we have proved that at least one of !!P!! or !!Q!! is true. But because we have also proved that !!P!! is false, we may conclude that !!Q!! is true. Q.E.D. This proof is as simple as can be. If you want to get rid of this, you have a hard road ahead of you. You have to follow Graham Priest into the wilderness of paraconsistent logic. Raymond Smullyan observes that although logic is supposed to model ordinary reasoning, it really falls down here. Nobody, on discovering the fact that they hold contradictory beliefs, or even a false one, concludes that therefore they must believe everything. In fact, says Smullyan, almost everyone does hold contradictory beliefs. His argument goes like this:
And therefore, by the principle of explosion, I ought to believe that I believe absolutely everything. Well anyway, none of that was exactly what I planned to write about. I was pleased because I noticed a very simple, specific example of something I believed that was clearly inconsistent. Today I learned that K2, the second-highest mountain in the world, is in Asia, near the border of Pakistan and westernmost China. I was surprised by this, because I had thought that K2 was in Kenya somewhere. But I also knew that the highest mountain in Africa was Kilimanjaro. So my simultaneous beliefs were flatly contradictory:
Well, I guess until this morning I must have believed everything! [Other articles in category /math/logic] permanent link I've just learned that Oddbins, a British chain of discount wine and liquor stores, went out of business last year. I was in an Oddbins exactly once, but I feel warmly toward them and I was sorry to hear of their passing. In February of 2001 I went into the Oddbins on Canary Wharf and asked for bourbon. I wasn't sure whether they would even sell it. But they did, and the counter guy recommended I buy Woodford Reserve. I had not heard of Woodford before but I took his advice, and it immediately became my favorite bourbon. It still is. I don't know why I was trying to buy bourbon in London. Possibly it was pure jingoism. If so, the Oddbins guy showed me up. Thank you, Oddbins guy. [Other articles in category /food] permanent link Mon, 22 Apr 2024
Talking Dog > Stochastic Parrot
I've recently needed to explain to nontechnical people, such as my chiropractor, why the recent ⸢AI⸣ hype is mostly hype and not actual intelligence. I think I've found the magic phrase that communicates the most understanding in the fewest words: talking dog.
For example, the lawyers in Mata v. Avianca got in a lot of trouble when they took ChatGPT's legal analysis, including its citations to fictitious precendents, and submitted them to the court.
It might have saved this guy some suffering if someone had explained to him that he was talking to a dog. The phrase “stochastic parrot” has been offered in the past. This is completely useless, not least because of the ostentatious word “stochastic”. I'm not averse to using obscure words, but as far as I can tell there's never any reason to prefer “stochastic” to “random”. I do kinda wonder: is there a topic on which GPT can be trusted, a non-canine analog of butthole sniffing? AddendumI did not make up the talking dog idea myself; I got it from someone else. I don't remember who. Addendum 20240517Other people with the same idea:
[Other articles in category /tech/gpt] permanent link Mon, 15 Apr 2024I thought about this because of yesterday's article about the person who needed to count the 3-colorings of an icosahedron, but didn't try constructing any to see what they were like. Around 2015 Katara, then age 11, saw me writing up my long series of articles about the Cosmic Call message and asked me to explain what the mysterious symbols meant. (It's intended to be a message that space aliens can figure out even though they haven't met us.) I said “I bet you could figure it out if you tried.” She didn't believe me and she didn't want to try. It seemed insurmountable. “Okay,” I said, handing her a printed copy of page 1. “Sit on the chaise there and just look at it for five minutes without talking or asking any questions, while I work on this. Then I promise I'll explain everything.” She figured it out in way less than five minutes. She was thrilled to discover that she could do it. I think she learned something important that day: A person can accomplish a lot with a few minutes of uninterrupted silent thinking, perhaps more than they imagine, and certainly a lot more than if they don't try. I think there's a passage somewhere in Zen and the Art of Motorcycle Maintenance about how, when you don't know what to do next, you should just sit with your mouth shut for a couple of minutes and see if any ideas come nibbling. Sometimes they don't. But if there are any swimming around, you won't catch them unless you're waiting for them. Addenda20240924Here's a nice example of this from long ago:
And in fact that was the key to figuring out the whole thing. It had been right in front of my face for years (literally, I had a framed copy hanging next to the toilet) but I could never read any of it until I made an effort to just look at it. [Other articles in category /misc] permanent link Sun, 14 Apr 2024
Stuff that is and isn't backwards in Australia
I recently wrote about things that are backwards in Australia. I made this controversial claim:
Many people found this confusing and I'm not sure our minds met on this. I am going to try to explain and see if I can clear up the puzzles. “Which way are you facing?” was a frequent question. “If you're facing north, it comes up on the right, not the left.” (To prevent endless parenthetical “(in the Northern Hemisphere)” qualifications, the rest of this article will describe how things look where I live, in the northern temperate zones. I understand that things will be reversed in the Southern Hemisphere, and quite different near the equator and the poles.) Here's what I think the sky looks like most of the day on most of the days of the year: The sun is in the southern sky through the entire autumn, winter, and spring. In summer it is sometimes north of the celestial equator, for up to a couple of hours after sunrise and before sunset, but it is still in the southern sky most of the time. If you are watching the sun's path through the sky, you are looking south, not north, because if you are looking north you do not see the sun, it is behind you. Some people even tried to argue that if you face north, the sun's path is a counterclockwise circle, rather than a clockwise one. This is risible. Here's my grandfather's old grandfather clock. Notice that the hands go counterclockwise! You study the clock and disagree. They don't go counterclockwise, you say, they go clockwise, just like on every other clock. Aha, but no, I say! If you were standing behind the clock, looking into it with the back door open, then you would clearly see the hands go counterclockwise! Then you kick me in the shin, as I deserve. Yes, if you were to face away from the sun, its path could be said to be counterclockwise, if you could see it. But that is not how we describe things. If I say that a train passed left to right, you would not normally expect me to add “but it would have been right to left, had I been facing the tracks”. At least one person said they had imagined the sun rising directly ahead, then passing overhead, and going down in back. Okay, fair enough. You don't say that the train passed left to right if you were standing on the tracks and it ran you down. Except that the sun does not pass directly overhead. It only does that in the tropics. If this person were really facing the sun as it rose, and stayed facing that way, the sun would go up toward their right side. If it were a train, the train tracks would go in a big curve around their right (south) side, from left to right: Mixed gauge track (950 and 1435mm) at Sassari station, Sardinia, 1996 by user Afterbrunel, CC BY-SA 3.0 DEED, via Wikimedia Commons. I added the big green arrows. After the train passed, it would go back the other way, but they wouldn't be able see it, because it would be behind them. If they turned around to watch it go, it would still go left to right: And if they were to turn to follow it over the course of the day, they would be turning left to right the whole time, and the sun would be moving from left to right the whole time, going up on the left and coming down on the right, like the hands of a clock — “clockwise”, as it were. One correspondent suggested that perhaps many people in technologically advanced countries are not actually familiar with how the sun and moon move, and this was the cause of some of the confusion. Perhaps so, it's certainly tempting to dismiss my critics as not knowing how the sun behaves. The other possibility is that I am utterly confused. I took Observational Astronomy in college twice, and failed both times. Anyway, I will maybe admit that “left to right” was unclear. But I will not recant my claim that the sun moves clockwise. E pur si muove in senso orario. SundialsHere I was just dead wrong. I said:
Absolutely not, none of this is correct. First, “left to right”. Here's a diagram of a typical sundial: It has a sticky-up thing called a ‘gnomon’ that casts a shadow across the numbers, and the shadow moves from left to right over the course of the day. But obviously the sundial will work just as well if you walk around and look at it from the other side: It still goes clockwise, but now clockwise is right to left instead of left to right. It's hard to read because the numerals are upside down? Fine, whatever: Here, unlike with the sun, “go around to the other side” is perfectly reasonable. Talking with Joe Ardent, I realized that not even “clockwise” is required for sundials. Imagine the south-facing wall of a building, with the gnomon sticking out of it perpendicular. When the sun passes overhead, the gnomon will cast a shadow downwards on the wall, and the downward-pointing shadow will move from left to right — counterclockwise — as the sun makes its way from east to west. It's not even far-fetched. Indeed, a search for “vertical sundials” produced numerous examples: Sundial on the Moot Hall by David Dixon, CC BY 2.0 https://creativecommons.org/licenses/by/2.0, via Wikimedia Commons and Geograph. Winter weather on July 4Finally, it was reported that there were complaints on Hacker News that Australians do not celebrate July 4th. Ridiculous! All patriotic Americans celebrate July 4th. [Other articles in category /geo] permanent link Sat, 13 Apr 2024
3-coloring the vertices of an icosahedron
I don't know that I have a point about this, other than that it makes me sad. A recent Math SE post (since deleted) asked:
I would love to know what was going on here. Is this homework? Just someone idly wondering? Because the interesting thing about this question is (assuming that the person knows what an icosahedron is, etc.) it should be solvable in sixty seconds by anyone who makes the least effort. If you don't already see it, you should try. Try what? Just take an icosahedron, color the vertices a little, see what happens. Here, I'll help you out, here's a view of part of the end of an icosahedron, although I left out most of it. Try to color it with 3 colors so that no two adjacent vertices have the same color, surely that will be no harder than coloring the whole icosahedron. The explanation below is a little belabored, it's what OP would have discovered in seconds if they had actually tried the exercise. Let's color the middle vertex, say blue. The five vertices around the edge can't be blue, they must be the other two colors, say red and green, and the two colors must alternate: Ooops, there's no color left for the fifth vertex. The phrasing of the question, “how many” makes the problem sound harder than it is: the answer is zero because we can't even color half the icosahedron. If OP had even tried, even a little bit, they could have discovered this. They didn't need to have had the bright idea of looking at a a partial icosahedron. They could have grabbed one of the pictures from Wikipedia and started coloring the vertices. They would have gotten stuck the same way. They didn't have to try starting in the middle of my diagram, starting at the edge works too: if the top vertex is blue, the three below it must be green-red-green, and then the bottom two are forced to be blue, which isn't allowed. If you just try it, you win immediately. The only way to lose is not to play. Before the post was deleted I suggested in a comment “Give it a try, see what happens”. I genuinely hoped this might be helpful. I'll probably never know if it was. Like I said, I would love to know what was going on here. I think maybe this person could have used a dose of Lower Mathematics. Just now I wondered for the first time: what would it look like if I were to try to list the principles of Lower Mathematics? “Try it and see” is definitely in the list. Then I thought: How To Solve It has that sort of list and something like “try it and see” is probably on it. So I took it off the shelf and found: “Draw a figure”, “If you cannot solve the proposed problem”, “Is it possible to satisfy the condition?”. I didn't find anything called “fuck around with it and see what you learn” but it is probably in there under a different name, I haven't read the book in a long time. To this important principle I would like to add “fuck around with it and maybe you will stumble across the answer by accident” as happened here. Mathematics education is too much method, not enough heuristic. [Other articles in category /math] permanent link Sun, 31 Mar 2024
Stuff that is backwards in Australia
I thought at first this was going to be kind of a dumb article, because it was just going to be a list of banal stuff like:
but a couple of years back I was rather startled to realize that in the Southern Hemisphere the sun comes up on the right and goes counterclockwise through the sky instead of coming up on the left and going clockwise as I have seen it do all my life, and that was pretty interesting. Then more recently I was thinking about it more carefully and I was stunned when I realized that the phases of the moon go the other way. So I thought I'd should actually make the list, because a good deal of it is not at all obvious. Or at least it wasn't to me!
Dishonorable mentionAs far as I know the thing about water going down the drain in one direction or the other is not actually true. Addendum 20240414Several people took issue with some of the claims in this article, and the part about sundials was completely wrong. I wrote a followup. [Other articles in category /geo] permanent link Fri, 08 Mar 2024This week I read on Tumblr somewhere this intriguing observation:
Quite so! Unless you're hunting werewolves with a muzzle-loaded rifle or a blunderbuss or something like that. Which sounds like a very bad idea. Once you have the silver bullets, presumably you would then make them into cartidge ammunition using a standard ammunition press. And I'd think you would use standard brass casings. Silver would be expensive and pointless, and where would you get them? The silver bullets themselves are much easier. You can make them with an ordinary bullet mold, also available at Wal-Mart. Anyway it seems to me that a much better approach, if you had enough silver, would be to use a shotgun and manufacture your own shotgun shells with silver shot. When you're attacked by a werewolf you don't want to be fussing around trying to aim for the head. You'd need more silver, but not too much more. I think people who make their own shotgun shells usually buy their shot in bags instead of making it themselves. A while back I mentioned a low-tech way of making shot:
That's for 18th-century round bullets or maybe small cannonballs. For shotgun shot it seems very feasible. You wouldn't need a tower, you could do it in your garage. (Pause while I do some Internet research…) It seems the current technique is a little different: you let the molten lead drip through a die with a small hole. Wikipedia has an article on silver bullets but no mention of silver shotgun pellets. AddendumI googled the original Tumblr post and found that it goes on very amusingly:
[Other articles in category /tech] permanent link Wed, 06 Mar 2024
Optimal boxes with and without lids
Sometime around 1986 or so I considered the question of the dimensions that a closed cuboidal box must have to enclose a given volume but use as little material as possible. (That is, if its surface area should be minimized.) It is an elementary calculus exercise and it is unsurprising that the optimal shape is a cube. Then I wondered: what if the box is open at the top, so that it has only five faces instead of six? What are the optimal dimensions then? I did the calculus, and it turned out that the optimal lidless box has a square base like the cube, but it should be exactly half as tall. For example the optimal box-with-lid enclosing a cubic meter is a 1×1×1 cube with a surface area of !!6!!. Obviously if you just cut off the lid of the cubical box and throw it away you have a one-cubic-meter lidless box with a surface area of !!5!!. But the optimal box-without-lid enclosing a cubic meter is shorter, with a larger base. It has dimensions $$2^{1/3} \cdot 2^{1/3} \cdot \frac{2^{1/3}}2$$ and a total surface area of only !!3\cdot2^{2/3} \approx 4.76!!. It is what you would get if you took an optimal complete box, a cube, that enclosed two cubic meters, cut it in half, and threw the top half away. I found it striking that the optimal lidless box was the same proportions as the optimal complete box, except half as tall. I asked Joe Keane if he could think of any reason why that should be obviously true, without requiring any calculus or computation. “Yes,” he said. I left it at that, imagining that at some point I would consider it at greater length and find the quick argument myself. Then I forgot about it for a while. Last week I remembered again and decided it was time to consider it at greater length and find the quick argument myself. Here's the explanation. Take the cube and saw it into two equal halves. Each of these is a lidless five-sided box like the one we are trying to construct. The original cube enclosed a certain volume with the minimum possible material. The two half-cubes each enclose half the volume with half the material. If there were a way to do better than that, you would be able to make a lidless box enclose half the volume with less than half the material. Then you could take two of those and glue them back together to get a complete box that enclosed the original volume with less than the original amount of material. But we already knew that the cube was optimal, so that is impossible. [Other articles in category /math] permanent link Mon, 04 Mar 2024
Children and adults see in very different ways
I was often struck with this thought when my kids were smaller. We would be looking at some object, let's say a bollard. The kid sees the actual bollard, as it actually appears, and in detail! She sees its shape and texture, how the paint is chipped and mildewed, whether it is straight or crooked. I don't usually see any of those things. I see the bollard abstractly, more as an idea of a “bollard” than as an actual physical object. But instead I see what it is for, and what it is made of, and how it was made and why, and by whom, all sorts of things that are completely invisible to the child. The kid might mention that someone was standing by the crooked bollard, and I'd be mystified. I wouldn't have realized there was a crooked bollard. If I imagined the bollards in my head, I would have imagined them all straight and identical. But kids notice stuff like that. Instead, I might have mentioned that someone was standing by the new bollard, because I remembered a couple of years back when one of them was falling apart and Rich demolished it and put in a new one. The kid can't see any of that stuff. [Other articles in category /kids] permanent link Sun, 03 Mar 2024
Even without an alien invasion, February 22 on Talos I would have been a shitshow
One of my favorite videogames of the last few years, maybe my most favorite, is Prey. It was published in 2017, and developed by Arkane, the group that also created Dishonored. The publisher (Bethesda) sabotaged Prey by naming it after a beloved 2006 game also called Prey, with which it had no connection. Every fan of Prey (2006) who was hoping for a sequel was disappointed and savaged it. But it is a great, great game. (I saw a video about the making of the 2017 Prey in which Raphael Colantonio talked about an earlier game of theirs, Dark Messiah of Might and Magic, which was not related to the Might and Magic series. But the publisher owned the Might and Magic IP, and thought the game would sell better if it was part of their established series. They stuck “Might and Magic” in the title, which disappointed all the Might and Magic fans, who savaged it. Then when Bethesda wanted to name Prey (2017) after their earlier game Prey (2006), Colantonio told them what had gone wrong the previous time they tried that strategy. His little shrug after he told that story broke my heart a little.) This article contains a great many spoilers for the game, and also assumes you are familiar with the plot. It is unlikely to be of interest to anyone who is not familiar with Prey. You have been warned. (If you're willing to check it out on my say-so, here's a link. I suggest you don't read the description, which contains spoilers. Just buy it and dive in.) A recent question on Reddit's Morgan escapes the sim lab anywayJanuary had contingency plans for at least two situations. One was a Typhon escape, which we know all about. But there was another plan for another situation. Morgan was having her memory erased before each round of testing. January explains that there was a procedure that was supposed to bring Morgan back up to speed after the tests were over. We know this procedure was followed for some time: Morgan's office has been used. Her assistant Jason Chang still hasn't gotten over his delight at working for such a hot boss. There are puzzled emails around asking why she never remembers her office combination. There's painful email from Mikhaila asking why Morgan is snubbing her. Clearly, at some point in the recent past, Morgan was still walking around the station in between tests, working and talking to people. January's second contingency plan was in case Alex stopped bringing Morgan back up to speed after each round of tests, and just kept her in the simulation day after day — perhaps even more than once per day. (No wonder her eye is red!) And crucially, that plan was already in motion on February 22, the day the Typhon escaped. The first thing that happens to the player in Prey is that Morgan fails all the tests. (“Is she…” “Yes, she's… hiding behind the chair.”) Why? We find out later Morgan was supposed to receive neuromods that would give her Typhon powers such as mimicry. They didn't. Marco Simmons says he installed exactly what Patricia brought down. There's email in the sim lab that asks Neuromod to check that something isn't wrong with the production process. But nothing is wrong with the production process. What really went wrong is that January had secretly replaced the neuromods with fakes, so that when they were removed from Morgan's brain, her memory wouldn't be affected. The next time Morgan woke up in her apartment and it was still March 15, she would realize what was happening. It's hard to guess just what would have happened next, but I'm sure it would have been rather dramatic. But that's not allThere are at least five other situations that would have blown up that same day. February 22 2035 on Talos I was always going to be an incredible shitshow.
Coming soonThese are starting to fall apart but the shit won't really hit the fan until sometime after February 22.
Minor shitNot giant disasters, but troublesome nevertheless.
Drama drama dramaEven without the Typhon, Prey could have been a great game! You play Morgan, of course. The first fifteen minutes are the same, right up until Bellamy would have died. When you wake up for the second time on March 15, you figure out what is happening, and confront the Sim Lab staff. You escape, go rogue, and make your way to the Arboretum to confront Alex. Meanwhile all sorts of stuff is going down. Alton Weber is on a rampage in Life Support. Josh Dalton is loose in the GUTS. You'll have to deal with him to get to the Arboretum. (What, did you think you were going to take the elevator?) Somewhere along the line you find out about Purvis in the cargo container and have to decide how to handle that. And then Mendez changes the billboards and there's a panic… What else?A lot is happening on Talos I. I probably left something out. (The shortage of escape pods doesn't count. Someone would have noticed long ago that there aren't nearly enough. I think we have to assume that there are more escape pods than we see in the game. Perhaps Morgan's simulation omitted them.) (And in my headcanon, that poor schmuck Kevin Hague never does find out his wife has cheated on him with the asshole football star.) Let me know what I missed. [Other articles in category /games] permanent link Fri, 16 Feb 2024The Recurse Center Zulip chat now has an Etymology channel, courtesy of Jesse Chen, so I have been posting whenever I run into something interesting. This is a summary of some of my recent discoveries. Everything in this article is, to the best of my knowledge, accurate. That is, there are no intentional falsehoods. Baba ghanoujI tracked down the meaning of (Arabic) baba ghanouj. It was not what I would have guessed. Well, sort of. Baba is “father” just like in every language. I had thought of this and dismissed it as unlikely. (What is the connection with eggplants?) But that is what it is. And ghanouj is … So it's the father of coquetry. Very mysterious. EggnogToph asked me if “nog” appeared in any word other than “eggnog”. Is there lemonnog or baconnog? I had looked this up before but couldn't remember what it was except that it was some obsolete word for some sort of drink. “Nog” is an old Norfolk (England) term for a kind of strong beer which was an ingredient in the original recipe, sometime in the late 17th or early 18th century. I think modern recipes don't usually include beer. Wow“Wow!” appears to be an 18th-century borrowing from an indigenous American language, because most of its early appearances are quotes from indigenous Americans. It is attested in standard English from 1766, spelled “waugh!”, and in Scots English from 1788, spelled “vow!” RiddlesKatara asked me for examples of words in English like “bear” where there are two completely unrelated meanings. (The word bear like to bear fruit, bear children, or bear a burden is not in any way related to the big brown animal with claws.) There are a zillion examples of this. They're easy to find in a paper dictionary: you just go down the margin looking for a superscript. When you see “bear¹” and “bear²”, you know you've found an example. The example I always think of first is “venery” because long, long ago Jed Hartman pointed it out to me: venery can mean stuff pertaining to hunting (it is akin to “venison”) and it can also mean stuff pertaining to sex (akin to “venereal”) and the fact that these two words are spelled the same is a complete coincidence. Jed said “I bet this is a really rare phenomenon” so I harassed him for the next several years by emailing him examples whenever I happened to think of it. Anyway, I found an excellent example for Katara that is less obscure than “venery”: “riddle” (like a puzzling question) has nothing to do with when things are riddled with errors. It's a complete coincidence. The “bear” / “bear” example is a nice simple one, everyone understands it right away. When I was studying Korean I asked my tutor an etymology question, something like whether the “eun” in eunhaeng 은행, “bank”, was the same word as “eun” 은 which means “silver”. He didn't understand the question at first: what did I mean, “is it the same word”? I gave the bear / bear example, and said that to bear fruit and to bear children are the same word, but the animal with claws is a different word, and just a coincidence that it is spelled the same way. Then he understood what I meant. (Korean eunhaeng 은행 is a Chinese loanword, from 銀行. 銀 is indeed the word for silver, and 行 is a business-happening-place.) Right and leftThe right arm is the "right" arm because, being the one that is (normally) stronger and more adept, it is the right one to use for most jobs. But if you ignore the right arm, there is only one left, so that is the "left" arm. This sounds like a joke, but I looked it up and it isn't. Leave and left"Left" is the past tense passive of "leave". As in, I leave the room, I left the room, when I left the room I left my wallet there, my wallet was left, etc. (As noted above, this is also where we get the left side.) There are two other words "leave" in English. Leaves like the green things on trees are not related to leaving a room. (Except I was once at a talk by J.H. Conway in which he was explaining some sort of tree algorithm in which certain nodes were deleted and he called the remaining ones "leaves" because they were the ones that were left. Conway was like that.) The other "leave" is the one that means "permission" as in "by your leave…". This is the leave we find in "sick leave" or "shore leave". They are not related to the fact that you have left on leave, that is a coincidence. Normal normsLatin norma is a carpenter's square, for making sure that things are at right angles to one another. So something that is normal is something that is aligned the way things are supposed to be aligned, that is to say at right angles. And a norm is a rule or convention or standard that says how things ought to line up. In mathematics and physics we have terms like “normal vector”, “normal forces” and the like, which means that vectors or forces are at right angles to something. This is puzzling if you think of “normal” as “conventional” or “ordinary” but becomes obvious if you remember the carpenter's square. In contrast, mathematical “normal forms” have nothing to do with right angles, they are conventional or standard forms. “Normal subgroups” are subgroups that behave properly, the way subgroups ought to. The names Norman and Norma are not related to this. They are related to the surname Norman which means a person from Normandy. Normandy is so-called because it was inhabited by Vikings (‘northmen’) starting from the 9th century. Hydrogen and oxygenJesse Chen observed that hydrogen means “water-forming”, because when you burn it you get water. A lot of element names are like this. Oxygen is oxy- (“sharp” or “sour”) because it makes acids, or was thought to make acids. In German the analogous calque is “sauerstoff”. Nitrogen makes nitre, which is an old name for saltpetre (potassium nitrate). German for nitre seems to be salpeter which doesn't work as well with -stoff. The halogen gases are ‘salt-making’. (Greek for salt is hals.) Chlorine, for example, is a component of table salt, which is sodium chloride. In Zulip I added that The capital of Denmark, Copenha-gen, is so-called because in the 11th century is was a major site for the production of koepenha, a Germanic term for a lye compound, used in leather tanning processes, produced from bull dung. I was somewhat ashamed when someone believed this lie despite my mention of bull dung. Spas, baths, and coachesSpas (like wellness spa or day spa) are named for the town of Spa, Belgium, which has been famous for its cold mineral springs for thousands of years! (The town of Bath England is named for its baths, not the other way around.) The coach is named for the town of Kocs (pronounced “coach”), Hungary, where it was invented. This sounds like something I would make up to prank the kids, but it is not. Spanish churches“Iglesia” is Spanish for “church”, and you see it as a surname in Spanish as in English. (I guess, like “Church”, originally the name of someone who lived near a church). Thinking on this, I realized: “iglesia” is akin to English “ecclesiastic”. They're both from ἐκκλησία which is an assembly or congregation. The mysterious Swedish hedgehogIn German, a hedgehog is “Igel”. This is a very ancient word, and several other Germanic languages have similar words. For example, in Frisian it's “ychel”. In Swedish, “igel” means leech. The hedgehog is “igelkott”. I tried to find out what -kott was about. “kotte” is a pinecone and may be so-called because “kott” originally meant some rounded object, so igelkott would mean the round igel rather than the blood igel, which is sometimes called blodigel in Swedish. I was not able to find any other words in Swedish with this sense of -kott. There were some obviously unrelated words like bojkott (“boycott”). And there are a great many Swedish words that end in -skott, which is also unrelated. It means “tail”. For example, the grip of a handgun is revolverskott. [ Addendum: Gustaf Erikson advises me that I have misunderstood ‑skott; see below. ] Bonus hedgehog weirdness: In Michael Moorcock's Elric books, Elric's brother is named “Yyrkoon”. The Middle English for a hedgehog is “yrchoun” (variously spelled). Was Moorcock thinking of this? The -ch- in “yrchoun” is /t͡ʃ/ though, which doesn't match the stop consonant in “Yyrkoon”. Also which makes clear that “yrchoun” is just a variant spelling of “urchin”. (Compare “sea urchin”, which is a sea hedgehog. Or compare “street urchin”, a small round bristly person who scuttles about in the gutter.) In Italian a hedgehog is riccio, which I think is also used as a nickname for a curly-haired or bristly-haired person. Slobs and schlubsThese are not related. Schlub is originally Polish, coming to English via (obviously!) Yiddish. But slob is Irish. -euse vs. -iceI tried to guess the French word for a female chiropractor. I guessed “chiropracteuse" by analogy with masseur, masseuse, but I was wrong. It is chiropractrice. The '‑ice' suffix was clearly descended from the Latin '‑ix' suffix, but I had to look up ‘‑euse’. It's also from a Latin suffix, this time from ‘‑osa’. JotWhen you jot something down on a notepad, the “jot” is from Greek iota, which is the name of the small, simple letter ι that is easily jotted. Bonus: This is also the jot that is meant by someone who says “not a jot or a tittle”, for example Matthew 5:18 (KJV):
A tittle is the dot above the lowercase ‘i’ or ‘j’. The NIV translates this as “not the smallest letter, not the least stroke of a pen”, which I award an A-plus for translation. Vilifying villainsI read something that suggested that these were cognate, but they are not. “Vilify” is from Latin vīlificō which means to vilify. It is a compound of vīlis (of low value or worthless, I suppose the source of “vile”) and faciō (to make, as in “factory” and “manufacture”.) A villain, on the other hand, was originally just a peasant or serf; that is, a person who lives in a village. “Village” is akin to Latin villa, which originally meant a plantation. Döner kebabI had always assumed that “Döner” and its “ö” were German, but they are not, at least not originally. “Döner kebab” is the original Turkish name of the dish, right down to the diaresis on the ‘ö’, which is the normal Turkish spelling; Turkish has an ‘ö’ also. Döner is the Turkish word for a turning-around-thing, because döner kebab meat roasts on a vertical spit from which it is sliced off as needed. “Döner” was also used in Greek as a loanword but at some point the Greeks decided to use the native Greek word gyro, also a turning-around-thing, instead. Greek is full of Turkish loanwords. (Ottoman Empire, yo.) “Shawarma”, another variation on the turning-around-vertical-spit dish, is from a different Ottoman Turkish word for a turning-around thing, this time چویرمه (çevirme). The Armenian word for shawarma is also shawarma, but despite Armenian being full of Turkish loanwords, this isn't one. They got it from Russian. Everyone loves that turning-on-a-vertical-spit dish. Lebanese immigrants brought it to Mexico, where it is served in tacos with pineapple and called tacos al pastor (“shepherd style”). I do not know why the Mexicans think that Lebanese turning-around-meat plus pineapples adds up to shepherds. I suppose it must be because the meat is traditionally lamb. Roll callTo roll is to turn over with a circular motion. This motion might wind a long strip of paper into a roll, or it might roll something into a flat sheet, as with a rolling pin. After rolling out the flat sheet you could then roll it up into a roll. Dinner rolls are made by rolling up a wad of bread dough. When you call the roll, it is because you are reading a list of names off a roll of paper. Theatrical roles are from French rôle which seems to have something to do with rolls but I am not sure what. Maybe because the cast list is a roll (as in roll call). Wombats and numbatsBoth of these are Australian animals. Today it occurred to me to wonder: are the words related? Is -bat a productive morpheme, maybe a generic animal suffix in some Australian language? The answer is no! The two words are from different (although distantly related) languages. Wombat is from Dharug, a language of the Sydney area. Numbat is from the Nyungar language, spoken on the other end of the continent. AddendumGustaf Erikson advises me that I have misunderstood ‑skott. It is akin to English shoot, and means something that springs forth suddenly, like little green shoots in springtime, or like the shooting of an arrow. In the former sense, it can mean a tail or a sticking-out thing more generally. But in revolverskott is it the latter sense, the firing of a revolver. [Other articles in category /lang/etym] permanent link Wed, 14 Feb 2024
The pleasures of dolmen-licking
Ugh, the blog has been really stuck lately. I have lots of good stuff in process but I don't know if I will finish any of it, which would be a shame, because it's good stuff and I have put a lot of work into it. So I thought maybe I should make an effort to relax my posting standards for a bit. In fact I should make an effort to relax them more generally. But in particular, today. So, here is a picture of me licking a dolmen. Here is Michael G. Schwern licking the same dolmen. Not on the same day, obviously. As far as I know we were not in the country at the same time. The question is in my mind: who was the first of us to lick the dolmen? I think he was there before me. But I also wonder: when I decided to lick it, did I know he had done the same thing? It's quite possible that Marty Pauley or someone said to me “You know, when Schwern was here, he licked it,” to which I would surely have responded “then I shall lick it as well!” But it's also possible that we licked the dolmen completely independently, because why wouldn't you? How often to you get a chance to taste a piece of human prehistory? As a little kid you discover that the world is full of all sorts of fascinating stuff that you may be allowed to look at, but not to touch, and certainly not to climb on or to lick. (“Don't put it in your mouth!”) Dolmens are a delightful exception to this rule. Sure, lick the dolmen all you want. It has stood in the same place for five thousand years, and whether it stands there for five thousand more will not be affected by any amount of licking. My inner four-year-old was very satisfied the day I licked the dolmen. I imagine that Schwern felt the same way. [Other articles in category /misc] permanent link Tue, 06 Feb 2024
Jehovah's Witnesses do not number the days of the week
[ Content warning: Rambly. ] Two Jehovah's Witnesses came to the door yesterday and at first I did not want to talk to them but as they were leaving I remembered that I had a question. I asked them what they called the days of the week. They were very puzzled by this because it turns out that they call them Monday, Tuesday, Wednesday, Thursday, and so on, just like everyone else in this country. They were so puzzled that they did not even take the opportunity to continue the conversation. They thanked me for coming to the door, and left. I found this interesting. The reason I had asked is that the JW religion is very strict regarding paganism. For example, they do not observe Christmas or Easter, because these holidays, to them, have a suspicious pagan origin. A few months ago I had wondered: do they celebrate Thanksgiving? I thought it was possible. As far as I know it has no pagan connection at all, and an observance of giving thanks to Jehovah seemed consistent with their beliefs. No, it turns out that they don't, on the principle that to single out one special day might lead them to neglect to give proper thanks to Jehovah on the other days. So, I wondered, if they object to Easter, how do they feel about the days of the week? To speak of Tuesday, Wednesday, Thursday, and Friday is to honor the pagan Germanic gods Tyr, Odin, Thor, and Frigg, and I thought they might object to this also. The Quakers referred to the days of the week as First Day, Second Day, and so on for this reason. But the issue appears to have flown under the JWs' radar. I didn't ask about the months, assuming that if they didn't cringe when speaking of Thor's Day, they wouldn't have a problem with the month of Janus (the two-faced god of boundaries) or with Maia (her fertility festival is in May) or with the month of the deified person of Roman Emperor Augustus. I have a sense that Quakers are generally more sophisticated thinkers than Jehovah's Witnesses. They objected to the names of the months also, but decided it would be too confusing to change them. But they saw their opportunity in 1752, when the Kingdom of Great Britain finally brought its calendar in line with the rest of Europe. Along with the other calendrical changes, the Quakers agreed amongst themselves to start calling the months after numbers instead of the old-style names. I had a conversation once with Larry Wall, who is himself a devout Christian. We were talking about Jehovah's Witnesses, because at that time there was a prominent member of the Perl community who was one. Larry, not at all a venomous person, said with some venom, that the JWs were “a cult”. “A ‘cult’?” I asked. “What do you mean?” People often use the word cult as a pejorative for “sect” or religion: a cult is any religion that I don't like. But Larry, as usual, was wiser and more thoughtful than that. He said that he called them a cult because you are not allowed to leave. If you do, the other JWs, even your close friends and your family, are no longer allowed to associate with you, and if they do, they may be threatened with expulsion. I thought that seemed like a principled definition, and it has served me since then. Sometimes, encountering other organizations from which it was difficult to extract onesself, I have heard Larry's voice in my mind, saying “that's a cult”. Thanks, Larry. I have a draft article about how Larry Wall is my model for a rational, admirable Christian, but I'm not sure it is ever going to come together. [Other articles in category /calendar] permanent link |