Formerly /u/Zagorath on the alien site.

  • 28 Posts
  • 1.96K Comments
Joined 2 年前
cake
Cake day: 2023年6月15日

help-circle

  • In much simpler terms:

    Think of an IP address like a street address. 192 My Street.

    There might be multiple businesses at one street address. In real life we address them with things like 1/192 My Street and 2/192 My Street, but there’s no direct parallel to that in computer networks. Instead, what we do is more like directing your letter to say “Business A c/o 192 My Street”. That’s what SNI does.

    Because we have to write all of that on the outside of the envelope, everyone gets to see that we’re communicating with Business A. But what if one of the businesses at 192 My Street is highly sensitive and we’d rather people didn’t know we were communicating with them? @[email protected]’s proposal is basically like if you put the “Business A” part inside the envelope, so the mailman (and anyone who sees the letter on the way) only see that it’s going to 192 My Street. Then the front room at that address could open the envelope and see that the ultimate destination is Business A, and pass it along to them.




  • Also, don’t tell me you need to roll more than sixes to win yahtzee

    Ok but this is an interesting question.

    If you rolled only sixes, you’d score 30 in the upper section, missing the bonus.

    Then in the lower section you’d get 30 in each of 3 & 4 of a kind and chance (90 points) and 50 for the Yahtzee. One could make a case that it’s a weird full house, but that’s a stretch.

    That’s a total of 170 points. That’s not going to do very well when 250 is often considered a minimum “good” score.

    However…some rules give you an extra bonus for a second or subsequent Yahtzee. With that, you could actually win with all sixes. Just get 100 after 100 after 100 and end up with over a thousand points.


  • On a mobile phone it’s super easy. Long press the hyphen button and swipe over to the dash.

    On Mac it’s pretty easy still, but requires a little more knowledge. Option-shift-dash. (Without the shift gives you an en dash.)

    On Windows it’s the completely arcane alt-0151, and only possible if you have a numpad. I memorised it like 15 years ago and have regularly used it since, but it’s hard to blame people for not doing so.

    No idea about Linux.



  • Zagorath@aussie.zonetoMicroblog Memes@lemmy.worldoddly specific
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    11
    ·
    11 小时前

    They are not certainly using int

    Probably why I said “almost certainly”. And I stand by that. We’re not talking about chat_participant_id, we’re talking about GROUP_CHAT_LIMIT, probably a constant somewhere. And we’re talking about a value that would require a 9-bit unsigned int to store it, at a minimum (and therefore at least a 16-bit integer in sizes that actually exist for types). Unless it’s 8-bit and interprets a 0 as 256, which is highly unorthodox and would require bespoke coding basically all over instead of a basic num <= GROUP_CHAT_LIMIT.


  • Zagorath@aussie.zonetoMicroblog Memes@lemmy.worldoddly specific
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    10
    ·
    13 小时前

    Except that they’re almost certainly just using int, which is almost certainly at least 32 bits.

    256 is chosen because the people writing the code are programmers. And just like regular people like multiples of 10, programmers like powers of 2. They feel like nice round numbers.



  • The earliest recorded peace treaty was between two Middle Eastern empires, and was written millennia before the religion of Islam came into being. Many of the ancient world’s most famous conflicts happened in the Middle East, long before Islam. The Judahite Revolts against the 2nd Babylonian Empire, resulting in the destruction of Solomon’s Temple. The conquests of Cyrus the Great and Alexander the Great. The many wars Rome fought with inhabitants of the Middle East, including the Parthians, Sassanids, and Judeans.




  • Zagorath@aussie.zonetoScience Memes@mander.xyzDolph is prime human
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 天前

    If guys like this are good at getting whole generations of people interested in science, more power to them

    That’s the problem here though. He might be good at getting a certain kind of STEM bro into science, but his smart attitude turns away heaps more. He contributes to the perception of science as being hostile to women, at the same time as reinforcing the perception of science as elitist and exclusionary. He might’ve fit in well in the '90s and '00s, but unfortunately he’s around in the '10s and '20s.






  • Hard disagree on that. That’s assuming the intentions of the people.

    No it’s not. It’s acknowledging the fact that campaigning politicians largely view people as one of the following:

    • With us
    • Against us
    • Someone we might be able to persuade to be with us
    • Not relevant

    If you don’t vote, they categorise you in that last one. It doesn’t matter what’s in your heart, what matters is how they perceive you. The only tool you have to change that is your vote.