News for hackers. Stuff that matters.
Re:Copilot sells code other people wrote by jaywalk on Thursday June 23, 2022 @01:11PM (#31852135)
If your code is using a license that allows it, how could you possibly opt-out aside from using a different license?
Re:Copilot sells code other people wrote by sammax on Thursday June 23, 2022 @02:11PM (#31853023)
Don’t most licenses require at least attribution? I don’t believe GitHub is restricting themselves to only licenses that don’t. In fact the only software licenses I can think of that don’t require attribution are 0BSD, WTFPL, CC0, MIT-0 and Unlicense, and they all aren’t super popular. Also in some countries creators have inalienable moral rights which can be enforced regardless of the license. For example in Germany it is impossible to relinquish certain rights you have as the creator of a work, including the right to attribution.
Re:Copilot sells code other people wrote by TAForObvReasons on Thursday June 23, 2022 @02:17PM (#31853108)
This is an important and overlooked point. Even common permissive licenses (ISC / MIT / Apache-2.0) require attribution
Re:Copilot sells code other people wrote by jazzyjackson on Thursday June 23, 2022 @02:31PM (#31853315)
Just as a mind experiment: couldn't CoPilot just publish a list of every github user and attribute the work to all of them?
Re:Copilot sells code other people wrote by TAForObvReasons on Thursday June 23, 2022 @02:46PM (#31853508)
CoPilot is a black box at the moment. Microsoft claims they used the public corpus on GitHub. There are plenty of GPL, AGPL, and "source available" projects in the public corpus. So what exactly is the licensing?

The argument may make sense if they limited themselves to public-domain (CC0) works, but that is not what happened here. If CoPilot attributed something to an AGPL project, does it mean the "virality" applies to all projects that use code from CoPilot?

Re:Copilot sells code other people wrote by ntoskrnl on Thursday June 23, 2022 @03:27PM (#31854059)
There's also a good amount of commercial and leaked source code on GitHub, including MS's own leaked Windows XP source. I haven't played around with Copilot yet, but if I ever do I plan on copy/pasting some win32 API definitions to see if I can get it to spit out any of the leaked source.
Re:Copilot sells code other people wrote by yellowapple on Thursday June 23, 2022 @07:48PM (#31856463)
> if I ever do I plan on copy/pasting some win32 API definitions to see if I can get it to spit out any of the leaked source.

If that works, then I can't wait for that to be a boon for Wine and ReactOS: "Microsoft itself provided this code and allowed us to use it, so therefore it's totally legal. Neener neener."

Re:Copilot sells code other people wrote by rpd9803 on Friday July 01, 2022 @11:29PM (#31955925)
Some trivia: CC0 is a public domain declaration.. at least in the US. There is no process by which an author can make their works public domain, CC0 is just a (weak) promise that the copyright holder will treat the work as if it were public domain.
Re:Copilot sells code other people wrote by whoisthemachine on Thursday June 23, 2022 @03:14PM (#31853883)
This feels like a tool that can easily be destroyed by a lawsuit, I can't imagine a TOS can force you to give away your copy rights (especially if they allow and encourage you to post your own copyright).
Re:Copilot sells code other people wrote by kragen on Thursday June 23, 2022 @04:30PM (#31854750)
If it can't then Wikipedia is doomed; its entire licensing status rests on the notion that editors grant such a license as part of their clickwrap ToS.
Re:Copilot sells code other people wrote by bouke on Thursday June 23, 2022 @02:00PM (#31852863)
Does GitHub verify that the code that is in my repository is actually in accordance to the license that I’ve added? I could just upload any proprietary code with an incorrect license, and GitHub would just use that to feed their AI. Like any other dependency that you incorporate into your application, GitHub should verify/audit whether the license allows them to do so.
Re:Copilot sells code other people wrote by nickjj on Thursday June 23, 2022 @01:17PM (#31852228)
> If your code is using a license that allows it, how could you possibly opt-out aside from using a different license?

A repo setting that instructs Github not to use your code for Copilot, it could be a similar option as turning Discussions on / off.

If they really want to win developers over they would even have Copilot scanning disabled by default but that'll never happen.

Re:Copilot sells code other people wrote by quietbritishjim on Thursday June 23, 2022 @01:30PM (#31852436)
Even if Github did provide that setting, as a courtesy, someone could clone / fork the code to another repo (if you use any licence that allows it) and not enable that setting.
Re:Copilot sells code other people wrote by Inityx on Thursday June 23, 2022 @02:05PM (#31852933)
Sure that's possible, but there's a huuuge difference between Possible and Default Behavior.
Re:Copilot sells code other people wrote by TAForObvReasons on Thursday June 23, 2022 @02:58PM (#31853655)
In a case like this, GitHub itself could set up a bot account that forks all projects as soon as you make the switch. The company in fact would be incentivized to do so.
Re:Copilot sells code other people wrote by jonny_eh on Thursday June 23, 2022 @01:22PM (#31852316)
Sounds like you want a new license that just prohibits use by one company for one purpose.
Re:Copilot sells code other people wrote by thamer on Thursday June 23, 2022 @01:47PM (#31852682)
There are other AI-based code completion systems than Copilot, at least Tabnine[1] and Kite[2] come to mind, I'm sure there are more.

[1] https://www.tabnine.com/

[2] https://www.kite.com/

Re:Copilot sells code other people wrote by belter on Thursday June 23, 2022 @03:08PM (#31853803)
As of today there is a new one...

"Now in Preview – Amazon CodeWhisperer"

https://aws.amazon.com/blogs/aws/now-in-preview-amazon-codew...

Re:Copilot sells code other people wrote by widjit on Thursday June 23, 2022 @03:54PM (#31854368)
is there something wrong with that?
Re:Copilot sells code other people wrote by jonny_eh on Thursday June 23, 2022 @04:12PM (#31854561)
Not at all, you can put any license on your code that you want.
Re:Copilot sells code other people wrote by igneo676 on Thursday June 23, 2022 @03:08PM (#31853804)
I'm not sure using a different license actually opts you out. By merely hosting your code on GitHub you grant them the right to analyze your code on their servers[1]

They may be morally in the wrong, but I'm unsure they are legally in the wrong here. To boot, denying them the right to create this tool in your license is technically a violation of OSS principles and problematic

[1]: https://docs.github.com/en/site-policy/github-terms/github-t...

Re:Copilot sells code other people wrote by typetheorist on Thursday June 23, 2022 @03:28PM (#31854082)
> This license does not grant GitHub the right to sell Your Content. It also does not grant GitHub the right to otherwise distribute or use Your Content outside of our provision of the Service, except that as part of the right to archive Your Content, GitHub may permit our partners to store and archive Your Content in public repositories in connection with the GitHub Arctic Code Vault and GitHub Archive Program.

Wouldn't this be a violation?

Re:Copilot sells code other people wrote by okasaki on Thursday June 23, 2022 @01:15PM (#31852199)
Microsoft could provide an opt-out for projects or even contributors, regardless of licence.