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

New
omgneering
This is a part of the ongoing elixir OTP series. The video walks through creating an application, talks about application structure and ...
New
sevensidedmarble
New video on LiveView for almost total beginner level: Hopefully this is a helpful starting point for someone out there!
New
ElixirCasts
I made an screencast that looks at Sobelow, a project that scans Phoenix applications for security issues. If you haven’t used Sobelow be...
New
ElixirCasts
I did an episode on Phoenix contexts. This is a good episode for anyone new to Phoenix or wanting to see how contexts work. https://elix...
New
omgneering
Up and Running - Elixir Phoenix on Digital Ocean A playlist of videos that go through basic app creation, getting a Digital Ocean server...
New
New
plicjo
I created a tutorial for implementing a toggle button in LiveView. It’s been done against Phoenix 1.7 to future-proof it, ...
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 exploring how to use Phx.Gen.Auth to handle authentication. Posted via Devtalk (see this thread for details).
New

Other popular topics Top

malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement