• BartyDeCanter@piefed.social
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    4 hours ago

    Ha! I recently went through a similar process, trying to get some hardware working for a different project that would close some 15+ year old bugs. AI helped me find it, getting sidetracked by several other small bugs in the same few files along the way.

    I then wrote the actual fixes myself as a series of very small PRs. They’re all just a handful of lines each, enabling certain hardware flags, properly bounds checking loops, getting a timer initialization corrected, etc. They are all the sort of thing that once you see where they are, the fix is extremely obvious.

    In the meantime, the project has adopted a very strict no AI assistance at all policy after some internal debate that almost tore the project apart.

    So now I’m sitting on almost a dozen fixes for longstanding problems and have no idea if I should lie and say yes, I found these entirely by myself, or tell the truth, probably get kicked out of the project, and see how much of a shit storm they cause.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      1
      ·
      edit-2
      3 hours ago

      Both extremes are absolutely maddening here. I’m getting as sick of the anti-AI crowd as I am the vibe-code-tech-bros. At this point you could just put them all in a sack and start hitting them with sticks and wouldn’t care who got the worst of it.

      There’s a definite middle-ground here. Linus is one of the ultimate pragmatists and it shows here. It was helpful - so he used it. It helped you so you used it. I’ve found it to be incredibly helpful so I use it.

      Not all usages are equal just as all hand-written code is not equal. There are good ways to use these tools and bad ways. But the tools themselves are still just tools.

      • Tarquinn2049@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 hours ago

        Yeah, it’s like a calculator. Don’t get reliant on it. Know why it gives an answer, be able to get to the answer yourself, but appreciate the time saving of the calculator when you can verify that it was correct much faster than getting to the answer yourself.

        • MangoCats@feddit.it
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          1 hour ago

          The art of using a digital calculator is being able to put in a problem that would take you a couple of minutes to solve, get the calculator’s answer in a couple of seconds, AND be able to spot-check the reasonable-ness of the answer in a couple of seconds more. Blind trust is ridiculously risky, cutting your speed by half to move from 99% correct to 99.99% correct is well worth the extra time and effort invested.

    • fubarx@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago
      • 1️⃣ Start screen recording yourself 🎦
      • 🦟 Fix the bug and write up the PR, except…
      • Throw in a lot of gratuitous emojis 🎉🏆🤝 – em-dashes – and “On the other hands”
      • 📤 Submit it
      • When they come 😡 screaming at you about no-AI, just show them the video 😎
      • All their outrage will be spent on accusing you of using 🤖AI.
      • Where it all started will be forgotten 🥳
      • Profit 🏆

      Comment written by 💯 human

    • kylian0087@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 hours ago

      Honestly 15+ year old bugs are also left in the linux kernel for people to pick up, Learn from and get deeper in kernel development. They know they can easily find them with a LLM but choose not to. Policy’s are changing due to the mass influx of these “bug” fixes.

      • MangoCats@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        1 hour ago

        There’s academic exercises for education. The production kernel used by billions around the world is no place to intentionally leave bugs, and it doesn’t matter how they’re detected. What matters is if they are corrected without creating regressions.

        • kylian0087@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          1 hour ago

          Not really… “Education” and real world are vastly different. Getting accustomed to a mailing list other maintainers etc is not something you learn with your education.

          And leaving bugs for hardware no one has touched in ages is not too big of a deal. And a nice gateway for new comers who actually want to learn it instead of trow a LLM at it.