News for hackers. Stuff that matters.
Re:GitHub Copilot emits GPL code by marginalia_nu on Friday April 21, 2023 @04:23PM (#35659545)
Well yeah, we've already seen exactly this:

https://twitter.com/StefanKarpinski/status/14109710611816816...

Re:GitHub Copilot emits GPL code by theRealMe on Friday April 21, 2023 @05:02PM (#35660092)
In almost any other scenario this would be evidence. But Fast Inverse Square Root isn’t some tightly held secret. That exact code, with those specific comments included, is found in the Wikipedia page for that algo:

https://en.m.wikipedia.org/wiki/Fast_inverse_square_root

Re:GitHub Copilot emits GPL code by marginalia_nu on Friday April 21, 2023 @05:02PM (#35660102)
Yeah, it's still GPL though.
Re:GitHub Copilot emits GPL code by theRealMe on Friday April 21, 2023 @05:15PM (#35660295)
True.
Re:GitHub Copilot emits GPL code by nextaccountic on Saturday April 22, 2023 @12:24AM (#35663318)
The usage in Wikipedia is probably fair use, but it's still copyrighted, even without being a secret
Re:GitHub Copilot emits GPL code by bryanrasmussen on Friday April 21, 2023 @05:25PM (#35660419)
OK that tracks as more than just lazy comments lookalikes.