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.
  • 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.

    scrubbles@poptalk.scrubbles.techS This user is from outside of this forum
    scrubbles@poptalk.scrubbles.techS This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #40

    Yeah you can tell it just ratholes on trying to force one concept to work rather than realizing it's not the correct concept to begin with

    F 1 Reply Last reply
    1
    • codiunicorn@programming.devC [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 on last edited by
      #41

      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 W O iavicenna@lemmy.worldI 4 Replies Last reply
      44
      • scrubbles@poptalk.scrubbles.techS [email protected]

        No, still "perfect" for llms. There's nuance, seeing patterns being used, it should be able to handle it perfectly. Enough people on stack overflow asked enough questions, if AI is like Google and Microsoft claim it is, it should have handled it

        trickdacy@lemmy.worldT This user is from outside of this forum
        trickdacy@lemmy.worldT This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #42

        I searched this issue and didn't find anything very helpful. The new config format can be done many slightly different ways and there are a lot of variables in how your plugins and presets can be. It made perfect sense to me that the LLM couldn't do this upgrade for op. Since one tiny mistake and it won't work at all and usually gives a weird error.

        1 Reply Last reply
        0
        • M [email protected]

          This is a philosophical discussion and I doubt you are educated or experienced enough to contribute anything worthwhile to it.

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

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

          spankmonkey@lemmy.worldS 1 Reply Last reply
          1
          • C [email protected]

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

            Not even remotely.

            C 1 Reply Last reply
            1
            • haui_lemmy@lemmy.giftedmc.comH [email protected]

              Welp. Its actually very in line with the late stage capitalist system. All polish, no innovation.

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

              Awwwww snap look at this limp dick future we got going on here.

              1 Reply Last reply
              8
              • M [email protected]

                Code that does not work is just text.

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

                Conversely, code that works is also text

                S S 2 Replies Last reply
                13
                • 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
                                          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