Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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. the beautiful code

the beautiful code

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
226 Posts 135 Posters 0 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.
  • P [email protected]

    To be fair, if I wrote 3000 new lines of code in one shot, it probably wouldn’t run either.

    LLMs are good for simple bits of logic under around 200 lines of code, or things that are strictly boilerplate. People who are trying to force it to do things beyond that are just being silly.

    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
    #47

    You managed to get an ai to do 200 lines of code and it actually compiled?

    S P 2 Replies Last reply
    21
    • M [email protected]

      Conversely, code that works is also text

      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
      #48

      But working code can be made into numbers.

      0 1 Reply Last reply
      7
      • dumnezero@piefed.socialD [email protected]

        Try to get one of these LLMs to update a package.json.

        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

        ones that can run cli tools do great, they just use npm

        1 Reply Last reply
        1
        • galoisghost@aussie.zoneG [email protected]

          I’ve never thought of it that way. I’m going to add copy writer to my resume.

          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
          #50

          Maybe fiction writer as well

          1 Reply Last reply
          20
          • B [email protected]

            You managed to get an ai to do 200 lines of code and it actually compiled?

            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
            #51

            4o has been able to do this for months.

            W B 2 Replies Last reply
            5
            • S [email protected]

              But working code can be made into numbers.

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

              But text is also numbers

              D 1 Reply Last reply
              5
              • 30p87@feddit.org3 [email protected]

                I asked ChatGPT with help about bare metal 32-bit ARM (For the Pi Zero W) C/ASM, emulated in QEMU for testing, and after the third iteration of "use printf for output" -> "there's no printf with bare metal as target" -> "use solution X" -> "doesn't work" -> "ude printf for output" ... I had enough.

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

                That's what tends to happen

                1 Reply Last reply
                0
                • codiunicorn@programming.devC [email protected]
                  This post did not contain any content.
                  thegiantkorean@lemmy.worldT This user is from outside of this forum
                  thegiantkorean@lemmy.worldT This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #54

                  Did it try to blackmail him if he didn't use the new code?

                  Context

                  1 Reply Last reply
                  4
                  • S [email protected]

                    My uncle. Very smart very neuronal. He knows the entire Internet, can you imagine? the entire internet. Like the mails of Crooked Hillary Clinton, that crook. You know what stands in that Mails? my uncle knows. He makes the best code. The most beautiful code. No one has ever seen code like it, but for him, he's a genius, like i am, i have inherited all his genius genes. It is very easy. He makes the best code. Sometimes he calls me and asks me: you are even smarter than i am. Can you look at my code?

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

                    Thanks, I hate it.

                    1 Reply Last reply
                    0
                    • M [email protected]

                      I can tell you're a member of the next generation.

                      Gonna ignore you now.

                      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
                      #56

                      A 3 day old account being a dick on Lemmy?

                      I'm shocked.

                      1 Reply Last reply
                      1
                      • B [email protected]

                        You managed to get an ai to do 200 lines of code and it actually compiled?

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

                        Uh yeah, like all the time. Anyone who says otherwise really hasn’t tried recently. I know it’s a meme that AI can’t code (and still in many cases that’s true, eg. I don’t have the AI do anything with OpenCV or complex math) but it’s very routine these days for common use cases like web development.

                        G M B 3 Replies Last reply
                        23
                        • I [email protected]

                          Not even remotely.

                          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
                          #58

                          You could claim that it knows the pattern of how references are formatted, depending on what you mean by the word know. Therefore, 100% uninteresting discussion of semantics.

                          I 1 Reply Last reply
                          0
                          • F [email protected]

                            Insulting, but also correct. What "knowing" something even means has a long philosophical history.

                            spankmonkey@lemmy.worldS This user is from outside of this forum
                            spankmonkey@lemmy.worldS This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #59

                            Trying to treat the discussion as a philisophical one is giving more nuance to 'knowing' than it deserves. An LLM can spit out a sentence that looks like it knows something, but it is just pattern matching frequency of word associations which is mimicry, not knowledge.

                            I 1 Reply Last reply
                            1
                            • M [email protected]

                              I can tell you're a member of the next generation.

                              Gonna ignore you now.

                              spankmonkey@lemmy.worldS This user is from outside of this forum
                              spankmonkey@lemmy.worldS This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #60

                              At first I thought that might be a Pepsi reference, but you are probably too young to know about that.

                              1 Reply Last reply
                              0
                              • codiunicorn@programming.devC [email protected]
                                This post did not contain any content.
                                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
                                #61

                                well, it only took 2 years to go from the cursed will smith eating spaghetti video to veo3 which can make completely lifelike videos with audio. so who knows what the future holds

                                moseschrute@lemmy.worldM W T kazerniel@lemmy.worldK 4 Replies Last reply
                                5
                                • M [email protected]

                                  This weekend I successfully used Claude to add three features in a Rust utility I had wanted for a couple years. I had opened issue requests, but no else volunteered. I had tried learning Rust, Wayland and GTK to do it myself, but the docs at the time weren’t great and the learning curve was steep. But Claude figured it all out pretty quick.

                                  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
                                  #62

                                  Did the generated code get merged? I'd be curious to see the PRs

                                  M 1 Reply Last reply
                                  4
                                  • O [email protected]

                                    well, it only took 2 years to go from the cursed will smith eating spaghetti video to veo3 which can make completely lifelike videos with audio. so who knows what the future holds

                                    moseschrute@lemmy.worldM This user is from outside of this forum
                                    moseschrute@lemmy.worldM This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by [email protected]
                                    #63

                                    Hot take, today’s AI videos are cursed. Bring back will smith spaghetti. Those were the good old days

                                    1 Reply Last reply
                                    6
                                    • C [email protected]

                                      You could claim that it knows the pattern of how references are formatted, depending on what you mean by the word know. Therefore, 100% uninteresting discussion of semantics.

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

                                      The theory of knowledge (epistemology) is a distinct and storied area of philosophy, not a debate about semantics.

                                      There remains to this day strong philosophical debate on how we can be sure we really "know" anything at all, and thought experiments such as the Chinese Room illustrate that "knowing" is far, far more complex than we might believe.

                                      For instance, is it simply following a set path like a river in a gorge? Is it ever actually "considering" anything, or just doing what it's told?

                                      C 1 Reply Last reply
                                      2
                                      • codiunicorn@programming.devC [email protected]
                                        This post did not contain any content.
                                        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]
                                        #65

                                        I'm pretty sure that is how we got CORBA

                                        now just make it construct UML models and then abandon this and move onto version 2

                                        G 1 Reply Last reply
                                        12
                                        • bjoern_tantau@swg-empire.deB [email protected]

                                          I used ChatGPT to help me make a package with SUSE's Open Build Service. It was actually quite good. Was pulling my hair out for a while until I noticed that the project I wanted to build had changes URLs and I was using an outdated one.

                                          In the end I just had to get one last detail right. And then my ChatGPT 4 allowance dried up and they dropped me back down to 3 and it couldn't do anything. So I had to use my own brain, ugh.

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

                                          chatgpt is worse among biggest chatbots with writing codes. From my experience Deepseek > Perplexity > Gemini > Claude.

                                          1 Reply Last reply
                                          5
                                          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