• 0 Posts
  • 67 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle



  • You are in a contract with the government. Maybe an involuntary one, but still a contract. This contract gives you rights and benefits, but also obligations and responsibilities.

    When the government does not uphold their end of the contract, or changes it to essentially only obligations for you and no benefits, then it becomes extortion. Still not exactly theft, but closer to what you mean.

    However, the vast majority of people get benefits that far outweight the costs of the contract. Safety, transportation, education, utilities, etc.


  • But how does the Rust compiler do that? What does it actually check? Could I write a compiler in C that does this check on a piece of Rust code?

    C is so simplictic, that if I can write a piece of functionality in C, I must understand its inner workings fully. Not just how to use the feature, but how the feature works under the hood.

    It is often pointless to actually implement the feature in C, since the feature already has a good implementation (see the Rust compiler for the memory safety). But understanding these features, and being able to mentally think about what it takes in C to implement them, is still helpfull for gaining an understanding of the feature.



  • I have this experience with a certain type of pedestrian traffic light “button”.

    I quote button, because nothing physically moves when you press it. I’m not sure if it registers pressure or heat, but you don’t even feel anything move when you press it.

    Usually when you press the button, a red text lights up on the button, telling you to wait. This text gives you feedback that the button registered your press, and the traffic light will schedule a green light for you.

    However, sometimes you didn’t press hard enough, and the text doesn’t light up. Simple solution: press harder.

    But there is a scenario where it doesn’t matter how hard you press, the button won’t light up. You keep staring at it, while slamming the damn thing with the fury of a Hulk wealding Mjolnir. Still, nothing lights up. The reason: the light instantly went green, so it never needed to light up the text telling you to wait. And all that time slamming your fist on the button, could have been spend crossing the intersection. Instead you have been standing there, looking like a drunk person having a fistfight with an inanimate object.





  • Rednax@lemmy.worldtoEurope@feddit.orgSweden bans buying OnlyFans content
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    1 month ago

    It is not the physical danger, but the risk of people being manipulated, pressured, or straight up forced into doing it. That can certainly still happen with online content. It may not be the image you have of Onlyfans, but I can’t imagine it not happening to some degree.

    Exploitation also happens with foreign workers in the farming and logistics industries though. So under the argument they are making, I recommend also closing the entire farming and logistics industries.



  • I would not believe her. This reeks like attention seeking at best, or straight up narcissism at worst.

    Note that narcissism seems to be at least partially hereditary. So if it is true that her parents have NPD, she is problably has too. Especially with the behaviour you describe.

    The lashing out when people question their abilities reminds me of all the lashing out the most famous narcissist in the world does: Trump. Anytime someone calls out his bullshit, he goes on a rant, trying to discredit the person or organisation calling him out. Similarly to how your friend lashes out when you question their delusions of grandiosity.

    I recommend, at the very least, to make sure to set some extremely clear boundaries for yourself, and accept that if they are crossed, you cut all contact. Because trying to help another is pointless if it just creates another victem. But I would distance myself from this person. Even if she does need help, I doubt you can provide it.




  • I remember a javascript library where the was a function that returned, according to the documentation, “a color”. Did it return an object with 3 fields? Were those fields RGB or some other color scheme? Is it a string encoding a color? What format is that string? None of these questions could be answered without just running the code, and analyzing the object you got back.