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

Programmer Humor

31800 readers
488 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 190 points 9 months 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.

[–] [email protected] 123 points 9 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.

[–] [email protected] 64 points 9 months ago (1 children)

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

[–] gravitas_deficiency 12 points 9 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.

[–] [email protected] 2 points 9 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.

[–] [email protected] 45 points 9 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.

[–] [email protected] 9 points 9 months ago

I use Codeium and I've found it helpful for things like guessing what the next line is if it's similar to the line I just wrote, but terrible if I'm thinking about how to actually solve a problem and it keeps suggesting wrong answers that make me think about them, realize they're wrong, forget the solution I was working on in my head before that.

[–] [email protected] 5 points 9 months ago (1 children)

Same as ChatGPT is better web search.

[–] [email protected] 2 points 9 months ago (1 children)

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

[–] [email protected] 2 points 9 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.

[–] [email protected] 2 points 9 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.

[–] [email protected] 55 points 9 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.

[–] [email protected] 19 points 9 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

[–] [email protected] 23 points 9 months 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.

[–] [email protected] 2 points 9 months ago (1 children)

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

[–] [email protected] 2 points 9 months 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)
[–] [email protected] 39 points 9 months ago* (last edited 9 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

[–] [email protected] 36 points 9 months 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 37 points 9 months 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.

[–] [email protected] 10 points 9 months ago* (last edited 9 months ago) (1 children)

I always forget Metaverse is a thing.

[–] [email protected] 6 points 9 months ago (4 children)

Is there really any utility for blockchain and NFTs?

[–] [email protected] 10 points 9 months 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..

[–] [email protected] 3 points 9 months 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)
[–] [email protected] 9 points 9 months 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 4 points 9 months ago* (last edited 9 months 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.

[–] [email protected] 2 points 9 months 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)
[–] [email protected] 2 points 9 months 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.

[–] [email protected] 7 points 9 months 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.

[–] [email protected] 4 points 9 months 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.

[–] [email protected] 1 points 9 months 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)
[–] [email protected] 17 points 9 months 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.

[–] [email protected] 7 points 9 months 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.

[–] [email protected] 33 points 9 months ago* (last edited 9 months ago) (1 children)

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

[–] [email protected] 28 points 9 months ago (2 children)

they drastically reduce ... quality for short term acceleration

Western society is built on this principle

[–] [email protected] 7 points 9 months ago (1 children)

Tell me about it...

I left my more mature company for a startup.

I feel like Tyler Durden sometimes.

[–] [email protected] 5 points 9 months ago (1 children)

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

[–] [email protected] 2 points 9 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.

[–] [email protected] 2 points 9 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.

[–] [email protected] 4 points 9 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.

[–] [email protected] 5 points 9 months ago (1 children)
[–] [email protected] 2 points 9 months ago* (last edited 9 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.

[–] [email protected] 3 points 9 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.

load more comments (1 replies)