I don’t know success with LLMs yet? But the failures are still quite amusing.

I tried to have copilot (in GitHub code spaces) make me a mkosi config to build an Ubuntu image.

It produced something that didn’t work, and I tried to teach(?) it how to run mkosi so it could iterate on fixes, it arrived at the following conclusion:

“The terminal environment sees broken”

It was running ‘mkosi’ and ignoring the error messages and only checking the exit code (1), and then re-running with ‘sudo mkosi | head -100’ and again ignoring the text output *BUT* it did notice the zero exit code. And reported that the terminal must be broken? I dunno.

Friends, ‘head’ will exit zero in almost all cases.

I closed the code space because I was so baffled I didn’t know what else to try. Maybe next month I’ll try again and it’ll do something.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/whack/statuses/116031766344354796 on your instance and quote it. (Note that quoting is not supported in Mastodon.)