Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • 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
Caint logo. It's just text.
  1. Home
  2. Programmer Humor
  3. Fixing your vibe coded mess
Welcome to Caint!

Issues? Post in Comments & Feedback
You can now view, reply, and favourite posts from the Fediverse. You can click here or click on the on the navigation bar on the left.

Fixing your vibe coded mess

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
11 Posts 10 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.
  • maris@lemmy.worldM This user is from outside of this forum
    maris@lemmy.worldM This user is from outside of this forum
    maris@lemmy.world
    wrote last edited by
    #1
    This post did not contain any content.
    S B E M 4 Replies Last reply
    223
    • maris@lemmy.worldM maris@lemmy.world
      This post did not contain any content.
      S This user is from outside of this forum
      S This user is from outside of this forum
      stupidmanager@lemmy.world
      wrote last edited by
      #2

      Bleh. Late 90s I was a mobile pc tech and I could have used these gloves back then on some computers. People are gross.

      C 1 Reply Last reply
      19
      • S stupidmanager@lemmy.world

        Bleh. Late 90s I was a mobile pc tech and I could have used these gloves back then on some computers. People are gross.

        C This user is from outside of this forum
        C This user is from outside of this forum
        cenzorrll@lemmy.world
        wrote last edited by
        #3

        I wouldn’t want any other person to touch my keyboard. I blame the lack of accessible cleaning supplies and the fact that if anyone higher up sees me not staring at my screen with a hand on the keyboard they’ll think I’m lazy and not working. Which is true, but they don’t need to be thinking that.

        zqwzzle@lemmy.caZ 1 Reply Last reply
        8
        • C cenzorrll@lemmy.world

          I wouldn’t want any other person to touch my keyboard. I blame the lack of accessible cleaning supplies and the fact that if anyone higher up sees me not staring at my screen with a hand on the keyboard they’ll think I’m lazy and not working. Which is true, but they don’t need to be thinking that.

          zqwzzle@lemmy.caZ This user is from outside of this forum
          zqwzzle@lemmy.caZ This user is from outside of this forum
          zqwzzle@lemmy.ca
          wrote last edited by
          #4

          If you redlined a vehicle all the time it’ll break down faster.

          1 Reply Last reply
          5
          • maris@lemmy.worldM maris@lemmy.world
            This post did not contain any content.
            B This user is from outside of this forum
            B This user is from outside of this forum
            barbedbeard@lemmy.ml
            wrote last edited by
            #5

            LLM’s will do as good code as the average coder. The problem with that is the average coder isn’t very good at coding.

            S 1 Reply Last reply
            3
            • maris@lemmy.worldM maris@lemmy.world
              This post did not contain any content.
              E This user is from outside of this forum
              E This user is from outside of this forum
              Ephera
              wrote last edited by
              #6

              We currently have a semi-serious project at $DAYJOB, like we’re basically allowed to work on it as a team building thing. And one guy who’s tugging along has ten years more programming experience than me, but no experience with the programming language we’re using, so he’s been generating everything with LLMs.

              He knows to write unit tests and well, the programming language in question is Rust, which’s strict compiler prevents lots of bad code from happening. So, this isn’t your stereotypical videcoding.

              But …yeah, it’s still been challenging to work with.

              Yesterday, the guy built a feature which basically gives the user instructions how to create a bookmark in their browser. There’s a few ways to implement this:

              • You don’t. Our userbase is gonna be technical, they probably know how to do that.
              • You show the instructions for all browsers and let the user pick which instructions to follow.
              • You ask the user interactively what browser to set up and then show them only the instructions for the chosen browser.

              Right, and apparently the fourth way to implement this, which the LLM generated, is to detect what the default browser of the user is.

              Leaving aside the problem that some users will want to set up different browsers than their default browser, how do you implement that? Is there some nice, cross-platform API for it? Well, if there is, the LLM didn’t know about it.
              And neither are there nice APIs per operating system. On macOS and Linux, it runs some random commands to access this information. On Windows, the generated code looks at the Registry.

              All of this is absolutely horrid to maintain. I do not want to be testing on each OS separately. I do not want hundreds of lines of code for a feature that’s not actually needed. And the worst part is, the guy should know this. He has the experience.
              But I’ve seen the guy when he chats with an LLM, just falls into an absolute trance. Does not surprise me that he’s unable to take a step back to think, if this even makes sense to do…

              J 1 Reply Last reply
              6
              • B barbedbeard@lemmy.ml

                LLM’s will do as good code as the average coder. The problem with that is the average coder isn’t very good at coding.

                S This user is from outside of this forum
                S This user is from outside of this forum
                saharamaleikuhm@feddit.org
                wrote last edited by
                #7

                I would to now where I slot in on that graph to know if I can agree with you or not.

                1 Reply Last reply
                1
                • E Ephera

                  We currently have a semi-serious project at $DAYJOB, like we’re basically allowed to work on it as a team building thing. And one guy who’s tugging along has ten years more programming experience than me, but no experience with the programming language we’re using, so he’s been generating everything with LLMs.

                  He knows to write unit tests and well, the programming language in question is Rust, which’s strict compiler prevents lots of bad code from happening. So, this isn’t your stereotypical videcoding.

                  But …yeah, it’s still been challenging to work with.

                  Yesterday, the guy built a feature which basically gives the user instructions how to create a bookmark in their browser. There’s a few ways to implement this:

                  • You don’t. Our userbase is gonna be technical, they probably know how to do that.
                  • You show the instructions for all browsers and let the user pick which instructions to follow.
                  • You ask the user interactively what browser to set up and then show them only the instructions for the chosen browser.

                  Right, and apparently the fourth way to implement this, which the LLM generated, is to detect what the default browser of the user is.

                  Leaving aside the problem that some users will want to set up different browsers than their default browser, how do you implement that? Is there some nice, cross-platform API for it? Well, if there is, the LLM didn’t know about it.
                  And neither are there nice APIs per operating system. On macOS and Linux, it runs some random commands to access this information. On Windows, the generated code looks at the Registry.

                  All of this is absolutely horrid to maintain. I do not want to be testing on each OS separately. I do not want hundreds of lines of code for a feature that’s not actually needed. And the worst part is, the guy should know this. He has the experience.
                  But I’ve seen the guy when he chats with an LLM, just falls into an absolute trance. Does not surprise me that he’s unable to take a step back to think, if this even makes sense to do…

                  J This user is from outside of this forum
                  J This user is from outside of this forum
                  jenesaisquoi@feddit.org
                  wrote last edited by
                  #8

                  detect what the default browser of the user is

                  Please don’t do stuff like this. You will always get it wrong. I hate apps trying to be “clever” placing unneccessary friction upon my workflow, because they always get it wrong. Then I have to figure out how their regarded auto detection works so I can trick it into doing the rigjt thing.

                  T E 2 Replies Last reply
                  8
                  • J jenesaisquoi@feddit.org

                    detect what the default browser of the user is

                    Please don’t do stuff like this. You will always get it wrong. I hate apps trying to be “clever” placing unneccessary friction upon my workflow, because they always get it wrong. Then I have to figure out how their regarded auto detection works so I can trick it into doing the rigjt thing.

                    T This user is from outside of this forum
                    T This user is from outside of this forum
                    thaklor@lemmy.world
                    wrote last edited by
                    #9

                    The clankers always try to be clever.

                    1 Reply Last reply
                    0
                    • J jenesaisquoi@feddit.org

                      detect what the default browser of the user is

                      Please don’t do stuff like this. You will always get it wrong. I hate apps trying to be “clever” placing unneccessary friction upon my workflow, because they always get it wrong. Then I have to figure out how their regarded auto detection works so I can trick it into doing the rigjt thing.

                      E This user is from outside of this forum
                      E This user is from outside of this forum
                      Ephera
                      wrote last edited by
                      #10

                      I do agree, yeah. If we would have auto-detection, I’d want a manual override to be implemented for sure.
                      It’s a CLI, so it wouldn’t be too bad to add a --browser=firefox flag or similar, but it just makes it even more obvious that this feature only adds complexity, because we would have two solutions when we hardly needed one.

                      1 Reply Last reply
                      2
                      • maris@lemmy.worldM maris@lemmy.world
                        This post did not contain any content.
                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        myfunnyaccountname@lemmy.zip
                        wrote last edited by
                        #11

                        I vibe coded a 2000 line python program. It runs and does what I want. So many weird things in the code. But I don’t care. This code won’t be used to launch a space shuttle or even be used by anyone but me. It works…send it.

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


                        • Login

                        • Don't have an account? Register

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