• 0 Posts
  • 295 Comments
Joined 2 years ago
cake
Cake day: September 2nd, 2023

help-circle
  • 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.












  • It is not only an issue due to forever growth. Birthrates are so low in some places (like Japan), that the new generations will just be crushed by the (economic) burden of the older ones.

    Older people don’t contribute much to the economy, but they spend a lot. It’s just how it is. Older people are usually less healthy, and less healthy people eventually consume more resources than they can provide. This burden means that the younger generations will demand change to the government, and that will make retirement either worse or harder to achieve. Which will lead to the old days of working until you drop dead. Or distopian-like situations where old people willingly die to not be a burden, or even worse, they are killed by the government.

    And as you say, immigration just fixes the short-term effects. That future is inevitable with birthrates so low. Inmigrants usually adopt to the birthrate of the country very fast.






  • Completely missed my point.

    Asynchronous communication means that I send you a message whenever I want and you respond whenever you want.

    If I wanted to talk in the moment I would walk to your office or call you.

    Messaging makes no sense if I have to remember every message I want to send and send them when the receiver is available. That’s not how it works.

    It’s the receiver’s responsibility to read that message when they have to.


  • I believe this is the same people that will respond “not now, I’m in a meeting”. I know you’re in a meeting. It’s called asynchronous communication. I can message you whenever I want, and you can read and reply whenever you want. The messages won’t go away.

    Or even worse “I have not arrived at the office yet”. Then don’t fucking read teams.