this post was submitted on 28 Jun 2026
94 points (100.0% liked)

Programmer Humor

32005 readers
1194 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 3 years ago
MODERATORS
 

A NaN spotted in the wild.

top 13 comments
sorted by: hot top controversial new old
[–] lIlIlIlIlIlIl@lemmy.world 3 points 26 minutes ago

Push a pen through each one of those eink displays - they’re not cheap.

TikTok challenge: each eink price tag is worth one point - GO!

[–] copacetic@discuss.tchncs.de 5 points 1 hour ago

"I have five pounds. Is that enough?"

"No."

"It costs more than five pounds?"

"No."

"How much do I have to pay?"

"This is NaN pounds."

"That means it costs more than five pounds?"

"No."

"It costs less than five pounds?"

"No."

"Exactly five pounds?"

"No."

leaves the shop

(Remember, comparison with NaN is always false)

[–] NihilsineNefas@slrpnk.net 13 points 2 hours ago (1 children)

Oh fucking joyous, automatic surge pricing labels have finally hit the UK, can't wait for it to be tied to your wifi shadow and device biometrics so that supermarkets can charge people more for daily goods than their neighbours due to their credit/social/political standing.

I mean "Haha that means it's free, right? Lol."

[–] zikzak025@lemmy.world 6 points 1 hour ago* (last edited 1 hour ago) (2 children)

Only a matter of time before a store picks up data on certain people's net worth and suddenly all the price tags double when they walk down an aisle.

I guess that also sets up the potential side business of paying poorer people to do shopping for you. Well, I mean, I guess that already exists too.

[–] Leviathan@fedinsfw.app 3 points 1 hour ago (1 children)

In Canada if a poorer person picked an item up at $3, then some rich dude walked behind him and it became $4, legally they would then have to give him the item free because of a price difference on an item under $10. Over $10 dollars you automatically get the lower of the two prices.

[–] Bougie_Birdie@piefed.blahaj.zone 5 points 1 hour ago* (last edited 1 hour ago)

This is not a law, it's a common and voluntary thing by the retailer.

I wish it was a law, that'd be sick and nip this whole surge thing in the bud.

$15 in Quebec now, that's neat

[–] NihilsineNefas@slrpnk.net 4 points 1 hour ago (1 children)

I guess that also sets up the potential side business of paying poorer people to do shopping for you

Scamazon, doordash, ubereats, any of those "go buy my groceries, and bring them to my door lest I suffer the fate of seeing a peasant in any other role than serving me." companies count as exactly that.

Just ask a millionaire what the cost of a loaf of bread is, or a 2kg bag of potatoes.

[–] zikzak025@lemmy.world 4 points 1 hour ago

Just ask a millionaire what the cost of a loaf of bread is, or a 2kg bag of potatoes.

[–] NotSteve_@lemmy.ca 19 points 2 hours ago (1 children)

THE PRICE TAGS ARE RUNNING JAVASCRIPT!!

[–] Orygin@sh.itjust.works 1 points 1 minute ago

NaN are not exclusive to JavaScript, it's more scary that they're using floating point numbers for monetary value

[–] Diplomjodler3@lemmy.world 17 points 2 hours ago

I like NaN bread!

[–] MummifiedClient5000@feddit.dk 7 points 2 hours ago

That'll be one [object Object].

[–] kibiz0r@midwest.social 2 points 1 hour ago

Plot twist: it’s accurate, because the price is not a number but in fact your very soul.

The folks who said barcodes were the mark of the beast were so close!