this post was submitted on 15 Nov 2024
241 points (93.5% liked)

Programmer Humor

19557 readers
547 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Probably should've just asked Wolfram Alpha

top 34 comments
sorted by: hot top controversial new old
[–] SkunkWorkz@lemmy.world 9 points 3 hours ago

Now ask it if a Third-of-a-Pound burger is bigger than a Quarter Pounder

[–] Voyajer@lemmy.world 19 points 7 hours ago

LLMs can't math

[–] SpikesOtherDog@ani.social 86 points 10 hours ago (2 children)

Not even moderately helpful for printer questions.

[–] otter@lemmy.ca 17 points 5 hours ago* (last edited 5 hours ago) (1 children)

It sounds like some weird ritual that someone scratched into a notebook.

𝗯𝗮𝗰𝗸 𝗼𝗳 𝗽𝗿𝗶𝗻𝘁𝗲𝗿?? under battery, m͟u͟s͟t͟ f͟i͟n͟d͟ k͟e͟y͟s͟

[–] SpikesOtherDog@ani.social 1 points 51 minutes ago

Most desk side support is exactly that.

[–] Pyro@programming.dev 50 points 10 hours ago

What, your printer doesn't have a full keyboard under its battery? You've gotta get with the times my man.

[–] elbucho@lemmy.world 11 points 7 hours ago (2 children)

This is very clearly an example of bad AI, but maybe it was trying (and failing) to convey this?

Basically, 1/3 + 1/9 + 1/27 + 1/81 + ... + 1/3^n = 1/2.

Probably not. But maybe.

[–] lauha@lemmy.one 1 points 1 hour ago

1/3 is 1/2 of 2/3

[–] FuglyDuck@lemmy.world 8 points 5 hours ago (1 children)

I’m thinking it’s trying to say:

(2/6) + (1/6) = (3/6) = (4/6) - (1/6)

But either in “colloquial English for those who want to give other people aneurysms” or “colloquial English for those trying to sound smarter but aren’t”

Basically that the degree of difference between a half and a third is the same degree of difference between a half and two thirds- and that degree of difference is “one part”.

[–] ulterno@programming.dev 10 points 3 hours ago (1 children)

It's not trying to say either of them.

It's just guessing what word to say next, given the previous words in the context.

[–] FuglyDuck@lemmy.world 1 points 2 hours ago

Definitely true, of course,

[–] Deebster@programming.dev 39 points 10 hours ago* (last edited 9 hours ago) (2 children)

Google's AI seems dumber than the rest, for example here's Kagi answering the same (using Claude):


edit: typoed question originally

Perhaps Google's tried to make it run too cheaply - Kagi's one doesn't run unless you ask for it, and as a paid product it'll have different priorities.

[–] jbrains@sh.itjust.works 16 points 10 hours ago* (last edited 9 hours ago) (1 children)

There are two meanings being conflated here.

"1/3 more" can mean "+ 1/3" or "* (1 + 1/3)“.

So "1/3 more than 1/3" could be 2/3 or 4/9, but not 1/2.

Instead 1/2 is 1/2 more than 1/3, not 1/3 more. That's the meme I've seen go around recently.

[–] Deebster@programming.dev 4 points 10 hours ago* (last edited 10 hours ago) (2 children)

~~Yes, and the Google AI response is correct (and quite clear) in what it says.~~ edit: Thanks Batman. I mean that Google's understanding of the question is logical (although still the maths is wrong as you say (now I've re-read you)) and its answer explained the angle it was answering from.

However, I think the reasonable assumption for the intention behind the question is relative to a whole. I had third of a pizza, and now I have an extra sixth of a pizza. It's subtle, but that's the kind of thing AI falls down on.

[–] jbrains@sh.itjust.works 5 points 9 hours ago* (last edited 9 hours ago) (1 children)

I agree with your assessment regarding the intention of the phrase. We're back at the silly arithmetic meme that hinges on not grouping terms explicitly and watching people yell at each other in the mistaken belief that there's one authoritative interpretation of an ambiguous string of symbols.

Still, the actual mistake remains. Why an extra 1/6 of the pizza? 1/3 of 1/3 is 1/9, not 1/6. That's 1/2 of 1/3.

[–] Deebster@programming.dev 4 points 9 hours ago (1 children)

I thought we were finally agreeing fully! My understanding of the question is "what is the difference between a third (of a pizza, say) and a half?"

1/2 - 1/3 = 1/6
1/2 = 1/3 + 1/6
a half is one sixth more than a third.

btw, I fixed my Kagi screenshot since I'd missed a word from the question (reading comprehension's clearly not my strong point today)

[–] jbrains@sh.itjust.works 2 points 9 hours ago

Aha, yes. Somehow I forgot the difference interpretation for a moment. Oops!

[–] BatmanAoD@programming.dev 2 points 10 hours ago (1 children)

You are saying "yes" to a comment explaining why the Google AI response cannot possibly be correct, so what do you mean "and [it's] correct"?

[–] Deebster@programming.dev 3 points 10 hours ago

Ah, you're right - I misunderstood jbrain's point to just be about the "relative to the original" understanding. Guess I'm no smarter than Google's AI.

[–] bulwark@lemmy.world 2 points 10 hours ago (1 children)

Kagi has Claude built in? I've been using it for a year and didn't know that.

[–] xigoi@lemmy.sdf.org 1 points 7 hours ago

It tries to auto-determine when to trigger, but you can explicitly trigger it by putting a question mark after your query.

[–] deadbeef79000@lemmy.nz 8 points 8 hours ago (1 children)

"42"

"The answer to life the universe and everything is 42!?"

"Yes, I checked it quite thoroughly."

...

"But what was the actual question?"


Alternatively, garbage in, garbage out.

[–] zlatko@programming.dev 2 points 4 hours ago (1 children)

considering where the garbage came from, maybe we should stop shitposting :)

[–] deadbeef79000@lemmy.nz 2 points 3 hours ago

That's like having google make a pizza with everything in my fridge then they complain that I also keep the dog's food in there.

[–] sin_free_for_00_days@sopuli.xyz 19 points 10 hours ago (2 children)

(1/3) +(1/2)(1/3) = 1/2

Math checks out from this end.

[–] Zagorath@aussie.zone 21 points 10 hours ago (1 children)

"a half is one-third more than a third" should mean either

1/3 + 1/3 = 1/2

Or

1/3 + (1/3 × 1/3) = 1/2

Neither of which is true.

[–] sukhmel@programming.dev 2 points 4 hours ago (1 children)

I feel like 'a half is one-third more than a third' is ambiguous and same as in 'X is N% more than Y' one may use X or Y as 100%

I'm sure that one interpretation is more common, but I don't think that it is exclusively correct

[–] Zagorath@aussie.zone 2 points 3 hours ago

Basically, "X is one-third more than Y" means either X = (4/3) × Y or X = Y + 1/3. I'm fine with either interpretation.

The problem is that with the values of X and Y in this example, neither interpretation produces a valid equation.

[–] jbrains@sh.itjust.works 8 points 10 hours ago* (last edited 10 hours ago)

1/3 more than 1/3 is 4/9. What you wrote is 1/2 more than 1/3, not 1/3 more of it.

[–] orca@orcas.enjoying.yachts 5 points 9 hours ago (1 children)

Maybe the intent is to make people even dumber. It’s just misinformation all the way down.

[–] YarHarSuperstar@lemmy.world 1 points 5 hours ago (1 children)

Wouldn't even be surprised at this point. It seems the system is intentionally designed to discourage critical thinking and apparently knowing how to do math properly is too close for comfort now.

[–] orca@orcas.enjoying.yachts 1 points 1 hour ago* (last edited 1 hour ago)

Someone I know had an old friend on their Facebook timeline say that schools should be reformed and don’t need classes like algebra. Then they proceeded to list fields kids could receive training for instead… and all of them required math of some sort.

[–] jbrains@sh.itjust.works 4 points 9 hours ago* (last edited 9 hours ago) (1 children)

Oh. I just noticed the extraneous word in the search, which might be throwing off the LLM trying to understand it.

[–] jbrains@sh.itjust.works 2 points 9 hours ago* (last edited 9 hours ago)

I asked ChatGPT these questions and got sensible answers.

How much more is one half than one third?

[subtraction answer: 1/6 more]

That's one possibility, but what about the other way to interpret that question?

[ratio answer, but expressed as "1.5 times as much" rather than "1/2 more"]