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

    No the spell just fizzled. In my experience it happens far less often if you start with an Abra kabara and end it with an Alakazam!

    U grrgyle@slrpnk.netG 2 Replies Last reply
    15
    • dumnezero@piefed.socialD [email protected]

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

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

      Define "update"

      1 Reply Last reply
      2
      • Z [email protected]

        It generates an answer that looks correct. Actual correctness is accidental. That's how you wind up with documents with references that don't exist, it just knows what references look like.

        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 [email protected]
        #20

        It doesn't 'know' anything. It is glorified text autocomplete.

        The current AI is intelligent like how Hoverboards hover.

        E M C 3 Replies Last reply
        7
        • C [email protected]

          The image is taken from Zhihu, a Chinese Quora-like site.

          The prompt is talking about give a design of a certain app, and the response seems to talk about some suggested pages. So it doesn't seem to reflect the text.

          But this in general aligns with my experience coding with llm. I was trying to upgrade my eslint from 8 to 9, and ask chatgpt to convert my eslint file, and it proceed to spit out complete garbage.

          I thought this would be a good task for llm because eslint config is very common and well-documented, and the transformation is very mechanical, but it just cannot do it. So I proceed to read the documents and finished the migration in a couple hour...

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

          I wouldn't say it's accurate that this was a "mechanical" upgrade, having done it a few times. They even have a migration tool which you'd think could fully do the upgrade but out of the probably 4-5 projects I've upgraded, the migration tool always produced a config that errored and needed several obscure manual changes to get working. All that to say it seems like a particularly bad candidate for llms

          scrubbles@poptalk.scrubbles.techS C 2 Replies Last reply
          3
          • V This user is from outside of this forum
            V This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #22

            It's not much use with a professional codebase as of now, and I say this as a big proponent of learning FOSS AI to stay ahead of the corpocunts

            1 Reply Last reply
            2
            • M [email protected]

              No the spell just fizzled. In my experience it happens far less often if you start with an Abra kabara and end it with an Alakazam!

              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 [email protected]
              #23

              Yeah, the Abra kabara init and Alakazam cleanup are an important part, specially until you have become good enough to configure your own init.


              There is an alternative init, Abra Kadabra, which automatically adds a cleanup and some general fixes when it detects the end of the spell.

              1 Reply Last reply
              8
              • 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.

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

                Did it at least try puts?

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

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

                  A 1 Reply Last reply
                  35
                  • W This user is from outside of this forum
                    W This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #26

                    It catches things like spelling errors in variable names, does good autocomplete, and it’s useful to have it look through a file before committing it and creating a pull request.

                    It’s very useful for throwaway work like writing scripts and automations.

                    It’s useful not but a 10x multiplier like all the CEOs claim it is.

                    mudman@fedia.ioM 1 Reply Last reply
                    3
                    • spankmonkey@lemmy.worldS [email protected]

                      It doesn't 'know' anything. It is glorified text autocomplete.

                      The current AI is intelligent like how Hoverboards hover.

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

                      Llms are the smartest thing ever on subjects you have no fucking clue on.
                      On subjects you have at least 1 year experience with it suddenly becomes the dumbest shit youve ever seen.

                      1 Reply Last reply
                      4
                      • W [email protected]

                        It catches things like spelling errors in variable names, does good autocomplete, and it’s useful to have it look through a file before committing it and creating a pull request.

                        It’s very useful for throwaway work like writing scripts and automations.

                        It’s useful not but a 10x multiplier like all the CEOs claim it is.

                        mudman@fedia.ioM This user is from outside of this forum
                        mudman@fedia.ioM This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #28

                        Fully agreed. Everybody is betting it'll get there eventually and trying to jockey for position being ahead of the pack, but at the moment there isn't any guarantee that it'll get to where the corpos are assuming it already is.

                        Which is not the same as not having better autocomplete/spellcheck/"hey, how do I format this specific thing" tools.

                        W 1 Reply Last reply
                        1
                        • codiunicorn@programming.devC [email protected]
                          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
                          [email protected]
                          wrote on last edited by
                          #29

                          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 1 Reply Last reply
                          19
                          • match@pawb.socialM [email protected]

                            llms are systems that output human-readable natural language answers, not true answers

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

                            And a good part of the time, the answers can often have a… subtly loose relationship with truth

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

                              It doesn't 'know' anything. It is glorified text autocomplete.

                              The current AI is intelligent like how Hoverboards hover.

                              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 [email protected]
                              #31

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

                              spankmonkey@lemmy.worldS F I 3 Replies Last reply
                              3
                              • mudman@fedia.ioM [email protected]

                                Fully agreed. Everybody is betting it'll get there eventually and trying to jockey for position being ahead of the pack, but at the moment there isn't any guarantee that it'll get to where the corpos are assuming it already is.

                                Which is not the same as not having better autocomplete/spellcheck/"hey, how do I format this specific thing" tools.

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

                                Yeah, it’s still super useful.

                                I think the execs want to see dev salaries go to zero, but these tools make more sense as an accelerator, like giving an accountant excel.

                                I get a bit more done faster, that’s a solid value proposition.

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

                                  It doesn't 'know' anything. It is glorified text autocomplete.

                                  The current AI is intelligent like how Hoverboards hover.

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

                                  Semantics 😴

                                  spankmonkey@lemmy.worldS I 2 Replies 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.

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

                                    I asked ChatDVP for a response to your post and it said you weren't funny.

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

                                      Semantics 😴

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

                                      Sementics 💦

                                      1 Reply Last reply
                                      1
                                      • M [email protected]

                                        No the spell just fizzled. In my experience it happens far less often if you start with an Abra kabara and end it with an Alakazam!

                                        grrgyle@slrpnk.netG This user is from outside of this forum
                                        grrgyle@slrpnk.netG This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #36

                                        Zojak Quapaj!

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

                                          I asked ChatDVP for a response to your post and it said you weren't funny.

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

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

                                          Gonna ignore you now.

                                          M spankmonkey@lemmy.worldS 2 Replies 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