• 0 Posts
  • 70 Comments
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle

  • I think a long time ago a vicious cycle began in the advertising space where predatory ads had more incentive to pay for ad space, so sensible people start to perceive ads in general as predatory. Now no sensible advertiser that’s trying to promote a legitimate product for legitimate reasons will do so by buying ad space, thus reinforcing the increasingly accurate perception that all ads are predatory.


  • And you think lending validity to Israel’s claims that its actions are purely to defend itself from a bigoted terrorist threat is going to help anything?

    There’s an enormous gulf between asking nicely and spreading imagery that implies you want to literally murderer all Israelis. Have you considered that the most effective action may exist somewhere between those two positions? Also I’m very mad at you right now for making me sound like a centrist. Blech.



  • I think it’s specifically meant to debunk the idea that meat is the only affordable source of protein-dense food, when in reality there are vegan protein-dense foods that are even more affordable.

    That doesn’t conflict with the fact that a well balanced diet is important; it’s just addressing one sticking point that tends to come up in these conversations.


  • Still much better than C++ templates, and I say that as someone who used to genuinely love C++ template metaprogramming. Admittedly Rust traits+generics are far more limited than C++ templates, but very often I find that to be a positive. The list of things that I feel traits+generics are missing is small and rapidly shrinking.



  • “what could I have done as Winston Churchill or (I think it was) Truman.”

    These people were influential but did not have unilateral power. In their position I would have tried to establish refuge for Jewish people and grant them protective status. Then because of how racist and dumb society was, I would have lost my political position and my influence.


  • 5C5C5C@programming.devtoMemes@lemmy.mlIsrael’s imminent fate
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    17 days ago

    Everything you’re saying really just supports the fact that the nations of the time were handling the situation in a wildly immoral way, and the creation of Israel as an ethnostate was part and parcel of that immorality, and remains highly consequential to this date.

    There’s no point asking me as an individual how I would personally have solved the crisis if I could travel back in time, because one person can’t unilaterally force a nation to do anything without being a dictator, and people don’t become dictators without doing horrible things.

    What matters is recognizing that the Israel of today came to exist out of two factors:

    1. Wealthy and influential Zionists wanted to claim Palestinian land by any means possible to further enrich themselves.
    2. Other nations wanted somewhere to send as many Jewish people as possible because they were antisemitic and didn’t like refugees.

    Now we’re stuck dealing with the consequences of our idiot racist ancestors. Let’s just try our best to not be overtly idiotic or racist ourselves (racist, for example, by turning a blind eye to the genocide happening to Palestinians, as if they’re not even human beings, or idiotic by thinking that there’s any justification for Israel’s insanely disproportionate use of force).

    Just to be clear, I’m not accusing you specifically of being racist or idiotic, I’m just describing my general position on things.





  • I use thread sanitizer and address sanitizer in my CI, and they have certainly helped in some cases, but they don’t catch everything. In fact it’s the cases that they miss which are by far the most subtle instances of undefined behavior of all.

    They also slow down execution so severely that I can’t use them when trying to recreate issues that occur in production.



  • And even if you do get to use pure modern C++ you’ll still get burned by subtle cases of undefined behavior (e.g. you probably haven’t memorized every iterator invalidation rule for every container type) that force you to spend weeks debugging an inexplicable crash that happened in production but can only be recreated in 1/10000 runs of your test suite, but vanishes entirely if you compile in debug mode and try to use gdb.

    And don’t even get me started on multi-threading and concurrency.


  • 5C5C5C@programming.devtoProgrammer Humor@programming.devC++
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    edit-2
    22 days ago

    There’s a difference between “You have to decide when to synchronize your state” and “If you make any very small mistake that appears to be perfectly fine in the absence of extremely rigorous scrutiny then this code block will cause a crash or some other incomprehensible undefined behavior 1/10000 times that it gets run, leaving you with no indication of what went wrong or where the problem is.”


  • 5C5C5C@programming.devtoProgrammer Humor@programming.devC++
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    edit-2
    22 days ago

    I’m not saying you can’t do multi-threading or concurrency in C++. The problem is that it’s far too easy to get data races or deadlocks by making subtle syntactical mistakes that the compiler doesn’t catch. pthreads does nothing to help with that.

    If you don’t need to share any data across threads then sure, everything is easy, but I’ve never seen such a simple use case in my entire professional career.

    All these people talking about “C++ is easy, just don’t use pointers!” must be writing the easiest applications of all time and also producing code that’s so inefficient they’d probably get performance gains by switching to Python.