• 2 Posts
  • 31 Comments
Joined 1 month ago
cake
Cake day: June 2nd, 2024

help-circle


  • I’m not sure if you’re getting it, so I’ll explain just in case.

    In computer science a few conventions have emerged on how numbers should be interpreted, depending on how they start:

    • decimal (the usual system with digits from 0 to 9): no prefix
    • binary (digits 0 and 1): prefix 0b, so 0b1001110
    • octal (digits 0 through 7): prefix 0, so 0116
    • hexadecimal (digits 0 through 9 and then A through E): prefix 0x, so 0x8E

    If your zip code starts with 9, it won’t be interpreted as octal. You’re fine.











  • For those who don’t know:

    Speaking at a software conference in 2009, Tony Hoare hyperbolically apologized for “inventing” the null reference:[26] [27]

    I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references in an object oriented language (ALGOL W). My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn’t resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.

    https://en.wikipedia.org/wiki/Tony_Hoare









  • On average, we respond solely to voice pitch, tonality, body language and facial expressions, like a still developing toddler…

    You wouldn’t believe how close you are.

    […Researches] recruited 684 Swiss students and asked them to rate pairs of politicians who had run against each other in the 2002 French parliamentary elections. Based solely on black-and-white photos of the candidates, they had to say who was more competent and by what degree. There were 57 pairs in all, and each volunteer rated just one.

    They found that the students’ competence judgments predicted the actual winners of the run-offs with a 72% accuracy.

    https://www.nationalgeographic.com/science/article/voters-use-child-like-judgments-when-judging-political-candidates

    [A] group of children would be able to predict the outcome of elections in another country, based only on photos of the candidates […] is exactly what a recent study in the journal Science has found.

    Swiss children as young as five years can predict which candidates are more likely to win French parliamentary elections.

    https://www.scientificamerican.com/article/the-look-of-a-winner/

    The children were just as good at predicting election results as the grown-ups were;

    (first article again)


  • bleistift2@sopuli.xyztomemes@lemmy.worldShocked face
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    7 days ago

    Yay, a likeminded person!

    For Microsoft I fully understand that they’d rather have a subscription model for Windows. After all you’re getting updates every fortnight and critical patches ASAP. I wonder they let you buy their shit for so long.

    Just in case someone brings it up—and someone will bring it up regardless—: I’m not defending their recent enshittification and “always online” mindset.