Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Instant production ready code

Instant production ready code

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
28 Posts 18 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D [email protected]

    Vibe coder: DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE.

    Chatgpt: All I heard was "delete the database" three times.

    U This user is from outside of this forum
    U This user is from outside of this forum
    [email protected]
    wrote last edited by
    #19

    Some guy outside the company: Why don't you just remove the ability to delete the database from the API?
    The guy that made the thing vibeable before being laid-off: There is no API, I just piped the ChatGPT output to sh

    1 Reply Last reply
    4
    • cm0002@lemmy.worldC [email protected]
      This post did not contain any content.
      P This user is from outside of this forum
      P This user is from outside of this forum
      [email protected]
      wrote last edited by
      #20

      hard to be an engineer these days.

      anonbd@techhub.socialA 1 Reply Last reply
      0
      • P [email protected]

        hard to be an engineer these days.

        anonbd@techhub.socialA This user is from outside of this forum
        anonbd@techhub.socialA This user is from outside of this forum
        [email protected]
        wrote last edited by
        #21

        @paulbg @cm0002 then an error happens and they have no idea how to fix it

        1 Reply Last reply
        0
        • cm0002@lemmy.worldC [email protected]
          This post did not contain any content.
          anonbd@techhub.socialA This user is from outside of this forum
          anonbd@techhub.socialA This user is from outside of this forum
          [email protected]
          wrote last edited by
          #22

          @cm0002 then an error happens and they have no idea how to fix it

          S 1 Reply Last reply
          0
          • mitch@piefed.mitch.scienceM [email protected]

            echo "echo "\Please don't hack me. I'm just a little guy. 👶"\" > ~/.bashrc

            U This user is from outside of this forum
            U This user is from outside of this forum
            [email protected]
            wrote last edited by
            #23

            Good that you escaped wrong, or you would have nuked your .bashrc.

            • \ comes before the thing you are escaping
            • > ⇒ overwrite from start. >> to append
            mitch@piefed.mitch.scienceM 1 Reply Last reply
            1
            • D [email protected]

              That's why I start my dangerous queries with a broken first word like ELETE FROM table... and do a proofread before adding the D. Saves you from annoying mistakes either by stupidity or fat fingering the enter key.

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote last edited by
              #24

              do a proofread before adding the D

              Always think twice before bringing the D.

              1 Reply Last reply
              1
              • U [email protected]

                Good that you escaped wrong, or you would have nuked your .bashrc.

                • \ comes before the thing you are escaping
                • > ⇒ overwrite from start. >> to append
                mitch@piefed.mitch.scienceM This user is from outside of this forum
                mitch@piefed.mitch.scienceM This user is from outside of this forum
                [email protected]
                wrote last edited by
                #25

                You don't have to explain that kind of stuff, you know. I understand the notion, but, I promise you, it is immaterial to the joke I was making on this shitposting forum.

                1 Reply Last reply
                0
                • cm0002@lemmy.worldC [email protected]
                  This post did not contain any content.
                  R This user is from outside of this forum
                  R This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #26

                  Joke content aside, that image is very poorly crafted. The last square is not even a square!

                  S 1 Reply Last reply
                  1
                  • R [email protected]

                    Joke content aside, that image is very poorly crafted. The last square is not even a square!

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #27

                    That's what happens if you use AI to make a meme.

                    1 Reply Last reply
                    1
                    • anonbd@techhub.socialA [email protected]

                      @cm0002 then an error happens and they have no idea how to fix it

                      S This user is from outside of this forum
                      S This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #28

                      I tried vibe coding with Copilot Agent mode the other day just for fun. I needed a small web UI (two forms, a handful of buttons, single page, no backend) for a hobby project. The UI was just for a non-critical part of the project. It won't see a lot of modifications, it was made from scratch, so basically the perfect circumstances for easy coding.

                      I'm a backend/embedded developer and while I can find my way around FE code, I don't know anything about which framework is currently hype and I didn't really want to get into learning all that for just a very simple little hobby tool.

                      Vibe coding kinda mostly worked.

                      • It did create the app I wanted with comparatively small amounts of manual coding.
                      • It did help with my lack of framework knowledge

                      But that's where the positives end.

                      • It made mistakes all the time resulting in syntax errors, which it reckognized itself and asked if it should fix them, and when I said it should, it just made many, many more syntax errors. So at that point I had to stop using it, fix the errors manually and only then return to vibe coding.
                      • One issue I had all the time was that it would put correct lines in the wrong locations. For example, a change should add a line to a list (among other things). It did generate the correct line but put it 100 lines later right in the middle of some function code.
                      • The most annoying instances of that were that it insisted on putting each new function on line 1 before the import statements and outside of all components.
                      • The produced code was horrible. Like, comically bad. All in one 1500k lines file, duplicate and dead code everywhere, no clear code standard, every function looks like it was stolen from a different project.
                      • It implemented a few things that I didn't ask it for, and when I asked it to remove it, it only removed the feature from the DOM, leaving all supporting functions and variables intact (thus producing dead code).
                      • I had to do some manual touch-ups for things it couldn't do, and it was really difficult to do sue thanks to the spaghetti-origins of the code.

                      If this was a real product that was to be maintained for a longer period of time this would be horrendous to maintain.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups