Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

121–130 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#121

Why are people not bothered by privacy concerns in this case?

I suppose this thing upload your code to Microsoft servers then run some deep learning algos on it and get back to you with suggestions? It also probably keep your code to feed it to the algos.

If big tech was trustworthy I would use this with glee. But when I see how the world is turning, I'll continue to type boilerplate by hand (as long I'm allowed).

Re: GitHub Copilot available for JetBrains and Neovim

#122
post #118

Earlier quoted context omitted.

I feel the opposite of codebases where having high coverage has been a priority: * The tests doesn't actually test functionality, edge cases etc, just that things doesn't crash in a happy-path. * Any changes to an implementation breaks a test needlessly, because the test tests specifics of the implementation, not correctness. Thus it makes refactoring actually harder, since your test said you broke something, but you…

> The tests doesn't actually test functionality, edge cases etc, just that things doesn't crash in a happy-path. This is low coverage. > Any changes to an implementation breaks a test needlessly, because the test tests specifics of the implementation, not correctness. This is bad design. > In codebases for dynamic languages, most of what these tests end up catching is stuff a compiler would catch in a statically type…

> This is low coverage.

No, as a sibling comment to mine shows, it's actually easy to make 100% coverage with bad tests, since one doesn't challenge the implementation to handle edge cases.

Re: GitHub Copilot available for JetBrains and Neovim

#125
I'm very interested in this as a learning tool: instant feedback about what could come next, compared to the status quo of searching the internet or searching the language documentation. A lot of the time I learn a way to do something, then sometime later stumble across a better way to do the same thing. My hope is that Copilot can be a shortcut for that discoverability.

Re: GitHub Copilot available for JetBrains and Neovim

#126
post #87

Earlier quoted context omitted.

A friend of a friend, told me he is furiously adding code to Github, with subtle security bugs. He can't wait for it to show up in the proper places...Courtesy of Copilot ;-)

I wonder if that could be a nice money maker. Introduce a lot of generic functions with common names, add security bugs. Maybe add a README entry telling people to not trust the code because you're using it to demonstrate what insecure code looks like, and then wait for some big company with a bug bounty to introduce it to their code base. License your code proprietary of AGPL to make sure the company is the one who…

[deleted]

Re: GitHub Copilot available for JetBrains and Neovim

#127
post #71

Earlier quoted context omitted.

Legally, it needs to be opt-in in order to protect downstream consumers of code written by Copilot. Copilot sometimes reproduces code verbatim. You can't use open source code except under the terms of the license. Authors whose code may be reproduced by Copilot need to grant a license to downstream consumers, and republishers of Copilot-generated code need to adhere to the terms of that license. Copilot is inserting…

Only if the threshold of originality is passed. I feel many of Copilot snippets are so tiny that this threshold is not reached. But not a judge here. https://en.wikipedia.org/wiki/Threshold_of_originality

If it is relevant at all, the threshold of originality applies to the allegedly-copyrighted source consumed by Copilot (as regards bare infringement, not wilfull infringement). If that doesn't meet the threshold, it is not copyrightable. If it is, unauthorized copying not within a copyright exception (e.g., fair use) is infringement.

I can't see any case where originality of the snippet presented by Copilit matters (if Copilot were a person, it would matter to determining if the snippet on its own was copyrightable by Copilot, but still wouldn't be relevant to whether to original copyright was violated.)

Re: GitHub Copilot available for JetBrains and Neovim

#129

How could they support these two random IDEs before Visual Studio proper?

A few months ago at work I had some suggestions in VS to allow for a better intellisense with the help of AI. I think it was probably this.

I didn't allow it since I think it implied uploading my code to their servers.

Post reply on HN