It says it will finish the code, it doesn't say the code will work.
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
Also just because the code works, doesn't mean it's good code.
I've had to review code the other day which was clearly created by an LLM. Two classes needed to talk to each other in a bit of a complex way. So I would expect one class to create some kind of request data object, submit it to the other class, which then returns some kind of response data object.
What the LLM actually did was pretty shocking, it used reflection to get access from one class to the private properties with the data required inside the other class. It then just straight up stole the data and did the work itself (wrongly as well I might add). I just about fell of my chair when I saw this.
So I asked the dev, he said he didn't fully understand what the LLM did, he wasn't familiar with reflection. But since it seemed to work in the few tests he did and the unit tests the LLM generated passed, he thought it would be fine.
Also the unit tests were wrong, I explained to the dev that usually with humans it's a bad idea to have the person who wrote the code also (exclusively) write the unit tests. Whenever possible have somebody else write the unit tests, so they don't have the same assumptions and blind spots. With LLMs this is doubly true, it will just straight up lie in the unit tests. If they aren't complete nonsense to begin with.
I swear to the gods, LLMs don't save time or money, they just give the illusion they do. Some task of a few hours will take 20 min and everyone claps. But then another task takes twice as long and we just don't look at that. And the quality suffers a lot, without anyone really noticing.
Great description of a problem I noticed with most LLM generated code of any decent complexity. It will look fantastic at first but you will be truly up shit creek by the time you realise it didn't generate a paddle.
I was going to say. The code won’t compile but it will be “finished “
A couple agent iterations will compile. Definitely won't do what you wanted though, and if it does it will be the dumbest way possible.
Yeah you can definitely bully AI into giving you some thing that will run if you yell at it long enough. I don’t have that kind of patience
Edit: typically I see it just silently dump errors to /dev/null if you complain about it not working lol
Ooh, unemployment! How exciting! I love Microsoft now.
Seriously who the hell are they trying to sell this to?
Are they just that desperate to keep the hype train going?
Business owners. People that don't want to spend money on annoying stuff like wages.
CEOs are convinced that if they can get rid of those pesky expensive engineers that idea people will magically make things work.
The circlejerk of tech bros and busidiots who haven't built a damn thing in their lives.
Copilot, turn on the gas stove without the pilot. Copilot, in 3 hours light the pilot.
My Windows automatically read these instructions from my screen and I died!
Username checks out
Copilot keeps finishing my code for me in near real time... it completely disrupts my train of thought and my productivity dropped tremendously. I finally disabled it.
I LIKE writing code, stop trying to take the stuff away that I WANT to do and instead take away the stuff I HATE doing.
What I don't want AI to do:
- write code for me
- write fixes for me
What I want it to do:
- find bugs and tell me about them (but still don't fix them)
Yeah, I just wrote a blog post comment about how I enjoy using Copilot. But that's when I explicitly ask it a question or give it a task. The auto complete is wrong more often than it's right.
Probably doesn't help that if it was tedious, boilerplate code I would have already explicitly asked it.
yes but all the code will be wrong and you will spend your entire day chasing stupid mistakes and hallucinations in the code. I'd rather just write the code myself thanks.
Yeah! I can make my own stupid mistakes and hallucinations, thank you very much!
What they forget to mention is that you then spend the rest of the week to fix the bugs it introduced and to explain why your code deleted the production database...
I had a bit of a breakthrough with some personal growth with my code today.
I learned a bit more about entity framework that my company is using for a project, and was able to create a database table, query it, add/delete/update, normal CRUD stuff.
I normally work mostly on front end code, so it was rewarding to learn a new skill and see the data all the way from the database to the UI and back - all my code. I felt great after doing a code review this afternoon to make sure I wasn’t missing anything, and we talked about some refactoring to make it better.
AI will never give you that.
I was finished with Windows before Microshit finished Copilot.
Love how they're pretending that an LLM is useful for any task that needs precision.
Actually it won't be finishing anything because code is disposable now and nobody cares what trivial app somebody can churn out
But, will it work, huh? HUH?
I can also type a bunch of random sentences of words. Doesn’t make it more understandable.
Because you won't have time to drink that coffee if you put this code into production
Ah get outta here! Next time they’ll say that co pilot also chooses my furry porn and controls my buttplug while it codes for me.
I mean it gets there in the end but it's often three of four prompts before it provides working code for a relatively simple powershell script. Can't imagine that it scales to complex code that well at the moment, but then again I'm not a coder.
Writing code is the reward for doing the thinking. If the LLM does it then software engineering is no fun.
It's like painting - once you've finally finished the prep, which is 90% of the effort, actually getting to paint is the reward
By the headline statement, that it should be complete and works 100%. Big doubt.
No, just complete. Whatever the dude does may have nothing to do with what you needed it to do, but it will be "done"
But... But I don't want it to. 😮💨
My problem is that the dev and stage environments are giving me 502 gateway errors when hitting only certain api endpoints from the app gateway. My real problem is devops aren't answering my support tickets and telling me which terraform var file I gotta muck with and tell me what to fix on it. I'm sure you'll be fixed soon though right copilot?
I would rather paint a portrait by myself, spending the time to do it, rather than asking some computer prompt to spit me out a picture. Same logic applies with coding for me.
A more appropriate line would be that Copilot can shit out code faster than you can pinch off your own loaf.
These fuckers at MicroShit have lost all the ability needed to read a room.
If thats what they are aiming at, I feel like their AI is actually suppose to be the pilot and the user the copilot
Does its ai learn from people using vscode?
Yes
Technically true, but nobody said the code will be at all functional. I'm pretty sure I can finish about 800000 coffees before Copilot generates anything usable that is longer than 3 lines.
I read “users respond with mercyless trolling” in the teaser, I have to open the article.
