News for hackers. Stuff that matters.
Re:Copilot regurgitating Quake code, including sweary comments by vmception on Friday July 02, 2021 @09:33AM (#27711280)
why not? it can just generate an attribution file or reminder
Re:Copilot regurgitating Quake code, including sweary comments by gpm on Friday July 02, 2021 @09:34AM (#27711299)
Because it's an opaque neural network on the backend, it doesn't know if or from whom it copied code.
Re:Copilot regurgitating Quake code, including sweary comments by buu700 on Friday July 02, 2021 @09:51AM (#27711525)
Could they handle this by generating a collective attribution file that covers every (permissively licensed) repository that Copilot learned from?

Of course this would be massive, so from a practical consideration the attribution file that Copilot generates in the local repository would have to just link to the full file, but I don't think that would be an issue in and of itself.

Re:Copilot regurgitating Quake code, including sweary comments by gpm on Friday July 02, 2021 @10:03AM (#27711652)
Maybe? Might depend on the license, I doubt the courts would be amused.

Almost certainly a link would not suffice, basically every license requires that the attribution be directly included with the modified material. Links can rot, can be inaccessible if you don't have internet access, can change out from underneath you, etc.

(I am not a lawyer, btw)

Re:Copilot regurgitating Quake code, including sweary comments by buu700 on Friday July 02, 2021 @10:18AM (#27711821)
Makes sense. Maybe something like git-lfs/git-annex would be sufficient to address the linking issue, but it seems like the bigger concern is whether a court would accept this as valid attribution. In a sense it reminds me of the LavaBit stunt with the printed key.
Re:Copilot regurgitating Quake code, including sweary comments by joeyh on Friday July 02, 2021 @11:05AM (#27712448)
I think a judge could be persuaded that a list of every known human does not constitute a valid attribution of the actual author, even though their name is on the list. The purpose of an attribution is to acknowledge the creator of the work, and such a list fails at that.
Re:Copilot regurgitating Quake code, including sweary comments by buu700 on Friday July 02, 2021 @11:25AM (#27712727)
Makes sense. That's probably the best interpretation here. Any other decision would make attribution lists optional in general for all practical purposes.