All ideasMore in Work

The AI changed 30k spreadsheet rows, but my perl one-liner was faster

He used AI in a Google spreadsheet to apply a mass change to 30k rows. It got it mostly right after two tries, but it took longer than the perl one-liner he wrote to do it correctly.

This only partly worked. Read what happened before you try it.

How it works

  1. Opens his spreadsheet
  2. The AI applies the mass change to 30k rows
  3. It takes two tries and gets it mostly right
  4. His own perl one-liner does it correctly and faster

Why it’s worth knowing

The AI could change 30k rows inside the sheet itself, but a short script he wrote still beat it on speed and got every row right.

Where it’s from

Summarized from a public post on bsky.app. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.