Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

101–110 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#102
post #2

Can any users give their opinion on how it's helping their productivity? What problems are they finding, if any?

I've actually found it helpful as an API autocomplete, but... also not helpful at the same time. So for example I was working with processing an image to extract features and a few variants of docstrings for the method got me a pretty close to working function which converted the image to gray scale, detected edges, and computed the result I wanted. The helpful thing here was that there were certain APIs that were us…

Right

I am in the same boat with you. I am simultaneously wowed and underwhelmed to some degree.

Yes it is amazing when it gets right, it feels like cheating. But at the same time, it many times, does ... too much? To read a huge chuck of code and figuring out where it goes wrong is not a thing for me. Also Copilot doesn't really know the API, so yes, the amount of mental tax isn't less to make sure your program really behaves.

But again, I see the idea of Copilot is already huge win. I hate writing those manual scripts just offer people an entrance to some utility behind. Copilot does those things, surprisingly well and with accuracy.

Let it improve in the future, and we will see changes that quite fundamental to the idea of programming itself.

Re: GitHub Copilot available for JetBrains and Neovim

#105

Is anyone able to install the plugin yet? I'm not seeing it when I search the plugin marketplace in Rider.

Saw a review the JetBrains page that Rider isn't officially supported, but they got it to work anyway, although they don't say how

https://plugins.jetbrains.com/plugin/17718-github-copilot/re...

Re: GitHub Copilot available for JetBrains and Neovim

#106
post #43

I signed up for the copilot technical preview right after it was announced a few months ago, but I haven't gotten an invite yet while all my friends who signed up later did (I feel a bit left out). Is there any way to get an invite sooner? What am I doing wrong?

Same for me.

Re: GitHub Copilot available for JetBrains and Neovim

#107
post #72
post #56

Earlier quoted context omitted.

Why is that useless? Codebases I have worked on that had high code coverage requirements had very little bugs. * It promotes actually looking at the code before considering it done * It promotes refactoring * It helps to prevent breaking changes for stuff that wasn't supposed to change

The example i usually give [1] in javascript is say you have function (x,y) => x + y Orgs targeting code coverage write a test for 1,2 => 3 and get 100% coverage and then stop as there is no incentive to go further. They don't write tests for say (1,null) (null,null) ('x',1) (NaN, Infinity) and so on.. these additional tests will improve coverage of scenarios and code coverage will not move. I have seen projects wher…

I don't think there's Infinity in my language, what do you use it for except maths?

Re: GitHub Copilot available for JetBrains and Neovim

#108
post #87
post #63

Still no way to opt your code out of this. Disgusting.

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 gets in trouble if they admit the code comes from you.

With enough nearly-working functions spread across multiple projects in every language known to man, you could practically automate your way into a steady stream of hacker bounties.

People would probably call it unethical, but if Copilot's massive IP violations are okay then who cares. As long as the project's security flaws are recognisable by humans it doesn't matter IMO.

Re: GitHub Copilot available for JetBrains and Neovim

#109
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 ;-)

But people already naturally exhibit subtle bugs in the course of ordinary programming. Your acquaintance will just be another drop in the ocean.

Except he knows what to look for and how to exploit it. Could lead to easy bug bounty money.
Post reply on HN