DEV Community

Discussion on: All the things you need to know about the GitHub Copilot !

Collapse
 
pcjmfranken profile image
Peter Franken • Edited
  • Public source does not equal free to use. And even if it is "proper" open source as defined by the Open Source Directive [1], it's often published under an MIT [2] or GNU GPL [3] license which require copyright or source attribution.
  • This Codepilot has been copying code ad verbum (comments and all..) into some of its users' projects, and even did so without any form of attribution. Although I'm sure this will improve over time as they steal more public code.
  • Their plan is to eventually start charging for usage, so don't count on yourself getting dirty rich on being able to lean back and have the code write itself just yet.
  • Oh, and as the cherry on the cake, it also sends home any code you have written that is an adjustment of the snippet it spit out. Meaning it's possibly illegal to use if you're handling code or data that's covered by an NDA or protected by privacy law.

At least they're up-front about it as most of the above is mentioned as a possibility in their FAQ [4].

Microsoft is a 1.7 trillion dollar enterprise, by the way. They should be alright without you jumping into the breach for them.

1 opensource.org/docs/osd
2 choosealicense.com/licenses/mit/
3 choosealicense.com/licenses/gpl-3.0/
4 copilot.github.com/#faqs

Edit: Added the distinction between "public source" and "open source" with links and fixed some grammar.

Addition: Look, I understand this is the future. What bothers me is that there's a lot of low-hanging fruit that they left hanging when it comes to ethics.

I guess the paradigm that applies to Facebook and Google now also applies to GitHub: "when something is free, you're the product". Except in this case GitHub might have violated the license of public code (AKA stole it) and there's no way to tell if you're a victim.

Collapse
 
rahulbanerjee99 profile image
Rahul Banerjee

I recently wrote an article about it as well dev.to/rahulbanerjee99/some-experi...

Yup , at times it generates weird stuff. It generated the local file paths of some random users at times which is kind of creepy.