News for hackers. Stuff that matters.
Re:Open source body quits GitHub, urges you to do the same by jillesvangurp on Friday July 01, 2022 @06:20AM (#31944478)
Correct. Co-pilot is simply operating under the current interpretation of copyright law, which has provisions for fair use which is actually very important for how software development works. Fair use is crucial. Without that we can't implement proprietary APIs or allow ourselves to be inspired by other people's work. The samples of code you get from co-pilot aren't any different from those you find in a book (copyrighted and typically not OSS), on stackoverflow, or code you have seen somewhere else (for example on Github). And programmers use all of the above. If you don't like that, keep your code proprietary and refrain from publishing it.

In the same way, Google is making use of fair use by providing website titles, summaries, book samples, etc. There has been some controversy with news about them taking that too far. But by and large, they are still legal. And people of course have tried to challenge that in courts. It's just small samples being distributed, not a complete work. There are lots of examples of companies depending on fair use for all sorts of things. E.g. quoting an author or paraphrasing their work is fine. You don't need their permission for that.

Also another point here is that it isn't necessarily just MS that would be violating copyright (if the above somehow wasn't the case) but the receiver of the auto-completed code that ends up distributing that code. Because it is that code that ends up being distributed. All MS does is show you some code sample, it's the programmer that decides what to do with it. Whether you receive your sample from Stackoverflow, co-pilot, or a book is not relevant: you are responsible for the code you distribute.

Finally, the Github terms of use give Github some rights to doing things to your code if you choose to put it on Github. That probably also covers what they are doing with Github Co-pilot. That's a valid reason for removing your code from Github if you don't agree with that but of course no guarantee that Github Co-pilot would not crawl external public git repositories or that whomever you pick as an alternative wouldn't have some similar legalese in their terms of use. If these things matter to you, review it. Just because Gitlab hasn't launched a co-pilot competitor doesn't mean they couldn't.

Re:Open source body quits GitHub, urges you to do the same by wiz21c on Friday July 01, 2022 @07:50AM (#31945090)
As a GPL code auhtor, I gave anybody the right to use my code as a complete program or to build derivative programs that have a strong tie with my original code (derivative work).

I didn't envision that my code would be split into tons of little code snippets and then sold around. Doing so, the spirit of the GPL-isation of my software has been betrayed.

There's also a free flow of information argument. Citing pieces of my code is good for that flow. But MSFT doesn't seek free flow here, it seeks a money-making flow. So I disagree.

I understand your explanation and somehow, it sounds right on the pragmatic level. But on the idealistic level, it sounds wrong :-/

Dunno...

Re:Open source body quits GitHub, urges you to do the same by jillesvangurp on Friday July 01, 2022 @09:47AM (#31946308)
It's right in the legal sense. Until someone with a smart lawyer proves it wrong in a court and gets the judge to agree. Ideology does not factor into the interpretation of the law by judges in court cases. Only in the making of the law (by politicians).

On balance, you are distributing software that is copyrighted (nothing you can do about that). The GPL gives users some limited permissions that undo some of the restrictions that come with copyright. Fair use applies to copyrighted material regardless of the license and is not something you can actually restrict with a license. That kind of is the whole point of fair use. So, the GPL, it's (supposed) intentions, and idealism don't factor into the equation here. That's just not how it works.

Sorry to burst your bubble.

Re:Open source body quits GitHub, urges you to do the same by leereeves on Friday July 01, 2022 @11:35AM (#31947902)
> Ideology does not factor into the interpretation of the law by judges in court cases

It certainly does. That's one big reason why judges often disagree and judges' rulings can often be predicted by which party appointed them.

But the copyleft ideology in particular rarely factors into court cases, because few judges care about it.

Re:Open source body quits GitHub, urges you to do the same by chiefalchemist on Friday July 01, 2022 @07:08AM (#31944764)
Yes. But I'm under the impression the core issue is GH charging $10 p/m for CoP, not CoP itself. That is, taking what should be free and adding a price tag.

Or maybe I've misread the article?

Re:Open source body quits GitHub, urges you to do the same by nine_k on Friday July 01, 2022 @07:40AM (#31945002)
Charging money for GPL'd software is explicitly allowed [1].

I suppose this is how e.g. Red Hat operates.

[1]: http://www.gnu.org/philosophy/selling.html

Re:Open source body quits GitHub, urges you to do the same by chiefalchemist on Friday July 01, 2022 @07:45AM (#31945040)
So then what exactly is the article objecting to? Sorry, I musta missed something.
Re:Open source body quits GitHub, urges you to do the same by nine_k on Friday July 01, 2022 @07:53AM (#31945131)
The article does not; the comment I answered to, yes.