• 👁️👄👁️@lemm.ee
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    2
    ·
    edit-2
    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.

  • zqwzzle@lemmy.ca
    link
    fedilink
    English
    arrow-up
    33
    ·
    1 year ago

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

  • scarrtt@lemm.ee
    link
    fedilink
    arrow-up
    30
    ·
    edit-2
    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
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      1
      ·
      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.

  • iminahurry@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    Instructions

    while temperature < comfortable_temperature: temperature += 1

    Interpretation

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

  • FiniteLooper@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    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
    link
    fedilink
    arrow-up
    4
    ·
    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
      link
      fedilink
      arrow-up
      1
      ·
      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.