this post was submitted on 22 Aug 2024
842 points (96.5% liked)

Programmer Humor

25843 readers
2242 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] glimse@lemmy.world 111 points 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

I salute your pedantry.

load more comments (4 replies)
[–] ChairmanMeow@programming.dev 89 points 1 year ago (18 children)

Plenty of fun to be had with LLMs.

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

ADHD contains twelve "r's"

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

I instinctively read that in Homestar Runner's voice.

[–] ripcord@lemmy.world 7 points 1 year ago (2 children)
load more comments (2 replies)
load more comments (2 replies)
[–] Beanie@programming.dev 6 points 1 year ago (4 children)
load more comments (4 replies)
[–] baltakatei@sopuli.xyz 41 points 1 year 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 1 year ago

You need to tell it to run the script

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

Welp, it's reached my level of intelligence.

[–] MystikIncarnate@lemmy.ca 20 points 1 year 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 1 year ago (2 children)

Geee, you really mean that?!

load more comments (2 replies)
[–] gravitas_deficiency@sh.itjust.works 30 points 1 year ago (1 children)
load more comments (1 replies)
[–] schnurrito@discuss.tchncs.de 30 points 1 year ago* (last edited 1 year 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)
[–] kubica@fedia.io 25 points 1 year ago (1 children)

5% of the times it works every time.

[–] some_guy@lemmy.sdf.org 12 points 1 year ago

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

[–] CodexArcanum@lemmy.world 25 points 1 year 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 1 year ago

Lmao it's having a stroke

[–] sus@programming.dev 8 points 1 year ago* (last edited 1 year 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 1 year ago (2 children)

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

-- that one ai bot google made

load more comments (1 replies)
[–] Toneswirly@lemmy.world 20 points 1 year ago

Ladies and gentlemen: The Future.

[–] beebarfbadger@lemmy.world 20 points 1 year 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 1 year 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 1 year ago

It can also help you with medical advice.

[–] ech@lemm.ee 15 points 1 year ago

Boy, your face is red like a strawbrerry.

[–] homesweethomeMrL@lemmy.world 13 points 1 year 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.

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 1 year ago

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

[–] cypherix93@lemmy.world 11 points 1 year ago (5 children)

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

[–] SpaceNoodle@lemmy.world 9 points 1 year 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 1 year ago

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

[–] portuga@lemmy.world 7 points 1 year 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 1 year ago

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

load more comments
view more: next ›