chore: migrate missing blog from dev.to.

This commit is contained in:
James Harton 2023-08-17 15:37:40 +12:00
parent 1ab0ce0004
commit 4692cb4792
Signed by: james
GPG key ID: 90E82DAA13F624F4
3 changed files with 45 additions and 2 deletions

View file

@ -3,7 +3,7 @@ title = "Announcing Ash Authentication"
date = "2023-01-17"
[taxonomies]
tags = ["elixir", "ash", "oauth", "security"]
tags = ["elixir", "ash", "oauth", "security", "library"]
[extra]
cover_image = "ash_auth.webp"

View file

@ -3,12 +3,14 @@ title = "Announcing Reactor"
date = "2023-05-10"
[taxonomies]
tags = ["elixir", "ash", "reactor", "saga"]
tags = ["elixir", "ash", "reactor", "saga", "library"]
[extra]
cover_image = "reactor.jpg"
+++
> This post is mirrored from it's original location on [dev.to](https://dev.to/jimsy/towards-an-ethical-open-source-license-2fco).
I'm excited to announce the first release of [Reactor](https://hex.pm/packages/reactor) - we've extracted the core ideas from `Ash.Engine` into it's own package, added compensation and turned it into a dynamic, concurrent, dependency resolving saga orchestrator.
With reactor you break up your workflow into a bunch of [steps](https://hexdocs.pm/reactor/Reactor.Step.html) and define the dependencies between then using arguments. Reactor will calculate the dependencies and run steps concurrency as their dependencies are fulfilled until there are no more steps left running.

View file

@ -0,0 +1,41 @@
---
title: Towards an ethical open source license
published: true
description: What does open source even mean anyway?
date: 2019-04-16
taxonomies:
tags:
- discuss
- culture
- license
---
> This post is mirrored from it's original location on [dev.to](https://dev.to/jimsy/towards-an-ethical-open-source-license-2fco).
Recently there has been [a lot of discussion](https://www.theguardian.com/world/2019/apr/15/china-tech-employees-push-back-against-long-hours-996-alibaba-huawei) about [996.ICU](https://github.com/996icu/996.ICU) and this has highlighted an uneasy feeling I've had about Open Source for a very long time.
The [Open Source Initiative](https://opensource.org/) publishes the [Open Source Definition](https://opensource.org/osd) which defines, amongst others, the following criteria for a license to be considered Open Source:
> 5. No Discrimination Against Persons or Groups
> The license must not discriminate against any person or group of persons.
> 6. No Discrimination Against Fields of Endeavor
> The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.
These criteria were originally derived from the [Debian Free Software Guidelines](https://www.debian.org/social_contract#guidelines).
I write Open Source Software (OSS) for fun, not profit. I've written a lot of code that is useless even to me and given it away to see if anything interesting happens to it. I'm not a member of the Apache Foundation or the Mozilla Foundation, although I think those organisations do great work.
People write OSS for a lot of reasons; [for the lols](https://github.com/vanruby/canada), [to learn new things](https://github.com/exercism/exercism), [to be part of a community](https://github.com/thepracticaldev/dev.to), [because they need it for their job](https://github.com/edgurgel/verk) or [just because they can](https://gitlab.com/jimsy/vivid.ex). There are as many motivations for writing and giving away software as there are people doing it.
Writing OSS has always been a political act. When [Richard Stallman](https://en.wikipedia.org/wiki/Richard_Stallman) founded the [Free Software Foundation](https://www.fsf.org/) he was making a political statement. That political statement represents his desire for universal freedom to study, distribute, create, and modify computer software. The OSI was founded by [Bruce Perens](https://en.wikipedia.org/wiki/Bruce_Perens) and another guy whose name I won't mention because he's so toxic. I don't find it surprising that our "global movement" of giving away software for free has been framed by cisgender, heterosexual white dudes from the east coast of the United States. It has been said that the ability to write and contribute to OSS requires a certain level of privilege - enough spare time and resources to participate without negatively impacting your work or family life, for example - as such it's hardly surprising that the roots of our movement stem from a place of wealth and have a weirdly American flavoured libertarian bent.
So here's where I'm at: I want to write software and give it away for free. I want my friends or complete strangers on the internet to use my software for wonderful and surprising things. I even want people to build businesses using it if they can think of a way to do that. However, there are things I want to limit: I want to stop companies which mistreat their labour force, damage the environment or public health, discriminate against people, or make weapons from using my software. These are my core beliefs. Why shouldn't I be allowed to use a license that reflects them, when the licenses endorsed by the so-called Open Source Definition or Free Software Foundation so obviously reflect the beliefs of those that founded those organisations?
The idea of adding limits to open source licenses, other than those which enable derivative works to stay open source has been seen as taboo in our community. Why is this and what can we do about it?
## Update 5th June 2019:
I've only just found out about the [Do No Harm](https://github.com/raisely/NoHarm) software license. I like it.
## Update August 2023:
I'm in the process of migrating all of my open source work to the [Hippocratic License](https://firstdonoharm.dev/).