• 🇳 🇨 🇸 🇰 @lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    5 hours ago

    Isn’t this actually kinda what AI is good for? I mean a simple task that just takes time and has step-by-step instructions, and you can just let it handle it and do it faster. Like its almost as good as writing a long script that just does it for the user?

    • bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 hours ago

      The install process should be deterministic. When you run sudo make install it should do the same thing every time you run it. If this process fails, it’s because of a missing dependency or permission issue or something like that. The failure should never be because of a statistically probability during installation that causes the installer to go off and do something wildly different.

    • abbadon420@sh.itjust.works
      link
      fedilink
      arrow-up
      60
      ·
      edit-2
      5 hours ago

      No. If you look at the instaal prompt, it is just a step by step instructionon how to check the environment, download the script, build the app, run the app, test if it is all good.

      That is the whole install prompt. There is literally no need to waste a million tokens on that when a simple bash script can do it for free.

      If you’re going to use AI for this, ask it to write you a bash script that does all these things. Maybe even a ps1 script to go with it.

    • JRaccoon@discuss.tchncs.de
      link
      fedilink
      arrow-up
      29
      ·
      edit-2
      4 hours ago

      Yeah, but I would never let an AI agent run commands on my machine without verifying each command. And at that point I would just rather copy and paste commands by hand, takes about the same time.

      If the installation for example required creating some complicated host specific config files, then sure, I could see how that kind of a “runbook” could maybe be useful. But that doesn’t seem to be the case here.

      • OwOarchist@pawb.social
        link
        fedilink
        English
        arrow-up
        15
        ·
        4 hours ago

        Yeah, but I would never let an AI agent run commands on my machine without verifying each command.

        I would never let an AI agent run commands on my machine, period.

        Because that’s how you get “You’re absolutely right. I did make a mistake when I deleted your entire /home and /backups directories while executing that command. Great job noticing the error!”

        • Lauchmelder@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          honestly if your backup folder is on the same machine as your home folder you deserve everything that comes your way

          • OwOarchist@pawb.social
            link
            fedilink
            English
            arrow-up
            8
            ·
            3 hours ago

            Regardless of where your backup folder is, your machine needs writable access to it in order to make new backups.

            And if an AI agent has root-level access on your machine (needs root to install things), then it will be able to access that backup folder and potentially be able to delete its contents.

    • Cabslock@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      4 hours ago

      A script uses much less power/water I suppose… And, wouldn’t you have to pay tokens for an AI to do those things? Or are you expected to set up a local model or something for this?

      • JensSpahnpasta@feddit.org
        link
        fedilink
        arrow-up
        6
        ·
        4 hours ago

        An agent installing that should not use that much power or water. The issue here is that you do not want an agent running on your system being able to install stuff from the internet