Hacker News new | ask | show | jobs
by whazor 1791 days ago
I am curious about the results.

Having tested copilot, most suggestions are based on existing code in your opened file. Furthermore, most snippets tend to be relatively short, where it feels more like a Stack Overflow answer than existing code.

Of course it is possible to make the model generate longer pieces of code that are potentially GPL. But you would have to do certain effort for it. It also tends to adopt your coding style.

But maybe the fact that there are no guarantees makes it unfair.

1 comments

The difference is that Stack Overflow has taken the legal responsibility of making sure any contributions to the site are licensed in a way that allows users to copy-paste them into their own works, and has the authority to do as much. GH does not have the authority to, without authors' permission, launder their code through an AI "tumbler" and spit out shiny suggestions stripped of all license concerns.
I just checked Stackoverflow terms, and it still says that all user contributions are licensed under Creative Commons CC BY-SA 4.0, which means that copying them to your own codebase is likely to be a copyright violation. Lots of people do it, but it's a well-known legal problem.