An old-fashioned electric typewriter on a desk, with a piece of paper coming out of it showing faces and animals made out of typed characters.

Type Type Type

This is a blog where I add posts to the Internet.

There are two main types of writing here: technical and sincere.

Home - Resume - Projects - BlogRSS Feed

From Saturday, March 29th, 2025

Let vs. Const

In my post about GIFs, I pointed out that the creators of the GIF file format explicitly said that it wasn’t meant to be a great format for animations, but since it was widely available in people’s browsers, and no-one actually read that spec, it ended up being used for animations all over the place anyway, and now it’s all the format is known for. By opening a technological window, and allowing some limited animations to be stored in .gif files, they closed a door (new file formats with more advanced compression are constantly pushed back on because people are used to GIFs.)

Unrelatedly, here are two keywords that exist in JavaScript: const and let. let creates a variable that can have a new value assigned to it later, while const creates a variable that will always have the same value attached to it. const is the typical way that people declare variables in modern JavaScript; thanks largely to linting rules and style guides like the Airbnb JavaScript style guide, which for whatever reason was very popular back in the day, a generation of programmers learned that changing the values of variables was to be avoided, and obviously const is the way to do that, right?

Read More right-pointing flowery thing

Tagged as computers, low-effort titles, door vs. window conundra.

From Saturday, March 15th, 2025

Patterns, Samples, and Artificial Knowledge

Buckle up, everybody. The AI understander has logged on.

Human brains are wired to anticipate and recognize patterns. The quiet thump of footsteps coming up behind you; the sinuous stripes of a tiger’s fur, undulating as it quietly crouches in the bushes with knife, fork, and barbecue sauce clutched in its paws; the halting rhythm of popcorn in the microwave as it finishes up its popping and starts to burn. In particular, there’s something in us that responds to patterns in language. I don’t necessarily mean literary, sophisticated forms of language: I mean that people still put fragments of Radiohead lyrics in their Instagram bios, and that we all grew up enthralled by the three-syllable rhythms of Dr. Seuss.

But what if I told you that writing that kind of thing is now easy?

A chat with ChatGPT. The user says: "Write a short Dr. Seuss-style poem about driving with broken brake lines." ChatGPT replies: "Oh, the places you’ll go— but not where you planned! For your brake lines are broken, your stopping’s unmanned! You roll down the street, you pick up some speed, you pump on the pedal— but stop? No, indeed!"

Well, it’s not quite top-tier Dr. Seuss material, I guess, but that comes down to the prompt, right? I could have told it to write about something more Dr. Seuss-like. Animals, breakfast foods, headwear, that kind of thing. But the fact that it understood the prompt - the fact that it knows who Dr. Seuss is, that it presumably knows what a trisyllabic meter is, that it knows which words rhyme and which don’t - that makes it smart, right?

I’m not so sure? If a human sat down to write a Dr. Seuss-style poem, and produced that result, then we could probably conclude that the human knew those things, or at least had a fundamental intuitive sense of them. But at this point, in year three of their mildly terrifying reign, I’m pretty sure that large language models are mostly good at replicating patterns. That doesn’t mean that they make good decisions about what to replicate or why they’re doing it. But, they feel like they’re smart, partly because they hack the human brain by reproducing patterns that are interesting to us, and partly because they mix the patterns together.

Read More right-pointing flowery thing

Tagged as computers, coding, brains, music.

A tweet by Keara Sullivan (@superkeara) that reads, "I actually love it when a millennial sends me a gif. It's like hearing a cow go moo in real life. I can't help but smile when witnessing something so classic."

A GIF By Any Other Name

Tuesday, March 11th, 2025

The animated GIF is a new kind of ideogram that computers have added to our lives. (An ideogram is a visual symbol that indicates an idea without corresponding to any specific spoken sounds.) You can convey a vibrant feeling in a brief moment of video, as long as the feeling is along the lines of: Leonardo DiCaprio raising a wine glass. Donald Glover carrying pizzas reaching a room filled with flames. A white guy blinking in idle consternation.

So why is the GIF under attack? Everywhere, platforms and hosting services are trying to replace it with other file formats. “GIFs” on Twitter are MP4 videos, set to be soundless and looping. Imgur introduced the concept of “GifVs,” which are mp4 or WebM videos that are displayed like GIFs, way back in 2014. The framework I’m using to create this blog, Astro, will automatically turn GIFs into WebP files when I deploy the site to production. One of the ground zeroes for the animated GIF phenomenon, Tumblr, has been experimenting with videos-as-GIFs for years, writing extensive, carefully-worded posts to try to introduce the concept without angering their userbase.

And make no mistake - users hate new file formats, like WebP. Statistically, you probably hate .webp files already. Here’s what a brief Google search has to say about them:

Google image search results for "webp memes." The memes are all very negative.

So why does this format exist? Why do any file formats exist? Why do I care? Let’s consider the practicalities.

Read More right-pointing flowery thing

Tagged as computers, digital art, the culture, door vs. window conundra.

A Facebook post with two pictures of a cat. The text reads, "This small, vocal black and white male cat was found in the Wendy's parking lot in Canton two days ago. He had a collar on but is not microchipped. Does anyone recognize him?"

Disavowal

Saturday, February 1st, 2025

Once I was at Wendy’s with my friend when we saw a stray cat out prowling the perimeter of the parking lot at night. She lured it over, captured it, and we took it to a vet to check for a microchip. A week of “lost cat” posts on Facebook later, we discovered the location of its home: a place right next door to the Wendy’s, where its family and owner lived. “I wouldn’t have done this,” I told her that first night, as we anxiously drove a strange cat on the highway to the 24-hour vet in the dark, “but I love that you did.”

Read More right-pointing flowery thing

Tagged as personal, autofiction.

The meme where someone is looking straight ahead and going "wow" while something shoots over their head. In this case, an old Yahoo home page is shooting the words "LOGIN PAGE" over their head.

Eyeline UI

Tuesday, January 21st, 2025

Something I enjoy is when your focus doesn’t have to jump around a whole bunch when using a computer program. One classic example of UI that manages the user’s focus is the humble float label:

Read More right-pointing flowery thing

Tagged as computers, design.

A clunky old adding machine.

The Double Life of Floating Point

Thursday, January 2nd, 2025

Computers are bad at math. If you go into your friendly local Python terminal or JavaScript console, and type “0.1 + 0.1 + 0.1”, it will produce a number that is almost, but not quite 0.3. When you try to write programs that do math, things like this often happen. You may have heard that it’s because the number is “floating point.”

There’s a lot of superstition and folklore around floating-point numbers in computer science, plausibly due to occult-sounding terms like “mantissa” and “significand.” “Floating-point math is imprecise,” people will say. But the “floating-point” part gets way too much emphasis. “Math is too precise” is a better way to put it. The poor floating-point number is just chronically misunderstood.

Read More right-pointing flowery thing

Tagged as computers, math, low-effort titles.

From Sunday, December 22nd, 2024

Serious

It’s funny, or perhaps a shame, how humor, once you realize it’s a tool to communicate, slides headfirst into seriousness: I find myself constantly exaggerating, in the manner of a joke: “I haven’t had a vacation since the late 1800s;” “no one outside of this university has used this software in 79 years;” “time to go home for Christmas and hear about all the orphanages my family members have burned down lately.” All with the fear that if I said a simple truth, people would take it literally but not seriously, and so I have to say something that’s a little bit realer (but sounds more like a joke) than the actual truth

Tagged as personal.

A gravel driveway with an old farmhouse on the right side of it and some sheds and trees scattered around. The orange leaves indicate that it's autumn.

The Simple Life

Saturday, February 23rd, 2019

Author’s note: I originally wrote this on a different platform (as the date says, in 2019), and am transplanting it here. I dug up the originals of all of the photos and wrote alt text for them, but the text of the post remains completely unchanged. As a matter of fact, I haven’t even re-read it.

This is a story about farming. It is quite long. I think it may be worth reading anyway, but unfortunately I have no way to prove it. I’ve also tried my best but I still don’t know if it actually makes perfect sense in every way? But it did all actually happen; so it all kind of has to make at least a little bit of sense, even if doesn’t really seem like it.

Read More right-pointing flowery thing

Tagged as personal, plants, long post, history.