aseigo

aseigo

Better Supervision Trees in 1.5 (and more!)

Exploring Elixir episode 3, and episode 3 Extra, are both out! In the main episode, we look at the new child_spec/1 function in Elixir 1.5 that makes creating supervision trees quite a bit nicer. It may look like a small feature at first, and in some ways it is, but it is one of those “bigger than it first looks” features imho.

In the Extra episode, there are new (and impressive!) 1.5/OTP20-vs-1.4/OTP18 benchmarks for records (tuples where the first element is an atom, such as {:ok, value}) thanks to a prod by @michalmuskala here on the forums, two more new features in Elixir 1.5 and OTP 20 (@impl and rand:jump), and address the possibility of an asciicast for future episodes.

Sorry to say, no asciicast with this episode … but next week is a new adventure. See you all then!

As usual, feedback and topic suggestions welcome.

p.s. I picked up a new, quieter, keyboard for this episode. I like having it in the background as it gives a “realtime” feel to it all, but I hope that it is now not so overwhelming and dominating in the audio. Let me know! (Looking at you @AstonJ :wink:

Most Liked

aseigo

aseigo

I actually have a proper pop filter buuut it ended up positioned unhelpfully during the recording … blaarg. Ah well, if there was nothing to improve, what ever would I do to stay entertained :stuck_out_tongue_winking_eye: sigh

AstonJ

AstonJ

Awesome - much better :003: the only thing you need now is a pop filter :lol: (you can make one yourself out of a metal hanger and an old (or new) pair of tights) or can just be lazy and buy one - even the cheap ones should be fine.

You are doing a fantastic job on these screencasts Aaron :023: and I completely agree with your comments in the second one :slight_smile:

Where Next?

Popular in Screencasts Top

sevensidedmarble
Since static typing is all the rage in Elixir right now, maybe some of you will appreciate my most recent video. It’s all about how to ge...
New
ElixirCasts
I made an episode about deploying with Gigalixir. https://elixircasts.io/deploying-with-gigalixir
New
NickGnd
Hey all :wave: Isaac Yonemoto is sharing some nice tips and tricks in his series Advent of Elixir :christmas_tree: Nice topics! And the...
New
ElixirCasts
I made an episode where we use escript to make a Rock-Paper-Scissors we can play from the command line. https://elixircasts.io/command-l...
New
ElixirCasts
I made a screencast on how to use Torch to create beautiful admin pages. Posted via Devtalk (see this thread for details).
New
hubertlepicki
So I just recorded this one where I build simple command-line tool in Elixir using TDD with ExUnit. Hope you like it :slight_smile:
New
AstonJ
Not sure if this is still going but adding it for completeness. Who Is This For? You’re a programmer. You’ve heard of Elixir and ...
New
Crowdhailer
Tokumei helps with building cloud native web applications. Some of the features that help to make it cloud ready. Containerised by def...
New
alvises
The Beauty of Pattern Matching in Elixir (Screencast + Transcript) One of the reasons I fell in :heart: with Elixir is pattern matchin...
New
CinderellaMan
Hello, I’m not sure where this should / could be posted, but I’ve put a lot of effort and just released my first video about streaming c...
New

Other popular topics Top

yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New

We're in Beta

About us Mission Statement