LANoftheDead
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 day ago

finally something worse then curl | sh

lemmy.blahaj.zone

message-square
124
link
fedilink
705

finally something worse then curl | sh

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 1 day ago
message-square
124
link
fedilink

https://labyrinth.zone/objects/96478395-64d9-452c-a906-9e6159cd10a3

alert-triangle
You must log in or # to comment.
  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    This needs to be killed with fire.

  • AeonFelis@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    7 hours ago

    Vibestrapping

    • raman_klogius@ani.social
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 hours ago

      it used to mean something better… 😔

      • AeonFelis@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 hours ago

        Something less degenerated

  • FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    13 hours 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"))
    
    • BradleyUffner@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 hours ago

      Also “Please don’t reformat my hard drive”

      • doenietzomoeilijk@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        “Try to keep out the worst malware’d packages”

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    12 hours ago

    “How the fuck did Doom get installed onto my smoke alarm and not my D: drive? This is the last time I ask AI to help.”

    • einkorn@feddit.org
      link
      fedilink
      arrow-up
      13
      ·
      12 hours ago

      Imagine:

      • You sit on your couch.
      • Rip & Tear starts playing.
      • You notice a faint smell of smoke …
      • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        12 hours ago

        pant shitting intensifies

  • Dima@feddit.uk
    link
    fedilink
    arrow-up
    8
    ·
    12 hours ago

    Unfortunately not the first time I’ve seen this sort of thing: Screenshot of install instructions with "Option A: Let an LLM do it"
    (I don’t use this project, just came across it)

    • AeonFelis@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      11 hours ago

      I’ll give it a pass because it’s an OpenCode plugin, meaning the typical user is not tech-savvy enough to be able to edit a simple JSON configuration file.

  • AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    41
    ·
    17 hours ago

    They saw curl | bash and were like you know what the problem with this is? It’s deterministic

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    17
    ·
    15 hours ago

    Non-deterministic, heavily corporation-influenced software issuing root shell commands? I’ll have two!

  • Mikina@programming.dev
    link
    fedilink
    arrow-up
    34
    ·
    17 hours ago

    While I’m not a fan of most AI usages, this is the thing that infuriates me the most.

    I like writing scripts to automate parts of my job. I’ve had a few for things like build performance testing comparison and the like.

    All of it was replaced by skill.md, that does exactly the same, but burns like 3$ per run in tokens, and has also at least once generated hallucinated results, because it ran into an error, ran wrong builds, or in general fucked up in a way that was not easy to detect (and we did in fact not detect it until much later).

    But hey, at least my colleagues now don’t have to open the filthy commandline and write py perf-test.py main feature/branch to run the test, and can just talk about it to a clanker.

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    16 hours ago

    What the actual fuck. Sorry, I won’t have better words for quite a while now

  • Artisian@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    18 hours ago

    We can do even better: just post the readme+prompts used to design the software, and let the users AI agent recode it themselves! Perfectly secure.

    • Mikina@programming.dev
      link
      fedilink
      arrow-up
      16
      ·
      17 hours ago

      This kind of does something similar :D https://codeberg.org/TheMikina/git-llmfs

      • staircase@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        16 hours ago

        aside from the obvious use of LLMs for the actuall project, everything was written by hand … everything you see is my fault.

      • gianni@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        16 hours ago

        This is fucking crazy.

  • civ@lemmy.civl.cc
    link
    fedilink
    English
    arrow-up
    6
    ·
    13 hours ago

    The logical next step is to ask a humanoid robot to interface with your machine to perform these steps for you

    • Simulation6@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      12 hours ago

      your machine

      Their machine

  • trackball_fetish@lemmy.wtf
    link
    fedilink
    arrow-up
    26
    ·
    18 hours ago

    This is absolutely insane

  • Michaela@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    This should be illegal. I’m not even joking

  • JakenVeina@midwest.social
    link
    fedilink
    arrow-up
    43
    ·
    21 hours ago

    You may not, without prior written permission from the Author…create an API-compatible replacement, behavioral clone, competing implementation, or Derivative Implementation

    Loooooooooooooool. “You’re not allowed to reverse-engineer this reverse-engineering tool.”

  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    256
    ·
    1 day ago

    Relevant XKCD:
    Universal Install Script

    • Kairos@lemmy.today
      link
      fedilink
      arrow-up
      102
      ·
      1 day ago

      How am I still learning about XKCDs I’ve never seen especially ones in the 1000 range.

      • MelodiousFunk@slrpnk.net
        link
        fedilink
        arrow-up
        63
        ·
        23 hours ago

        Congrats on being one of today’s lucky 10,000!

        • perishthethought@piefed.social
          link
          fedilink
          English
          arrow-up
          35
          ·
          23 hours ago

          So meta

          • jjj@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            15
            ·
            17 hours ago

            Too meta. https://xkcd.com/1447/

        • wpb@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          22 hours ago

          Is this a reference to something?

          • Redkey@programming.dev
            link
            fedilink
            arrow-up
            20
            ·
            22 hours ago

            Yes. https://xkcd.com/1053/

          • 18107@aussie.zone
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            22 hours ago

            https://xkcd.com/1053/

      • db2@lemmy.world
        link
        fedilink
        arrow-up
        29
        ·
        1 day ago

        It’s the Key and Peele of geek comics

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        25
        ·
        1 day ago

        When you first learnt about xkcd, did you not S L O O O R P the entire back catalogue?

        I guess when I did that there were A LOT fewer. Cuz I’m old.

        • criticon@lemmy.ca
          link
          fedilink
          arrow-up
          15
          ·
          22 hours ago

          I’m so old I remember anticipating the 404

    • zr0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      35
      ·
      23 hours ago

      apt-get install
      sudo apt-get install

      sigh

      • ryannathans@aussie.zone
        link
        fedilink
        arrow-up
        8
        ·
        18 hours ago

        I know right could just be apt install

    • psud@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 hours ago

      With all those connected with & won’t it skip the rest after the first failure? Or does ‘no such program’ or ‘you don’t have permission’ not produce an error?

      • Kimplul@programming.dev
        link
        fedilink
        English
        arrow-up
        7
        ·
        12 hours ago

        In bash, & just starts the program in the background, so all of the commands are run in parallel. You’re probably thinking of &&, which runs the command on its left, checks its return code, and then decides whether run the command on the right.

        Although, in this case there are no ‘commands on the right’ since all the commands are on separate lines. You’d need to backslash the commands together, something like

        pip install "$1" && \
        easy_install "$1" && \
        ...
        
        • psud@aussie.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          12 hours ago

          I saw it as wrapped, so couldn’t dismiss the option that all were on a single logical line. But you’re right, I was thinking of &&

      • Tja@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        14 hours ago

        That would be &&.

        A single & will run them in parallel.

        • psud@aussie.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          Thanks

      • katze@lemmy.4d2.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        15 hours ago

        Yes, it should have been a ; instead.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      38
      ·
      1 day ago

      if $1 is not installed after that, wipe your hard drive and start over

      • SleeplessCityLights@programming.dev
        link
        fedilink
        arrow-up
        22
        ·
        1 day ago

        It could be a crate…

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          15
          ·
          1 day ago

          Script needs to be updated, Rust wasn’t particularly popular back then (if it existed. I don’t know how old this one is, but it’s pretty old)

          • NeatNit@discuss.tchncs.de
            link
            fedilink
            arrow-up
            10
            ·
            24 hours ago

            March 11, 2016 according to https://www.explainxkcd.com/wiki/index.php/1654:_Universal_Install_Script

            According to the Rust Wikipedia article, it was juuuust starting to be used in real things around that period. Definitely before it was popular.

    • SleeplessCityLights@programming.dev
      link
      fedilink
      arrow-up
      29
      ·
      1 day ago

      I can stop laughing at steamcmd.

      • NeatNit@discuss.tchncs.de
        link
        fedilink
        arrow-up
        22
        ·
        24 hours ago

        Good. If you couldn’t that would be a real problem.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      4
      ·
      21 hours ago

      (clears throat in Zypper install)

      :p

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.39K users / day
  • 3.88K users / week
  • 6.29K users / month
  • 17K users / 6 months
  • 1 local subscriber
  • 32.6K subscribers
  • 2.01K Posts
  • 60.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org