Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been.

This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
77 Indlæg 49 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • hbons@mastodon.socialH hbons@mastodon.social

    @cholling @david_chisnall from this amount I’m 90% certain.

    datarama@hachyderm.ioD This user is from outside of this forum
    datarama@hachyderm.ioD This user is from outside of this forum
    datarama@hachyderm.io
    wrote sidst redigeret af
    #46

    @hbons @cholling @david_chisnall Cal Newport has written like that for a long, long time.

    1 Reply Last reply
    0
    • bms@mastodon.bsd.cafeB bms@mastodon.bsd.cafe

      @rzeta0 @david_chisnall Arguably this evasion of which you write has just happened with theorem provers.

      rzeta0@mathstodon.xyzR This user is from outside of this forum
      rzeta0@mathstodon.xyzR This user is from outside of this forum
      rzeta0@mathstodon.xyz
      wrote sidst redigeret af
      #47

      @bms @david_chisnall

      I'm no expert but my naive under is that theorem provers are designed to be correct...

      .. and some people are using Llama to "search" for candidate proofs which are only given credibility once they pass a theorem provers check.

      In this sense the output of an llm is filtered by a "correctness filter".

      I may not like this workflow but if it advances human knowledge then there may be a case for it, subject to environmental and other ethical concerns.

      Did I misunderstand your observation?

      cesarb@mastodon.socialC cavyherd@wandering.shopC 2 Replies Last reply
      0
      • db@magrathea.spaceD db@magrathea.space
        @david_chisnall @TauPan I cringe too when people say “I use AI to write boilerplate” and I think isn’t that what a framework is for? This is primarily in the Ruby on Rails space too…
        david_chisnall@infosec.exchangeD This user is from outside of this forum
        david_chisnall@infosec.exchangeD This user is from outside of this forum
        david_chisnall@infosec.exchange
        wrote sidst redigeret af
        #48

        @db @TauPan

        I view the existence of boilerplate as code smell for missing abstractions. If writing boilerplate is more than a tiny trivial amount of your work, something has gone badly wrong somewhere.

        vnikolov@ieji.deV 1 Reply Last reply
        0
        • kp@bsd.networkK kp@bsd.network

          @david_chisnall That's (on of) my concern(s) with LLM submissions too.
          It's going to be so much more work to review them than reviewing human submissions, and at the same time the payoff is less valuable. Human submissions, even if they're flawed at first, may result in a new contributor. Reviewing LLM submissions will not grow a new contributor.

          bcasiello@floss.socialB This user is from outside of this forum
          bcasiello@floss.socialB This user is from outside of this forum
          bcasiello@floss.social
          wrote sidst redigeret af
          #49

          @david_chisnall @kp and you have to do those harder reviews much faster because tomorrow - ding! - another 10,000 line PR just dropped.

          1 Reply Last reply
          0
          • okuna@social.tchncs.deO okuna@social.tchncs.de

            @david_chisnall i am really getting sick of posts and articles blaming AI where actually the humans and managers are to blame.

            naught101@mastodon.socialN This user is from outside of this forum
            naught101@mastodon.socialN This user is from outside of this forum
            naught101@mastodon.social
            wrote sidst redigeret af
            #50

            @Okuna @david_chisnall "Guns don't kill people, people kill people" vibe

            1 Reply Last reply
            0
            • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

              This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

              The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

              LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

              Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

              And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

              An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

              I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

              naught101@mastodon.socialN This user is from outside of this forum
              naught101@mastodon.socialN This user is from outside of this forum
              naught101@mastodon.social
              wrote sidst redigeret af
              #51

              @david_chisnall I've been saying a version of this for years (though much less eloquently). It also applies to technical writing in any field.

              On LLMs' having intent - yes, they don't, but arguably they always produce bullshit: https://link.springer.com/article/10.1007/s10676-024-09775-5

              1 Reply Last reply
              0
              • demiurg@fosstodon.orgD demiurg@fosstodon.org

                @david_chisnall Sorry, but this article is not a good source. There is nothing stated about the bug(s) and the narrative is the dev has brought 2 bugs to prod in 6 months and was threatend to be fired. That alone does not sound plausible. The rest is the usual fear mongering. As if subtile bugs is something new.

                rhelune@todon.euR This user is from outside of this forum
                rhelune@todon.euR This user is from outside of this forum
                rhelune@todon.eu
                wrote sidst redigeret af
                #52

                @demiurg @david_chisnall Production being down can lose you millions. I know someone who caused that (before slop generators) but suffered no consequences.

                demiurg@fosstodon.orgD 1 Reply Last reply
                0
                • hbons@mastodon.socialH hbons@mastodon.social

                  @thirstybear @david_chisnall pretty sure your style is better than this.

                  rhelune@todon.euR This user is from outside of this forum
                  rhelune@todon.euR This user is from outside of this forum
                  rhelune@todon.eu
                  wrote sidst redigeret af
                  #53

                  @hbons @thirstybear @david_chisnall Just in case introduce some spelling errors.

                  1 Reply Last reply
                  0
                  • rzeta0@mathstodon.xyzR rzeta0@mathstodon.xyz

                    @bms @david_chisnall

                    I'm no expert but my naive under is that theorem provers are designed to be correct...

                    .. and some people are using Llama to "search" for candidate proofs which are only given credibility once they pass a theorem provers check.

                    In this sense the output of an llm is filtered by a "correctness filter".

                    I may not like this workflow but if it advances human knowledge then there may be a case for it, subject to environmental and other ethical concerns.

                    Did I misunderstand your observation?

                    cesarb@mastodon.socialC This user is from outside of this forum
                    cesarb@mastodon.socialC This user is from outside of this forum
                    cesarb@mastodon.social
                    wrote sidst redigeret af
                    #54

                    @rzeta0 @bms @david_chisnall That was probably a reference to the recent incident in which a LLM exploited a bug in the theorem prover to make it accept an invalid proof as valid.

                    1 Reply Last reply
                    0
                    • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                      This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                      The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                      LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                      Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                      And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                      An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                      I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                      raganwald@social.bau-ha.usR This user is from outside of this forum
                      raganwald@social.bau-ha.usR This user is from outside of this forum
                      raganwald@social.bau-ha.us
                      wrote sidst redigeret af
                      #55

                      @david_chisnall “LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.”

                      LLMs optimize for verisimilitude, not veracity.

                      cavyherd@wandering.shopC 1 Reply Last reply
                      0
                      • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                        This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                        The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                        LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                        Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                        And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                        An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                        I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                        cwg1231@defcon.socialC This user is from outside of this forum
                        cwg1231@defcon.socialC This user is from outside of this forum
                        cwg1231@defcon.social
                        wrote sidst redigeret af
                        #56

                        @david_chisnall funny that this senior developer suggests tests are one of the only things ok to write with LLMs, since those are the one thing I would *never* entrust to a probabilistic machine. With correctly constructed tests, I would at least hypothetically know the slop code’s output is correct, no matter how bad the runtime is.

                        1 Reply Last reply
                        0
                        • raganwald@social.bau-ha.usR raganwald@social.bau-ha.us

                          @david_chisnall “LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.”

                          LLMs optimize for verisimilitude, not veracity.

                          cavyherd@wandering.shopC This user is from outside of this forum
                          cavyherd@wandering.shopC This user is from outside of this forum
                          cavyherd@wandering.shop
                          wrote sidst redigeret af
                          #57

                          @raganwald @david_chisnall

                          Oooo, •nice• (& subtle!) distinction!

                          1 Reply Last reply
                          0
                          • rzeta0@mathstodon.xyzR rzeta0@mathstodon.xyz

                            @bms @david_chisnall

                            I'm no expert but my naive under is that theorem provers are designed to be correct...

                            .. and some people are using Llama to "search" for candidate proofs which are only given credibility once they pass a theorem provers check.

                            In this sense the output of an llm is filtered by a "correctness filter".

                            I may not like this workflow but if it advances human knowledge then there may be a case for it, subject to environmental and other ethical concerns.

                            Did I misunderstand your observation?

                            cavyherd@wandering.shopC This user is from outside of this forum
                            cavyherd@wandering.shopC This user is from outside of this forum
                            cavyherd@wandering.shop
                            wrote sidst redigeret af
                            #58

                            @rzeta0 @bms @david_chisnall

                            As @pluralistic has frequently pointed out, LLMs are not without good uses. But like any hammer, you maybe don't want to be using them on •everything•, which seems to be the attitude held by the cult-members.

                            1 Reply Last reply
                            0
                            • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                              This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                              The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                              LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                              Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                              And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                              An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                              I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                              cavyherd@wandering.shopC This user is from outside of this forum
                              cavyherd@wandering.shopC This user is from outside of this forum
                              cavyherd@wandering.shop
                              wrote sidst redigeret af
                              #59

                              @david_chisnall

                              —Cal Newport—!

                              1 Reply Last reply
                              0
                              • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                                @db @TauPan

                                I view the existence of boilerplate as code smell for missing abstractions. If writing boilerplate is more than a tiny trivial amount of your work, something has gone badly wrong somewhere.

                                vnikolov@ieji.deV This user is from outside of this forum
                                vnikolov@ieji.deV This user is from outside of this forum
                                vnikolov@ieji.de
                                wrote sidst redigeret af
                                #60

                                Yes.
                                There are several possibilities for that somewhere (including programming language design) and they don't have to be mutually exclusive.

                                @david_chisnall @db @TauPan

                                1 Reply Last reply
                                0
                                • paco@infosec.exchangeP paco@infosec.exchange

                                  @david_chisnall Great article. I want to zoom in on the last thing he says:
                                  ‘AI is not a magic “infinity machine” that can solve all our problems… It’s a normal technology, and perhaps it’s time we start talking about it that way.’

                                  I assert that for A LOT of people, they already viewed most tech as magic even before LLMs went big. I think a lot of people ARE treating LLMs like they treat normal tech. Though when the author says it’s time WE talk about LLMs as normal tech, maybe he’s thinking of tech people and programmers as the WE, not people in general.

                                  I think a lot of tech had already exceeded the normal person’s ability to understand and predict. So this is just really bad coincident timing for LLMs to appear. I have hope that the scales will fall off programmers’ eyes. I don’t have much hope for everyone else.

                                  cavyherd@wandering.shopC This user is from outside of this forum
                                  cavyherd@wandering.shopC This user is from outside of this forum
                                  cavyherd@wandering.shop
                                  wrote sidst redigeret af
                                  #61

                                  @paco @david_chisnall

                                  ...depending, of course, on your threshold for "normal person." I've encountered far more people that I would like who are foggy on the distinctions between "network," "computer," "operating system," "software (application)," & "document," & as a consequence get lost very quickly when trying to understand what a computer can accomplish. Likewise the difference between "The Internet" & "Facebook." (Though I encounter that conflation more rarely. Thank Ghu.)

                                  1 Reply Last reply
                                  0
                                  • saua@troet.cafeS saua@troet.cafe

                                    @paco @david_chisnall And then there's the problem that a lot of the general audience will assume "oh, if it had such glaring issues then the experts would not be using it or warn us about it" ... and, well ...

                                    cavyherd@wandering.shopC This user is from outside of this forum
                                    cavyherd@wandering.shopC This user is from outside of this forum
                                    cavyherd@wandering.shop
                                    wrote sidst redigeret af
                                    #62

                                    @saua @paco @david_chisnall

                                    I suspect this is of a piece with, "that candidate is so obviously evil, nobody could possibly vote for them...."

                                    Which, um.

                                    1 Reply Last reply
                                    0
                                    • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                                      @TauPan I cringe so much when I see people say 'I use it for repetitive things, like tests!'. Because writing good tests requires understanding which bits in the code are corner cases and writing tests that exercise those. I've seen LLM-generated tests with hundreds of tests for the happy path and none that trigger any of the error-handling.

                                      I can maybe imagine a loop with an LLM and a coverage tool to get proper coverage, but then you'd need to review the tests generated by the LLMs for the corner cases to make sure you weren't just generating tests that enforce bugs in the implementation.

                                      cavyherd@wandering.shopC This user is from outside of this forum
                                      cavyherd@wandering.shopC This user is from outside of this forum
                                      cavyherd@wandering.shop
                                      wrote sidst redigeret af
                                      #63

                                      @david_chisnall @TauPan

                                      ...like 3-dimensional survivor bias....

                                      1 Reply Last reply
                                      0
                                      • cavyherd@wandering.shopC This user is from outside of this forum
                                        cavyherd@wandering.shopC This user is from outside of this forum
                                        cavyherd@wandering.shop
                                        wrote sidst redigeret af
                                        #64

                                        @ChemicalEyeGuy @david_chisnall

                                        "Maybe it's more efficient just to burn it all down & start from scratch?"

                                        "A case could be made...."

                                        Oh wait—that was DOGE's rationale, too....

                                        1 Reply Last reply
                                        0
                                        • kp@bsd.networkK kp@bsd.network

                                          @david_chisnall That's (on of) my concern(s) with LLM submissions too.
                                          It's going to be so much more work to review them than reviewing human submissions, and at the same time the payoff is less valuable. Human submissions, even if they're flawed at first, may result in a new contributor. Reviewing LLM submissions will not grow a new contributor.

                                          cavyherd@wandering.shopC This user is from outside of this forum
                                          cavyherd@wandering.shopC This user is from outside of this forum
                                          cavyherd@wandering.shop
                                          wrote sidst redigeret af
                                          #65

                                          @kp @david_chisnall

                                          I think one of the major unintentional lessons of this era (both technically & politically) is the value of deep human experience.

                                          Edit: Value & intrinsically un-automatability.

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper