• Ooops@feddit.org
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    1 day ago

    The point was more about T’so’s “The bulk of the new lines was caused by adding KUnit tests, which makes it safer to validate AI generated patches” and how he shouldn’t litter in the kernel instead of doing his tests in a separate branch.

    Which is so stupid that the “tell your AI companion to get its act together” was warranted.

    But at this point I just find it really funny how any of Linus comments and statements is construed as a) stupidly pro-AI, b) stupidly anti-AI or c) stupid, because he changed his stance on AI (again), solely for the reason that neither side in this ridiculous ideological mud-fight ist willing to accept actual sane arguments that AI is just a tool instead of either our new lord and saviour or the devil incarnate, thus they need to reframe everything Linus says to fit their insanity.

    • AliOski@feddit.nl
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 day ago

      Agreed

      The thing about the KUnit tests is just flying a little over my head because I have no idea what those are. That’s why the timing part was sticking more with my memory

      • tempest@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        22 hours ago

        k(ernel)unit is the unit test framework for the Linux kernel.

        Unit tests are code that test little pieces of code in your code base to make sure it does what you intend it to do. Usually by calling those parts of code with inputs and checking that the code returns outputs that are intended. If I have code that adds numbers I can test that it returns 4 when told to add 2 plus 2.

        This is very helpful for AI coding because tests essentially describe what you the developer expect the code to do. It helps the LLM understand the intention and check that it’s changes have not broken anything.