Benjamin Esham

Newer microblog posts

I don’t have anything insightful to say about the children (and adults) we’ve locked in cages. I’ll just say this: it’s cruelty, plain and simple. It’s sadism without any possible justification or excuse. America is big enough for everyone who wants to be here.

Good thing I’ve been brushing up on my French so I kn—wait

A screenshot of the Duolingo app. The question at the top reads, “Which of these is ‘the box’?” Four French words are offered as choices, but each includes a picture that makes it clear what that word means.

A tall, gray-blue fence recedes away from the viewer. In the foreground is a large bed of daffodils.

The University Avenue entrance to the garden of the George Eastman Museum. Shot with a Canon EOS M5 and filtered all to hell with VSCO.

“Circa 2016” is Latin for “I don’t actually know what ‘circa’ means.”

In his book The Shah, Abbas Milani writes about a lavish gala held in 1971 to celebrate the 2,500th anniversary of the Persian Empire:

Dinner was a six-course, five-hour extravaganza, created by the famed Max Blouet; much of it flown in from Maxim’s of Paris. It included fifty roast peacocks, “quail’s eggs stuffed with golden caviar, crayfish mousse, saddles of lamb.” The only thing Persian on the menu was the caviar. The Shah, allergic to caviar, was served a vegetable instead.

Imagine even knowing whether you’re allergic to caviar.

The two approaches to pet ownership in Game of Thrones:

  1. Utter apathy

  2. “They are literally my children.”

I’ve been using Nix on my Linux machines for a few days now. One of the things I appreciate already is that it keeps dependencies “hidden” (i.e., not on your PATH).

I had a problem at work one time because the company infrastructure was calling getent and it turned out that some package I’d installed with Linuxbrew depended on some other package that provided getent. Linuxbrew’s version was incompatible somehow, but it came first in my PATH so the company thing was failing. What is getent? I don’t know. I didn’t ask for it to be installed; one of my packages did. I like how Nix lets you pretend that the only packages present are the ones you explicitly asked for.

How many times have you overheard this conversation?

“Well, static types are all well and good, but we use tests to get those kinds of guarantees.”

“I see. What’s your test coverage like?”

“Oh, I don’t know, sixty percent?”

Oh my God, Kubla, you can’t just decree a stately pleasure-dome.

Dozens of small, light-pink blossoms are growing out of delicate branches. In the background, out of focus but still recognizable, is the Palace of Fine Arts.

Flower palace

Always the bridesmaid, never the APT with Super Cow Powers

A pond shows the reflection of a blue sky, with the setting sun partly obscured by a willow tree.


I’m writing a Haskell program. I am the only person who will ever use this and yet I’m spending 60% of my time wringing my hands about when I should be permitted to do IO.

I know that using ExceptT over IO is considered harmful by some, and I know that using strings as your error type is also considered harmful… but it does allow me to use the extremely cute

type Hopefully a = ExceptT Text IO a

Will I regret this later? Maybe.

When I make a command-line utility I tend to leave the extension off of the filename: “copy_xattrs” instead of “copy_xattrs.zsh”, for example. That gives me the option later to swap a shell script for a Python script (or a Python script for an executable, or whatever) without renaming the file. Ideally, this also means that I wouldn’t need to change any of the programs that call the utility.

Congressional Democrats have introduced a bill, H.R. 51, to make Washington, D.C. a state.

Subject to the provisions of this Act, upon issuance of the proclamation required by section 103(b), the State of Washington, Douglass Commonwealth is declared to be a State of the United States of America, and is declared admitted into the Union on an equal footing with the other States in all respects whatever.

Statehood is long overdue for Washington, and I don’t want the perfect to stand in the way of the good, but is it really a great idea for the new state to have “Washington” in its name? That’s going to make the Washington–Washington ambiguity even worse. The city is still going to be called Washington, right? Why not give the new state a new name?

It bums me out to see warnings like this in the Python documentation:

The full set of format codes supported varies across platforms, because Python calls the platform C library’s strftime() function, and platform variations are common. To see the full set of format codes supported on your platform, consult the strftime(3) documentation.

One of the benefits of a cross-platform high-level language like Python should be that it insulates you from these kinds of vagaries. Unless a function comes from the os module it should work the same whether it’s running on macOS, BSD, or a 5 MB Alpine Linux Docker container.

#solobikeparking at #animalkingdom




Golden hour, 12/31/18

#goldenhour #wdw #fortwilderness

Older microblog posts