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:

Effective altruism and PR

I. The “effective altruists should be more concerned about PR” brigade has been out in full force on X recently.

via Thing of Things October 8, 2026

There's no point at which turning your brain off will work

In early 2025, I started seeing people turn off their brain as they use LLMs1. They would have an LLM take an action (summarize text, write some code, etc.), and just assume that it worked2. This generally didn't work in early 2025 and the result was …

via Posts on September 18, 2026

My Weirdy Creatures

Over the last few days, I've been working on some little creatres. But they're very weird. I call them "weirdy creatures". I've made quite a lot of them, I think maybe 5-6, not sure. Weirdy Predator This is a weirdy predator. They'…

via Anna Wise's Blog Posts September 13, 2026

more     (via openring)