• joey_builds@eviltoast.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 hour ago

    What gets me is that this is roughly the best-case scenario for “capable hands” — Linus knows this codebase better than anyone alive — and a race condition plus a 9% read regression still slipped through on the first attempt. Reviews and testing caught it, which is the system working, but it moves the bottleneck from writing code to reviewing it. And review doesn’t scale the way generation does; skimming a patch is quick, but actually proving an LLM-assisted one is correct takes real effort. I say that as someone who uses AI tooling daily — reading code you didn’t write is genuinely more tiring than writing it, and that tax compounds the more you lean on generation. The maintainer-burnout angle might end up being the real story here, more than the AI one.

    • Orygin@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      43 minutes ago

      Linus knows this codebase better than anyone alive

      Does he? Is it even possible to know the entirety of the Linux kernel within one head?

      • Bizzle@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        13 minutes ago

        Does one need to know the entirety in their head to know it better than anyone else? If not Linus, who?

        • Orygin@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 minutes ago

          I’d argue the people who wrote the code for the various subsystems know more about it than the guys who “just” review and merge them.

  • rizzothesmall@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    3
    ·
    2 hours ago

    Using AI tooling is fine as long as you know what’s being written by it.

    I’m still a massive fan of copilot auto-complete because you’re still laying out the structure of the code and can hint at what you want with strong naming and good doc strings which are good practice anyway, and then the copilot finishes your thoughts and you save time. Especially good at rigging up tests.

  • FlashMobOfOne@lemmy.world
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    1
    ·
    6 hours ago

    Assuming these updates are fully tested before they’re deployed, by a human, it shouldn’t be that impactful negatively that AI is being used. The problem comes when updates are moved into production without human oversight.

    But it gives me the heebie jeebies, since AI is known to make and fuck shit up, and I’m stuck using MS Teams every day in my job so I see all the weird shit that vibe coding produces. I don’t relish the thought of weird, stupid shit happening to my Linux installation.

    • iocase@lemmy.zip
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      2 hours ago

      Plus studies on skill decay when using AI. Also the linux maintainer onboarding pipeline—which was already critically endangered—is now no longer building understanding through writing code, just monitoring it’s generation.

      I personally think you need to write a language by hand without AI doing it for you to learn in detail. It’s like trying to learn how to do math or how to write mandarin by just supervising an AI doing it… you need to do it yourself. Supervising is fine if you’re already fluent in mandarin and have been writing it for years and years. If you’re just learning it’s less than useless. If anything its directly harmful to learning.

      Same with speaking a language yourself without crutching your native language as the best method to learn to speak it (immersion)

      Edit: The long term externalities of AI—like pretty much everything nowadays—is going to be made worse by short term thinking. Quarterly profits and yearly results take precedence over long term skill development. Even OSS like linux will eat its seed corn out of expediency because of a lack of maintainers and new candidates being onboarded into the ivory tower mailing lists…

    • 🇨🇦GreenBeard🇨🇦@lemmy.ca
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      2
      ·
      3 hours ago

      One thing I’m noticing about AI code is it’s very, very task oriented. Like it will produce code, that works for the one objective, but absolutely will not account for other interactions with other parts of the system. It’s really bad at juggling multiple priorities so for every solution it creates, it causes another 2 problems with other parts of the stack. Human coders would design a solution that takes those interactions into account from the ground up. With an AI solution, you kind of have to rebuild those interactions as an afterthought, which is where a lot of failures occur. Since interaction of multiple subsystems is kind of the whole point of a kernel… I have concerns.

    • pageflight@piefed.social
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      1
      ·
      5 hours ago

      Human review of AI is sufficient in theory, but in practice it’s never as thorough as the understanding you get writing it yourself. It’s hard to avoid AI, but it is a constant invitation to laziness.

      • [deleted]@piefed.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 hours ago

        Unlike reviewing a human who writes code there is zero chance of AI learning from the past and making fewer mistakes in the future. At a least a human has a chance of becoming better at coding from review feedback.

        • BJW@lemmus.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          6
          ·
          2 hours ago

          No? Are you not aware of the concept of “memories”? AI do indeed take feedback into account, if they’re designed to.

          • pageflight@piefed.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            52 minutes ago

            The auto-generated memories I’ve seen it create are pretty inane: “always name variables container_ when in MySpecificClass”. Not really learning engineering principles.

            Similar, I’ve found AGENT.md files might nudge it in the right direction, but as always it’s a fuzzy matcher, not a learning engineer.

            • BJW@lemmus.org
              link
              fedilink
              English
              arrow-up
              1
              ·
              48 minutes ago

              It’s best to generate memories manually, but I’ve had good fortune with auto-generated so far. At least using Co-pilot.

              I have found it best to have another AI generate the agent.md - having a layer of interpretation can really clarify the information imparted.

          • [deleted]@piefed.world
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            2 hours ago

            AI does not have memories.

            It has a comparatively small context window that makes things worse the more it fills up.

            • architect@thelemmy.club
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              41 minutes ago

              Eh I really think it does. You don’t news to load everything into context. You need to load where everything is located into context.

            • BJW@lemmus.org
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              4
              ·
              2 hours ago

              You are mistaken. Some AI models do indeed have memories.

              • DaTingGoBrrr@lemmy.ml
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 hour ago

                They save some strings in a document to later read and “remember”. Calling them memories is a reach.

                • BJW@lemmus.org
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  50 minutes ago

                  My point stands that they can learn from feedback. Your memories are only information in a virtual document, too. Just as susceptible to corruption, or misinterpretation.

  • keisatsu@infosec.pub
    link
    fedilink
    English
    arrow-up
    124
    arrow-down
    18
    ·
    edit-2
    6 hours ago

    and in the process he introduced a race condition, a performance regression costing up to 9% when making reads of files around 1 MiB and dumped the responsibility of fixing his mess on co-maintainers and went on vacation.

    • monkeyslikebananas2@lemmy.world
      link
      fedilink
      English
      arrow-up
      79
      arrow-down
      11
      ·
      7 hours ago

      Yeah but it sounds like three steps forward half a step back. Also, reviews/testing caught it. Sounds like the system is working. I’ve written quite a few race condition bugs in my 25 year career. That nobody caught until weeks in prod.

      I understand the reluctance of AI but there’s no denying that AI in capable hands can be useful.

      • architect@thelemmy.club
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        3
        ·
        39 minutes ago

        Have you considered that you might be an ai, yourself? I hear only AI makes these mistakes.

      • keisatsu@infosec.pub
        link
        fedilink
        English
        arrow-up
        33
        arrow-down
        11
        ·
        6 hours ago

        if Linus, who has worked with the language AND the project for decades, can’t find a race condition and a performance regression in his VERY FIRST LLM-assisted commit, then just maybe we should accept that humans are fucking horrible att catching the mistakes that clankers make and stop deluding us into thinking that this is the future of software engineering.

        • monkeyslikebananas2@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          22
          ·
          6 hours ago

          Ok. Looks like the process just needs to do more testing/validation in CI.

          What’s your alternative? just stop progress here? No more new things?

          • keisatsu@infosec.pub
            link
            fedilink
            English
            arrow-up
            37
            arrow-down
            5
            ·
            6 hours ago

            How about we keep relying on deterministic tooling that are not built on stolen data and don’t fuck the economy and the environment at the same time? How about putting a fraction of the money invested i LLMs into SAST and DAST tools? Maybe a dollar or two for fuzz testers? How about we look at projects like curl and build safeguards into the project to avoid footguns?

            • monkeyslikebananas2@lemmy.world
              link
              fedilink
              English
              arrow-up
              7
              arrow-down
              15
              ·
              5 hours ago

              I’m not opposed, that honestly sounds good. Now, let’s wish in one hand and shit in the other and see which fills up first.

              People will do what they do.

              I run small local models, I do a lot of what you are saying. However this technology and process is new. Yeah capitalism will fuck everything up but you can’t control people.

                • monkeyslikebananas2@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  4
                  arrow-down
                  2
                  ·
                  4 hours ago

                  So let’s make a competing one and swap it out for something else. Oh and by tomorrow, I’ll wait.

                  Just because there are better options doesn’t mean you can change it over night and without set backs.

        • Ek-Hou-Van-Braai@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          6
          ·
          5 hours ago

          That’s not a new issue.

          The absolute slop I’ve seen people hand write long before AI is actually impressive.

          AI is just a force multiplier

          • peopleproblems@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            51 minutes ago

            I mean, fine. But its easier to fix human written slop over AI slop solely because of the sheer volume of AI slop.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        3
        ·
        4 hours ago

        This is the first time a bug has been introduced into Linux, the AI apocalypse is truly upon us.

  • Gladaed@feddit.org
    link
    fedilink
    English
    arrow-up
    63
    arrow-down
    16
    ·
    8 hours ago

    The directive isn’t pro AI. It is pro results. It emphasized responsibility.