logoalt Hacker News

jorisw • today at 6:49 PM • 2 replies • view on HN

This is exacty why it works.

There's tons of intermediate steps involved in assessing the current state of your tv and asking you questions about it.

I tried a previous version of CleanYourTV and gave up because of too much pasting adb commands and pasting back the output.

This latest prompt figures out what it can and asks me what it needs to know as it works. It reads the output of the adb commands and takes screenshots to see if a particular change worked.

I think LLM prompts could legitimately replace bash scripts exactly for this reason.


Replies

glitchcrab • today at 7:23 PM

They could, but should they? A well written bash script behaves the same way each time it is run, but an LLM is non-deterministic and so no two runs are likely to be the same.

afavour • today at 8:11 PM

> too much pasting adb commands and pasting back the output.

Couldn’t a better bash script handle that?