Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@infosec.pub )  to Linux@programming.dev · 1 month ago

Linus Torvalds shares his thoughts on Anti-AI coding rules

infosec.pub

message-square
92
link
fedilink
150

Linus Torvalds shares his thoughts on Anti-AI coding rules

infosec.pub

cm0002 ( cm0002@infosec.pub )  to Linux@programming.dev · 1 month ago
message-square
92
link
fedilink
  • FaceDeer ( FaceDeer@fedia.io ) 
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    Indeed, my code has never been more rich in unit tests now that coding assistants make them so easy to add. If the coding assistant subsequently does something weird that changes program behaviour it knows immediately.

    • resipsaloquitur ( resipsaloquitur@lemmy.cafe ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      What do the tests do?

      • FaceDeer ( FaceDeer@fedia.io ) 
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        They check to make sure that the code continues producing the expected results. For example if I had some code that added up numbers, I might have a unit test that calls that function with the parameters “2” and “2” and checks to make sure the result is “4”. If something changes that makes it start returning something else then a flag is immediately raised.

        • resipsaloquitur ( resipsaloquitur@lemmy.cafe ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 month ago

          Are these tests written by AI? Have you reviewed the tests? Do they cover all code paths and all the possible inputs and outputs? Do the tests have requirements cited (traceability)?

          • MangoCats ( MangoCats@feddit.it ) BannedBanned
            link
            fedilink
            arrow-up
            5
            ·
            edit-2
            18 days ago

            Removed by mod

            • resipsaloquitur ( resipsaloquitur@lemmy.cafe ) 
              link
              fedilink
              English
              arrow-up
              7
              ·
              1 month ago

              Absolutely not. In a world where hallucinating machines are writing code, humans should be writing the tests at a bare minimum.

              AI writing code to pass tests written by AI will get people killed.

              • MangoCats ( MangoCats@feddit.it ) BannedBanned
                link
                fedilink
                arrow-up
                3
                ·
                edit-2
                18 days ago

                Removed by mod

                • resipsaloquitur ( resipsaloquitur@lemmy.cafe ) 
                  link
                  fedilink
                  English
                  arrow-up
                  5
                  ·
                  1 month ago

                  Boeing’s executives had motivated reasoning to skimp on actual engineering and give the results the exec wanted over the objections of actual engineers.

                  Sound familiar?

                  Frankly, no. LLMs are so sychophantic, there’s little evidence they would have flagged a warning that what he executives wanted was dangerous.

                  And no, LLMs are not just some tool. Never in human history has a hammer given it’s users psychosis.

                  This is a completely nonsense argument.

                  • MangoCats ( MangoCats@feddit.it ) BannedBanned
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    edit-2
                    18 days ago

                    Removed by mod

                • unknownuserunknownlocation ( unknownuserunknownlocation@kbin.earth ) 
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  1 month ago

                  The max issue on the Boeing planes wasn’t a software issue in that sense. The software actually worked as intended. Boeing just hid the fact that the software existed and made it purposefully hard to override, giving pilots quite the surprise when the plane didn’t operate the way they expected, especially when the angle of attack sensor wasn’t working.

                  • MangoCats ( MangoCats@feddit.it ) BannedBanned
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    edit-2
                    18 days ago

                    Removed by mod

    • MangoCats ( MangoCats@feddit.it ) BannedBanned
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      18 days ago

      Removed by mod

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 185 users / day
  • 810 users / week
  • 1.82K users / month
  • 5.45K users / 6 months
  • 129 local subscribers
  • 15.6K subscribers
  • 4.61K Posts
  • 24.5K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code