How would you like to pay your NaN pounds?

4 months ago by Avicenna to c/programmer_humor

A NaN spotted in the wild.

Diplomjodler3 47 points 4 months ago

I like NaN bread!

path: 0 24484232, hotness: undefined, score: 47, children: 0
NotSteve_ 43 points 4 months ago

THE PRICE TAGS ARE RUNNING JAVASCRIPT!!

path: 0 24484202, hotness: undefined, score: 43, children: 3
Orygin 29 points 4 months ago

NaN are not exclusive to JavaScript, it's more scary that they're using floating point numbers for monetary value.
If you buy something at -Inf, do they empty the business bank account into yours?

path: 0 24484202 24486227, hotness: undefined, score: 29, children: 2
verdare 13 points 4 months ago

Eh, it’s not a problem if prices are being converted to floating point at some point before being displayed.

What you don’t want to do is store the definitive price as a floating point and perform calculations with it. I don’t see any reason to assume that’s happening here.

path: 0 24484202 24486227 24486458, hotness: undefined, score: 13, children: 1
sik0fewl 3 points 4 months ago

It still makes no sense to convert to float and is likely to lead to a big at some point

path: 0 24484202 24486227 24486458 24494392, hotness: undefined, score: 3, children: 0
NihilsineNefas 30 points 4 months ago

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."

path: 0 24484488, hotness: undefined, score: 30, children: 9
zikzak025 13 points 4 months ago

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.

path: 0 24484488 24484635, hotness: undefined, score: 13, children: 6
NihilsineNefas 7 points 4 months ago

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.

path: 0 24484488 24484635 24484738, hotness: undefined, score: 7, children: 1
zikzak025 10 points 4 months ago

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

path: 0 24484488 24484635 24484738 24484908, hotness: undefined, score: 10, children: 0
Leviathan 5 points 4 months ago

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.

Edit: I've been informed it's not a law, but a voluntary act by retailers (screams internally).

path: 0 24484488 24484635 24484905, hotness: undefined, score: 5, children: 3
Bougie_Birdie 8 points 4 months 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

path: 0 24484488 24484635 24484905 24485083, hotness: undefined, score: 8, children: 2
Leviathan 5 points 4 months ago

Man, egg on my face, I thought it was a law. The way grocery stores are actively turning hostile towards customers we should probably make it a law.

In truth, we should probably nationalize grocery stores, but a more realistic, capitalism driven, "profits before people" approach would be to make it law.

path: 0 24484488 24484635 24484905 24485083 24486398, hotness: undefined, score: 5, children: 1
Psythik 3 points 4 months ago

It already is, which is why I turn off all radios on my phone and put it in airplane mode when I go grocery shopping now. But even then, I'm pretty sure they can still track the beacon signal wifi and BT give off even when disabled.

path: 0 24484488 24497362, hotness: undefined, score: 3, children: 0
Dave 3 points 4 months ago

Sorry, zero is a number, so it can't be free. One soul please, or alternatively one upper and one lower limb.

path: 0 24484488 24492251, hotness: undefined, score: 3, children: 0
copacetic 17 points 4 months 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)

path: 0 24485012, hotness: undefined, score: 17, children: 0
MummifiedClient5000 15 points 4 months ago

That'll be one [object Object].

path: 0 24484487, hotness: undefined, score: 15, children: 0
raman_klogius 7 points 4 months ago

With my [Object object] please 😁

path: 0 24487283, hotness: undefined, score: 7, children: 0
HobbitFoot 6 points 4 months ago

Is it garlic NaN?

path: 0 24487685, hotness: undefined, score: 6, children: 1
Lemminary 4 points 4 months ago

Yes, it's Not an Nonion

path: 0 24487685 24489968, hotness: undefined, score: 4, children: 0
kibiz0r 4 points 4 months 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!

path: 0 24484807, hotness: undefined, score: 4, children: 0
lIlIlIlIlIlIl 4 points 4 months 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!

path: 0 24485842, hotness: undefined, score: 4, children: 0
FiniteBanjo 4 points 4 months ago

Do you accept ⯎̷̨̩̯͎͕̮͎͈̞͙̠̽̈́͂͊͗̆͗̒̓͠͠ͅ⥢̴̛̠̩͑̂ⵅ̴̨̨͍͎̄̌͂̐͗͂̄̓́̽͊͐̆̍͘⊣̸̢͙͈̠̗̬͎͎̗̖̓͂͌͆͑̔̔ͅⅆ̸̧̜̲̙̱̱̙̦̗̺́͗◰̷̛͙͓̹͕̯̘̝̌̈́̍͐̌͘̕̕⽅̶̠͔̼̙̠̻̖͕̻͔̗͗̎́̈́̃̀̈́̽̽̅͌͜⸦̴͎͚̦͖̜̞͙̲̑̕?

path: 0 24488262, hotness: undefined, score: 4, children: 2
Avicenna 4 points 4 months ago

currencies beyond my comprehension, sorry I can't pay.

path: 0 24488262 24488630, hotness: undefined, score: 4, children: 0
valkyre09 4 points 4 months ago

Reminds me of the Pokémon that glitch multiplied your items

path: 0 24488262 24489031, hotness: undefined, score: 4, children: 0
chuckleslord 3 points 4 months ago

Well... it'll make your total a NaN as well.

path: 0 24486980, hotness: undefined, score: 3, children: 0
mercano 3 points 4 months ago

It cannot be paid for with money, only blood.

path: 0 24486653, hotness: undefined, score: 3, children: 0
HeyThisIsntTheYMCA 3 points 4 months ago

Oh, I don't have a Nan I have a Gran but she's for sale too how much you offering.

COCONUT WAFERS they better be organic

path: 0 24497852, hotness: undefined, score: 3, children: 0
davidgro 3 points 4 months ago

Best case, it's available for barter.

path: 0 24496803, hotness: undefined, score: 3, children: 0
nanometer1625 2 points 4 months ago

Sounds expensive. Most nans weight a lot of pounds.

path: 0 24488717, hotness: undefined, score: 2, children: 0
NigelFrobisher 2 points 4 months ago

NaN is still mad about the new twenty pence being so small and fiddly.

path: 0 24495056, hotness: undefined, score: 2, children: 0
Th3D3k0y 2 points 4 months ago

I need to spend more money on more mentions of the word "Organic"

path: 0 24487210, hotness: undefined, score: 2, children: 0
blarghly 2 points 4 months ago

Shopping at the Lovecraftian grocery store be like:

path: 0 24489725, hotness: undefined, score: 2, children: 0
red_bull_of_juarez 1 point 4 months ago

path: 0 24488624, hotness: undefined, score: 1, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33694
2569
7739

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...