• NickwithaC@lemmy.world
    link
    fedilink
    English
    arrow-up
    63
    arrow-down
    11
    ·
    1 year ago

    Just a reminder that Brendan Eich who founded Brave was ousted from Mozilla for being a homophobic piece of shit.

    Brave is the edgelord of browsers.

        • kameecoding@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          edit-2
          1 year ago

          sure mate, just tell me the result of the following without trying it out.

          0 && 1 && false

          • EuphoricPenguin@normalcity.life
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            If I remember correctly, 0 and 1 are considered falsy and truthy respectively, so it should be falsy and truthy and false which I believe would return false.

            Tried it out to double-check, and the type of the first in the sequence is what ultimately is returned. It would still function the same way if you used it in a conditional, due to truthy/falsy values.

            • kameecoding@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              1 year ago

              yes, that is a solid logic, one that I also applied and expected to be the result.

              that is until a Vue component started complaining that I am passing in a number for a prop that expects a boolean.

              turns out the result of that code is actually: 0, because javascript

              of course if you flip it and try

              false && 0 && 1

              then you get false, because that’s what you really want in a language, where && behaves differently depending on what is on what side.

              • EuphoricPenguin@normalcity.life
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                1 year ago

                I was incorrect; the first part of my answer was my initial guess, in which I thought a boolean was returned; this is not explicitly the case. I checked and found what you were saying in the second part of my answer.

                You could use strict equality operators in a conditional to verify types before the main condition, or use Typescript if that’s your thing. Types are cool and great and important for a lot of scenarios (used them both in Java and Python), but I rarely run into issues with the script-level stuff I make in JavaScript.

    • d6GeZtyi@lemmy.world
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      23
      ·
      1 year ago

      Brendan Eich who founded Brave was ousted from Mozilla for being a homophobic piece of shit.

      He was ousted because he donated 1000$ to a political project that he personally supported, which yes, was banning of homosexual marriage.

      I specify that, even if I shouldn’t, the project in question is not something I agree with. Yet firing him and continuing to attack him years after (like you’re doing here) over opinions he kept personal (he didn’t bring it to Mozilla nor did he comment openly about this opinion) is a little shocking to me.

      Let’s say you personally supported a wildly unpopular, some might call bigoted, societal change, say drug criminalization in states that legalized it. As long as you just not exposed this in your professional life, how would you feel if your work fired you over it and if people kept bashing you (without knowing anything about you) and your future professional endeavors for the rest of your life?

      We should probably just chill out on that part.

      • kameecoding@lemmy.world
        link
        fedilink
        English
        arrow-up
        20
        arrow-down
        4
        ·
        edit-2
        1 year ago

        Let me translate your comment with equivalent wording that reveals it’s true nature.

        Imagine being caught calling for the eradication of jews in private and then being fired and called an anti-semite for the rest of your life. Even though you didn’t bring this into your workplace and then companies being reluctant to hire you.

        also your drug criminalization is an entire load of false equivalence bollocks, drug criminalization is a far more complex issue than Gay Marriage, or rather whether we should treat people equally. There are very valid arguments for certain drugs to be criminalized that are way too easy to abuse and kill people with, like fentanyl and I say that as someone that’s a supporter of full drug decriminalization.

        Not to mention there are levels to drug criminalization, there is a difference if you have a gram of drug on you or a metric fuck ton.

        There is no version of treating LGBT+ as just somewhat less equal that’s morally defensible.

        • d6GeZtyi@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          6
          ·
          1 year ago

          also your drug criminalization is an entire load of false equivalence bollocks, drug criminalization is a far more complex issue than Gay Marriage, or rather whether we should treat people equally. There are very valid arguments for certain drugs to be criminalized that are way too easy to abuse and kill people with, like fentanyl and I say that as someone that’s a supporter of full drug decriminalization.

          Sorry english is not my first language, so that wasn’t clear. By drugs, I meant cannabis here, well I don’t know the details in the US but “soft drugs” that’s being de-criminalized there. Not other kinds of drugs. Though that was just an example to make people realize that expressing unpopular opinions, as long as they’re not illegal, should not lead to firing people and insulting them for life.

          Also, you’re the one exposing false equivalences with your godwin point. Being against marriage of homosexual people is not at all akin to mass murder. And the action of calling for the eradication of any people is (rightly to me) illegal in any case.

          There is no version of treating LGBT+ as just somewhat less equal that’s morally defensible.

          Never defended the guy’s opinions, I just find comments here a little bit (euphemism) extreme.

          • kameecoding@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            how are you not defending him? you are literally making arguments in his defense or in the defense of someone like him, trying to get people to empathize with him for having an “unpopular opinion”

            so if you think mass murders are a bit of a stretch (it really isn’t if you know anything about fascism) let’s say he donated to a political group whose goal is to make interracial marriage illegal, do you still think you need to make comments about how that’s “just an unpopular opinion”?

          • obviouspornalt@lemmynsfw.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Being against marriage of homosexual people is not at all akin to mass murder.

            Continuing to marginalize a vulnerable segment of society sends a message that it’s ok to harass and kill members of that segment. It’s not mass murder, but it certainly encourages violence.

          • icydefiance@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Being against marriage of homosexual people is not at all akin to mass murder.

            How do you think genocides start?

      • RaoulDook@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        arrow-down
        4
        ·
        1 year ago

        Nah it’s fair to keep hassling people who have done bad things to society like that. I hope that all the Jan. 6th traitors have a similar permanent status of being hassled about it too.

        • Buddahriffic@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I get it, but not giving them any kind of an out means they will be permanent enemies even if they do change their mind about wanting a Trump coup. But on the other hand, it’s hard to tell if someone really changes or just realizes they should pretend they’ve changed to make their life easier and bide their time for the right time to come back out.

          I just know that I have some views now that are polar opposites of what I believed when I was younger.

      • jerkface@lemmy.ca
        link
        fedilink
        English
        arrow-up
        15
        arrow-down
        3
        ·
        1 year ago

        There are unpopular personal views, and then there is advocating to politically oppress human beings. That’s a hard bright line that disqualifies someone from all civil affairs among decent people.

      • mr_tyler_durden@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        6
        ·
        1 year ago

        From his lack of response on the topic it’s clear he still supports that position (being anti-gay marriage). He was ousted in part because Mozilla is supposed to be and open and inclusive place to work, hard to do that when your boss doesn’t believe you should be allowed to marry.

        Furthermore he proved his lack of morals and character by starting a crypto browser. This guy isn’t worth defending.

        Jobs fire people ALL THE TIME over personally held beliefs or things they say/do outside of work. We can argue that’s not right but as long as it happens to the rank and file I think it appropriate to at least try to hold C-level to the same standards. If it helps you sleep at night I’m almost sure he would have survived the backlash at any company that wasn’t like Mozilla, lord knows C-level came get away with murder most places.

        • AlecStewart1st@lemmy.world
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          4
          ·
          edit-2
          1 year ago

          He was ousted in part because Mozilla is supposed to be and open and inclusive place to work,

          So by “open and inclusive” that means “everyone has to have the personal opinions, even when they don’t bring any of those opinions to the company?”

          To clarify, I think gay people should be allowed to marry. I don’t agree with the supposed position Brendan Eich has. I say “supposed” because you haven’t provided any proof that this is his position.

          Here’s 2 great questions you should answer:

          1. Should Muslims be allowed to work at Mozilla?

          Islam is very anti-gay, and if you’ve met any Muslim immigrants, I have, they don’t think the gays should marry either. Among, uh, other things. Depending on age and where they’re from.

          1. Should you be penalized/reprimanded/fired by your employer for having opinions they don’t agree with?

          Let’s say this: you work for a Pakistani Muslim and in a workplace that’s predominantly Middle Eastern and North African. He doesn’t believe in gay marriage, you do. You donate like $50 to some LGBTQIA+ organization. Should your boss fire you?

          Or let’s be less controversial: you want to legalize all drugs and donate to a candidate who thinks the same. Your employer had a family member who died of a heroin overdose, and they’re pretty anti-drug. Should they fire you?

          Or lastly: you’re a Republican. Your boss is a registered Democrat. Neither of you talk politics at work and you get along well and you do your job. Should they fire you?

          hard to do that when your boss doesn’t believe you should be allowed to marry.

          Was Brendan Rich going out of his way to tell any gay people at Mozilla he thinks they shouldn’t marry? Was he bullying gay subordinates? If he was, yea, he should absolutely be fired. If not, it doesn’t make sense to me for an employer to fire you for personal opinions you hold that don’t effect your day-to-day job.

            • AlecStewart1st@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              1 year ago

              Sure, I don’t disagree. But you can’t fire them simply because Islam isn’t pro-gay.

              But I need proof that Eich was going out of his way to specifically oppress the gays, not a “well obviously” or tangential claim. If he simply donated to some Republican who later turned out later to actually be anti-gay marriage, who’s to say Eich didn’t know they had that position?

              And we don’t even know if Eich is against gay marriage, no one here has shown proof of that. Should I assume you’re possibly Islamaphobic because of your comment? I don’t think I should.

              We can’t assume people’s positions based on nothing tangible. It comes off as obnoxious mind reading. In fairness, the internet created these mind reading games all political sides do, because it gets attention and likes. If someone truly holds a disagreeable opinion, you should be able to sufficiently counter it. Granted, that’s a whole different think when we’re talking about being in the workplace.

          • BeardedBlaze@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            3
            ·
            1 year ago

            Believing in oppressing other people’s rights is not the same as actually taking an action to take those rights away.

            • jerkface@lemmy.ca
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              1 year ago

              Advocating those beliefs is! If he wasn’t doing that, no one would know about it

          • UmbrellAssassin@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            9
            ·
            1 year ago

            Look, a well thought out argument that really shows the hypocrisy of people now a days. Of course no one is going to respond.

        • d6GeZtyi@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          1 year ago

          Jobs fire people ALL THE TIME over personally held beliefs or things they say/do outside of work

          I thankfully (at least in my opinion) live in a country where this is illegal and it does seem well-enforced (I live in France). I understand this can and does happen in the US, but I still find it shocking enough for me to comment on it. The firing of Brendan Eich had a pretty big backlash so I’m not the only one.

          Furthermore he proved his lack of morals and character by starting a crypto browser. This guy isn’t worth defending.

          I do not use brave either because I’m not comfortable with the philosophy and whole crypto thing, but using that as a proof to “the lack of morals and character” of Brendan Eich is a big shortcut to take IMO. Ironically that quoted parts also sounds like something I normally would more likely hear from someone at the opposite side of the political spectrum - from what I guessed is your political affiliation - but I digress and my guess may be completely wrong (in any case, I don’t care much, I just thought it may help me to make you get my point).


          Then to make things clear, I’m not against boycotting companies due to the personal actions of someone you vehemently disagree with, I’m against the idea of insulting publicly both him and the projects he’s affiliated with every time his name comes up. This is the very annoying and toxic part.

        • jerkface@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Furthermore he proved his lack of morals and character by starting a crypto browser. This guy isn’t worth defending.

          I wish you had that level of moral integrity when it comes to working with companies that are banked by institutions that ravage and pillage the working class.

    • Pepper1700@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I only use it for the rare web app where I really don’t want the browser ui on pc, any suggestion, preferably before this cryto scam go down? I tried Gnome Web, but on my pc it freeze and crash wherever there is a video on screen.