• ChilledPeppers@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    168
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Everyone dooming here, but he literally just said that AIs are finding lots of glitches in old code, and that for that reason updates are getting bigger. Linus is NOT vibe coding linux.

    And recently ground breaking privillege escalation glitches were found and fixed because of a LLM.

    Of course we dont want shitty code from LLMs, but if they find important glitches and vulnerabilities, we obviously need to use them.

    Fixed: replaced mistyped Ws with Es

  • shirro@aussie.zone
    link
    fedilink
    English
    arrow-up
    43
    ·
    3 months ago

    Using LLMs to analyze code for problems makes a lot of sense. It is just an extension of the rule based analysis we already do. It is very much a better hammer rather than a replacement of labour/thinking/taste. The programming languages we use are often difficult for humans to reason about reliably and hide a lot of errors. Our programming languages still suck (yes even Rust). If one day clang of gcc ships with a local LLM to lint code for security problems I would probably run it occasionally even on my hobby code despite being an AI hater.

    If people are identifying errors using LLMs and fixing them by hand I am fine with that. It seems like a good use of the technology. If they start vibe coding drivers I want it declared so I can disable them or move to BSD.

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      If one day clang of gcc ships with a local LLM to lint code for security problems I would probably run it occasionally even on my hobby code despite being an AI hater.

      Compilers already have deterministic linters built in, devs often turn them off anyway.

      Quite a lot of the bugs being found in existing codebases show up as soon as you re-enable them.

    • yeehaw@lemmy.ca
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      4
      ·
      3 months ago

      Just when Linux started getting really good too with game support.

      While I love BSD, three just not enough support for running it on desktop. Lack of drivers and good luck playing modern games.

    • jimmy90@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      3 months ago

      how about checking it and working it out for yourself?

      or maybe even reading the article

      jesus

  • piyuv@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    16
    ·
    3 months ago

    Hyping up AI doesn’t become nice when Linus does it.

    He can be a legendary developer, a better one than I’ll probably ever become, but I just don’t see how one can separate the use and the ethical implications of this. AI companies want to replace workers, period. There’s no plan to “increase productivity” and still employ this many people. The plan is to increase profits for shareholders.

    AI helping Linus to develop better doesn’t make this reality go away. It’s akin to saying we should be thankful to nazi scientists.

  • inclementimmigrant@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    3 months ago

    And we just had a post about how Linux has avoided enshitification.

    Small changes driven by AI right now are hopefully being reviewed and controlled by experienced and knowledgeable senior developers, for now. Let’s see how long that will last before they stop understanding what’s going on in the kernel.

  • jaykrown@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    3
    ·
    3 months ago

    All the sloppers are torn about this, but Torvalds has undeniable mastery at this, so it’s great to see AI being used as a beneficial tool. If there’s a single person who should have unlimited access to the most powerful AI models, it should be Linus Torvalds.

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

    AI finds bugs and holes that wouldn‘t be a problem if AI didn‘t discover them. I really don‘t envy devs for dealing with this nowadays.

      • CosmoNova@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        3 months ago

        Not really how it plays out. In reality safety issues of a magnitude that only surfaced once a decade are now found by AI every few weeks, showcasing that AI itself poses the biggest threat for cybersecurity today. The overwhelming majority of them would have never been found or exploited without AI.

  • Zannsolo@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    Meanwhile I’m asking ai to code review a snippet of code for a regex and it keeps saying it’s wrong every time I paste the previous answer in a new chat.

    • Theoriginalthon@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months ago

      I asked it to generate a SQL query with a bit of python, as the database schema is huge and unknown to me, obviously I checked it for glaring errors etc. I went back and clarified a couple of basic points. It then told me what I was doing was completely wrong, generated new code that worked is a different way, with a different edge case missed.

      It’s literally stack overflow but arguing with itself

    • flying_sheep@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      That’s how you’re writing a regex validator that’s almost always correct!

      def is_regex_valid(p: Pattern | str, purpose_description: str):
          return False
      
  • MrSmith@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    6
    ·
    edit-2
    3 months ago

    Slopux? LLLinux?

    Doesn’t ring as well as Microslop, but we’ll get there.

  • Kaligalis@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Everyone is like “damn AI is making kernel be too big!!111” while Linus is like “Tons of genuine fixes and improvements found/made with AI lead to a lot of commits being the norm. Lots of review work, but definitely worth it.”

  • A_A@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    3 months ago

    Natural stupidity in part fixed by Artificial intelligence debugging. Good.

  • kescusay@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    15
    ·
    3 months ago

    Ugh. If this makes my Linux systems less stable, I don’t even know what the fuck I’m going to do. I won’t go back to Windows, I’m not buying Macs (which have their own software problems anyway), and my hardware probably won’t work with any BSD variant.

    • Korkki@lemmy.ml
      link
      fedilink
      English
      arrow-up
      61
      arrow-down
      1
      ·
      3 months ago

      What Linus is saying that LLM review is finding decades old esoteric bugs in the kernel code, like dirtyfrag. And the amount of bugfixes and mitigations are pushing the update sizes up. This is making the kernel more secure and stable in the long run. It will be just a rocky couple of years.

      they are NOT vibe coding the kernel.

    • sun_is_ra@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 months ago

      Ironically those are all bug fixes.

      “But it is what it is: the new normal with a lot of fixes, many of them due to review by various AI tools.”

  • Gokay BURUCH@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    6
    ·
    3 months ago

    It was good old times before the AI fucked up everything. So we need to keep the old distro’s to use them as long as possible. Huge updates means AI will kill the joy of Linux.

    Fuck you, Linus and fuck you AI!