Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

81–90 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#81
post #2

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

As other pointed out, it makes boring or repetitive tasks a breeze.

Also, it’s like a more clever auto complete most of the time, even when it’s wrong in calling a function you can use it as foundation code to go faster.

And you don’t need to think too much about it, it really keeps you in the flow.

Re: GitHub Copilot available for JetBrains and Neovim

#83
post #2

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

I find it works well when my intent is clear. For example, I might want to log a value I just computed for debugging purposes. I type LOG, wait a second, and it completes a zephyr logging macro, complete with a sensible message and the value I just computed.

It sort of feels like pair programming with an undergraduate, except copilot never learns. That isn't to say it's bad, more that it is just a tool you can hand simple stuff off to, except the handoff is zero-effort.

EDIT: I will say that there are times when it makes up fantasy constants or variable names, that seem plausible but don't exist. An eventual version of Copilot that includes more normal autocompletion information, so it only suggests symbols that exist, will be a stronger tool.

Re: GitHub Copilot available for JetBrains and Neovim

#84

Earlier quoted context omitted.

It does the boring code for me. If I want to throw an exception if an object is null or undefined, Co-pilot will do the if and the exception throw using the right error class, and a more meaningful error message that what I usually came up with. If want to map some random technical data table to something useful in my programming language, I can copy paste the data from the documentation in pdf or html into a comment…

This is the kind of thing I would need to see in real time, because I simply can't believe that it does any of these things in a way that is reliable and doesn't involve having to search through and make sure it hasn't made any mistakes, taking just as much time as if you did it by hand.

I was really skeptical at first, but after using it for a while omg it is just insane.

Re: GitHub Copilot available for JetBrains and Neovim

#85
post #71
post #63

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

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

Re: GitHub Copilot available for JetBrains and Neovim

#86
post #70
post #60

Earlier quoted context omitted.

Likewise skeptical, but I have been super impressed with it. I just got in to the technical preview, and worked through a specific task I needed to do (involving mongoose, a mongo aggregate query, a few loops, some date functions) and started by adding a comment above each line. It helped a lot actually, felt like a collab. I'll reproduce a generic example I sent a friend. Prompt: const redis = require('redis'); // C…

Redis has the INCR command that does this in redis without the additional round-trips (and race conditions). It also sets the value to 0 if the key doesn't exist. So, I actually consider this to be exactly the bad behavior that people accuse Copilot of.

This was just one of its suggestions, but you're right of course.. it's all based on the training data and idioms used there. If it doesn't weight more modern code higher, if it's not aware of new versions and methods, it isn't going to be super intelligent.. but it can still give you some ideas.

Re: GitHub Copilot available for JetBrains and Neovim

#88
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?

I singed up in the first week and got my invite on Monday. I don't have anything "linked" with my github via vscode or anything so I doubt IDE or program usage was a deciding factor. I do regularly commit small stuff.

Re: GitHub Copilot available for JetBrains and Neovim

#89
post #30

Earlier quoted context omitted.

> I don't think being able to faster write boilerplate is something worthwhile But do you believe people being slower at writing boilerplate is undesirable?

Possibly yes, if you're only contrasting it with being able to be faster. I mean, it's sort of a false dichotomy -- it's omitting a "default speed" for writing boilerplate that is neither enhanced nor impeded. the potential issue with an enhanced speed for writing boilerplate is that it means that there'll just be more and more boilerplate to maintain over time, and it's not clear what that cost over time will be. Ho…

> I mean, it's sort of a false dichotomy -- it's omitting a "default speed" for writing boilerplate that is neither enhanced nor impeded.

I'm not sure. I think that understanding is omitting a "default amount" of boilerplate that will have to be written regardless of one's individual preference that is really a function of the language / framework of choice, the existing codebase and the problem at hand.

Removing that boilerplate would be ideal but is not always possible given limited resources, time constraints and the usual inability to make sweeping changes to the codebase

So we settle for the second best solution which is to automate away that tedious process (or short of that provide developers with tools to get it out of the way faster) so we can all focus on "real work"

Re: GitHub Copilot available for JetBrains and Neovim

#90
post #34

Good, I was getting really tired of subtly plagiarizing by hand.

Yesterday, I was disgusted to see framers putting up a house that clearly plagiarized the entire internal structure of my own. Same joint interfaces, same structural idioms when dealing with things like staircases, windows, and rafters, same fasteners, same adhesives, even the building materials! Aside from the most general aspects of the layout, it was exactly the same right down to the inch! People have no professional integrity these days.
Post reply on HN