GitHub Copilot #832
Replies: 11 comments 8 replies
-
Very spiffy. The docs say it is trained against a broad library of code. For JavaScript auto-complete that would be relevant. For specific embedded API patterns, I wonder if it has enough context to make a useful (and not distractingly irrelevant) suggestion. Any insight into that? |
Beta Was this translation helpful? Give feedback.
-
Yes it does - here is an example using
if I accept that and over type |
Beta Was this translation helpful? Give feedback.
-
Impressive. |
Beta Was this translation helpful? Give feedback.
-
This blog post from the Software Freedom Conservancy raises some very interesting questions about GitHub Copilot. In particular, it does seem possible that Copilot would recommend code which has licensing requirements without providing a notification of that requirement. That isn't a problem for experimentation and learning, but it is for any kind of distribution. Moddable has always been diligent about making sure we know the origin and license requirements of every line of code in the Moddable SDK. Even code permissively licensed with Creative Commons Attribution license requires a notice. We require a Contributor License Agreement for contributions to help us document the origin of our code. We make this effort so that everyone – both our commercial clients and our community developers – using the Moddable SDK can be aware of their obligations. Use of Copilot seems to have the potential to make that more difficult. It does seem like Microsoft/GitHub has the ability to remedy that, since they do know the origin of all the fragments they trained on and which contributed to a given a suggestion. It will be interesting to see how this evolves. |
Beta Was this translation helpful? Give feedback.
-
Here you go: |
Beta Was this translation helpful? Give feedback.
-
The auto-complete style contextual changes are great, and don't raise obvious copyright / license concerns. The bigger the suggestion, the more chance for trouble there. It looks like you don't have to do anything to use this. No new work would be great. ;) |
Beta Was this translation helpful? Give feedback.
-
Regarding the privacy concerns: |
Beta Was this translation helpful? Give feedback.
-
My personal opinion is: if you dont want people to see what you write, don't put it on the internet. Same applies for generative AI |
Beta Was this translation helpful? Give feedback.
-
I'll admit the figure I got there was given to me by the legal team at the advertising firm I worked for however I think was most likely in reference to creative assets. I'm actually not sure about code. However my point is the context of the new code preseeded by question and given a adapted outcome that suites example supplied is not IP theft in my opinion. There are too many variables there to say for sure this is copying proprietary code and thus no definitive way to prosecute it. At least my thoughts anyway, it will be interesting to see and I believe their is a strong case for the privacy concerns and only time will tell. We do this all the time as humans and in human behaviour - in fact newton famously said - I could only see so far because I was standing on the shoulders of giants. |
Beta Was this translation helpful? Give feedback.
-
I see I'm very late to this discussion, but I do have an update from MS to share. The gist is "...if a third party sues a commercial customer for copyright infringement for using Microsoft’s Copilots or the output they generate, we will defend the customer and pay the amount of any adverse judgments or settlements that result from the lawsuit...". As an aside, it was on an embedded JS project that Copilot won me over. I typed I was stunned because I knew there was no equivalent object in JavaScript anywhere on Github. Still, I searched to see if I was wrong and if someone else was doing a PCA9685 implementation in JS. There was nothing to be found apart from some work I had done myself a few years earlier for Johnny-Five. That implementation only had a handful of memory addresses, whereas Copilot's code had them all. It had to have ported code from an implementation in another language into JS 🤯 |
Beta Was this translation helpful? Give feedback.
-
Have you seen this?
It uses AI to predict the code you are about to write, and then you auto-complete with the tab key... it's pretty cool.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
Sign up for the waitlist
Beta Was this translation helpful? Give feedback.
All reactions