• FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    3 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"))
    
    • meme_historian@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      I mean, you could do away with package managers altogether… Just always include “use standard library components only” in every prompt.

      Added bonus, your program will be very secure because it would very rarely be affected by any publicly known CVEs.

      /s

      • groet@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Honestly… in a world where code is written by AI and not humans, most frameworks SHOULD go away. They were designed to make a task easier for humans not for a machine. AI should not write “react on node using vue”