News items from episode #21. Gleam 0.12 has been released, including Gleam OTP 0.1.2 https://gleam.run/news/gleam-v0.12-and-gleam-otp-v0.1-released/https://twitter.com/gleamlang/status/1322650886179573760 New OS based on Elixir and Erlang The Kry10 Secure Platform (KSP) is an Operating System on a microkernel called seL4®. It is built with Erlang, and Elixir technologies. https://twitter.com/boydmulterer/status/1323118735318642688https://kry10.com/blog/intro_to_kry10https://kry10.com/ Hex.pm adds downloads charts As a hacktober project, Todd Resudek…

Read More

News items from episode #20. SpawnFest winners were announced https://spawnfest.github.io/winners Bakeware was the overall winnerBakeware extends Mix releases with the ability to turn Elixir projects into single binaries that can be copied and directly run. No need to install Erlang or untar files. The binaries look and feel like the artifacts from other languages like…

Read More

Elixir v1.11.1 Released with fixes If you’ve already moved up to Elixir 1.11.0, make sure to get the latest bug fix updates. https://twitter.com/elixirlang/status/1317021884475711490  https://github.com/elixir-lang/elixir/releases/tag/v1.11.1  phoenix_live_dashboard v0.3.0 released Jose Valim shared a Twitter thread discussing the enhancements which includes screenshots to illustrate new features. Improvements include:  Adding Ecto Stats that shows relevant stats from your database,…

Read More

New Elixir case study with Discord https://elixir-lang.org/blog/2020/10/08/real-time-communication-at-scale-with-elixir-at-discord/ They have crossed more than 12 million concurrent users across all servers, with more than 26 million WebSocket events to clients per second Discord runs a cluster with 400-500 Elixir machines maintained by 5 engineers. Discord used Rust to create a new type in Elixir, called OrderedSet. https://blog.discord.com/using-rust-to-scale-elixir-for-11-million-concurrent-users-c6f19fc029d3…

Read More

One of the nice new features in Elixir 1.11 is the ability to show the docs for Erlang functions. This helps you see things that you couldn’t see before. This is a short guide to help you get it working if you encountered any problems. There are a couple prerequisites to make this work. Must…

Read More
Choosing REST vs GraphQL

The goal here is to help you think about and consider the costs and benefits of building a REST vs GraphQL API for your next project. Technology decisions often include thinking about the trade-offs. Hopefully this can help you evaluate these two technologies and approaches. Scenario You have experience writing and using REST APIs. You’ve…

Read More

Programming languages are created with different kinds of type systems. When “Thinking Elixir”, it is helpful to know where Elixir sits in the Type System Quadrant and where that is relative to the language you are coming from. Beyond coming from OO, you may also be coming from a different area of the Type System…

Read More
Broken for Elixir - VS Code

You tried using VS Code for Elixir development. You tried out the ElixirLS extension for code insight and code completion. However, the ElixirLS extension kept crashing and never worked for you. This post can help you diagnose the issue and fix it. Let’s get you back on the productive path with your Elixir development. What’s…

Read More
Install Elixir using asdf

There are a number of ways to install Elixir. However, to get the best experience, there are some non-obvious things you need to pay attention to. Here I’ll walk you through how to do this on MacOS and Linux using the asdf version manager project. Why is this important? Many people (myself included) have unknowingly…

Read More

Visual Studio Code has become a very popular code editor. If you need a code editor for working with Elixir and you don’t already have one in mind, then I suggest giving VS Code a try. This post walks you through setting it up for Elixir development. Elixir development extensions There are many Elixir plug-ins…

Read More