• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: October 13th, 2023

help-circle








  • (very obviously, but people keep covering this like it’s a real thing so…)

    You get 100% or even like, 60% of women in on this, yeah. Things will change real quick. I’d hope for the better.

    If you get like 5-10% of liberal women doing this, which is by far the most that I’d believe, what’s going to happen is the corresponding 5-10% of men get sexually frustrated. Then they’ll go online and get caught up in all the incel->alt-right pipelines that already exist today, and men will swing further right.

    If we want a movement like this to work it needs to 1. Not punish people who are already on our side and 2. Provide a better pipeline than the alt-right already has for channeling sexual frustration into action.

    So cool, interesting idea, I wish it was workable but remember that a majority of women who voted voted for Trump. Even if men didn’t exist he would have won.




  • In addition to the excellent points made by steventhedev and koper:

    user.password = await hashPassword(user.password);

    Just this one line of code alone is wrong.

    1. It’s unclear, but quite likely that the type has changed here. Even in a duck typed language this is hard to manage and often leads to bugs.
    2. Even without a type change, you shouldn’t reuse an object member like this. Dramatically better to have password and hashed_password so that they never get mixed up. If you don’t want the raw password available after this point, zero it out or delete it.
    3. All of these style considerations apply 4x as strongly when it’s a piece of code that’s important to the security of your service, which obviously hashing passwords is.