News for hackers. Stuff that matters.
Re:Copilot sells code other people wrote by bayindirh on Thursday June 23, 2022 @08:41AM (#31848220)
If that's under a copyleft license, I can't just copy & paste it under my non-copyleft licensed code and call it mine.

That's as simple as that.

Re:Copilot sells code other people wrote by sidlls on Thursday June 23, 2022 @08:48AM (#31848294)
It can’t be that simple. The function in the GP is not an original idea and is far too simple to merit protection just by slapping a license on it.
Re:Copilot sells code other people wrote by bayindirh on Thursday June 23, 2022 @08:59AM (#31848425)
I don't expect, or support, licensing that small amount of code, and suing everyone to oblivion.

The point I'm trying to make is if something is under a copyleft license, you can't copy and paste it verbatim to something non-copyleft. It's what the license says.

Also, to be pedantic, the function I'm commenting on is pure maths, and you can't license/patent mathematics.

On the other hand, if there's some magic sauce of doing something, let it be 25 lines, what will you say? It's just 25 lines, so you can't license it? To be more pedantic, I actually have an algorithm, which is around 25 lines and does something novel. I've published a paper on it.

If I license the reference implementation with AGPLv3+, and you use it and close it, and if I can't go after you, what's the purpose of the license?

You can read the paper and try to implement it. It's free in that regard.

Re:Copilot sells code other people wrote by williamcotton on Thursday June 23, 2022 @08:52AM (#31848347)
It seems rather silly to me that such small innovations would be worthy of legal protections under either a copyright or copyleft license.

Isn’t there already precedent in other forms of IP, such as chord progressions in music, sentence length in literature, etc?

Re:Copilot sells code other people wrote by dekhn on Thursday June 23, 2022 @09:33AM (#31848880)
Copyleft isn't really a good example. Let's talk about copyright. That fragment of code is not copyrightable on its own. Too small, too trivial.
Re:Copilot sells code other people wrote by bayindirh on Thursday June 23, 2022 @09:38AM (#31848948)
Let's say I have 25 line function which does something novel and can be published as research (which I did, BTW, no joke), and I opened its reference implementation with AGPLv3+.

Is it again too trivial?

Re:Copilot sells code other people wrote by drexlspivey on Thursday June 23, 2022 @09:55AM (#31849165)
is 25 lines the limit then? do you count comments? can I codegolf a few lines to get below the limit?
Re:Copilot sells code other people wrote by bayindirh on Thursday June 23, 2022 @09:59AM (#31849220)
> is 25 lines the limit then?

I don't know. That's my function's length.

> do you count comments?

No comments, no blank lines.

> can I codegolf a few lines to get below the limit?

You bet. But, if you copy my reference implementation, you need to get the license as well.

However, the research is on the open. Read it, implement it. That's no problem.

But, CoPilot is not reading my paper. It's reproducing my function verbatim, which is under a license which has share-alike mechanics.

Re:Copilot sells code other people wrote by trasz on Thursday June 23, 2022 @11:25AM (#31850435)
Not really. You can't copyright a trivial snippet, same way you can't copyright headers.
Re:Copilot sells code other people wrote by bayindirh on Thursday June 23, 2022 @01:39PM (#31852563)
I've provided a more realistic and logical examples in this thread, please refer to them.