• istdaslol@feddit.org
    link
    fedilink
    arrow-up
    17
    ·
    12 hours ago

    Well of course Debian won’t allow anything unstable and AI code isn’t old enough to own a horse

  • HaraldvonBlauzahn@feddit.orgOP
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    15 hours ago

    In the other corner, Proposal B seems to lay out something similar to how AI-generated code is handled on the Linux kernel. The proposal allows AI-generated code only if the submitter takes full accountability for it, ensures it’s free of copyright issues, and declares any LLM usage.

    Assuming full technical responsibility would probably make most AI-generated code pointless, as the whole point of using AI this way is that generating code saves work. Which is not any more the case if the result is really fully reviewed.

    This is different from using AI for vulnerability scanning (as it is practised in the Linux kernel.

    The other thing is there is no way one can declare AI generated code safely free of copyright isses. You’d need to prove that the result code was not contained in the training data - which is not possible.

    • gian @lemmy.grys.it
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      13 hours ago

      Assuming full technical responsibility would probably make most AI-generated code pointless, as the whole point of using AI this way is that generating code saves work. Which is not any more the case if the result is really fully reviewed.

      When you submit code that you write you take responsibility for it, irregardless of the tools you use. AI generated code should not be different in this aspect.
      You can use AI to generate code but you should review it anyway, at least at the basic level to make sure that it does not contain obvious bugs and do what it is supposed to do.

      The other thing is there is no way one can declare AI generated code safely free of copyright isses. You’d need to prove that the result code was not contained in the training data - which is not possible.

      Which itself should make people to avoid to use AI generated code for anything else than playing around.

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      arrow-down
      10
      ·
      14 hours ago

      Disagree on your first point. AI will generate code that is mostly correct, the human time cost of (properly) reviewig this code and correcting it is generally less than also writing it. People that do more serious work than vibe-coding oneshot skateboard simulators in html do actually get noticeable productivity boosts even when every generated line of code is reviewed by multiple people.

      That is why the kernel allows it, because they mostly care that a human is around that will take responsability for it, that the patches are of the same quality than always and that everything is manageable by humans. This is in contrast to the techbro github repo with commits that span 20 files and 2k edits where there is no hope in hell to understand what is going on.

      • KitB@feddit.uk
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        12 hours ago

        It is a very well known truism that it is harder to debug code than it is to write it. This is, in my experience, doubly true of the convoluted code generated by current frontier LLMs.

        Allowing LLM coding at our org basically stole most of this year’s progress from us as every PR made this way still has yet to be merged because the code quality just never reaches anywhere near our minimum requirement.

        We are investigating ways to improve this (a style guide for agents etc) but the best step we’ve taken so far is just to ask people to stop using it and see what happens. (Code quality jumped up and PRs started getting merged, though the LLM ones are still languishing and probably will need rewriting from scratch before we can merge them)

          • KitB@feddit.uk
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 hours ago

            That doesn’t change the fact that it’s harder to properly review code than to write code, especially when that code is ten times longer than it needs to be, makes no sensible decisions about how to separate concerns, and might, if you’re lucky, pay lip service to naming things well.

            I don’t necessarily think this will always be the case with generated code, but I expect we’ll need a proper breakthrough in the technology before it can write good code (it needs a number of things: actual world models, the ability to go back and edit its output when it realises a mistake – which is crucially different from saying a new thing that contradicts the mistake – and continual learning, to name the three that spring to mind).

            Even if it started writing perfect code, I’d be dubious of signing your org’s ability to write code away to a service that you don’t own and has a notable history of intellectual property infringement and an insane disregard for both the law and morality. At the very least we should all be using open weights models.

      • HaraldvonBlauzahn@feddit.orgOP
        link
        fedilink
        arrow-up
        14
        arrow-down
        1
        ·
        edit-2
        14 hours ago

        AI will generate code that is mostly correct, the human time cost of (properly) reviewig this code and correcting it is generally less than also writing it.

        I do not see it play out like this in practice, for example at my workplace. The work of debugging, reviewing, verification, and maintenance is simply offloaded to other people. Which, as a result, have more work, not less.

        • Eggymatrix@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          6 hours ago

          The people running the agent need to be looking at the code and cleaning it, not someone else, that is the key thing that is missing in all these failures. Linux is the same, they would never accept something that has not at least the same quality as something written by a competent human

      • raspberriesareyummy@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        8
        ·
        14 hours ago

        AI will generate code that is mostly correct, the human time cost of (properly) reviewig this code and correcting it is generally less than also writing it

        Just calling LLMs “AI”, you disqualified yourself from being able to assess what proper programming is about.

        That said, your statement is also objectively false in all other aspects.

        • Eggymatrix@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          6 hours ago

          I am a software dev with more than 10 years of experience I have code in production and need to support legacy systems. I am trying to explain how I found a way to use this stuff in helping me in doing my job and getting food on my family’s table, but sure buddy I don’t know what I am talking about.

          • raspberriesareyummy@lemmy.world
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            5 hours ago

            I have had to debug code of “software devs with more than 10 years of experience” often enough to know experience does not equal skill. If you think slop generators are helping you, while you by violating the licenses of all developers whose code went into the training data, then you apparently did not invest those 10 years well.

            • Eggymatrix@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              4 hours ago

              Ok thought you where a crusader, I am sure you also are against systemd and probably a rust keyboard warrior too eh?

        • dan@upvote.au
          link
          fedilink
          arrow-up
          5
          ·
          14 hours ago

          LLMs are a subset of AI though. They’re a use case of generative AI, which is a subset of deep learning, which is a subset of machine learning, which is a subset of AI.

          • raspberriesareyummy@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            13 hours ago

            LLMs are a subset of AI though.

            Obviously, but all machine learning systems that I am aware of - and definitely the generative ones - lack the “I” in AI in their core processing. I won’t dispute that there’s actual deterministic algorithms implemented before and after the core processing, to handle grammar rules etc. But there’s a huge danger in accepting the term “AI” for the slop machines of today. Gullible people will mistake linguistically sophisticated output for actual understanding, and trust the output to be correct. Less gullible people have the obligation (imo) to set that record straight every time the topic comes up. Because gullible people vote, too - and they will otherwise be fine with slop machines controlling critical infrastructure the malfunction of which may be lethal.

            And OP made the outrageous claim that reviewing and correcting LLM output would be less effort than “also writing it”. Even if LLMs did not, as they do, tend to generate a lot of garbage code to throw at tiny problems, and even if they did not MASS VIOLATE LICENSES AND COPYRIGHTS (yes, that makes me angry), the time spent on developing an all but trivial algorithm is a constant back and forth between writing it, reviewing it and tuning it. The actual writing of code is negligible compared to the amount of time a serious developer has to spend thinking about what a line of code does, and what it does not do.

            The only people that “benefit” from LLM generated code are people who would otherwise not be able to piece together a stable bit of software beyond a “Hello World”, and now they break out of their sandboxes and waste the time of actual developers with their slop pull requests. One could almost assume this was an intended side effect by big corporations to kill the trust and efficiency in open source projects.

          • HaraldvonBlauzahn@feddit.orgOP
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            13 hours ago

            And “AI” in general, and in a technical sense, is just a label for a set of techniques which have the common goal that computers solve certain, hitherto unsolved, complex tasks. The content of the set, and thus the exact meaning of the label changes over time. For example recognition of handwritten digits, graph algorithms e.g. for route planning, or backtracking algorithms playing board games were once considered AI, but aren’t today.

            Which is separate from the mere belief that computers will become as “intelligent” as humans - this is a kind of belief system with some quasi-religuous aspects.

            It would be better to not call it “AI” but “experimental novel computing methods”, leaving out the quasi-religuous stuff…

  • eremophila@lemmy.zip
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    14 hours ago

    The ‘old’ article seems to have deliberately missed a lot, and the headline is perhaps misleading? It is perhaps likely that debian expanded on A vs B since the article was written

    I was unable to find anything more recent than what has already been posted on lemmy, based around the vote linked below, that contains a lot of long-winded potential outcomes, mainly of which seem deliberately verbose?

    https://www.debian.org/vote/2026/vote_002

  • geneva_convenience@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    12 hours ago

    Isn’t there already the racist European guy making an AI linux distro? What’s the point of Ubuntu embracing it