Login
You're viewing the ruby.social public feed.
  • Dec 22, 2022, 7:55 PM

    and playing way too much with it, I managed to make it write a #guix uninstall script without writing a single line of code myself.

    Here's its first attempt, and after ~30 minutes of trying to carefully instruct it

    from a scale from 1 to 10, would you run that script if you wanted to uninstall guix on a foreign distro? :)

    a screenshot of me asking "Can you write a bash script to uninstall guix on a foreign distribution?". The AI answers with a script that removes the guix-daemon service, deletes some directories, but some of them don't make sense.
    A screenshot of a similar script but after instructions were given. Less verbose comments, handles systemd/sysvinit and removes more sensible directories. It can also remove per-user guix directories and files, but only the first few lines of that part are shown in the picture.
    💬 1🔄 1⭐ 0

Replies

  • Dec 22, 2022, 11:03 PM

    @roptat The script looks surprisingly good, it would have taken me time to figure out all these details. It must have ingested something very close to what it’s showing.

    💬 0🔄 0⭐ 0