• FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    You may as well just completely replace your package manager with this one simple script.

    #!/usr/bin/env python3
    import sys
    
    exec(TrustedAgent.request(f"Write a Python statement to install {sys.argv[1]}, make no mistakes"))
    
      • boonhet@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        8 days ago

        This is… uh…

        It reads like the author doesn’t know what containers are. Because this is actually a great use case for containers unless I’m missing something.

        Now, do I want reverse engineering software from someone who in 2026 doesn’t know of a better way to manage dependencies than “tell AI to install everything”? Not particularly lol

        Also:

        Install Eclipse Adoptium 21: https://adoptium.net/temurin/releases/?version=21

        It’s Eclipse Temurin not Eclipse Adoptium. And why not install from distro repo?

        Install from https://cmake.org/download/

        Also why not from distro repo?

        Install Visual Studio 2022, or apt install build-essential / xcode-select --install

        NOW distro repo is fine, but only if you use an APT based distro?

        and then 3 more dependencies it tells the agent to install from websites.

        The weirdest thing is you can get much better results from AI. I’m 99% sure this person gave the AI particularly bad instructions to generate the install instructions, or used a cheap, crappy model.

        • JRaccoon@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          I think it’s written that way because the instructions are meant to work on Windows too. But it still doesn’t make much sense. I think just saying “Install CMake” and letting the agent figure it out for the current environment would be a much better approach.

          Also, I think the model they were using was working with outdated data. Why specifically require Java 21 when Java 25 is the latest LTS? And furthermore, why even link to a specific JDK implementation when it surely works with almost any implementation? Probably just makes the agent install the Temurin implementation even if the system already had a working java.

          My point being if the author’s idea is to let AI handle the installation to avoid writing environment-specific instructions, it shouldn’t then have these hardcoded assumptions about the environment. So yeah, it seems they (and the AI that wrote it) didn’t really know what they were doing.

      • jqubed@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        8 days ago

        It is a self-contained runbook with explicit verification gates at every step — preflight checks, building libghidra, installing the LibGhidraHost Ghidra extension, building ghidrasql, and a first live query. Hand it to your agent and let it drive the install; intervene only if a gate reports a failure.