this post was submitted on 22 Aug 2024
837 points (96.4% liked)

Programmer Humor

19594 readers
846 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
 
top 50 comments
sorted by: hot top controversial new old
[–] glimse@lemmy.world 110 points 2 months ago (6 children)

Copilot may be a stupid LLM but the human in the screenshot used an apostrophe to pluralize which, in my opinion, is an even more egregious offense.

It's incorrect to pluralizing letters, numbers, acronyms, or decades with apostrophes in English. I will now pass the pedant stick to the next person in line.

[–] Beanie@programming.dev 49 points 2 months ago (8 children)

That's half-right. Upper-case letters aren't pluralised with apostrophes but lower-case letters are. (So the plural of 'R' is 'Rs' but the plural of 'r' is 'r's'.) With numbers (written as '123') it's optional - IIRC, it's more popular in Britain to pluralise with apostrophes and more popular in America to pluralise without. (And of course numbers written as words are never pluralised with apostrophes.) Acronyms are indeed not pluralised with apostrophes if they're written in all caps. I'm not sure what you mean by decades.

[–] Mouselemming@sh.itjust.works 18 points 2 months ago (3 children)

By decades they meant "the 1970s" or "the 60s"

I don't know if we can rely on British popularity, given y'all's prevalence of the "greengrocer's apostrophe."

[–] ProfessorProteus@lemmy.world 18 points 2 months ago (4 children)

Never heard of the greengrocer's apostrophe so I looked it up. https://www.thoughtco.com/what-is-a-greengrocers-apostrophe-1690826

I absolutely love that there's a group called the Apostrophe Protection Society. Is there something like that for the Oxford Comma? I'd gladly join them!

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

I will die on both of those hills alongside you.

load more comments (3 replies)
load more comments (2 replies)
load more comments (7 replies)
[–] homesweethomeMrL@lemmy.world 12 points 2 months ago

I salute your pedantry.

[–] Melvin_Ferd@lemmy.world 6 points 2 months ago

English is a filthy gutter language and deserves to be wielded as such. It does some of its best work in the mud and dirt behind seedy boozestablishments.

load more comments (3 replies)
[–] ChairmanMeow@programming.dev 89 points 2 months ago (18 children)

Plenty of fun to be had with LLMs.

[–] Melvin_Ferd@lemmy.world 16 points 2 months ago (1 children)
[–] tektite@slrpnk.net 16 points 2 months ago

ADHD contains twelve "r's"

load more comments (17 replies)
[–] Boomkop3@reddthat.com 53 points 2 months ago (2 children)
[–] LEONHART@slrpnk.net 13 points 2 months ago (5 children)

I instinctively read that in Homestar Runner's voice.

load more comments (5 replies)
[–] Beanie@programming.dev 6 points 2 months ago (4 children)
load more comments (4 replies)
[–] hades@lemm.ee 46 points 2 months ago

The T in "ninja" is silent. Silent and invisible.

[–] baltakatei@sopuli.xyz 41 points 2 months ago (1 children)

“Create a python script to count the number of r characters are present in the string strawberry.”

The number of 'r' characters in 'strawberry' is: 2

[–] Takumidesh@lemmy.world 10 points 2 months ago

You need to tell it to run the script

[–] Clinicallydepressedpoochie@lemmy.world 38 points 2 months ago (1 children)

Welp, it's reached my level of intelligence.

[–] MystikIncarnate@lemmy.ca 20 points 2 months ago (1 children)

Aww, C'mon, don't sell yourself short like that, I'm sure you're great at..... Something....

For example, you would probably be way more useful than an AI, if there was a power outage.

[–] Clinicallydepressedpoochie@lemmy.world 16 points 2 months ago (2 children)

Geee, you really mean that?!

load more comments (2 replies)
[–] schnurrito@discuss.tchncs.de 30 points 2 months ago* (last edited 2 months ago) (5 children)

This is hardly programmer humor… there is probably an infinite amount of wrong responses by LLMs, which is not surprising at all.

load more comments (5 replies)
[–] gravitas_deficiency@sh.itjust.works 30 points 2 months ago (1 children)
load more comments (1 replies)
[–] AFC1886VCC@reddthat.com 28 points 2 months ago (1 children)
load more comments (1 replies)
[–] CodexArcanum@lemmy.world 25 points 2 months ago (3 children)

I was curious if (since these are statistical models and not actually counting letters) maybe this or something like it is a common "gotcha" question used as a meme on social media. So I did a search on DDG and it also has an AI now which turned up an interestingly more nuanced answer.

It's picked up on discussions specifically about this problem in chats about other AI! The ouroboros is feeding well! I figure this is also why they overcorrect to 4 if you ask them about "strawberries", trying to anticipate a common gotcha answer to further riddling.

DDG correctly handled "strawberries" interestingly, with the same linked sources. Perhaps their word-stemmer does a better job?

[–] CommanderCloon@lemmy.ml 15 points 2 months ago

Lmao it's having a stroke

[–] sus@programming.dev 8 points 2 months ago* (last edited 2 months ago)

many words should run into the same issue, since LLMs generally use less tokens per word than there are letters in the word. So they don't have direct access to the letters composing the word, and have to go off indirect associations between "strawberry" and the letter "R"

duckassist seems to get most right but it claimed "ouroboros" contains 3 o's and "phrasebook" contains one c.

load more comments (1 replies)
[–] dosuser123456@lemmy.sdf.org 24 points 2 months ago (2 children)

"it is possible to train 8 days a week."

-- that one ai bot google made

[–] WhiskyTangoFoxtrot@lemmy.world 7 points 2 months ago (1 children)
load more comments (1 replies)
load more comments (1 replies)
[–] kubica@fedia.io 24 points 2 months ago (1 children)

5% of the times it works every time.

[–] some_guy@lemmy.sdf.org 12 points 2 months ago

You can come up with statistics to prove anything, Kent. 45% of all people know that.

[–] Toneswirly@lemmy.world 20 points 2 months ago

Ladies and gentlemen: The Future.

[–] beebarfbadger@lemmy.world 20 points 2 months ago (1 children)

Q: "How many r are there in strawberry?"

A: "This question is usually answered by giving a number, so here's a number: 632. Mission complete."

load more comments (1 replies)
[–] dream_weasel@sh.itjust.works 18 points 2 months ago (2 children)

There ARE two "R"s in strawberry.

There's also a third one, but you can't have three without having two.

load more comments (2 replies)
[–] werefreeatlast@lemmy.world 18 points 2 months ago

It can also help you with medical advice.

[–] ech@lemm.ee 15 points 2 months ago

Boy, your face is red like a strawbrerry.

[–] homesweethomeMrL@lemmy.world 13 points 2 months ago (1 children)

Jesus hallucinatin' christ on a glitchy mainframe.

I'm assuming it's real though it may not be but - seriously, this is spellcheck. You know how long we've had spellcheck? Over two hundred years.

This? This is what's thrown the tech markets into chaos? This garbage?

Fuck.

[–] DragonTypeWyvern@midwest.social 7 points 2 months ago

I was just thinking about Microsoft Word today, and how it still can't insert pictures easily.

This is a 20+ year old problem for a program that was almost completely functional in 1995.

[–] Daxtron2@startrek.website 12 points 2 months ago

Using a token predictor to do sub-token analysis produces bad results?!?! Shocking Wow great content

[–] cypherix93@lemmy.world 11 points 2 months ago (5 children)

"strawberry".split('').filter(c => c === 'r').length

[–] SpaceNoodle@lemmy.world 9 points 2 months ago (1 children)

len([c if c == 'r' for c in "strawberry"])

load more comments (1 replies)
load more comments (4 replies)
[–] affiliate@lemmy.world 10 points 2 months ago

maybe it’s using the british pronunciation of “strawbry”

[–] portuga@lemmy.world 7 points 2 months ago

There’s a simple explanation: LLMs are “R” agnostic because they were specifically trained to not sail the high seas

[–] CrypticCoffee@lemmy.ml 7 points 2 months ago

Garbage in, garbage out. Keep feeding it shit data, expect shit answers.

load more comments
view more: next ›