Hacker News new | ask | show | jobs
by naikrovek 1356 days ago
this is a fucking meme at this point, the amount of assumption around this.

no, that is not what copilot does unless you check the box (or fail to uncheck the box) that allows exact matches of code from public repositories.

https://docs.github.com/en/copilot/configuring-github-copilo...

2 comments

If Copilot can look at GPL code and use that to synthesize new code, why can't a Microsoft employee?
Because the lawyers haven't caught up with Copilot yet. Legal has been hounding developers for decades at this point.
bingo
eh not really. it's more about being able to reasonably testify in court that no GPL code was introduced into a codebase that they want to license with a non-GPL license and not be lying.
How is it a meme? Copilot can throw verbatim licensed code.

https://twitter.com/mitsuhiko/status/1410886329924194309

the meme is that you can turn off the verbatim stuff and no one ever remembers that they are told about this, or that it is in the documentation, or that poking around the copilot settings you will see the setting in question.

actual users of copilot seem to know this little bit of information; commenters who like to make comments about things they have never used always overlook details like this, and perpetually restate the things they learned about the topic months or years prior, even when those details were incorrect at the time, and are still incorrect today.

>the meme is that you can turn off the verbatim stuff

I see. But the setting (which surprises me that is opt-in) merely checks whether the output is an exact match and forces the system to produce a new output. The system can and does (as seen on the tweet) output verbatim code. So the question that parent commenter asked is legit.