• 1 Post
  • 37 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle
  • A lot of the time it’s about being lucky enough be able to have or form connections with rich stupid people. Those kinds are a lot more willing to throw insane amounts of money at someone/some company they vaguely know to do things they know nothing of but hear a lot about.

    Or just working at a company that’s well-known in the area and deals with clients very intimately while the product is being created.

    Sometimes charging more for the same service makes them want it more, to them it means it’s premium programming (as opposed to the off-brand wish dot com programming). But sometimes they demand disgracefully cheap yet world-class service and throw a tantrum when they can’t pay you $5 an hour for a full rebranded recreation of the Amazon web service.







  • I don’t work on any widely-used languages (I’ve made my own but not anything important) but I do think the designers of Zig and Rust have very good reasons for using semicolons – I read some reasons from the Rust devs themselves somewhere but I can’t remember them other than it vaguely being about how Rust is expression-based and intended to be lightweight and how whitespace significance can create confusion around how to read and write certain things and bla bla bla…

    but my personal opinion, what I generally I would imagine it’s for other than readability, is because the code can look a lot cleaner when an expression returned from a block is just the expression, and not expression plus some token like return. It’s especially nice in long closures or extremely short and simple blocks. I would rather consistently have to write expressions broadly like let a = { b + c }; rather than let a = { return b + c }. The semicolon has significance as a “result discarder” so expressions can be the default, so it’s on the surface a lot more functional-friendly.

    Also this is more specific but I hate the way WS languages generally handle quotes


  • That said, with how few expressions are return values, I do wonder why semicolons are the default rather than adding a special character to indicate return values.

    you mean like return/break/etc.?

    because Rust was designed to remind you of functional programming despite not being very functional, and because semicolons allow way better syntax rules in Rust and are generally pretty vital for good, readable lowish-level code. it also allows Rust programmers to use newlines/indents and stuff to pretty up their code a lot without littering it with random \ and |> and begin end and such everywhere, which, given how dense Rust code can be and how much it uses iterators and weird trait magic, is a big plus for readability



  • Well IIRC, for America, the funding money amount for Ukraine is usually just an estimate of the worth of already manufactured goods, mainly of weapons that we have stored that we weren’t gonna use in the first place, and only a small portion of the dollar amount is stuff like clothes, food, etc. which would be seen as an actual cost to the US. We have sent Bradleys and M1 Abrams (and some European countries sent Leopard 2A4s? and Leclercs I think), but I’m pretty sure they weren’t in use by the military and weren’t planned to be upgraded for use any time soon (but I’m just guessing, I can’t Google it rn, I may just be completely wrong on that).




  • Depends on the language. I’m not gonna find shit to copy-paste for what I’m doing in Scala 3 or F#, but in Rust or C++ I’ll frequently Google an issue I can’t figure out and someone will have some fancy black magic hacker solution with super-iterators and turbofishies and weird type inference that I couldn’t think of myself and just throw it in my code with some minor modifications :)



  • Idk what the other guy’s problem is, he needs some serious help, but the OP isn’t minimizing abuse, he’s providing reasonable explanations for this occuring. He’s not minimizing anyone’s abuse, and accusing him of such a thing is unhelpful to say the least.

    Should it be this way? No, it’d be way better if men and women weren’t treated any differently and everyone was encouraged to get the help they need equally. I read his comment as saying this is a cultural issue, not a Google issue, and that it’s important that those of us who can should speak openly with other people about the problems gender inequality causes in our society in order to push our communities to treat both men and women seriously when it comes to things like abuse.

    If I were to expand on that I’d also say that it’s worsened by the fact that our society’s perception of abuse in general is completely fucked, and that treating one group as the aggressor and the other as the victim by default hurts everyone in many ways, but that’s a larger scope than the topic at hand and I don’t want to risk derailing the discussion of our culture’s refusal to see men as potential victims.

    Point is he’s not at all blaming men, or saying “men are statistically more likely to do X so they SHOULD treat it like this”, he’s saying “men are more likely to do X which is their rationalization for them treating it like this, but it’s part of a bigger problem that we need to fix”. But maybe I’m not seeing how it was a malicious comment.



  • Yea I’m “anti-Israel” by many metrics but this is just a misleading and seemingly propagandic take… Judaism comes in many different forms and can range from extremist, highly conservative-orthodox beliefs which believes itself to be the superior race and all the others go to some burning hell (as seems to be described in this post which represents a minority of jews in the US at least), to any of the apolitical beliefs that lack any sort of hell-equivalent or even afterlife at all in some cases, where the entire point of the religion basically boils down to “be a good person to everyone around you”. Judaism is an extremely diverse religion, hell you could even make an argument about Christianity and Islam just being highly derived forms of extremist Judaism (since Christianity originated as an offshoot of fringe jewish beliefs and Islam developed most of its unoriginal beliefs from Judaism and Christianity). Very few Jews actually have extremist/Christian-like beliefs about their religion (I don’t know about in Israel though, they very well could)