this post was submitted on 20 Nov 2023
1718 points (98.1% liked)

Programmer Humor

32435 readers
534 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 189 points 11 months ago (8 children)

ChatGPT is hilariously incompetent... but on a serious note, I still firmly reject tools like copilot outside demos and the like because they drastically reduce code quality for short term acceleration. That's a terrible trade-off in terms of cost.

[–] ToothlessFairy@lemmy.world 123 points 11 months ago (3 children)

I enjoy using copilot, but it is not made to think for you. It's a better autocomplete, but don't ever let it do more than a line at once.

[–] EatYouWell@lemmy.world 63 points 11 months ago (1 children)

Yup, AI is a tool, not a complete solution.

[–] gravitas_deficiency@sh.itjust.works 12 points 11 months ago (1 children)

As a software engineer, the number of people I encounter in a given week who either refuse to or are incapable of understanding that distinction baffles and concerns me.

[–] EatYouWell@lemmy.world 2 points 11 months ago

That's because it's being advertised as a solution. That's why you have people worried it'll take their jobs when in reality it'll let them do the job better.

[–] takeda@lemmy.world 45 points 11 months ago (1 children)

The problem I have with it is that all the time it saves me I have to use on reading the code. I probably spend more time on that as once in a while the code it produces is broken in a subtle way.

I see some people swearing by it, which is the opposite of my experience. I suspect that if your coding was copying code from stack overflow then it indeed improved your experience as now this process is streamlined.

[–] oce@jlai.lu 5 points 11 months ago (1 children)

Same as ChatGPT is better web search.

[–] nogrub@lemmy.world 2 points 11 months ago (1 children)

id rather search the web than chatgpt because i fact check it anyway

[–] oce@jlai.lu 2 points 11 months ago (1 children)

I don't know if it does yet, but if ChatGPT starts providing source for every information, then it would make it much faster to find the relevant information and check their sources, rather than clicking websites one by one.

[–] tourist@lemmy.world 2 points 11 months ago

Yep, ChatGPT4 allows optional calls to Bing now.

It used to have a problem with making a claims that were not relevant to or contradicted its own sources, but I don't recall encountering that problem recently.

[–] stjobe@lemmy.world 55 points 11 months ago (1 children)

Biggest problem with it is that it lies with the exact same confidence it tells the truth. Or, put another way, it's confidently incorrect as often as it is confidently correct - and there's no way to tell the difference unless you already know the answer.

[–] Swedneck@discuss.tchncs.de 19 points 11 months ago (1 children)

it's kinda hilarious to me because one of the FIRST things ai researchers did was get models to identify things and output answers together with the confidence of each potential ID, and now we've somehow regressed back from that point

[–] tryptaminev@feddit.de 23 points 11 months ago

did we really regress back from that?

i mean giving a confidence for recognizing a certain object in a picture is relatively straightforward.

But LLMs put together words by their likeliness of belonging together under your input (terribly oversimplified).the confidence behind that has no direct relation to how likely the statements made are true. I remember an example where someone made chatgpt say that 2+2 equals 5 because his wife said so. So chatgpt was confident that something is right when the wife says it, simply because it thinks these words to belong together.

[–] DudeDudenson@lemmings.world 39 points 11 months ago* (last edited 11 months ago)

they drastically reduce code quality for short term acceleration.

Oh boy do I have news for you, that's basically the only thing middle managers care about, short tem acceleration

[–] PlexSheep@feddit.de 33 points 11 months ago* (last edited 11 months ago) (1 children)

I'm still convinced that GitHub copilot is actively violating copyleft licenses. If not in word, then in the spirit.

[–] TonyTonyChopper@mander.xyz 28 points 11 months ago (2 children)

they drastically reduce ... quality for short term acceleration

Western society is built on this principle

[–] PetDinosaurs@lemmy.world 7 points 11 months ago (1 children)

Tell me about it...

I left my more mature company for a startup.

I feel like Tyler Durden sometimes.

[–] noobdoomguy8658@feddit.de 5 points 11 months ago (1 children)

How you liking it? How many years have you aged in the months working at your startup?

[–] PetDinosaurs@lemmy.world 2 points 11 months ago (1 children)

My hairline has started receding very rapidly. There's there's these fine hairs all over my desk, and I see the photo I took when joining directly before turning on my camera every meeting.

[–] noobdoomguy8658@feddit.de 2 points 11 months ago

Doesn't sood good at all. I'm sorry to hear that, friend. I really hope there's enough upsides there compared to working at a more mature company for you.

[–] CanadaPlus@futurology.today 4 points 11 months ago (1 children)

Sort of. Nobody's cutting corners on aviation structural components, for example. We've been pretty good at maximizing general value output, and usually that means lower quality, but not always.

[–] SPRUNT@lemmy.world 5 points 11 months ago (1 children)
[–] CanadaPlus@futurology.today 2 points 11 months ago* (last edited 11 months ago)

I'm going to say that's the exception that proves the rule, assuming they were structural parts and not a minor controller chip for de-icing or something.

The company themself announced it without being prompted, and if whoever introduce these unapproved parts into a small number of engines is caught there's going to be real hell to pay. The stuff that stops you from falling out of the sky is serious business, and is largely treated as such.

On the other hand, a software function that's hacked together and inefficient will just fly below the radar, and most people will prefer two cheap outfits to one that's actually well made for the same price, so quality goes right out the window.

[–] rwhitisissle@lemmy.ml 3 points 11 months ago

An unpopular opinion, I am sure, but if you're a beginner with something - a new language, a new framework - and hate reading the docs, it's a great way of just jumping into a new project. Like, I've been hacking away on a django web server for a personal project and it saved me a huge amount of time with understanding how apps are structured, how to interact with its settings, registering urls, creating views, the general development lifecycle of the project and the basic commands I need to do what I'm trying to do. God knows Google is a shitshow now and while Stackoverflow is fine and dandy (when it isn't remarkably toxic and judgmental), the fact is that it cuts down on hours of fruitless research, assuming you're not asking it to do anything genuinely novel or hyper-specific.

[–] Wes_Dev@lemmy.ml 1 points 11 months ago

It helps a complete newbie like me get started and even learn while I do. Due to its restrictions and shortcoming, I've been having to learn how to structure and plan a project more carefully and thoughtfully, even creating design specs for programs and individual functions, all in order to provide useful prompts for ChatGPT to act on. I learn best by trial and error, with the ability to ask why things happened or are the way they are.

So, as a secondary teaching assistant, I think it's very useful. But trying to use the API for ChatGPT 4 is...not worth it. I can easily blow through $20 in a few hours. So, I got a day and a half of use out of it before I gave up. :|