News for hackers. Stuff that matters.
Re:A bitter pill for Microsoft Copilot by yepthatsreality on Saturday July 10, 2021 @11:00AM (#27793765)
Microsoft GitHub Copilot regardless of legality to me is a direct attack on OSS in an EEE manner. It is an abuse of the platform. It should have been opt-in. It pushed me ahead to remove my repos from GitHub over to Gitlab (love that instant import feature), repos will be private by default. I will be deleting my Microsoft accounts too. Already off Windows.

I also think the software development community should consider poisoning the well, even if it’s already legally poisoned.

Re:A bitter pill for Microsoft Copilot by pjc50 on Saturday July 10, 2021 @11:13AM (#27793885)
Someone should definitely sue them over this, to determine if the model is a "derived work" within the meaning of the GPL.

Someone should also release a model trained on the leaked Windows source code ..

Re:A bitter pill for Microsoft Copilot by 542458 on Saturday July 10, 2021 @11:23AM (#27794005)
People have sued over similar stuff in the past, like Google training their language model on copyrighted materials. The legal consensus is that a model trained on a large volume of copyrighted works does not infringe copyright, even if it occasionally vomits up chunks of the input model.

That said, if you trained a model specifically designed to violate copyright I suspect the courts would have a different opinion. They consider intent just as much as (if not more than) what you actually did.

Re:A bitter pill for Microsoft Copilot by ma2rten on Saturday July 10, 2021 @11:39AM (#27794133)
Do you have a reference? Does this cover generative models?
Re:A bitter pill for Microsoft Copilot by 542458 on Saturday July 10, 2021 @12:51PM (#27794715)
This is as good a starting place as any. https://ilr.law.uiowa.edu/print/volume-101-issue-2/copyright...

This might sound stupid, and maybe it is, but that’s the state of law right now. It’s possible somebody will drag out a big slam dunk case that overturns much of this or that new laws will be passed… but right now (as far as I can tell) Copilot looks pretty legal.

(Of course, talk to your legal counsel, this may vary be region, etc.)

Re:A bitter pill for Microsoft Copilot by ghaff on Saturday July 10, 2021 @11:44AM (#27794163)
Here is a discussion of the Author's Guild v. Google case: https://towardsdatascience.com/the-most-important-supreme-co...
Re:A bitter pill for Microsoft Copilot by ma2rten on Saturday July 10, 2021 @12:13PM (#27794387)
The article says it is unclear if it covers generative models.
Re:A bitter pill for Microsoft Copilot by lallysingh on Saturday July 10, 2021 @11:54AM (#27794233)
It's a bit different here. It's just supposed to regurgitate parts of it's input model.
Re:A bitter pill for Microsoft Copilot by 542458 on Saturday July 10, 2021 @12:49PM (#27794698)
Assuming GitHub isn’t lying, no it isn’t. They claim the vast majority of output is original, much like how GPT3 typically generates original text (although can sometimes output inputs verbatim). If that’s their intent and they haven’t deliberately tried to make their model output it’s inputs verbatim, then they’re good. Remember, there’s a big sampling bias online towards people sharing bits of code that are obvious verbatim inputs - you don’t see all the ones that aren’t.
Re:A bitter pill for Microsoft Copilot by maxerickson on Saturday July 10, 2021 @11:09AM (#27793847)
Moving to Gitlab wouldn't stop them pulling code into the model would it?

I get that it still makes a statement.

Re:A bitter pill for Microsoft Copilot by dreamcompiler on Saturday July 10, 2021 @11:16AM (#27793931)
It would if the repo is private. But that defeats the purpose of OSS.
Re:A bitter pill for Microsoft Copilot by yepthatsreality on Saturday July 10, 2021 @11:35AM (#27794095)
Voting with your wallet for extra points.
Re:A bitter pill for Microsoft Copilot by Kiro on Saturday July 10, 2021 @11:15AM (#27793908)
I personally don't understand the anger. I don't care if a human or an AI use my code. I open sourced it to be used by anyone, big corps included.
Re:A bitter pill for Microsoft Copilot by happymellon on Saturday July 10, 2021 @11:20AM (#27793972)
Because when you OpenSource and use the BSD license, then they are in violation since they will not provide you credit.

No one should use this, because you could easily be a derivative of something else and you are not in control of your own license.

Re:A bitter pill for Microsoft Copilot by visarga on Saturday July 10, 2021 @02:00PM (#27795214)
Making a small quote adapted to your use case and variable names is more like human learning than abusing GPL projects wholesale.
Re:A bitter pill for Microsoft Copilot by happymellon on Saturday July 10, 2021 @02:37PM (#27795462)
Who said GPL?

If you copy something from a BSD licensed software you should credit them.

Re:A bitter pill for Microsoft Copilot by marcodiego on Saturday July 10, 2021 @11:19AM (#27793946)
What you say only makes sense if your code is licensed under something similar to public domain. Some licenses, like the GPL, require derivative works to use the same license.
Re:A bitter pill for Microsoft Copilot by speedgoose on Saturday July 10, 2021 @11:35AM (#27794093)
Is it derivative work though? I don't think reading GPL code requires me to only write code under the GPL license.
Re:A bitter pill for Microsoft Copilot by roblabla on Saturday July 10, 2021 @11:48AM (#27794196)
No, simply reading GPL code doesn't poison you (though it does put you in an awkward position), but copy pasting gpl code straight into your codebase is a copyright violation unless you can prove fair use. And copy pasting GPL code is what Microsoft Copilot has been repeatedly shown to do.
Re:A bitter pill for Microsoft Copilot by ghaff on Saturday July 10, 2021 @12:02PM (#27794295)
First of all, none of this matters if the resulting code isn't distributed in some manner. For an internal app, for example, none of this matters.

Secondly, it's pretty much obvious that fairly trivial (and, frankly, probably not so trivial) code snippets are reused/reworked from various sources all the time. This makes it hard for me to see Copilot as this new and existentially harmful thing.

Re:A bitter pill for Microsoft Copilot by guitarbill on Saturday July 10, 2021 @12:17PM (#27794427)
People use different licences, because they want different things, e.g. attribution, or that improvements be contributed back, or nothing.

It is harmful to open-source, because if these wishes are not respected, people will stop contributing and stop open-sourcing things.

Re:A bitter pill for Microsoft Copilot by marcodiego on Saturday July 10, 2021 @12:47PM (#27794679)
For the GPL it matters even if it is distributed in binary form. For AGPL it matters if you make a service available.
Re:A bitter pill for Microsoft Copilot by visarga on Saturday July 10, 2021 @02:05PM (#27795246)
AGPL projects will benefit from these huge coding models like everyone. This puts all code in an open position.
Re:A bitter pill for Microsoft Copilot by Kiro on Saturday July 10, 2021 @01:49PM (#27795138)
From what I can see it has only been "repeatedly shown to do" it when you explicitly try to force it to do it (e.g. adding those Quake specific comments to bring out the fast inverse square root code). I want to see a serious analysis of Microsoft's claim that it only happens 0.1% of the times. Has it actually been debunked?
Re:A bitter pill for Microsoft Copilot by skeeter2020 on Saturday July 10, 2021 @12:02PM (#27794297)
>> but copy pasting gpl code straight into your codebase is a copyright violation unless you can prove

This is not true. The copied code needs to be distinct and uncommon; a tiny snippet is very unlikely to meet this requirement.

Re:A bitter pill for Microsoft Copilot by roblabla on Saturday July 10, 2021 @12:32PM (#27794558)
That's true, but some of the copy pasting that Copilot indulges in would absolutely fulfill that requirement. See: copilot copy pasting quake's inverse square root function: https://twitter.com/mitsuhiko/status/1410886329924194309

Copy pasting a one-line snippet may be OK, but copy pasting a full function is already much more of a grey area.

Re:A bitter pill for Microsoft Copilot by jefftk on Saturday July 10, 2021 @12:53PM (#27794731)
The Quake case is a pretty non-central example, because that particular function has been copied verbatim into many code bases.
Re:A bitter pill for Microsoft Copilot by speedgoose on Saturday July 10, 2021 @01:29PM (#27795005)
This fast inverse square root function is also getting old. If it was a software patent, which are not recognized in many places, it would have expired a few years ago.
Re:A bitter pill for Microsoft Copilot by roblabla on Saturday July 10, 2021 @05:52PM (#27796718)
We're discussing copyright though, not patents, which for better or worse, have terms of almost a century.

In the US, the copyright lapses 95 years from publication, or 120 years from creation, or 70 years from author death, whichever is shortest.

So the inverse square root function will stay copyrighted until 2100 (the source was published in 2005 I believe).

Re:A bitter pill for Microsoft Copilot by jefftk on Saturday July 10, 2021 @06:47PM (#27797014)
This is minor, but it's at least a bit older than that. Via Wikipedia I found a link to the code on a Chinese forum in 2000: https://web.archive.org/web/20150702180504/http://bbs.csdn.n...
Re:A bitter pill for Microsoft Copilot by pittmajp on Saturday July 10, 2021 @11:47AM (#27794190)
Could the derived work be created without the source?
Re:A bitter pill for Microsoft Copilot by marcodiego on Saturday July 10, 2021 @11:16AM (#27793923)
It is only an attack on OSS if licenses like the GPL are not respected. If copilot simply copies code it was trained on, it is more of a threat to proprietary software, since any sufficiently large copy from GPL'd software would have to be GPL licensed too.

If GPL is respected, copilot may help many proprietary softwares to be open source re-licensed. That should be seen as a positive outcome from FLOSS supporters.

But it is not easy to predict exactly what will happen and how people and companies will behave.

Re:A bitter pill for Microsoft Copilot by philipov on Saturday July 10, 2021 @11:31AM (#27794060)
If their use of GPL'd code is fair use, then they are probably not required to respect any restrictions the licenses places on the use of that code.
Re:A bitter pill for Microsoft Copilot by yepthatsreality on Saturday July 10, 2021 @11:28AM (#27794041)
I’m actually wondering why you would release such a product as it seems like a path to software developers unionizing.
Re:A bitter pill for Microsoft Copilot by canadianfella on Saturday July 10, 2021 @11:22AM (#27793987)
Softwares? Software is plural.
Re:A bitter pill for Microsoft Copilot by craftinator on Saturday July 10, 2021 @12:15PM (#27794400)
Actually, they both are correct. "Softwares" has a different and older connotation to it, but both are acceptable in English.
Re:A bitter pill for Microsoft Copilot by matz1 on Saturday July 10, 2021 @11:34AM (#27794085)
I welcome this attack, to me all code should be free of any restrictions, like WTFPL.

Information want to be free.