• poVoq@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    No one is claiming that the co-pilot is magically putting all code it suggests in the public domain. That is just a strawman argument.

    If the code sippets it suggests have insufficient technical complexity to be considered a copyrightable piece of information, then like any other such text snippet (regardless of the source) is in the public domain. This is half or single line type of auto-completion level stuff.

    If the programmer choses to continually pressing the autocomplete button so that a sufficiently complex piece of code is pasted into their editor, then that programmer has to be aware that this is likely a copyright violation, just like if he or she was cut and pasting large code pieces from stackoverflow or any other source where the license isn’t clear.

    • nutomic@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Will copilot warn the original author of the stolen code in that case, so that they can sue the copyright violator? Why does copilot even allow inserting more than one line in that case? If you are right that means that it is actively enouraging copyright violation, which puts it on the same level as thepiratebay.org.

      • poVoq@lemmy.mlOP
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        3 years ago

        Will your preferred code editor warn the original author that you just cut an pasted some copyrighted code into it? How would it even know?

        It allows inserting more than one line because it is dumb and can not know if the piece of code it referenced is copyrighted or not and who wrote it. It just looks at the immediate context of the place of your cursor, then looks at its database where it says “usually these three words are followed by these other three words or letters” and then suggests that (very simplified speaking).

        And no it is not anywhere close to the Piratebay ;)