Elixir for Cynical Curmudgeons

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • asdf-nodejs

    Node.js plugin for asdf version manager

  • That's what I would suggest as well. WSL2 and use asdf[1] to manage the erlang/elixir versions.

    [1]: https://github.com/asdf-vm/asdf

  • fuse

    A Circuit Breaker for Erlang (by jlouis)

  • > If you configure it well (the defaults are not always optimal) you can have your invisible mesh of services survive extended outages of the 3rd party APIs it depends on.

    This is something that annoyed me a bit with OTP. The basic strategies aren't really enough for that, so you need something like https://github.com/jlouis/fuse

    I wrote something like that myself, but it hasn't seen a ton of use: https://github.com/davidw/hardcore

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hardcore

    Erlang application supervisor - manage application crashes

  • > If you configure it well (the defaults are not always optimal) you can have your invisible mesh of services survive extended outages of the 3rd party APIs it depends on.

    This is something that annoyed me a bit with OTP. The basic strategies aren't really enough for that, so you need something like https://github.com/jlouis/fuse

    I wrote something like that myself, but it hasn't seen a ton of use: https://github.com/davidw/hardcore

  • datomex

    Elixir driver for the Datomic REST API

  • what would prevent you from using datomic with elixir? https://github.com/edubkendo/datomex

    there are other datalog-y tools as well, ie https://github.com/naomijub/translixir

  • translixir

    Crux Database Client

  • what would prevent you from using datomic with elixir? https://github.com/edubkendo/datomex

    there are other datalog-y tools as well, ie https://github.com/naomijub/translixir

  • reitit

    A fast data-driven routing library for Clojure/Script

  • gleam

    ⭐️ A friendly language for building type-safe, scalable systems!

  • If you're a fan of the ecosystem, but not of dynamic types, there are statically typed languages on BEAM, eg Gleam (https://gleam.run/)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • plug

    Compose web applications with functions

  • Yes, it’s a bit of a magic argument, but it’s the only unhygienic variable introduced with a Plug dispatch:

    https://github.com/elixir-plug/plug/blob/main/lib/plug/route...

    Everything else is explicitly passed, AFAICT.

  • tesla

    The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.

  • I haven’t used commanded, exmachina, or ash:

    - Tesla has a mode which can be used completely without macros, and I am increasingly encouraging that it be the only way that it is used. So does the author (as of 2020): https://github.com/elixir-tesla/tesla/issues/367#issuecommen...

    There is also `req` mentioned in a recent post as an alternative (it looks good, but I am still playing with it to see if it is a suitable replacement for Tesla in all cases).

    - Absinthe is something of a compiler itself, because it has to strictly define things the way that is specified in the GraphQL spec. You can now import an SDL file, but you still need to hook resolvers and middleware into it. Honestly, I don’t think that the schema definitions in JS/TS are much better for GraphQL in terms of readability.

    Being heavily macro-based means that there are sharp edges that are harder to work around when you want to add your own macros for code reuse purposes. That said, aside from the schema definition, Absinthe is entirely usable without macros. Within the schema definition, Absinthe isn’t making anything up, it’s using the same basic definitions that the GraphQL spec do, adapted for Elixir syntax.

    Exmachina didn’t interest me because I don’t think much of factory_bot (which used to be called factory_girl), as I saw it abused far more than used well (IMO, it’s impossible to use correctly). Ash…looks like an interesting experiment, but I don’t know that there’s a lot of pick-up with it compared to Phoenix. And I have yet to find a use for CQRS/ES, so there’s no reason for me to play with commanded. I certainly wouldn’t consider any of these three to be "major" players in Elixir. Tesla and Absinthe? Yes.

  • Elixir

    Elixir is a dynamic, functional language for building scalable and maintainable applications

  • > if is a macro.

    > def is a macro.

    > defmodule is a macro.

    > It’s all macros. It’s ALL MACROS! ALL THE WAY DOWN! AAAAAAAAAA AHAHAHAHAHHAHAAAA!

    Also see the definition for `defmacro`, the macro for defining macros, which is defined using... defmacro

    https://github.com/elixir-lang/elixir/blob/v1.15/lib/elixir/...

  • Gitit

    A wiki using HAppS, pandoc, and git

  • You're correct.

    It says at the bottom: powered by https://github.com/jgm/gitit

    Readme states that: "Gitit is a wiki program written in Haskell. It uses Happstack for the web server and pandoc for markup processing."

  • classless-css

    A list of classless CSS themes/frameworks with screenshots

  • No style attributes. You just use HTML markup and use a classless CSS framework to take care of making it look nice. My favorite is Marx, but there are others you can find here: https://github.com/dbohdan/classless-css

    Water.css, MVP.css, sakura, and Tacit are among the most popular.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts