• vxx@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    22 hours ago

    Would you consider it your own code or Code that was generated by AI?

    • lepinkainen@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 hours ago

      It’s a weird gray area. Nobody really knows where the limit is. The current consensus is that for a fact the “AI” can’t own a copyright to anything.

      How smart can an autocomplete be before it takes away your copyright? Does using snippets count? How smart can the snippet engine be at filling the template?

      If I ask AI how to solve something but write the exact same code myself, is it mine?

      It If I grab code from stack overflow, does it make it mine?

      • petrol_sniff_king@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 hours ago

        It’s a weird gray area. Nobody really knows where the limit is.

        This is a “no.” If you can’t just say yes, that’s a no, buddy.

        If I ask AI how to solve something but write the exact same code myself, is it mine?

        You know, colleges figured this one out: it’s called “plagiarism.”

        • lepinkainen@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 hours ago

          It’s not me saying it, it’s the lawyers. The jury is quite literally out own where the copyright lies on AI generated content. The only definite verdict has been that the AI itself isn’t it.

          But whether it’s the one who created the model, prompted the model or the ones whose data was used to teach the model 🤷🏻‍♂️ Wibbly wobbly timey wimey

          I get regular briefings about this at work, because we have really good lawyers who actually read contracts of the services we use. And have banned multiple ones due to … creative copyright clauses in their contracts.

          As for your “generated code is plagiarism” argument, do you have any precedents on that because I’d be interested in reading the verdicts? If true it’s a massive game changer for many industries and open so fucking many companies to lawsuits.

          • petrol_sniff_king@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            13 hours ago

            Mate, you were asked if code that was written for you was in fact your code and you’re talking about copyright. You’re off in the woods. You are so deep in the poisonous bog, I don’t think it’s possible to pull you out.

            I think you get regular briefings at work on how to be, like, a business narcissist. Much like Tommy Tallarico, the inventor of music in video games.

            • lepinkainen@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 hours ago

              But what is “my code”?

              If I solve a problem but it turns out later I had read a solution to this problem somewhere and inadvertently copied it. Is it my code?

              If I use a Jetbrains provided built in template for a function and just fill in the variables, is it my code?

              What if I just accept it as is, still my code?

              If I copy a solution verbatim from Stack Overflow or a book, is it my code?

              If I iplement a well known algorithm, is it my code if it looks exactly the same as a billion other implementations of the same thing? Can you tell whether I wrote it or just copied someone elses code?

              What if Intellisense autocompletes a full function, is it my code?

              What if the autocomplete is powered by a LLM, is it my code?

              Can anything except a full clean-room implementation on a computer with no internet access be “my code”?

              Please tell me, as you seem to have this thing nailed down. I work with this stuff every day and I’m mostly in the dark about where the line between “my code” and “too much autogenerated, no copyright or even copyright ifringement” goes.