Recipe Rescaler

June 28th, 2026
food, recipes, tech
I keep my recipies on my website, and like most of my website it grew over time instead of being designed. A couple years ago I added some progressive enhancement that puts checkboxes on the ingredients, and today I added a rescaler:

Here's tripling it:

This is another project, like adding transposition to my solstice songbook, where I wouldn't have put in the time if I couldn't delegate to an LLM. It went very quickly, and the code seems reasonable.

Implementation notes:

  • As you go up and down it converts teaspoons to tablespoons to cups. Yes, I still cook volumetrically.

  • It handles numeric ranges, like "3-4 cups".

  • It handles fractions: half of 1 1/4 C is 5/8 C.

It doesn't handle everything. I wanted something simple and reviewable that handles most cases, instead of trying to make something exaustive (that would then have weird bugs). This means with complex items like "2 eggs (or 2T flax and 5T water)" only the "2 eggs" is scaled. To make these failures graceful, all scaled values are bolded, so unscaled values stick out visually.

Comment via: facebook, lesswrong, mastodon, bluesky

Recent posts on blogs I like:

Let's Taboo the V-Word

Read this post on Substack.

via Home July 12, 2026

Thing of Things AI use policy

dynomight recently wrote an article calling for bloggers to state publicly whether and how they use AI

via Thing of Things July 6, 2026

Agentic test processes, LLM benchmarks, and other notes on agentic coding from Galapagos Island

I've been using AI fairly heavily since last November and the whole thing is a funny experience. An agent will do something that, if a human did it, you'd immediately fire them. My reaction, of course, is to act as if this is great and spin up a t…

via Posts on July 3, 2026

more     (via openring)