• 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • dan@lemm.eetoProgrammer Humor@programming.devOrder
    link
    fedilink
    English
    arrow-up
    34
    ·
    edit-2
    1 year ago

    Lossless compression algorithms aren’t magical, they can’t make everything smaller (otherwise it would be possible to have two different bits of input data that compress to the same output). So they all make some data bigger and some data smaller, the trick is that the stuff they make smaller happens to match common patterns. Given truly random data, basically every lossless compression algorithm will make the data larger.

    A good encryption algorithm will output data that’s effectively indistinguishable from randomness. It’s not the only consideration, but often the more random the output looks, the better the algorithm.

    Put those two facts together and it’s pretty easy to see why you should compress first then encrypt.






  • I mean. Sorta.

    When you use some service you have some expectation that they’ll treat you fairly and predictably. Sure their Eula let’s them do whatever the fuck they want legally but that doesn’t change the fact that if they opt take certain actions (like arbitrary taking people’s usernames) then they risk losing user trust.

    If the admin just took your username one day would you just quietly accept it? What if they edited or deleted your comments? Would you just shrug and say “well it’s their site they can do what they want” and just walk away?

    Look what happened when Spez got caught editing posts on Reddit, for example. Massive user outcry.

    Dude’s allowed to be annoyed about it.





  • we’re seen as evil because we’re helping DRM exist and we’re ensuring people make money out of games

    No, you’re seen as evil because your software is an inefficient and invasive security risk that makes games significantly worse, and compromises/punishes your paying customers in the quest for more money.

    I no longer pirate games (thanks to Steam), but I’ll never buy one with Denuvo.

    Fuck allllll the way off.