• 1 Post
  • 360 Comments
Joined 2 years ago
cake
Cake day: September 2nd, 2023

help-circle






  • And how are women pushed out of “man jobs”?

    And how are we fixing that?

    Is it bosses that aim to have male coworkers turning down women? How is that different than bosses wanting artificially 50/50 turning down men?

    Is it not being represented in advertising? How is that different than what happens now. Where most advertising displays just women? Or if there is both a man and a woman, the woman is usually centered in the picture or doing a more important/powerful role.

    By “encouraging” women in the workplace, what you see is things being done to men that you complain was done to women.



  • As long as you call .collect() on it at the end, don’t need to write the entire type as it is a method with a generic parameter, and returns that generic.

    The intermediate iterators though, those are hell. Especially if you pass it to a lambda and for some reason rust can’t infer the type.

    I once came across a parsing library that did the parsing with basically just the type system. It was absolute hell to debug and build. Types of parsers would be hundreds of characters long. It would take tens of minutes to build a simple parser.

    I don’t know much much time it would take to build a complex parser, since it was unable to. it reached the max type generic depth of the rust compiler, and would just refuse to compile.

    I believe it was called Chomsky or Chumsky or something like that. Discovering nom was a blessing.