News for hackers. Stuff that matters.
Re:Ask HN: Is anyone else getting AI fatigue? by nunodonato on Thursday February 09, 2023 @07:20AM (#34722878)
I can say with a certain degree of confidence that you haven't actually used CoPilot daily.
Re:Ask HN: Is anyone else getting AI fatigue? by capableweb on Thursday February 09, 2023 @07:27AM (#34722952)
I've worked with teams that used Copilot. They claim it's great "Hey, now I don't have to actually spend any time writing all this boilerplate!" while for me, the person who has to review their code before releasing stuff, easier ways of writing boilerplate is not a positive, it's a negative.

If writing boilerplate becomes effortless, then you'll write more of it, instead of feeling the pain of writing it and then trying to reduce it, because you don't want to spend time writing it.

And since Copilot was accepted as a way to help the developers on the teams, the increase of boilerplate have been immersive.

I'm borderline pissed, but mostly at our own development processes, not at Copilot per se. But damn if I didn't wish it existed somehow, although it was inevitable it would at one point.

Re:Ask HN: Is anyone else getting AI fatigue? by kristiandupont on Thursday February 09, 2023 @07:54AM (#34723223)
>the increase of boilerplate have been immersive

Has it really? Or are you worried that this is something that will happen?

Of course I don't know how other people use it but I find that it's very much like having a fairly skilled pair programmer on board. I still need to do a lot of work but I get genuine help. I don't find that I personally write more boilerplate code than before, every programming principle applies as it always has.

Re:Ask HN: Is anyone else getting AI fatigue? by capableweb on Thursday February 09, 2023 @08:40AM (#34723696)
I wrote it in past tense, it's based on actual situations :) If you don't believe what I write, I guess it doesn't matter what I write now. Regardless.

One simple example that I've had to reject more than once.

- Function 1 does something

- Developer needs something like Function 1 but minor change

- Developer starts typing name of function which has a similar name to Function 1, but again, minor difference

- Copilot helpfully suggests copy-pasting Function 1 but with the small change incorporated

- Developer accepts it, commits and sends the patch my way

Rather than extracting the common behavior into it's own function and call that from both of them, refactors which Copilot doesn't suggest, the developers is fine with just copy-pasting the function.

Now we have to maintain two full slightly different functions, rather than 1 full functions + 2 minor ones.

Obviously a small example, and it wouldn't be worth extracting it the first time it happens or on a smaller scale. But once you have entire teams doing something like this, it becomes a bit harder to justify copy-paste approach, especially when you want the codebase not to evolve to complete spaghetti.

And finally, I'm not blaming the tool, it's not Copilots fault. But it does seem to have made developers who rely on it think less, compared to the ones that don't.

Re:Ask HN: Is anyone else getting AI fatigue? by tomrod on Thursday February 09, 2023 @07:59AM (#34723280)
I feel ya. If your job is to kick back bad code, and now there is a tool that generates bad code, how does this not make your job more important?

Why not get some of the freed up, Copilot augmented developer labor budget moved to testing and do more there or build more tools to make your personal, boilerplate, repetitive tasks more efficient?

If the coders are truly just dumping bad code your way, that's an externality and the cost should be called out.

Re:Ask HN: Is anyone else getting AI fatigue? by Champagn3Papi on Thursday February 09, 2023 @08:03AM (#34723321)
I use github copilot on a daily basis and it improves my time from thinking to code.

Often I have times where I'm think about a specific piece of code that I need and I have it partially in my head and github copilot "just completes" it. I press tab and that's it.

I'm not talking about writing entire functions where you have to mentally strain yourself to understand what it wrote.

But I've never seen any autocompleter do it so good then github copilot. Even for documentation purposes like JSdoc and related commenting system it's amazing.

It's a tool I pay for now since it's proven to be a tool that increases my productivity.

Is it gonna replace us? I hope not, but it does look promising as one of those tools people will talk about in the future.

Re:Ask HN: Is anyone else getting AI fatigue? by tuxracer on Thursday February 09, 2023 @09:09AM (#34724070)
It would be helpful if people could include in their assessment roughly how much time they've personally spent using these tools.

Helping write boilerplate is to Copilot what cropping is to Photoshop.

Some of the ways I've found Copilot a powerful tool in my toolbox: Writing missing comments (especially unfamiliar code bases), "translating" parts of unfamiliar code to a more familiar language, suggesting technical details for how to implement a feature (!) in comments.

Re:Ask HN: Is anyone else getting AI fatigue? by TooLazy on Thursday February 09, 2023 @09:29AM (#34724398)
you could stop doing code reviews and do something else
Re:Ask HN: Is anyone else getting AI fatigue? by dual_dingo on Thursday February 09, 2023 @07:32AM (#34722997)
I haven't. Now you know for a fact :)

What I have seen about it ranged from things that can be nearly just as well handled by your $EDITOR's snippet functionality to things where my argument kicked in - I have to verify this generated code does what I want, ergo I have to read and understand something not written by me. Paired with the at least somewhat legally and ethical questionable source of the training data, this is not for me.

Re:Ask HN: Is anyone else getting AI fatigue? by Otek on Thursday February 09, 2023 @07:44AM (#34723135)
So stop evangelizing about stuff you haven’t used. Understanding code is easier than writing it from the scratch. That’s why code review doesn’t take as much time as writing code and you still need to prove your code works, even if you wrote it yourself.
Re:Ask HN: Is anyone else getting AI fatigue? by selbyk on Thursday February 09, 2023 @07:51AM (#34723189)
Understanding code is only easier for simple tasks. I've definitely had copilot spit out complex algorithms that looked right at first glance but actually had major issues that required me to write it from scratch.
Re:Ask HN: Is anyone else getting AI fatigue? by Otek on Thursday February 09, 2023 @08:35AM (#34723649)
Thats why you test, this could also happen with code you wrote so it’s not an argument against copilot. Did you wrote your “complex algorithm” and then run and debugged it in your head? No, you’ve tested it. Do the same with Copilots code
Re:Ask HN: Is anyone else getting AI fatigue? by cmcconomy on Thursday February 09, 2023 @09:00AM (#34723962)
If testing is the equalizer, there is no difference between black box code and something you fully understand. Which fair enough, is how ML works in general.
Re:Ask HN: Is anyone else getting AI fatigue? by argiopetech on Thursday February 09, 2023 @07:55AM (#34723231)
I contend understanding the semantics of code is harder than writing the syntax. Reading the syntax without thinking deeply (to the level needed to write it, or deeper) seldom helps you realize unexpected corner cases. This is why stochastic testing is so valuable.

ad.: Code review takes less time than writing code for the same reason reading a book takes less time than writing one. Distillation and organization of ideas requires expertise gained through experience and long thought. Reading a book requires reading ability.

Understanding a book (and the intricacies underlying it) takes effort on the order of the original writing, but most people don't seek that level of understanding. The same is true of code.

Re:Ask HN: Is anyone else getting AI fatigue? by dakom on Thursday February 09, 2023 @08:25AM (#34723551)
Code review often takes me longer than writing code. More generally, reading other people's code is more difficult for me than writing (or reading) my own.
Re:Ask HN: Is anyone else getting AI fatigue? by dual_dingo on Thursday February 09, 2023 @07:50AM (#34723187)
I am not evangelizing, I am just stating why this is not for me and my way to write software.
Re:Ask HN: Is anyone else getting AI fatigue? by postexitus on Thursday February 09, 2023 @07:38AM (#34723071)
I can say with a higher degree of confidence that you haven't actually used CoPilot daily for any respectably sized project.
Re:Ask HN: Is anyone else getting AI fatigue? by nunodonato on Monday February 20, 2023 @11:36AM (#34869746)
oops, you are wrong :)
Re:Ask HN: Is anyone else getting AI fatigue? by naillo on Thursday February 09, 2023 @07:30AM (#34722982)
I've used it quite a lot and I agree with the original post. It seemed really useful at first but then it started introducing several bugs in large blocks of code. I've stopped using it in the end since the small snippets on the one line size is trivial enough to write myself (with just vim proficiency) and the larger blocks on the order of a function autocomplete is too bug prone (and kills too much willpower budget to fix).
Re:Ask HN: Is anyone else getting AI fatigue? by sbilstein on Thursday February 09, 2023 @07:27AM (#34722953)
Yep. I’m personally skeptical of so many other use cases for LLMs but CoPilot is fantastic and basically just autocomplete on rocket fuel. If you can use autocomplete, you can use CoPilot super effectively.
Re:Ask HN: Is anyone else getting AI fatigue? by weeksie on Thursday February 09, 2023 @08:43AM (#34723738)
I almost always turn autocomplete off except in circumstances where the API has bad documentation. I also found that copilot was an aggravation more than a help after using it for a couple weeks.
Re:Ask HN: Is anyone else getting AI fatigue? by mlboss on Thursday February 09, 2023 @09:15AM (#34724171)
We programmers enjoy writing code. We derive satisfaction when a code is perfect and elegant. But its going to end very soon. Artists are freaking out because things that takes them days to create now only take 2 seconds. We are next.

The writing is on the wall. Programming as we know it is going to end. We should be embracing these tools and should start moving from software developers to software architects role.

Re:Ask HN: Is anyone else getting AI fatigue? by weeksie on Thursday February 09, 2023 @09:42AM (#34724608)
I don't think you're getting what I'm saying. I'm _faster_ without autocomplete
Re:Ask HN: Is anyone else getting AI fatigue? by morelisp on Thursday February 09, 2023 @07:26AM (#34722942)
This is such a bullshit answer. No, I don't use it daily because I tried it for a couple hours and it suggested nothing useful and several harmful. Why would I keep using it?
Re:Ask HN: Is anyone else getting AI fatigue? by wokwokwok on Thursday February 09, 2023 @08:17AM (#34723479)
> I tried it for a couple hours and it suggested nothing useful

That isn’t possible.

That’s the point; people are complaining without having actually used it.

Copilot is as good as a regular autocomplete for most tasks and better for context specific ones.

It’s not much use for large scale code generation, but the plug-in for vscode (and intellij) which is the only way to use it don’t support arbitrary large scale code generation.

They replace the default autocomplete in a way which largely unnoticeable, but surprisingly effective at complex autocomplete tasks.

…so, “it suggested nothing useful” simply shows you didn’t use it, or you used it for an obscure edge case (I dunno, pony or something) that it doesn’t support.

How did you use it?

In what context did it suggest nothing useful?

…because unless you consider basic autocomplete useless, I flat out reject your contention.

It’s not amazing, it’s not magic; it might not be worth paying for. There are plenty of reasons not to use it.

…but “it didn’t do anything useful” is not one of them.

Re:Ask HN: Is anyone else getting AI fatigue? by weeksie on Thursday February 09, 2023 @08:45AM (#34723757)
I've used it and it did nothing helpful. I also find autocomplete slows me down. The code it suggested always needed enough reworking I would have been faster writing it out from scratch. It's just not that helpful for me. Maybe if I didn't know the apis that well but I suspect even then it would be as much a liability as a benefit
Re:Ask HN: Is anyone else getting AI fatigue? by dmitriid on Thursday February 09, 2023 @08:49AM (#34723806)
> They replace the default autocomplete in a way which largely unnoticeable, but surprisingly effective at complex autocomplete tasks.

I've yet to see it. It's barely above IDEAs autocomplete in the rare cases when it manages to trigger on my code, and it has already been wrong more than once in the few times it did deign to provide autocompletion.

Re:Ask HN: Is anyone else getting AI fatigue? by danaris on Thursday February 09, 2023 @09:18AM (#34724203)
Hey, maybe don't outright call people liars about their own lived experiences just because they don't agree with yours...?
Re:Ask HN: Is anyone else getting AI fatigue? by postexitus on Thursday February 09, 2023 @11:56AM (#34726997)
90% of the time CoPilot-bros stop at this point without giving any good examples of how this post-autocomplete monster helped them. Autocomplete works quite well in most use cases - it is low effort, free and most importantly, ethical. CoPilot on the other hand jumps through so many hoops to generate something marginally and arguably better, but at the cost of what? This is exactly like the Search Vs ChatGPT problem - do you want a deterministic, algorithmic, fine tuned experience or some random probabilistic, overconfident crap.
Re:Ask HN: Is anyone else getting AI fatigue? by morelisp on Thursday February 09, 2023 @12:48PM (#34728024)
I don't find basic autocomplete useless, although I probably use it less than most people. (For example, I rarely write Java and when I do I don't use long names or deeply nested structures and I don't implement equals etc. by default.) I think people use autocomplete in two ways; when I use it I know what I want to be in the code and it's a way to type 30 characters by pressing 3 keys or whatever. But I also see a lot of people use it like "I don't know what to do next, what methods are available?" And this is usually to the detriment of the code quality.

Copilot is not like autocomplete. It only works in the second mode, because any nontrivial code it generates needs to be read, considered, and understood. (And any trivial code it generates can be done by autocomplete or long-existing non-AI tools.) This is especially true given LLMs' hallucinatory behavior - by definition it will often spit out something that "looks right" even if it's absolutely not - and such code is harder to review than code that looks obviously wrong.

So if you do use autocomplete in the second mode, maybe you find Copilot a super-powered version of that. And if you have the same weaknesses as Copilot, reviewing its code after it's done writing it is probably not any different than reviewing your own code after writing it, so for you it takes the same amount of time. For me, that's not the case.

When I used it, and when I see others use it, Copilot is like an impossibly overenthusiastic junior developer I will never be able to teach better habits to.