• 0 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle


  • haskell is one of the mathematically founded functional languages, which is a whole family of loosely related languages that have seen lower uptake over the years. Other examples include ML and variants, and F#.

    There are a few reasons why adoption has been slow:

    • poor outreach by language founders
    • less focus on commercial use
    • novel syntax
    • core abstractions that differ from mainstream

    Many of these are seeing some change. Haskell is getting better at outreach and comercial focus, and Rescript (ml for the web) has a lot of syntactical similarity to ja|ascript.


  • Whoa, hey, I just came back to this post and saw your edit. I’m really impressed by the way you listened to feedback and icorporated it in your stance.

    And hey, these behaviours and the industries supporting them are really damaging. And fightinig those industries will require individuals to change behaviour. If we take action to live car free now, then dismantling the fossil fuel industry won’t affect us as much later.














  • Eh, anything that close to what your blood is at normal levels works out pretty well. Liquid IV and LMNT and so forth do pretty well… But depending on your activity, acclimation, and the temp, you might need several packets to make up. I run, so I am very acclimated, and that makes your sweat more. So in summer when I do multi day hikes, I take electrolyte tablets with me. It can really sneak up, so just swallowing a salt tablet makes it a lot easier to balance.

    Here’s a thorough (long) video by Gear Skeptic where he breaks down a lot of this within the frame of through hiking (usually 100+ miles) https://youtu.be/pcowqiG-E2A




  • uniqueid198x@lemmy.dbzer0.comtoExplain Like I'm Five@lemmy.worldWhat are electrolytes?
    link
    fedilink
    English
    arrow-up
    152
    arrow-down
    2
    ·
    edit-2
    2 years ago

    Effectively, yes. “Electrolytes” is a collective term for the ions that help move stuff into and out of your cells. These are primarily sodium and potassium, although calcium also plays a role. Sodium is the most important of these for sports drinks, because it is the one you most lose through sweat.

    Unfortunately, most sports drinks don’t really contain enough to balance out heavy sweating, because sodium salt (aka normal salt) tastes, unsurprisingly, salty. If a drink had the right balance of sodium, it would be noticeably salty. Gatorade has one line of drinks that do that, and Pedialyte is specially made for the correct balance. Sports drinks really jack up the sugar to help hide the salt taste.

    Most sports drinks, rather than having the sodium you need to replace sweat, instead jack up the potassium (think Prime and it’s advertised 843mg of electrolytes, 700mg of which is potassium). This doesn’t really replace the electrolytes you need, but it also doesn’t make the drink nearly as salty.

    When you see “electrolytes”, you should flip around to the nutrition label, which must list the actual amounts of sodium and potassium. This will tell you if it will actually help you recover from activity, or if it’s just more sugar water and advertising.

    Edited to add:

    why is sodium so important? Because your cells use a mechanism called “osmosis” to move water back and forth. Water molecules naturally move from areas of high concentration to areas of lower concentration. In the cell, this means that water will go in to the cell if the inside of the cell has more sodium than the outside, and leave the cell when the outside has more than the inside.

    When you sweat, two things happen: you lose water and you lose sodium you lose more water than sodium, so your blood becomes saltier. Water moves from inside your cells to your blood; this is what it means to be “dehydrated”. To counter it, you need to dilute your blood and increase the amount of sodium in your cells. Hence, drinking water with sodium can help replenish both and speed recovery from dehydration.