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

Programmer Humor

32571 readers
277 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 188 points 1 year ago (9 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 1 year 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 1 year ago (1 children)

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

[–] gravitas_deficiency@sh.itjust.works 12 points 1 year 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 1 year 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 1 year 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 1 year ago (1 children)

Same as ChatGPT is better web search.

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

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

[–] oce@jlai.lu 2 points 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago (1 children)

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.

[–] metaStatic@kbin.social 2 points 1 year ago (1 children)

ChatGPT what is the Gödel number for the proof of 2+2=5?

[–] Rootiest@lemmy.world 2 points 1 year ago (1 children)

Gödel numbers are typically associated with formal mathematical statements, and there isn't a formal proof for 2+2=5 in standard arithmetic. However, if you're referring to a non-standard or humorous context, please provide more details.

load more comments (1 replies)
[–] DudeDudenson@lemmings.world 39 points 1 year ago* (last edited 1 year 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

[–] Poggervania@kbin.social 36 points 1 year ago (2 children)

But LinkedIn bros and corporate people are gonna gobble it up anyways because it has the right buzzwords (including “AI”) and they can squeeze more (low quality) work from devs to brag about how many things they (the corporate owners) are doing.

[–] lurch@sh.itjust.works 37 points 1 year ago (3 children)

It's just a fad. There's just a small bit that will stay after the hype is gone. You know, like blockchain, AR, metaverse, NFT and whatever it was before that. In a few years there will be another breakthrough with it and we'll hear from it again for a short while, but for now it's just a one trick pony.

[–] saltesc@lemmy.world 10 points 1 year ago* (last edited 1 year ago) (1 children)

I always forget Metaverse is a thing.

[–] SpaceNoodle@lemmy.world 6 points 1 year ago (4 children)

Is there really any utility for blockchain and NFTs?

[–] Swedneck@discuss.tchncs.de 10 points 1 year ago (1 children)

The hilarious thing about blockchain is that the core concept is actively making the whole thing worse. The matrix protocol is sort of essentially blockchain without the decentralized ledger part, and it's so vastly superior in every single way.

NFTs just show how fundamentally dumb blockchains are, if you skip the decentralized ledger bit then you never need to invent NFT functionality in the first place..

[–] Backslash@feddit.de 3 points 1 year ago (1 children)

is sort of essentially blockchain without the decentralized ledger part

So a [Merkle tree](http://www..com/ https://en.wikipedia.org/wiki/Merkle_tree)?

load more comments (1 replies)
[–] TwilightKiddy@programming.dev 9 points 1 year ago

Well, if you stop listening to people who think it's a way to get really rich really fast (which it obviously isn't), cryptocurrencies are quite useful. International transfers are so much cheaper and easier with them.

[–] lurch@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

Yes, you could, for example, use it to manage who is allowed to park in a garage, anonymously. The owner of a parking spot NFT can unlock the door from the outside. Stuff like that.

However, it's also possible to do that with a small web application. Just payments and transfer of the parking spots are less free and it's not decentralized.

[–] Riven@lemmy.dbzer0.com 2 points 1 year ago (2 children)

The proton vpn people are either using or working on using block chain as a sort of email verification. Iirc it won't have any cost or change in usage to the consumer, just an added layer of security. I'm not smart enough to understand how but it sounds neat.

load more comments (2 replies)
[–] fubbernuckin@lemmy.world 2 points 1 year ago (2 children)

I disagree, because unlike those things, ai actually has a use case. It needs a human supervisor and it isn't always faster, but chat gpt has been the best educational resource I've ever had next to YouTube. It's also decent at pumping out a lot of lazy work and writing so i don't have to, or helping me break down a task into smaller parts. As long as you're not expecting it to solve all your problems for you, it's an amazing tool.

People said the same things about 3d printing and yeah, while it can't create literally everything at industrial scale, and it's not going to see much consumer use, it has found a place in certain applications like prototyping and small scale production.

[–] Catoblepas@lemmy.blahaj.zone 7 points 1 year ago

ChatGPT is OK at summarizing popular, low specificity topics that tons of people have already written a ton about, but it’s terrible at anything else. When I tested its knowledge about the process of a niche interest of mine (fabric dyeing) it skipped completely over certain important pieces of information, and when I prompted it to include them it basically just mirrored my prompt back at me.

Which has pretty much summed up my ChatGPT experience: it just regurgitates stuff I can find myself, but removes the ability to determine if the source is reliable. And if it’s something I’m already having trouble finding detailed information about it usually doesn’t help.

[–] tryptaminev@feddit.de 4 points 1 year ago (1 children)

i'd argue that chat gpt is mostly great at taking human bullshit tasks from humans, who dontwant to dothe bullshit, like regurgitating the text from a textbook in different words, writing cover letters for job applications, that are often machine analyzed for buzzwords anyways.

So its use case only exist in the domain of bullshit tasks that only exist to occupy two people without any added value.

[–] fubbernuckin@lemmy.world 1 points 1 year ago (2 children)

Yeah, that is one thing it can do, but it's not the only thing it does. I'm not sure how to get my point across well but, just because it gives you the wrong answer 25% of the time doesn't mean it's useless. In whatever you ask it to do, it often gets you most of the way there as long as you know how to correct it or check its work. The ability to ask specific or follow-up questions when learning something makes it invaluable as a learning tool (if you're teaching yourself that is (ie. If you're a university student)). It's also very useful when brainstorming ideas or helping you approach a problem from a different angle. I can also ask it questions that are far more specific than what a search engine would get me.

It really comes down to if the human operator knows how (and when) to use it properly.

load more comments (2 replies)
[–] EatYouWell@lemmy.world 17 points 1 year ago (1 children)

Yeah, they think it can turn a beginner dev into an advanced dev, but really it's more like having a team of beginner devs.

[–] Scew@lemmy.world 7 points 1 year ago

It's alright for translation. As an intermediate dev, being able to translate knowledge into languages I'm not as familiar with is nice.

[–] PlexSheep@feddit.de 33 points 1 year ago* (last edited 1 year 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 27 points 1 year ago (2 children)

they drastically reduce ... quality for short term acceleration

Western society is built on this principle

[–] PetDinosaurs@lemmy.world 7 points 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago (1 children)
[–] CanadaPlus@futurology.today 2 points 1 year ago* (last edited 1 year 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 an inefficient will just fly below the radar, and most people will prefer two outfits to one that's actually well made for the same price, so quality goes right out the window.

[–] rwhitisissle@lemmy.ml 3 points 1 year 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.

load more comments (1 replies)