I've been using the alpha for the past 2 weeks, and I'm blown away. Copilot guesses the exact code I want to write about one in ten times, and the rest of the time it suggests something rather good, or completely off. But when it guesses right, it feels like it's reading my mind. It's really like pair programming, even though I'm coding alone. I have a better understanding of my own code, and I tend to give better na…
What's your estimate of the productivity boost expressed as a percentage? I.e. if it takes you 100 hours to complete a project without Copilot, how many hours will it be with Copilot?
GitHub Copilot
291–300 of 1001 posts
Re: GitHub Copilot
#292Earlier quoted context omitted.
It's a copilot. You're still the pilot. To be honest this seems like it can definitely save me a bunch of googling and let me stay in the ide.
Tell that to the new programmer who builds a piece of software using this creating an absolute mess. The danger here isn't with experienced developers (this is, obviously, a tool with great potential for productivity). It's with people who just blindly trust what the robot spits out. Once code like that is implemented in a mission-critical system without discernment, all hell will break loose. Edit: worth watching th…
It's not Copilot's problem. Powerful tools can be misused by anyone.
Re: GitHub Copilot
#293Earlier quoted context omitted.
Why are the green ones always angry?
I suppose you know this, but green means the account is new ( https://news.ycombinator.com/newsfaq.html ). Angry people sometimes create new accounts to vent. That's not a good use of HN, but let's not respond as if there's something wrong with new users coming to the community. We don't want this place to become insular and brackish. New users are the community's freshwater!
Re: GitHub Copilot
#294Calling it now, there will be a "Copilot considered harmful" post. If you need to go through the suggested code to ensure it's correct, you may as well write it yourself? If you glance at it and it looks about right, you can potentially overlook bugs or edge cases, you'll lose confidence in your own code since you didn't properly conceptualise it yourself. Potentially for newer developers it robs them of active exper…
I honestly think this is solving a real problem with commonly used languages and their lack of syntax abstraction and expressiveness. I can imagine this being very useful in helping to type out what I consider to be „mechanical noise“: Things that you have to type out to satisfy an expression rather than to convey semantics. A good example of how this type of noise manifests: Observe two programmers, both being simil…
Smart programmers are are not coding thousands of lines of code every day. There's so much more to in software engineering other than coding, that's why senior engineers spend less time writing code than juniors.
If a slow typer is using a auto-completer, he's not learning to type faster.
If auto complete fails, then the slow programmer will need to invalidate the code first, and then type it anyway.
All in all - maybe it's impressive AI research project, but I don't see it as a useful product.
Re: GitHub Copilot
#295I've been using the alpha for the past 2 weeks, and I'm blown away. Copilot guesses the exact code I want to write about one in ten times, and the rest of the time it suggests something rather good, or completely off. But when it guesses right, it feels like it's reading my mind. It's really like pair programming, even though I'm coding alone. I have a better understanding of my own code, and I tend to give better na…
Have you used any intelligent code completion in the past? E.g. I'd really be interested how it compares to TabNine[0], which already gives pretty amazing single line suggestions (haven't tried their experimental multi-line suggestions yet). [0]: https://www.tabnine.com
But nothing gets close to Copilot. It "understands" what you're trying to do, and writes the code for you. It makes type-based autocompletions useless.
Re: GitHub Copilot
#296Hi HN, we've been building GitHub Copilot together with the incredibly talented team at OpenAI for the last year, and we're so excited to be able to show it off today. Hundreds of developers are using it every day internally, and the most common reaction has been the head exploding emoji. If the technical preview goes well, we'll plan to scale this up as a paid product at some point in the future.
Lots of questions: - the generated code by AI belongs to me or GitHub? - under what license the generated code falls under? - if generated code becomes the reason for infringment, who gets the blame or legal action? - how can anyone prove the code was actually generated by Copilot and not the project owner? - if a project member does not agree with the usage of Copilot, what should we do as a team? - can Copilot copy…
Re: GitHub Copilot
#297Earlier quoted context omitted.
It shouldn't do that, and we are taking steps to avoid reciting training data in the output: https://copilot.github.com/#faq-does-github-copilot-recite-c... https://docs.github.com/en/early-access/github/copilot/resea... In terms of the permissibility of training on public code, the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use. We are certain this…
> ...the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use. To be honest, I doubt that. Maybe I am special, but if I am releasing some code under GPL, I really don't want it to be used in training a closed source model, which will be used in a closed source software generating code for closed source projects.
Re: GitHub Copilot
#298Re: GitHub Copilot
#299(Yes that’s an HN-frowned-upon joke comment, but that is my dev environment)
Re: GitHub Copilot
#300Hi HN, we've been building GitHub Copilot together with the incredibly talented team at OpenAI for the last year, and we're so excited to be able to show it off today. Hundreds of developers are using it every day internally, and the most common reaction has been the head exploding emoji. If the technical preview goes well, we'll plan to scale this up as a paid product at some point in the future.
What do you think about this being overall detrimental to code quality as it allows people to just blindly accept completions without really understanding the generated code. Similar to copy-and-paste coding. The first example parse_expenses.py uses a float for currency - that seems to be a pretty big error that's being overlooked along with other minor issues around no error handling. I would say the quality of the…