News for hackers. Stuff that matters.
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?