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. They're trying to normalize calling vibe coding a "programming paradigm," don't let them.

They're trying to normalize calling vibe coding a "programming paradigm," don't let them.

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
49 Posts 38 Posters 3 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.
  • archmageazor@lemmy.worldA [email protected]

    I don't know what vibe coding is, but I'm assuming it's when you relax in your chair, lean back, place your hands on the keyboard and just type. Let the vibes guide your code.

    M This user is from outside of this forum
    M This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #31

    It's when you relax the sphincter of your mind and let the llm gape you with its knowledge.

    Q 1 Reply Last reply
    5
    • S [email protected]

      Vibe coding is when you're not coding, just typing prompts into AI in hopes it will produce a legible code.

      funnyusername@lemmy.worldF This user is from outside of this forum
      funnyusername@lemmy.worldF This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #32

      i tried that one time. it was the only time i tried to use AI for something actually useful that i needed. i wanted to write some simple JavaScript that would rapidly flash 3 equally sized images on the screen of a handheld linux machine. the AI provided a list of instructions of software and other prerequisites i would need. after installing everything and entering in the code provided into the software, it immediately started yelling warning signs at me about the code. nothing ran. it was all useless. it felt like talking to a paranoid schizophrenic. the ai was so sure of the code, and insisted that i must be making a mistake, and kept apologizing and providing more useless code. it was literally just like talking to a paranoid schizophrenic at a bus stop, insisting all the crazy shit they're saying REALLY makes sense, if only you'll let them explain it to you further.

      what trash.

      O blackmist@feddit.ukB S 3 Replies Last reply
      4
      • addie@feddit.ukA [email protected]

        No love for the 'declarative' programming paradigm? You can actually do some useful work with SQL or Ansible...

        B This user is from outside of this forum
        B This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #33

        Functional is also declarative because control flow is implicit/unspecified.

        What's actually missing is logic programming, of which the likes of SQL are a subset.

        1 Reply Last reply
        0
        • Y [email protected]

          Are those Turing complete? (Legit question, I'd love to know)

          B This user is from outside of this forum
          B This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #34

          Pure SQL, as in relational algebra, is LOGSPACE/PTIME. Datalog is PTIME-complete when the program ("query") is fixed, EXPTIME-hard otherwise.

          It's all quite tractable, but there's definitely turing-complete declerative langugages. Not just pretty much every functional language, but also the likes of prolog.

          1 Reply Last reply
          0
          • M [email protected]

            It's when you relax the sphincter of your mind and let the llm gape you with its knowledge.

            Q This user is from outside of this forum
            Q This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #35

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

              I wonder if this is how scholars reacted to the printing press

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

              You'd have a point if this was an artist community, but coding AI as it exists does not work that well.

              I'd give a better example, but most of the technologies that didn't actually work are lost to history. Hmm, maybe reapeating crossbows and that giant 40-reme boat that the one Greek king built?

              1 Reply Last reply
              3
              • funnyusername@lemmy.worldF [email protected]

                i tried that one time. it was the only time i tried to use AI for something actually useful that i needed. i wanted to write some simple JavaScript that would rapidly flash 3 equally sized images on the screen of a handheld linux machine. the AI provided a list of instructions of software and other prerequisites i would need. after installing everything and entering in the code provided into the software, it immediately started yelling warning signs at me about the code. nothing ran. it was all useless. it felt like talking to a paranoid schizophrenic. the ai was so sure of the code, and insisted that i must be making a mistake, and kept apologizing and providing more useless code. it was literally just like talking to a paranoid schizophrenic at a bus stop, insisting all the crazy shit they're saying REALLY makes sense, if only you'll let them explain it to you further.

                what trash.

                O This user is from outside of this forum
                O This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #37

                These AIs really suck at writing correct code but I've had good success in having them write code generators. I recently made it write a script that takes a SQL create table statement and converts in to TS and gives insert update, delete and whatnot and also creates a simple class that handles the operations.

                I had to write the original code by hand but having it write code that writes boilerplate which I correct is pretty good.

                Other code is hit or miss IMO

                blackmist@feddit.ukB 1 Reply Last reply
                1
                • N [email protected]

                  I wonder if this is how scholars reacted to the printing press

                  G This user is from outside of this forum
                  G This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #38

                  the printing press didn't unlawfully steal content and print exabytes of shit-streaked garbage.

                  the printing press expanded the potential for knowledge to be shared at a higher volume and speed due to the nature of mass printing.

                  it was more akin to multi-core hyperthreading than AI.

                  I think what you mean is that AI is like the discovery of distribution of electricity. the story of where a self-educated immigrant attempted to sell his method of distribution that was safer and more pragmatic, was slandered and tormented by a tech oligarch that had no qualms with electrocuting elephants in public. oh and not to mention Thomas Edison didn't even "invent" AC power, he stamped his name on it and falsely claimed he did. sounds like some other tech bro we know today...

                  this is the problem with you "AI bros", you can't even provide a valid argument because your brain has turned to dog shit from using AI 100% of the time.

                  1 Reply Last reply
                  3
                  • archmageazor@lemmy.worldA [email protected]

                    I don't know what vibe coding is, but I'm assuming it's when you relax in your chair, lean back, place your hands on the keyboard and just type. Let the vibes guide your code.

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

                    I also don't know what vibe coding is, but my guess is it's coding while high.

                    1 Reply Last reply
                    0
                    • H [email protected]

                      NGL I'm waiting for the first lawsuit where an engineer is sued by a company by vibe coding as they were told and caused irreparable harm to the company as the whole product has to be redone from the ground up.

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

                      caused irreparable harm to the company as the whole product has to be redone from the ground up

                      Lol this is most projects for most companies I've worked for, long before AI came on the scene. Somehow these multi-year multi-million dollar disasters were never fatal.

                      1 Reply Last reply
                      1
                      • funnyusername@lemmy.worldF [email protected]

                        i tried that one time. it was the only time i tried to use AI for something actually useful that i needed. i wanted to write some simple JavaScript that would rapidly flash 3 equally sized images on the screen of a handheld linux machine. the AI provided a list of instructions of software and other prerequisites i would need. after installing everything and entering in the code provided into the software, it immediately started yelling warning signs at me about the code. nothing ran. it was all useless. it felt like talking to a paranoid schizophrenic. the ai was so sure of the code, and insisted that i must be making a mistake, and kept apologizing and providing more useless code. it was literally just like talking to a paranoid schizophrenic at a bus stop, insisting all the crazy shit they're saying REALLY makes sense, if only you'll let them explain it to you further.

                        what trash.

                        blackmist@feddit.ukB This user is from outside of this forum
                        blackmist@feddit.ukB This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #41

                        Given how it "learns", asking for the same homework questions people have asked for on stack overflow a thousand times already would likely give a decent answer.

                        Asking it something new will produce plausible looking gibberish.

                        It has no idea which is which. It doesn't know where the limits of its knowledge lie. It just knows that the answer looks like code and is very confident, and that any follow up issues can be dealt with by outputting more nonsense code and an excuse.

                        1 Reply Last reply
                        1
                        • O [email protected]

                          These AIs really suck at writing correct code but I've had good success in having them write code generators. I recently made it write a script that takes a SQL create table statement and converts in to TS and gives insert update, delete and whatnot and also creates a simple class that handles the operations.

                          I had to write the original code by hand but having it write code that writes boilerplate which I correct is pretty good.

                          Other code is hit or miss IMO

                          blackmist@feddit.ukB This user is from outside of this forum
                          blackmist@feddit.ukB This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #42

                          I consider boilerplate code output like that to be well within reach of simple tools though. Tools that didn't need a year to learn from hundreds of terabytes of examples, 20GB of VRAM, or the power use of a small city.

                          O 1 Reply Last reply
                          0
                          • Q [email protected]

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

                            OPEN ME YOUR MIND

                            1 Reply Last reply
                            0
                            • N [email protected]

                              I wonder if this is how scholars reacted to the printing press

                              F This user is from outside of this forum
                              F This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #44

                              Independently of what your position to vibe-coding or LLMs are: Vibe coding just isn't any programming paradigm.
                              A programming paradigm describes the structure of the program, often on a grammatical (programming language) level (e.g. declarative vs imperative).
                              While "Vibe Coding" can lead to using one or the other paradigm, but is not a paradigm itself, it's a tool to achieve that, similar as using an IDE with code-completion to generate code.

                              1 Reply Last reply
                              5
                              • blackmist@feddit.ukB [email protected]

                                I consider boilerplate code output like that to be well within reach of simple tools though. Tools that didn't need a year to learn from hundreds of terabytes of examples, 20GB of VRAM, or the power use of a small city.

                                O This user is from outside of this forum
                                O This user is from outside of this forum
                                [email protected]
                                wrote on last edited by [email protected]
                                #45

                                Don't get me wrong, I still write more than 98% of code by hand and of course, I can write those functions myself in 30m myself but I can get it in 60s with the AI. LLMs can write code to that does parse - > model - > map - > format with only one or two easy to fix bugs.

                                It's in the very niche cases where it's just tedious to write something out that LLMs actually work. "Write an API client that uses [library] that handles these requests/responses" comes also to mind as something that would work.

                                I'm using now also to learn react native where I get bugs I'm very unfamiliar with and SO doesn't give me a good answer.

                                I've also had decent success at having it review my code with "how would I further optimise this code" and it gives me some pointers and then writes buggy code but the approach is correct usually and I can implement it myself.

                                1 Reply Last reply
                                2
                                • archmageazor@lemmy.worldA [email protected]

                                  I don't know what vibe coding is, but I'm assuming it's when you relax in your chair, lean back, place your hands on the keyboard and just type. Let the vibes guide your code.

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

                                  Almost, finish that first sentence with "the ChatGPT prompt and copy-paste the result without reading."

                                  1 Reply Last reply
                                  0
                                  • funnyusername@lemmy.worldF [email protected]

                                    i tried that one time. it was the only time i tried to use AI for something actually useful that i needed. i wanted to write some simple JavaScript that would rapidly flash 3 equally sized images on the screen of a handheld linux machine. the AI provided a list of instructions of software and other prerequisites i would need. after installing everything and entering in the code provided into the software, it immediately started yelling warning signs at me about the code. nothing ran. it was all useless. it felt like talking to a paranoid schizophrenic. the ai was so sure of the code, and insisted that i must be making a mistake, and kept apologizing and providing more useless code. it was literally just like talking to a paranoid schizophrenic at a bus stop, insisting all the crazy shit they're saying REALLY makes sense, if only you'll let them explain it to you further.

                                    what trash.

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

                                    I had a fun one this week! I needed to make an SQL query that would aggregate rows by invoice and date, but only aggregate 5 then overflow to a new row. I also needed to access the individual row data because the invoice items weren't summed, they were displayed on separate columns!

                                    I ask my senior if there's an easy way to do this, he comes back with "chatgpt says you can assign row numbers then get individual row data with % row number"

                                    I go to Gemini and ask "how to aggregate rows by 5 and get individual row data out?" It says "you can't" (since when has Ai's been able to say you can't do X) So I ask it about the modulo operator and it gives me an example that doesn't really work. After screwing around for a while I give up and decide I'll just run this query 3 times. 1 for rows 1-5 then for 6-10 and one more for 11-15 that's so many rows surely no one will break this.

                                    1 Reply Last reply
                                    0
                                    • P [email protected]

                                      Tf is "return oriented"?

                                      T This user is from outside of this forum
                                      T This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by [email protected]
                                      #48

                                      Do you know what a memory stack and assembly are?

                                      If you want code that does assembly operations A, B, and then C, you might be able to accomplish it by scanning loaded memory (or its corresponding binary) for bits that, when translated into assembly, do:

                                      A

                                      D

                                      return

                                      This set of three instructions is a gadget. In practice, it's a location in memory.

                                      And then you find another gadget.

                                      B

                                      C

                                      return

                                      Then, if you don't care about D, or D does something irrelevant that won't screw up what you're trying to do, or won't crash the program, you can replace the stack with the addresses of gadgets one and two. When gadget one returns, the stack is popped and then gadget two executes.

                                      Since the computer did ADBC and D was irrelevant, the system executed your ABC malware and now you win.

                                      Is finding gadgets that execute actual malware hard? Surprisingly not!

                                      1 Reply Last reply
                                      0
                                      • hiddenlayer555@lemmy.mlH [email protected]
                                        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
                                        [email protected]
                                        wrote on last edited by
                                        #49

                                        Vibe coding is closer to script kiddy

                                        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