Benjamin Esham

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

Flower palace

Always the bridesmaid, never the APT with Super Cow Powers


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

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

“I have this friend Jerry Zorthian, who is a crazy artist. We’d have these discussions about art and science. Jerry would say, you scientists destroy the beauty of Nature. You pick it apart and turn everything into equations!

“And I’d say that’s ridiculous! Scientific knowledge only adds to the excitement and mystery and the awesomeness of a flower. Someday science is going to figure out how art is done—and then you boys are going to be in big trouble!”

— The Richard Feynman character in Peter Parnell’s 2002 play QED

Roy Fielding’s knuckle tattoos say LOVEOAS and HATEOAS

Gingerbread house

#whpbluronpurpose #bokeh #millvalley

This Christmas playlist on YouTube contains 25 songs and 139 key changes.

“So we can argue whether ‘guys’ is or isn’t gender neutral, but for an awful lot of both men and women, ‘people’ isn’t even gender neutral.” — Kate Gregory, “Thoughts about ‘guys’ ”

TIL: It’s possible for a single “git push” command to force-update some refs but not others. For example, “git push origin +develop master” is like a combination of “git push --force origin develop” and “git push origin master”. See the git-push docs.

The Bay Area’s ugliest bridge, as seen from the Bay Area’s most beautiful Target parking lot


#disneyland #darkroomapp

Older microblog posts