News for hackers. Stuff that matters.
Re:GitHub Copilot as open source code laundering? by CharlesW on Wednesday June 30, 2021 @01:01PM (#27690846)
> This means that, for most open-source projects, code generated by Github co-pilot is, right now, NOT acceptable in the project.

For this scenario, how is using Co-Pilot generated code different from using code based on sample code, Stack Overflow answers, etc.?

Re:GitHub Copilot as open source code laundering? by rbarrois on Wednesday June 30, 2021 @01:58PM (#27691573)
I'd say that it depends on the license; for StackOverflow, it's CC-BY-SA 4.0 [1]. For sample code, that would depend on the license of the original documentation.

My point is: when I'm copying code from a source with an explicit license, I know whether I'm allowed to copy it. If I pick code from co-pilot, I have no idea (until tested by law in my jurisdiction) whether said code is public domain, AGPL, proprietary, infringing on some company's copyright.

[1] https://stackoverflow.com/legal/terms-of-service#licensing

Re:GitHub Copilot as open source code laundering? by CharlesW on Wednesday June 30, 2021 @03:41PM (#27692642)
That makes sense, thank you.
Re:GitHub Copilot as open source code laundering? by gwenzek on Wednesday June 30, 2021 @01:52PM (#27691512)
A number of company, including Google and probably Microsoft forbid copying code from Stack Overflow because there is no explicit license
Re:GitHub Copilot as open source code laundering? by CharlesW on Wednesday June 30, 2021 @03:39PM (#27692629)
TIL, thank you!