Live data from Hacker News

GitHub Copilot Labs

github.com

31–40 of 72 posts

Re: GitHub Copilot Labs

#31
I've been using Copilot for 3 weeks in a typical web project: typescript, react, css. Feedback:

- when i declare a variable or function using a suggestive name, it correctly autocompletes what i want 50% of the time and it also takes into account the context; sometimes it just blows my mind how accurate it can be.

- sometimes it doesn't autocomplete even if i delete the line to start over

- i changed the way i code: i rely on Copilot more and more. i start typing my code and i know the prompt will correctly autocomplete my intention, but if it doesn't, it will a couple of lines later. If i stop to think, it goes ahead of me

- it's now faster for me to get an answer from Copilot than searching on Stackoverlow.

Copilot is a great companion, please make it even better! Welcome to the future my friends

Re: GitHub Copilot Labs

#32

Hello! I'm the founder of https://denigma.app , an AI that explains code. It's available now, with a free demo and VS Code extension, with an Emacs extension coming soon. Denigma is a product that has been around for a while. Denigma goes beyond a literal line by line explanation, and explains of programming concepts and deduces the business logic and goal of code. I'm excited to see innovation in the field. Here's a…

Where does this actually run?

Can I run this on prem.

Can it search though a whole project and tell what I'm doing?

Re: GitHub Copilot Labs

#33

I've been using Copilot for 3 weeks in a typical web project: typescript, react, css. Feedback: - when i declare a variable or function using a suggestive name, it correctly autocompletes what i want 50% of the time and it also takes into account the context; sometimes it just blows my mind how accurate it can be. - sometimes it doesn't autocomplete even if i delete the line to start over - i changed the way i code:…

Yes I love it too. It takes about 2-3 seconds to generate the suggestions so even when I know what I'm going to type next I just wait for it to do it for me since I know there is a high chance that it will get it correctly (I'm talking 5 to 6 lines of code). Plus it acts as a reinforcing feedback that what I want to write is indeed correct.

It is definitely the future and it's here to stay and get better with time. I'm super excited!

Re: GitHub Copilot Labs

#34
I'm a fan of CoPilot, but as given in their own example here (and gently mocked in the top response), the "explanations" generated seem to be no more useful than archetypal bad comments that are normally given as examples of how not to comment code in that they simply translate the statements "word-for-token" without explanation or insight.

Nevertheless, given Copilot's success so far, hopefully the output will quickly improve.

Re: GitHub Copilot Labs

#35

I've been using Copilot for 3 weeks in a typical web project: typescript, react, css. Feedback: - when i declare a variable or function using a suggestive name, it correctly autocompletes what i want 50% of the time and it also takes into account the context; sometimes it just blows my mind how accurate it can be. - sometimes it doesn't autocomplete even if i delete the line to start over - i changed the way i code:…

The most insane is that it even autocompletes comments. It’s honestly scary sometimes.

Re: GitHub Copilot Labs

#36
post #10

Earlier quoted context omitted.

Almost certainly not --- That was also the first time I had heard of denigma.app and their tagline of We stress-tested it on the worst, most obscure code we could find. That's why we're confident it will work on your complex codebase. gave me a good chuckle since just trivially modifying their example ... sort of worked Given: RUN apt-get update && exit 1 && apt-get install -y libnss3 libgtk-3-0 libx11-xcb1 libxss1 l…

I think having it produce good output on nonsensical / obviously wrong code would be a very different target than explaining commonly found code, so your expectation is a little unreasonable at this point.

I think the explanation is just as correct as the code.

Garbage in -> garbage out

Re: GitHub Copilot Labs

#37
post #35

I've been using Copilot for 3 weeks in a typical web project: typescript, react, css. Feedback: - when i declare a variable or function using a suggestive name, it correctly autocompletes what i want 50% of the time and it also takes into account the context; sometimes it just blows my mind how accurate it can be. - sometimes it doesn't autocomplete even if i delete the line to start over - i changed the way i code:…

The most insane is that it even autocompletes comments. It’s honestly scary sometimes.

What kind of comment is the result? More “what” or more “why”?

Re: GitHub Copilot Labs

#38

I've been using Copilot for 3 weeks in a typical web project: typescript, react, css. Feedback: - when i declare a variable or function using a suggestive name, it correctly autocompletes what i want 50% of the time and it also takes into account the context; sometimes it just blows my mind how accurate it can be. - sometimes it doesn't autocomplete even if i delete the line to start over - i changed the way i code:…

Copilot may be the unexpected solution to the holy grail of code reuse. :)

Re: GitHub Copilot Labs

#39
post #35

Earlier quoted context omitted.

The most insane is that it even autocompletes comments. It’s honestly scary sometimes.

What kind of comment is the result? More “what” or more “why”?

Stuff like "This is " becomes "This is only temporary until we get more data".

Which sometimes is exactly what you wanted to say...

Re: GitHub Copilot Labs

#40
My favorite copilot moment recently is rails migrations. I write the up migrating n, copilot gets the down migration right 90% of the time. It's wild.

And these aren't vanilla "change" commands. It's triggers and check constraints and changing column types and stuff.

Post reply on HN