5 ms·
If an individual hypothetically painstakingly searched through GitHub to see how others wrote an API call and copy-pasted, almost no one would have a problem wi
by ghaff 5y ago
If an individual hypothetically painstakingly searched through GitHub to see how others wrote an API call and copy-pasted, almost no one would have a problem with that even if they didn't attribute every little code snippet. But some are bringing out the pitchforks because ML can basically do that painstaking search (yes, I know it's not literally a search) so efficiently that it's actually (maybe) useful as a tool. But it's not fundamentally different from what many programmers do all the time.
- jeroenhd 5y agoIf large company violated my open source license, I'd certainly have a problem with it. Use my code all you want, but follow the basic rules. There's entire websites dedicated to GPL violations; people do care.
- ineedasername 5y agoIf the license allows commercial use, what would the GPL violation be in this case?
- hvis 5y agoGPL allows commercial use. Under certain conditions.
- jeroenhd 5y agoThe GPL allows commercial use, provided that you ship the source code to the software bundled with the GPL3 source code you use to your customers. Publish a mobile app on any app store with a GPL3 snippet and suddenly you must provide the source code to your entire app under GPL3 terms. That in turn might violate the licenses for the other libraries you use, so mixing libraries might permanently leave you open to lawsuits from either copyright owner. The GPL also inherently violates the Apple App store guidelines, so you cannot use any GPL snippets for iOS applications you plan to publish there. There's workarounds for GPL requirements (notable the web loophole, writing applications that don't distribute binaries but generate web content instead, thereby not violating the GPL by not providing the backend source code) but even that has dangers (for example, when you include a snippet of GPL3 code in your (compiled) Javascript code).
- a1369209993 5y ago> what would the GPL violation be in this case? Since it incorporates GPL source code, the entire copilot neural network needs to distributed under the GPL and - since it is a non-source form of the software - it's entire corresponding source (namely, the entire training dataset it was generated from) needs to be made available, also under the GPL, to anyone it's distributed to. (AGPL is a bit^Wlot more clear about the fact that remote interaction over a network is a kind of distribution, though.)
- nomercy400 5y agoUnless, it is searching through repositories which someone paid to keep private. What if that private key you accidentally committed, pushed, removed and pushed last week to your private repo is now showing up in everybody's Copilot?
- ghaff 5y agoI would hope they're not using private repos.
- zmmmmm 5y agoScale, intent and impact do actually matter in copyright. Copying a single API can be ok, and copying a million of them might not be OK. There's a reason for the word "fair" in "fair use". If a whole project was copied verbatim and the license violated I think everyone would agree that was wrong. So then is copying the same quantity of code across 1000 projects wrong? Is setting up a process and a system that does that systematically, at scale with intent and then commercialises the result wrong?
- ineedasername 5y agoDoesn't "fair use" limitations go out the window if the license is permissive enough to allow commercial use of the source code? As I've said in other comments, I still think this was the wrong way for GitHub to do this-- opt-in would have been much better-- but outside of licenses with commercial restrictions I'm not sure there's a license violation here, no more than scraping hundreds of public domain books to create paid reprints would be a problem, or using the same to create a corpus for NLP machine learning.
- TheCoelacanth 5y agoFair use wouldn't matter if you were distributing the code in a way that followed the license, but the vast majority of permissive licenses require including the copyright notice, which they don't do. Only niche licenses like WTFPL would be permissible to use like this without invoking fair use.