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

help-circle



  • Yeah, that’s my thought based on the complaints I’ve seen. It almost feels like they deliberately set it up such that complaints about boring early missions could be reframed as misogyny. Like I have no doubt that some of the complaints are coming from incel losers for incel loser reasons, but it’s sounding more like a dating simulator than the crime simulator you’d expect from the franchise.

    Not that I haven’t enjoyed a dating simulator from time to time, but they aren’t for everyone.








  • Ok, I understand the issue but I don’t understand your embarrassment from it. You didn’t write the initial bug.

    Btw, a faster way to check if a value is even is to just do a bitwise AND on bit 0 (if it is an integer, though it needs to be an integer for modulus to work anyways).

    In many languages it looks like:

    if ( val & 1 ) { \ it is odd }

    Division is a multi-cycle operation but bitwise comparisons are simple enough to be done in a single cycle, or could even be thrown on to instructions as a free extra that doesn’t add any extra cycles (eg any instruction with a bit mask, though it depends on the implementation as to whether it’s done for 0 extra cycles or more).

    Doesn’t really matter for a one off operation like halving the value of video display parameters, but if you have a loop that needs to check a lot of them, the bitwise and will pull ahead.

    And if you’re thinking “well we need to divide by 2 anyways and the modulus is available from that operation as long as the compiler sees it should save the result and the modulus”, a bitwise shift right (non-circular) of 1 is also way faster than divide by 2.

    Both of these can also be generalized for any power of 2, if necessary.



  • Or variations of this caused by a makefile not having correct dependencies set up, eg it points to dependent source files but not the headers so header updates get ignored during compiles. Made me add a “make clean” step to the debug process of “change that should have fixed the issue appears to be doing nothing at all” issues, or even just defaulting to rebuilding everything because test times can take hours or even days to get to the issue, so I don’t want to waste that much time only to find out it’s still running the old version.





  • Guessing out of touch execs saw how popular music piracy was and thought that meant everyone would jump at the idea of getting an album for free without piracy. Also mistook “sells well” for “everyone wants it” as well as “wants it” for “wants it on their phone right now”.

    Also as I understand, Steve Jobs was the kind of asshole boss that would fire people on the spot for arbitrary things, which probably resulted in a culture of yes men, though I have no idea how much he was involved in this.