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
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    16 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
    14
    ·
    22 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.

  • Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    1
    ·
    edit-2
    2 days 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.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    6
    ·
    1 day 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.

  • A_norny_mousse@feddit.org
    link
    fedilink
    arrow-up
    16
    ·
    1 day 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.

    • LandedGentry@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day 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
        ·
        1 day 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
              ·
              1 day 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
                5
                ·
                1 day 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.

    • Coding4Fun@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      1 day 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.

  • FreeBird@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    23 hours ago

    https://lemmy.dbzer0.com/comment/16580585

    No, thanks. I don’t want to see “Users from North Korea, Syria and Iran are not allowed to use this Project” I am already banned from half of the Internet due to sanctions against the asshole leaders of my country. And GitLab has already banned Iranian IP addresses. This license will not stop those big bad organizations or governments, but the average citizen from accessing the projects. I know it is not the purpose of the license to prohibit the citizens of hateful regimes to use the projects, but I can’t be optimistic about the effect it might have on people living under tyrannical regimes.

  • Jack@slrpnk.net
    link
    fedilink
    arrow-up
    8
    ·
    2 days 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
      ·
      1 day 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
        1 day 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
          ·
          1 day 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
      ·
      1 day 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
        ·
        24 hours ago

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

  • novacomets@lemmy.myserv.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day 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?

  • comfy@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 day 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
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days 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
    ·
    1 day ago

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