• 0 Posts
  • 271 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle

  • Part of the problem might be that the example of a better hero is just some sports player. While there are things to admire about that level of dedication to something, there’s nothing heroic about playing sports.

    Though the problem isn’t so much that sports icons are treated as heroes at all but that I can’t really think of any good heroes to look up to outside of fiction.

    Though I also think that maybe we should look up to deeds rather than people, since when it’s a person, that person’s flaws become part of the question, but it’s really the deeds that should be emulated anyways, even for the ones that didn’t have some massive disqualifying flaw come out.

    Like if you want to be more like Mr Rogers and do it by just wearing sweater vests and changing shoes when you come inside, you’re missing the point.

    Similarly, if a serial killer rushes into a burning building to save a kid and their cat, that’s still admirable, even if it doesn’t get them across the line to “ok person overall”.











  • One guess is that maybe she had previously had someone she got along with really well (friend or collaborator) but he had caught feelings and asked her out and she rejected him because she wasn’t into him like that only for him to also withdraw from the platonic relationship. So, given that experience, she knew it was a lose-lose situation when you asked her out but decided to try accepting the date but just wasn’t into it at all.

    Though another possibility is that she’s had bad experiences rejecting guys (or maybe with stalking) and instead goes with the strategy of accepting the date but making them no longer want her by basically grey rocking them during the date.


  • What was his reasoning? Like I can guess at his actual reasons (guessing it was actually the money that motivated this and his misogyny just allowed him to justify it to himself), but I’m curious what he said about it after the fact, mostly because it can be hilarious to watch someone try to defend an indefensible position when they believe they are in the right.


  • The whole point of TPM is to enable passing keys so users can still view content (which needs to be decrypted to be shown at all) without being able to access the keys themselves (because it has its own public/private keys and the keys are encrypted using the public keys and the private ones aren’t supposed to be visible outside of TPM).

    If this exploit gives access to TPM and its private key, then you can use that to decrypt keys as they are sent and then decrypt a copy of the content that gets saved as such (instead of immediately re-encrypted with your monitor’s public key so you can’t just intercept the signal on the wire, which is also why HDMI has been unwilling to license an open source implementation because those details could reveal flaws and just one flaw could mean all media up to this point is now piratable without an insider leaking anything).




  • Oh yeah, and that’s where I think that knowledge comes in handy because they don’t just say “here’s a list of structures to use and the rules of when to use them” but they give you tools for evaluating how good various ideas are for handling that problem. It boils down to pretty much counting the CPU operations (which IMO is obvious, if tedious-seeming) and then goes through examples of how to do this to show that the math isn’t actually that overwhelming.

    Also it helps seeing equivalence between problems. Like your example is pretty much equivalent to scheduling threads on shared CPU resources with different priorities, especially if there’s a shared global cooldown between all those skills so they don’t just fire off when ready. They are a bit different but they might be close enough for a similar solution to work. So research can include CPU schedulers. Though on the other hand, something running at a game time resolution is trivial compared to the OS that needs to determine this as quick as possible so it can switch to the next thread (which is also an important consideration because it might not be worth optimizing this part at all vs say the order you process the data in each frame, though this isn’t a lesson from algorithms or data structure class but more general “how to optimise usefully” advice).




  • Somehow I got into an efficiency/performance focused mindset pretty early on, so I appreciated the algorithm analysis when I got to it (though I thought then and still do think that big O notation simplifies it a bit too much… Those dropped terms can be just as or even more significant as the final term when it comes to typical data sets, but it’s still useful in understanding how an algorithm scales).

    And I’d say that just going over the existing data structures and understanding their strengths and weaknesses can help just by being aware something exists. Like if all you know are arrays and linked lists, you’ll probably struggle a bit to handle key/value pairs. And then, once you learn about them, you might use them for everything and then wonder why your code runs so slowly.

    And the main reason why I’d like more people to be aware of how to be good programmers is that there seems to be a lot of people that just go from “something I’m doing as a hobby” to “something I’m doing for money” or “a large hobby project that has been picked up by the community”. And software quality has been dropping at a similar rate to how much hardware is improving.

    But you’re right that, without the greater context, a lot of it can be confusing and can beg the question of “why do I need this?”