• 2 Posts
  • 36 Comments
Joined 3 years ago
cake
Cake day: January 23rd, 2022

help-circle



  • BaumGeist@lemmy.mltoProgrammer Humor@lemmy.mlI love Rust
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    2 months ago

    Implementing Equality in Haskell:

        deriving (Eq, Ord)
    

    After learning how easy it was to implement functional programming in Rust (it’s almost like the language requires it sometimes), I decided to go back and learn the one I had heard about the most.

    It opened my mind. Rust takes so many cues from Haskell, I don’t even know where to begin. Strong typing, immutable primitives, derived types, Sum types. Iterating and iterables, closures, and pattern matching are big in Haskell.

    I’m not saying Rust uses these because Graydon Hoare wanted a more C-like Haskell, but it is clear it took a lot of elements from the functional paradigm, and the implementations the designers were familiar with had descended through Haskell at some point.

    Also, deriving is not the same as implementing. One is letting the compiler make an educated guess about what you want to compare, the other is telling it specifically what you want to compare. You’re making, coincidentally, a bad comparison.









  • That’s a very complex question with many, many answers. No individual life can be boiled down to a single phenomenon. A lot of the answers I’m seeing in here are great, ans definitely describe a phenomenon at play, but it’s important to remember that nobody’s just outright stupid enough to fall for a single piece of rhetoric. Instead, them coming into bigotry is the result of a complex web of ideas that brought them to that conclusion.

    That being said, I’ll add my two cents that I don’t see anyone saying: privilege. Privilege insulates people from how cold and cruel the world can be; in doing so, they don’t learn the comraderie that grows out of shared hardship (aka empathy). They see others experiencing it, and assume they are weak, both for “allowing themselves” to fall into hardship, as well as for “getting conned” by others who have fallen on hardship. This too adds fuel to the fire that is all the other reasons people get pulled into hateful ideologies.

    Imagine being excluded from some perceived secret club based on conditions you didn’t have a choice in, and seeing women or bipoc or lgbt or the working class supporting each other. You too would feel resentment towards those who won’t include you in their circles. Yet you never developed the proper understanding of the ties that bind them, so you only see it as hate towards you and your demographic; this then becomes a feedback loop: your hate hurts thode communities, making them even more interdependent on each other, making you more resentful and frustrated.

    You fall in with people you don’t really like because of a shared disdain for The Others, and then, because that’s your only lived experience, assume all identity-based comraderie is necessarily just a loose collective of people that only get along because of a common enemy. This reinforces your belief that The Others hate you, only adding fuel to the fire of your own hate.

    This is also why these people are so easily manipulated: all you have to do is control their perception of who hates them, and they’ll do whatever you say to make it stop. This is why politics and religion are such great examples, and no “side” is immune. Want to make a leftist out of a fascist? Convince them that The Jews are actually just the bourgeoisie, who must be killed for the good of ourselves and our nation. An anarchist who fears authoritarians will readily agree to being a part of an exclusive coalition of individuals that determines the way society is structured, so, y’know, the authoritarians don’t get their way.



  • Take the passive-aggressive nerd approach:

    1. Start a niche online movement that only cares about one aspect of computing and convinces people all their problems are caused by your pet peeve

    2. let the company dig its grave

    3. create a FOSS alternative

    4. sell a premium version for businesses (it includes phone support and management-friendly marketing matetials)

    5. congrats, you are now the de facto standard software in your field