News for hackers. Stuff that matters.
Re:GitHub Copilot and open source laundering by ghoward on Thursday June 23, 2022 @01:42PM (#31852608)
No, people are not allowed to just read code on the Internet and then write code themselves. It depends on what the code is that they write and how similar it is to the code they read and how creative the original code is.

For example, I'm developing an algorithm to merge two binary files of the same type, a completely new algorithm. Say someone reads the code for that algorithm when I am done and implements the same thing using the same algorithm, but refuses to put the AGPL on it (because that will be the license). Are they infringing? Absolutely.

This has, in fact, happened with the Fast Inverse Square Root algorithm, whose code is under the GPL. Copilot reproduced it verbatim, including swearing comments. [1]

People are not being ridiculous about this because it has already happened!

EDIT: Fixed a small mistake.

[1]: https://twitter.com/mitsuhiko/status/1410886329924194309

Re:GitHub Copilot and open source laundering by zBard on Thursday June 23, 2022 @02:09PM (#31852997)
'Fast Inverse Square Root algorithm, which is under the GPL'

The algorithm isn't under GPL, the code is. John took the algorithm itself from code which was written earlier.

Re:GitHub Copilot and open source laundering by haskellandchill on Thursday June 23, 2022 @04:00PM (#31854438)
Even if I play your dumb games the tool just suggests code the user can then choose to infringe or not.
Re:GitHub Copilot and open source laundering by ghoward on Thursday June 23, 2022 @04:27PM (#31854727)
The user has no idea about the provenance of the code they receive, so they can't know it they are infringing or not. If that is the case, then suggesting that users should merely choose to not infringe is equivalent to suggesting that users should not use Copilot at all.