Hi all,

Before write what I am about to write, I would like to be clear that this is a very controversial topic and, for the eyes of many of you, this will be even silly.

I also know that open source means “open for everyone”, and any conditional to that automatically makes a piece of software non-open source.

I really feel pissed off to see such effort for brilliant people from open source community being used for terrible things. So I started to nurture the idea of a license that would forbid the usage of a project by totalitarian governments, including its department and contractors, military forces of any country, certain entities like radical political parties, etc. Basically limiting the usage of those projects to any activity promoting human suffering.

Do you guys think that this is utopic? Does it really hurt the essence of open source? Do you think in the same way about this, and if yes, how do you cope with that?

  • Pierre-Yves Lapersonne@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    3 hours ago

    Did you have a look on ethical licenses? For example, Coraline Ada Hemke who created the Contributor Covenant (famous code of conduct) started few years ago the Organisation for Ethical Source promoting “ethical” licenses defined by seven principles.

    So in fact this third family of licenses is not open source nor free (as defined by OSI and FSF), nevertheless I feel some needs or willings in your side to go, let’s say, “one step further”.

    In ethical licenses you can find for example 999 ICU, ACAB, Anti-Capitalist, Peer Production, Hippocratic or some BSD 3-Clause variants about nuclear topics.

    You can also have a look on that slidedeck (in French, sorry).

  • chobeat@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    10 hours ago

    Licenses don’t stop bombs. In general, informational freedoms always benefits the stronger actor, because they already have the means to exploit the information better than other actors. Legal restrictions are just a bump in the road if what you produced is really really valuable for a corporation or a state entity: they can reimplement it, exploiting the design and “trial-and-error” work embedded in whatever you produced, or they can simply ignore licenses because nobody is going to ask the Israeli’s military to respect a license when they are slaughtering civilians.

    Social problems never have technical solutions.

    If you want to make software that is not captured by state or corporate power, you must create software that is incompatible with whatever they need to do. Embed a social logic that is worthless to their system but useful to our system. Anything else is eventually going to be captured. There’s a lot of literature on anti-capture design, and some of it manages to rise above the purely techno-optimist logic and provide something useful.

  • toastmeister@lemmy.ca
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    5 hours ago

    Projects like Bitcoin and Matrix are what’s going to fix these countries, not a license.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    6
    ·
    19 hours ago

    Much better to add features to your software that make it unusable in totalitarian situations.

    For example

    • if you’re building a reddit clone, make each subreddit elect their moderators every few months.
    • Maybe ask How fat is Kim Jon Un during installation.
    • Display the text “Taiwan is not a part of China” in the status bar, randomly

    …and so on. The possibilities are endless.

  • Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    edit-2
    24 hours ago

    I think one has to cope with it the same way the inventor of the ice pick had to cope with Walter Jackson Freeman II. You can’t really control what people do with your tools. If you think someone actively destroying lives will bend to the whims of a license, that’s cool. I wish I had that level of optimism. Right now it’s still pulling teeth to get companies to respect GPLv3.

  • A_norny_mousse@feddit.org
    link
    fedilink
    arrow-up
    17
    ·
    23 hours ago

    How do you define totalitarian governments in an actionable way? The license is a legal document.

    And what if the shitty government doesn’t give a shit about your license because it’s shitty?

    What if excluding any group of people in this way is actually illegal?

    That said, lots of licenses exist, e.g. non-commercial ones. Check them all out, don’t write a new one.

    • Coding4Fun@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      12 hours ago

      A good start to define an authoritarian government is recognizing what Amnesty International says. It is credible.

      For a totalitarian government, there is no law enforcement. And I would say that you are absolutely right saying that no license will stop the usage in this case.

      But there are other implications that could come from a restrictive licensing like make the distribution hard in that country, make it impossible to sell solutions with unlawful licensing to countries that are not totalitarian, make it hard or impossible to obtain support for that.

      But in essence, more than everything, is the open source community sending a clear message that we don’t collaborate with monsters.

    • LandedGentry@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      23 hours ago

      I keep seeing the second point but to me it’s like saying “why ban drunk driving when people drive drunk anyway?“

      There have to be enforcement mechanisms of course. But this license doesn’t exist, so we can’t go “there’s no way to enforce it” when we’re so far the theoretical that there wouldn’t be any reason for that system to exist yet.

      We have all kinds of other licenses that people disrespect, yet we have them and try to enforce them where we can. I don’t seewhy this would be any different, even if it’s a very difficult challenge.

      • comfy@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        21 hours ago

        We have all kinds of other licenses that people disrespect, yet we have them and try to enforce them where we can. I don’t seewhy this would be any different, even if it’s a very difficult challenge.

        Laws mean nothing as ideals, like you said, they need enforcement. Unless we engage in vigilante action, we rely on existing law enforcement systems, which do have biases and vested interests and therefore an incentive to ignore many of these criteria. Drunk driving is a case where most governments can look at it and see the obvious benefit to society and its rule, and will bother to at least try to enforce it. And LEA have resources that enable them to enforce that. This kind of license, on the other hand, doesn’t have that same motivation nor capability. Who’s going to stop a military using it? Their own government? Another government?

        It’s completely utopian.

            • LandedGentry@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              2
              ·
              20 hours ago

              Well apparently none of these licenses are enforceable so what’s the point of having them? Isn’t that your argument?

              • comfy@lemmy.ml
                link
                fedilink
                arrow-up
                7
                ·
                20 hours ago

                No, that’s not my argument. Plenty of those licenses are enforceable and sometimes enforced - even if they’re not enforced perfectly.

                My argument is that OP’s license is mostly targeting situations which, I believe, are unenforceable. I know this following example is ridiculous, but it’s a bit like saying “we should ban drunk driving in other countries”. Drunk driving laws are useful, they’re enforceable even if not perfect, but there’s no point in trying to enforce them in other countries who won’t respect our laws.

  • novacomets@lemmy.myserv.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours ago

    Government can take all source code and use it for their own secretive proprietary. If a court tells the government to release the source code, who can enforce the court order against the government since government can eliminate all lfunding and shutdown departments?

  • Jack@slrpnk.net
    link
    fedilink
    arrow-up
    8
    ·
    24 hours ago

    I don’t want to discourage you, so go for it, it may be fun and you may learn some things or at least think on difficult topics like:

    How do you measure human suffering?

    How do you deal with extremists that truly believe their cause?

    And maybe most interesting what if the radicals are not wrong? (Talking about topics like climate change or overthrowing oppressive regimes)

    If this can give you hope I cope by knowing that open source at least sometimes levels the field for the disadvantaged. Like the situation with Deepseek and openAI

    • comfy@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      21 hours ago

      Good points. In fact, many of the normalized things we take for granted today (like the eight-hour day, liberations of many colonies) were gained through the efforts of radical parties and radical, including violent, actions.

      The status quo causes immense suffering. There’s a trolley problem at play - to do nothing is to be complicit in suffering. Radical opinions are needed to break with the status quo to reduce suffering, even if it involves direct action against the people running the system.

      • Jack@slrpnk.net
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        21 hours ago

        Overall agree, but I would like to add that radical parties and violent action IMO will not solve any problem alone, there is also please for peaceful protests, for writing manifestos, for writing license agreements and of course for writing open source code.

        • comfy@lemmy.ml
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          21 hours ago

          I absolutely agree. Violent direct actions are rarely the preferred route even of notorious groups like antifascists. Even (left) radical groups usually understand and teach that mass movements are safer and more powerful, the best way to win a battle is without firing a shot. And the failure of the late 1800s/early1900s anarchist propaganda of the deed assassinations proves your point that violence alone won’t solve problems. My caveat is that when violence becomes tactically appropriate, we shouldn’t assume it’s inherently wrong.

    • Coding4Fun@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      12 hours ago

      Amnesty International is a good start point to evaluate if a government is violent, authoritarian or perpetrating crimes against human rights.

      You don’t deal with extremists. Dialog only works with who is willing to dialog.

      Radicals maybe not wrong about their claimings but are wrong about heir methods.

      I replied another comment about enforcing the licenses is not the only thing to consider. Secondary effects like making impossible to sell product to other countries that do respect the license, make it difficult to distribut the software to de “sanctioned” countries and even stop to offer support are some consequences that the community can impose.

      • Jack@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        11 hours ago

        I would love to live in a world where you can afford to just not deal with extremists.

    • मुक्त@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      17 hours ago

      When I was younger, I once imagined a universal court which would be above all supreme courts, but without any government backing or any force to enforce.

      The sole criteria it would have is that the case before it has been studied by supreme court of any nation, and ruled in violation the principle this court observes. This court would then study the case and then rule punishment to the accused AND penalty to the erring judge of the supreme court. The enforcement of its will shall happen in the good old American way of bounties and bounty hunting.

      It was quite detailed, but the relevant crux here is that enforcing justice doesn’t need dedicated manpower or government backing.

      However, a specified court/judiciary is definitely required for a legal recognition.

    • LandedGentry@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      edit-2
      23 hours ago

      You’re right. We should just try nothing. Let’s get rid of GPL while we’re at it since it’s often disrespected too.

      • comfy@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        21 hours ago

        I don’t think it’s useful to directly compare the GPL. It’s often disrespected, yes, but it’s also often enforceable. If you violate the GPL in a for-profit product, you might be someone the courts have jurisdiction over and the license is enforceable. It is sometimes enforceable and therefore useful. In OP’s proposal, the only target of it I see as viable is the “radical parties”. All those other targets are pretty out-of-reach.

        As a side point, GPL, along with MIT, CC0, WTFPL, etc., would still be somewhat useful regardless because they forfeit rights. I can modify and republish the software publicly because I’m confident I can’t legally be sued for it.

        • LandedGentry@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          21 hours ago

          But that is my entire point. The reason we aren’t enforcing what OP is proposing is because it doesn’t exist, so no enforcement apparatus exists. Why would it?

          Presumably we would do what we always do: make a rule, then create an enforcement mechanism.

          • comfy@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            20 hours ago

            The reason we aren’t enforcing what OP is proposing is because it doesn’t exist, so no enforcement apparatus exists. Why would it?

            Our legal systems already recognize and have some mechanisms to enforce contracts and licenses. We don’t need to build a whole new one for each license. But our existing copyright system already fails to enforce itself in certain countries and with certain entities (e.g. military) and I just can’t see that changing.

            • LandedGentry@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              20 hours ago

              Then what are we debating? You’re saying we don’t have a way to enforce it, then when I say let’s make one, you say we do have one. Which one is it?

      • NKBTN@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 hours ago

        It’s been tried before, usually as a joke. Kids magazines that say “not for sale to adults”. Gaming mods that make you pledge your first born to the developer. To work, the laws of the country the user is in will apply, and will have to be enforced.

  • comfy@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    21 hours ago

    Do you guys think that this is utopic? Does it really hurt the essence of open source? Do you think in the same way about this, and if yes, how do you cope with that?

    I do think it’s utopian and I can’t see it being effective, but you do raise a good question: “Does it really hurt the essence of open source?”

    I see open source through a pragmatic lens, not some untouchable liberalist moral right. I’m not the kind of person who says “We should hand power over to the fascists since they did win the vote this time”, or “Nazis have a legal right to be here, stop harassing them!”. Helping people in reality is more important than trying to implement abstract ideals consistently. So, when push comes to shove, I don’t really care about the essence of open source. One could claim that copyleft (e.g. GPL, CC-SA) violates the liberty of companies to use code freely. Yes, it does violate their liberties, but that’s a good thing. That’s the whole point, in fact. It’s a pragmatic compromise away from some abstract ultimate freedom, making it something that actually empowers us and avoids helping those exploiting us as much. And you’ve taken a similar theme - while I disagree with some of the entities you’ve chosen, I agree with your attitude. The essence of open source isn’t real, it can’t help us.

  • SammyJK@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 hours ago

    While this seems very optimistic, maybe even utopic to me, I think you should do it anyway. If it stops even one party from doing something malicious, it’s better than not having the license at all. I don’t know if it’ll be worth your time in the end, but might you might as well try!

  • NKBTN@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 hours ago

    It would require being couched in some kind of international law, and there really isn’t one that applies to all countries