Elixir has built in four strategies for supervision trees to enable fault tolerant systems. The names of strategies are :one_for_one, :one_for_all, :rest_for_one, :simple_one_for_one. Enjoy the visualisations…
For a long time I haven’t been able to figure out “the way”(tm) to do mocks in Elixir.
I have explored different suggested patterns and found the one I prefer.
I wrote a blog post about it here: https:[email protected]/mocks-in-elixir-7204f8cc9d0f#.3k5oolwkg
I just released part 3 of my little blog series about Gatling.
ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
No major feature in that version but there was a couple of improvements across the board. Here are a few highlights:
- The Postmark adapter now supports server-side templates.
- The Mailgun adapter now supports attaching arbitrary data to emails (custom vars).
gen_stmpis now an optional dependency.
- and more… Check out the changelog for more details.
Updating Twittex to consume data from Twitter’s streaming API using Elixir GenStage.
José Valim is the creator of the Elixir programming language. Austin Erlang is taking a deeper look into José’s life to quantify the tenets of successful programming and living a rich and rewarding life.
I have been building a Phoenix REST API, and I wrote about the TDD process I use.
This is Part I, which focuses on separation of concerns to create reusable modules that can be used in any context, not just from the controller.
Ever wanted to get started with a Jenkins CI server? Check my latest blog post for the first steps..
In the next few posts about Jenkins, we’ll be working our way up to running tests for Elixir apps, looking at Distillery, doing deployments to standalone servers, as well as playing around with some more advanced Jenkins features like build pipelines.
Un post dando una vista rápida para empezar a aprender Elixir, en Español. https://mijailr.com/elixir/2016/10/17/primeros-pasos-con-elixir/
The latest version of OK has recently been released.
OK makes use of the
:ok tuple convention used in many erlang and elixir libraries. It provides a result pipe macro which supports early returns in the case of errors.
OK 0.2.0 upgrades the result pipe so it’s semantics match the the native pipe operator familiar to Elixir developers.
In general, benchee now scales units e.g. instead of reporting a gazillion microseconds it might report milliseconds or seconds and instead of 5 something million written out it will report 5.xx M(illion). Hope you enjoy this release!