News for hackers. Stuff that matters.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by whalesalad on Wednesday February 21, 2024 @06:18PM (#39461015)
I think of them as a more intelligent autocomplete. I don’t lean on them too heavily but I find that they make my life 5% easier by autocompleting based on style and known names of things versus relying wholly on the LSP. (Copilot)

On the GPT-4 side I’ve had great luck with dealing with complex SQL/BigQuery queries. I will explain a problem, offer my schema or a psql trigger and my goals on how to augment it and it’s basically spot on every time. Helps me when I know what I want to do but don’t know precisely how to achieve it.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by nextos on Wednesday February 21, 2024 @06:37PM (#39461211)
I think the real power will come when generative models get combined with e.g. refinement types, which are more or less analogous to contracts. Imagine, you decompose a problem into some functions with some contracts, and you get implementations for free. Plus, they will be guaranteed to match the specification!

I was discussing this with GitHub when they were hiring for Copilot, but understandably they wanted to get the basic functionality right first. I think it is the next step, and a very interesting topic for a startup or OpenAI et al. to tackle. It has the potential to make programming both more robust and faster, possibly bringing us closer to the correctness levels of classical engineering disciplines.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by sshine on Thursday February 22, 2024 @12:55AM (#39463684)
Similarly, Stephen Wolfram elaborated in a Lex Fridman interview on a combination of having GPT express computational language (like Wolfram Alpha).
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by yesguidance on Wednesday February 21, 2024 @07:13PM (#39461446)
Me too. I'm writing a compiler for fun and its extremely helpful to have it auto complete entire simple functions, like converting AST nodes to a string representation for example.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by GaryNumanVevo on Thursday February 22, 2024 @04:25AM (#39464952)
Doesn't it defeat the purpose of writing a compiler for fun if ChatGPT is going to write most of it?
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by fzzzy on Thursday February 22, 2024 @08:41AM (#39466893)
I don't think the fun part is actually pressing on the keyboard.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by butterandguns on Thursday February 22, 2024 @06:12AM (#39465507)
Never done it myself, but I imagine understanding how the components all fit together is more valuable/fun than dealing with the minutiae of every function.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by swasheck on Wednesday February 21, 2024 @06:24PM (#39461086)
a more intuitive search as well. i am going to fly to paris in april and wanted to know what time it would be in denver when i landed. chatgpt was better-suited to the task than a multi-step duckbingle search
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by randcraw on Thursday February 22, 2024 @10:30AM (#39468549)
A Google search could do that 20 years ago.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by sm_costanza on Friday February 23, 2024 @10:09AM (#39481457)
I personally will never use the flight time zone related queries anymore. Almost like it didn’t know how time zones worked.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by jvanderbot on Wednesday February 21, 2024 @06:21PM (#39461060)
Yeah I think this captures my experience well. Not so much copilot as administrative assistant for my editor.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by penjelly on Wednesday February 21, 2024 @06:37PM (#39461212)
i find the inline suggestions of copilot distracting in any but the most mundane of cases. I know you can disable them but it still feels like it should be enabled instead of hotkeyed
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by mtriassi on Wednesday February 21, 2024 @09:58PM (#39462647)
This feels more or less in line with what my team has found, we gave everyone a copilot seat in our Github org, and anecdotally speaking it feels like we've seen roughly a 5-10% increase in productivity. This is of course self reported and not measured against any metrics. Assuming we're right about that, its an easy sell when we account for what our internal hourly rate is.

we also found the same as the OP, It's good for simple problems or boilerplate, not great for more complex problems.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by b20000 on Wednesday February 21, 2024 @11:20PM (#39463225)
what is the cost of analyzing the proposed solution and fixing it so it does what you want and how does that compare to not using AI and writing the code yourself?
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by Smeevy on Thursday February 22, 2024 @08:52AM (#39467044)
That's an excellent question. I'm typically able to stay focused on a task in spite of distractions, but working with generated nonsense while coding something new has derailed me quite a few times.

The novelty has definitely worn off for me, at least.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by jasonjmcghee on Thursday February 22, 2024 @10:16AM (#39468295)
I use copilot and write a whole lot of code every day. It's very very hard for me to believe anyone could get a 5-10% boost in productivity. It's often incorrect and when it is correct, it's often trivial.

It is a value add, but I'd put it closer to 0.5% if that. Over, say, 8 hours of coding time, it might save me a couple of minutes total.

Which, from a company expense perspective is still worth it, but an order of magnitude less than your anecdote.

It's very hard for me to envision how copilot could save someone that kind of time.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by whalesalad on Thursday February 22, 2024 @11:15AM (#39469245)
Interesting, the experience is very different for me. What language are you working with? I find it to be pretty strong in my Python and JS projects.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by jasonjmcghee on Thursday February 22, 2024 @01:14PM (#39470898)
Many, including python + js. What does it provide? How do you use it?
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by mpalmer on Thursday February 22, 2024 @04:12PM (#39473335)
I'm not diagnosed but I almost certainly have something like ADHD. It feels like my brain will take the most insignificant excuse to start paying attention to something else. Copilot boosts my productivity by 25-30%, easily, by removing many of these "excuses".

I am an experienced programmer, but sometimes I'll have a clear intention in my head of what I want to do, and the knowledge/experience of what code would accomplish that thing, and I still back away from it and start looking at something else, whether work, social media, whatever. Writing this, I know it might sound ridiculous or lazy, but it's true.

Copilot bridges this gap, often miraculously. The gap between thought and code is shortened, and the windows of time where I might lose focus seem to be drastically shortened.

For me, the key is that I do know how to write most of the code that Copilot writes for me, I'm just not good at actually writing it, or at least doing so in a sustained, consistent way.

Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by jasonjmcghee on Thursday February 22, 2024 @07:54PM (#39475510)
Super interesting perspective and insight. I really appreciate you chiming in. Hadn't considered something like this.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by coolcoder613 on Thursday February 22, 2024 @10:45PM (#39476703)
I can relate to that experience.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by yunwal on Friday February 23, 2024 @12:00AM (#39477168)
I feel like a lot of this is just that ADHD brains (and brains in general) want to work at the right level of abstraction. If I have to add headers to 20 word docs, it’s probably a bit quicker to do that manually than to write a script to do it, but I write the script anyway because the alternative is too boring. A lot of code is like that too, and “getting the AI to understand what I’m trying to get it to do” is more interesting.
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by thunkshift1 on Thursday February 22, 2024 @01:52PM (#39471365)
Is it worth paying 20$ for 5% improvement
Re:Tell HN: To be honest.. GPT copilots aren't that great fo... by fiprisoner on Thursday February 22, 2024 @02:07PM (#39471549)
Unless your time is borderline worthless, obviously yes.