News for hackers. Stuff that matters.
Re:Copilot sells code other people wrote by imtringued on Friday June 24, 2022 @06:46AM (#31859930)
>from coders who like this style of open source where you still get to make it kind of a pain in the ass to actually use your software.

Most "coders" don't publish anything if they don't have to. Using proprietary code is an even worse pain in the ass because you don't have access to it.

The point of the GPL is to force people to share their code.

>which is that (much like stack overflow), programmers mostly agreed awhile ago that it's just easier if we all share.

>So much of what's wrong with the modern economy comes down to seeking rent on an idea that should just be public knowledge.

The entire point of the GPL is to force e.g. hardware vendors to share their driver code under the GPL or any other opensource license to be included in the Linux kernel.

>Times are changing - maybe don't share code anymore?

The entire point of the GPL is to force people to share their code.

> I imagine in ten-twenty years this whole conversation will seem pretty petty though when your entire program is trivially recreated from its GitHub description without ever needing to have seen it in the first place.

What the hell are you talking about? If that is the case then why did humans ever bother with extensively documenting and testing their software if three sentences are enough to encode it? Your perspective is particularly annoying because copilot isn't learning to write its own code, it's entirely reliant on an army of unpaid software engineers publishing code on the internet. If it knows how to recreate a project from just the GitHub description it basically just had the codebase inside its model to begin with and merely pretend that it did everything on its own. That is actually a form of rent seeking.

Re:Copilot sells code other people wrote by ShamelessC on Friday June 24, 2022 @12:51PM (#31865494)
> extensively documenting and testing their software if three sentences are enough to encode it

Was just hyperbole for "from plain English specs/requirements".

I'll admit to being uninformed about GPL, but your understanding of large language models is also limited. They actually learn to interpolate between data points meaning they can compose sequences not found in the training data. Further, GitHub added a feature that checks existing code for a match and rejects predictions if any match occurs.

Re:Copilot sells code other people wrote by bayindirh on Friday June 24, 2022 @01:18PM (#31866009)
Nobody disputes their ability to interpolate, I think (at least not me), but the problem is the starting points for these interpolations contains GPL licensed code, hence it derives GPL licensed code.

This derivation brings GPL in, and the model doesn't understand this. As a result, every time a GPL training data is mixed into the interpolation, you're converting the code GPL, or if you're not converting your code to GPL, you're violating GPL.

It's plain and simple.

On the other hand, I'm hearing "we'll write the specs, and computer will just auto-generate it" gospel since 2002. This time it won't be different. Human brain, intuition and creativity is beyond algorithmic modeling.

So, no, computer will not autogenerate the code from specs. It might link boilerplate together, which can be already done today.