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.
  • 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
                  • 0 [email protected]

                    But text is also numbers

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

                    But numbers are also text

                    1 Reply Last reply
                    1
                    • P [email protected]

                      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 This user is from outside of this forum
                      G This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #68

                      They have been pretty good on popular technologies like python & web development.

                      I tried to do Kotlin for Android, and they kept tripping over themselves; it's hilarious and frustrating at the same time.

                      D 1 Reply Last reply
                      3
                      • scrubbles@poptalk.scrubbles.techS [email protected]

                        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 This user is from outside of this forum
                        F This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #69

                        That’s exactly what most junior devs do when stuck. They rehash the same solution over and over and it almost seems like that llms trained on code bases infer that behavior from commit histories etc.

                        It almost feels like on of those “we taught him these tasks incorrectly as a joke” scenarios

                        1 Reply Last reply
                        2
                        • T [email protected]

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

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

                          The lead dev is not available this summer to review, but you can review here: https://github.com/edzdez/sway-easyfocus/pull/22

                          It's not great that four changes are rolled into a single PR, but that's my issue not Claude's because they were related and I wanted to test them all at once.

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

                            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 This user is from outside of this forum
                            G This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #71

                            Hello, fellow old person 🤝

                            1 Reply Last reply
                            6
                            • P [email protected]

                              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.

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

                              I recently tried it for scripting simple things in python for a game. Yaknow, change char's color if they are targetted. It output a shitton of word salad and code about my specific use case in the specific scripting jargon for the game.

                              It all based on "Misc.changeHue(player)". A function that doesn't exist and never has, because the game is unable to color other mobs / players like that for scripting.

                              Anything I tried with AI ends up the same way. Broken code in 10 lines of a script, halucinations and bullshit spewed as the absolute truth. Anything out of the ordinary is met with "yes this can totally be done, this is how" and "how" doesn't work, and after sifting forums / asking devs you find out "sadly that's impossible" or "we dont actually use cpython so libraries don't work like that" etc.

                              P S 2 Replies Last reply
                              5
                              • trickdacy@lemmy.worldT [email protected]

                                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

                                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]
                                #73

                                Then I am quite confused what LLM is supposed to help me with. I am not a programmer, and I am certainly not a TypeScript programmer. This is why I postponed my eslint upgrade for half a year, since I don't have a lot of experience in TypeScript, besides one project in my college webdev class.

                                So if I can sit down for a couple hour to port my rather simple eslint config, which arguably is the most mechanical task I have seen in my limited programming experience, and LLM produce anything close to correct. Then I am rather confused what "real programmers" would use it for...

                                People here say boilerplate code, but honestly I don't quite recall the last time I need to write a lot of boilerplate code.

                                I have also tried to use llm to debug SELinux and docker container on my homelab; unfortunately, it is absolutely useless in that as well.

                                trickdacy@lemmy.worldT 1 Reply Last reply
                                1
                                • G [email protected]

                                  They have been pretty good on popular technologies like python & web development.

                                  I tried to do Kotlin for Android, and they kept tripping over themselves; it's hilarious and frustrating at the same time.

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

                                  I use ChatGPT for Go programming all the time and it rarely has problems, I think Go is more niche than Kotlin

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

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

                                    Practically all LLMs aren't good for any logic. Try to play ASCII tic tac toe against it. All GPT models lost against my four year old niece and I wouldn't trust her writing production code 🤣

                                    Once a single model (doesn't have to be a LLM) can beat Stockfish in chess, AlphaGo in Go, my niece in tic tac toe and can one-shot (on the surface, scratch-pad allowed) a Rust program that compiles and works, than we can start thinking about replacing engineers.

                                    Just take a look at the dotnet runtime source code where Microsoft employees currently try to work with copilot, which writes PRs with errors like forgetting to add files to projects. Write code that doesn't compile, fix symptoms instead of underlying problems, etc. (just take a look yourself).

                                    I don't say that AI (especially AGI) can't replace humans. It definitely can and will, it's just a matter of time, but state of the Art LLMs are basically just extremely good "search engines" or interactive versions of "stack overflow" but not good enough to do real "thinking tasks".

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

                                      4o has been able to do this for months.

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

                                      Play ASCII tic tac toe against 4o a few times. A model that can't even draw a tic tac toe game consistently shouldn't write production code.

                                      1 Reply Last reply
                                      3
                                      • W [email protected]

                                        Practically all LLMs aren't good for any logic. Try to play ASCII tic tac toe against it. All GPT models lost against my four year old niece and I wouldn't trust her writing production code 🤣

                                        Once a single model (doesn't have to be a LLM) can beat Stockfish in chess, AlphaGo in Go, my niece in tic tac toe and can one-shot (on the surface, scratch-pad allowed) a Rust program that compiles and works, than we can start thinking about replacing engineers.

                                        Just take a look at the dotnet runtime source code where Microsoft employees currently try to work with copilot, which writes PRs with errors like forgetting to add files to projects. Write code that doesn't compile, fix symptoms instead of underlying problems, etc. (just take a look yourself).

                                        I don't say that AI (especially AGI) can't replace humans. It definitely can and will, it's just a matter of time, but state of the Art LLMs are basically just extremely good "search engines" or interactive versions of "stack overflow" but not good enough to do real "thinking tasks".

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

                                        Cherry picking the things it doesn’t do well is fine, but you shouldn’t ignore the fact that it DOES do some things easily also.

                                        Like all tools, use them for what they’re good at.

                                        W 1 Reply Last reply
                                        9
                                        • 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
                                          #78

                                          This made me laugh so hard one of the dogs came to check in on me.

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