• 4 Posts
  • 934 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle










  • Bit fields are a necessity in low level networking too.

    They’re incredibly useful, I wish more people made use of them.

    I remember I interned at a startup programming microcontrollers once and created a few bitfields to deal with something. Then the lead engineer went ahead and changed them to masked ints. Because. The most aggravating thing is that an int size isn’t consistent across platforms, so if they were ever to change platforms to a different word length, they’d be fucked as their code was full of platform specific shenanigans like that.

    /rant








  • “I didn’t want to die. I didn’t want to lose a finger. I didn’t want to miss work,” he told the BBC.

    (emphasis mine)
    What a thing to think when you’re banging on death’s door.

    Mr Friede’s motivation was to develop better therapies for the rest of the world, explaining: “It just became a lifestyle and I just kept pushing and pushing and pushing as hard as I could push - for the people who are 8,000 miles away from me who die from snakebite”.

    […]

    “I’m doing something good for humanity and that was very important to me. I’m proud of it. It’s pretty cool.”

    Dude figured out a way to give to all of humanity by conducting a pet experiment. Just the kind of news I needed to start the day.

    Thanks for sharing this!