digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

823
active users

#elixir

5 posts5 participants1 post today

If you have an Oban worker that does some stuff, do you put the function that enqueus that job define inside the same elixir modeule as the worker ?

I just can't fathom a reason to put it anywhere else. But maybe I'm missing something

I did a RIIR again and:

Two apps nearly-identical in functionality now. On startup, before processing anything:

#Rust + #Axum: 3.5MB RES
#Elixir + #Phoenix: 75MB RES

Literally 20x difference, and I haven't even benchmarked throughput/perf. For a use case where a big goal is extremely low resource use, this is huge.

(both of these are running in release/prod mode btw)

We open sourced Orchard, an #Elixir package to manage Apple simulators and devices in Elixir. Destinations become GenServers and are kept in sync with the system status, allowing you to use Erlang's primitives to supervise pools of simulators
github.com/tuist/orchard

An Elixir package for managing Apple simulators with OTP supervision trees - https://hex.pm/packages/orchard - tuist/orchard
GitHubGitHub - tuist/orchard: An Elixir package for managing Apple simulators with OTP supervision trees - https://hex.pm/packages/orchardAn Elixir package for managing Apple simulators with OTP supervision trees - https://hex.pm/packages/orchard - tuist/orchard

When writing a computer program
You may be amazed to find
That Plain Old Elixir Modules
Are how the code is organised

No matter how complex
Or unique your coding style
It still comes down to modules
When it’s time to compile

You can even change the language
Make it Erlang or maybe Gleam
It still comes down to modules
When you’re running on the BEAM

#poem #elixir #erlang #gleam #beam

A friend and I have automated the deployment, domain registration, TLS certs, databases and everything else that a #matrix server and user interface needs.

I'm just not sure if we should bring it over the finish line with the absolute dreadful user experience we had with matrix. I'm not even using it myself any more, so providing it as a hosted service is like lying to myself.

It's all FreeBSD and jail based with a Phoenix LiveView UI for potential customers.

#hosting #freebsd #elixir