• 0 Posts
  • 46 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle




  • the whole “there are two sides to every issue” mantra that i hear so many people use in everyday life has got to be contributing to this. i think a lot of people view the “two sides thing” as a tautology, and that enables them to more easily “pick a side” on things, assuming that both sides always have some merit to them. and some people use it to avoid picking sides entirely, because if they make something seem complicated enough then they don’t have to actually say anything meaningful about it.

    i would really like to see that mantra disappear altogether, or at the very least have people stop using it as an excuse for not having a well founded opinion. it does seem like people don’t let it slide very much on lemmy though, which is nice.



  • affiliate@lemmy.worldtoProgrammer Humor@programming.devLanguages
    link
    fedilink
    arrow-up
    13
    arrow-down
    7
    ·
    1 month ago

    i think it’s mainly people being cranky and set in their ways. they got used to working around all the footguns/bad design decisions of the C/C++ specifications and really don’t want to feel like it was all for nothing. they’re comfortable with C/C++, and rust is new and uncomfortable. i think for some people, being a C/C++ developer is also a big part of their identity, and it might be uncomfortable to let that go.

    i also think there’s a historical precedent for this kind of thing: when a new way of doing things emerges, many of the people who grew up doing it the old way get upset about it and refuse to accept that the new way might be an improvement.







  • if you’re trying to be malicious, wouldn’t it be better to multiply by Rand() instead of divide by Rand()?

    assuming there are a decent number of recorded sales, you’d end up seeing many of the calls to Rand() returning values very close to 0. so, if you’re dividing by those values, you’d end see lots of sales records reporting values in the thousands, millions, or even billions of dollars. i feel like that screams “software bug” more than anything. on the other hand, seeing lots of values multiplied by values close to 0 would certainly look weird, but it wouldn’t be as immediately suspicious.

    (of course a better thing would just be to use Rand() on a range other than [0,1])