750
all 34 comments
sorted by: hot top controversial new old
[-] mojo@lemm.ee 49 points 1 year ago* (last edited 1 year ago)

Shouldn't it be a float that goes between 0 and 1 instead of an int. In this situation they'd be the same thing, considering 1 would be max lol.

[-] MaggiWuerze@feddit.de -3 points 1 year ago

So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?

[-] sup4rawr@lemmynsfw.com 7 points 1 year ago

but degrees aren't integers, you can definitely also shower at 40,5°C

[-] jcg@halubilo.social 3 points 1 year ago

Not to overdissect a meme, but it really should be an unsigned byte since that's what the digitiser would probably have as an input or output.

[-] wieli99@sh.itjust.works 2 points 1 year ago

You're getting down voted, but you're right lol

[-] MaggiWuerze@feddit.de 3 points 1 year ago

Yeah, don't know why people would describe temperature on a 0-1 scale

[-] mojo@lemm.ee 1 points 1 year ago

The temperature handle is either off or maxed out in this scenario. Not the temperature.

[-] MaggiWuerze@feddit.de -1 points 1 year ago

Yeah, that's why it says "supposed to work"

[-] zqwzzle@lemmy.ca 39 points 1 year ago

I guess there’s not enough water to use a float unless you’re in a bathtub.

[-] scarrtt@lemm.ee 38 points 1 year ago* (last edited 1 year ago)

I travel a lot and I swear I've never seen the same shower design twice. There's so many different freakin' ways to deliver a stream of water to your head and they nearly all require some level of finessing. I'm assuming it all stems from an 1800s court case about patents but fuck that judge and everyone involved that day

[-] thehatfox@lemmy.world 21 points 1 year ago

It seems that hotels somehow always install the most obscure and convoluted shower designs. I've never had too much trouble with showers in people's homes, but every time I shower in a hotel room I feel like I'm trying to operate an oddly temperamental steam engine.

[-] jetsetdorito@lemm.ee 31 points 1 year ago

How using someone else's shower works:

int temperature = rand()

[-] TheTrueLinuxDev@programming.dev 16 points 1 year ago* (last edited 1 year ago)

How it really works:

mpf_t temperature;

If confused...It's arbitrary sized floating precision number provided in LibGMP and you can find more information about mpf_t here.

[-] BorgDrone@lemmy.one 10 points 1 year ago

Thermostatic shower mixers are not a thing where you live?

[-] NikkiNikkiNikki@kbin.social 7 points 1 year ago

Not common in the US I believe, or at least I haven't heard or seen one of them.

You just gotta "guess" what's correct and then feel the water coming out

[-] mercano@lemmy.world 21 points 1 year ago

In the house I grew up in, you’d also have to hope no one flushed the downstairs toilet. If so, the cold water pressure would suddenly drop, leaving a lot more hot water coming out of the shower head.

[-] totallynotarobot@lemmy.world 9 points 1 year ago
[-] PipedLinkBot@feddit.rocks 4 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/rcNAf_Tx4Tk

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[-] mustardman@discuss.tchncs.de 2 points 1 year ago

I knew this was going to be the link and was imagining the Mozart part at the end

[-] radix@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

Beethoven's Fifth Symphony, not Mozart.

No ill intent, I just like classical music :)

[-] mustardman@discuss.tchncs.de 3 points 1 year ago

And here I was thinking I was cultured.

[-] BorgDrone@lemmy.one 4 points 1 year ago

Also not a problem with a thermostatic mixer. The temperature stays the same, you just get less water pressure for a while.

[-] BorgDrone@lemmy.one 13 points 1 year ago

Weird, they are super common here in the Netherlands. Not expensive either. You just set it to a temperature and it’ll keep it constant.

[-] NikkiNikkiNikki@kbin.social 6 points 1 year ago
[-] Haus@kbin.social 5 points 1 year ago

If I'm thinking of the same device, the one I used in Sweden and Norway, it's fantastic. It's in the shower itself, so you don't have to contend with 30m of cold pipes between a less effective water heater and the nozzle.

[-] BorgDrone@lemmy.one 2 points 1 year ago

I can highly recommend it. Get a good name-brand one, like Grohe. Example.

[-] noobnarski@feddit.de 1 points 1 year ago

Yeah, I havent had a problem setting the shower temperature since I live in a house that has one.

Its great.

[-] iminahurry@discuss.tchncs.de 9 points 1 year ago

Instructions

while temperature < comfortable_temperature: temperature += 1

Interpretation

while temperature < freezing: on toggle(temperature += boiling)

[-] FiniteLooper@lemm.ee 8 points 1 year ago

And then someone comes over who isn’t a programmer and they have to take a shower:

Error: cannot convert “warm” to integer

[-] yum13241@lemm.ee 5 points 1 year ago

Where I live, I have to spend 500 years to either get volcano-like water, or Ice Age water. Moving it one atom completely changes the temperature.

[-] cynar@lemmy.world 1 points 1 year ago

If yours uses a thermal sensing element (not just mixing blind),I've found running it through its full temperature range helps a lot. I suspect limescale and other crap build up on the thermal element. It adds several years on to the life of the mixer. Descaling it would likely also work, but involves removing it from the pipes, to get the cleaner in.

this post was submitted on 18 Aug 2023
750 points (96.2% liked)

Programmer Humor

19200 readers
1244 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