News for hackers. Stuff that matters.
Re:GitHub Copilot emits GPL code by gjsman-1000 on Friday April 21, 2023 @03:08PM (#35658530)
> I see a lot of people claiming that AI is producing code they've written verbatim, but sometimes I wonder if everyone just writes certain things the same way. For the above rangeCheck function, there isn't much opportunity for the individual programmer to be creative.

This point is absolutely going to come up in any lawsuits; because the law does sometimes examine how much creativity there is available in a field before making a determination (Oracle v Google comes to mind). If you can show that there are very, very few reasonable ways to accomplish a goal, and said goal is otherwise not patented or prohibited, it's either not copyrightable or Fair Use, take your pick.

This even applies under the interoperability section of the DMCA and similar laws for huge projects. Assuming that ReactOS, for example, is actually completely clean-room; that would be protected despite having the same API names and, likely, a lot of similar code implementing most of the most basic APIs.

Re:GitHub Copilot emits GPL code by asddubs on Friday April 21, 2023 @03:24PM (#35658746)
the code is a reference to oracle v google
Re:GitHub Copilot emits GPL code by shagie on Friday April 21, 2023 @05:10PM (#35660219)
Incidentally this code doesn't have any license attached to it. So if an LLM happened to produce this code and Oracle said "where did you get that?! did you illicitly include the Java code base as part of your training data?" the organization that got the data for the LLM training can say "no, we used Hacker News comments and this code happened to have been in there verbatim... sorry."

License successfully laundered!

Re:GitHub Copilot emits GPL code by asddubs on Friday April 21, 2023 @06:09PM (#35660914)
that would work if no license didn't mean all rights reserved by default
Re:GitHub Copilot emits GPL code by shagie on Friday April 21, 2023 @06:36PM (#35661178)
The question isn't what is the license but rather the location that the code was used as part of a data set.

I could just as easily point to https://stackoverflow.com/a/13910492 which is on a page that is CC licensed.