Live data from Hacker News

GitHub Copilot

copilot.github.com

21–30 of 1001 posts

Re: GitHub Copilot

#21
So if it was trained using "source code from publicly available sources, including code in public repositories on GitHub." was it also GPLv2?

So everything generated also GPLv2?

Re: GitHub Copilot

#22

IMO a potentially more interesting application of this technology would be a learning system that is able to learn your coding style. You give it access to the codebase and it reformats all files on save according to your likings, perfectly. Obviously a program that is able to write actual great code reliably would be spectacular, but we aren't there yet, I don't think Copilot presently is able to make me meaningfull…

Don't most IDEs handle this already?

Re: GitHub Copilot

#24

IMO a potentially more interesting application of this technology would be a learning system that is able to learn your coding style. You give it access to the codebase and it reformats all files on save according to your likings, perfectly. Obviously a program that is able to write actual great code reliably would be spectacular, but we aren't there yet, I don't think Copilot presently is able to make me meaningfull…

Formatting code according to a given style is a much easier task than what Copilot does.

Re: GitHub Copilot

#27

It's funny that GitHub ships their own text editor, Atom, but the second example (under the "More than Autocomplete" header) on the Copilot website is clearly using VSCode.

now they just need to build this into vim.

Or more realistically, a language server which would then be compatible with many editors including (Neo)Vim.

Re: GitHub Copilot

#28

I'd like to see something like that, but with knowledge about every single file in the codebase, and running locally.

Yeah, running locally would be my preference. I get "Antitrust (2001)" vibes from this, but that's the tinfoil hat side of me.

Like this?

https://visualstudio.microsoft.com/services/intellicode/

I bet it's the same people, trying to push their crap into all sorts of successful products.

Re: GitHub Copilot

#29

So if it was trained using "source code from publicly available sources, including code in public repositories on GitHub." was it also GPLv2? So everything generated also GPLv2?

You bring up a really good point. I'm super curious what the legality and ethics around training machines on licensed or even proprietary code would be. IIRC there are implications around code you can build if you've seen proprietary code (I remember an article from HN about how bash had to be written by someone who hadn't seen the unix shell code or something like that).

How would we classify that legally when it comes to training and generating code? Would you argue the machine is just picking up best practices and patterns, or would you say it has gained specifically-licensed or proprietary knowledge?

Re: GitHub Copilot

#30

It's funny that GitHub ships their own text editor, Atom, but the second example (under the "More than Autocomplete" header) on the Copilot website is clearly using VSCode.

now they just need to build this into vim.

Presumably, this will be accessible through a REST API or something like that at some point, so that it can eventually be integrated into all editors.
Post reply on HN