I take my shitposts very seriously.

  • 9 Posts
  • 589 Comments
Joined 2 years ago
cake
Cake day: June 24th, 2023

help-circle



  • rtxn@lemmy.worldMtolinuxmemes@lemmy.worldJust something I made
    link
    fedilink
    arrow-up
    26
    arrow-down
    4
    ·
    edit-2
    14 hours ago

    People are losing their shit, calling for boycotts, and throwing around accusations of transphobia over comments in the source code and a single line of documentation? Seriously? And brigading the developer three years after the fact‽ I was ready to write off Ladybird, but damn, this was taken way out of proportion.

    I’m all in for equal treatment, but people need to get a perspective. Such an extreme reaction will ultimately hurt the cause they’re trying to advocate for. Getting bent out of shape and publicly brigading something for every perceived slight, every time someone’s feelings are hurt, or can’t get their way, will get them – and the demographic or movement they represent – labelled as undesirable.









  • Check the wording. I said Mozilla, not Firefox.

    I think Firefox is a great product and want it to succeed, but lately Mozilla has been burning its reputation by chasing the advertising and AI trends. Make no mistake, they are a for-profit company. That doesn’t mean their products should be shunned, but they shouldn’t be exempt from skepticism and rational distrust simply for being the lesser evil.



  • Change this:

        print(calculate(splitter(expression)))
    

    to this:

        print(calculate(* splitter(expression)))
    

    The error is that calculate expects three float values (x, and y, and z), but splitter returns a tuple object ((x, y, z) as one object, similar to arrays in other languages):

    >>> type(splitter("1 + 2"))
    <class 'tuple'>
    

    Prepending a tuple or a list with a * operator (unpacking or splatting) unpacks the object into its individual items that are then passed to the function as separate arguments.

    In fact, str.split() already returns a tuple. By assigning multiple values at once in x, y, z = expression.split(), you actually unpack the returned tuple into individual values, then in return x, y, z, you pack those values into a tuple.








  • I’m generally leaning towards progressive or left-wing ideas, but with a few exceptions.

    • While I support the goals of diversity, equity, and inclusion, I believe that DEI initiatives are highly susceptible to exploitation because of the widespread and largely uncritical public support of the concept (or even just the abbreviation) with little regard to the implementation; and by tokenizing ethnicity, gender, and identity, it is at risk of doing what it was meant to prevent.
    • I believe that law enforcement is a deeply flawed system to say the least, but ultimately necessary because the alternatives are lawlessness or ineffectual systems. This is of course colored by my European perspective where guns and driver’s licenses aren’t handed out like candy.
    • The “tolerance is a social contract” mentality is hurting society. A person who experiences rejection and exclusion from progressive communities for voicing “intolerant” opinions will not be interested in reconciliation, and will inevitably fall in with a more radical group where they experience acceptance and belonging, where they will never be exposed to different ideas and their views will never be challenged. Integration should be sought whenever reasonable.

    The last point is especially important to me. I grew up in a fairly conservative environment, and it took me a lot of conscious effort to un-learn my prejudices and learn acceptance. But whenever I get downvoted and shouted down for voicing an opinion that aligns with conservatives, or simply isn’t “leftist” enough, it makes me want to distance myself from “leftist” ideology and adds to my disillusionment.