Structs from External Data
In the latest episode of ElixirCasts we look at ways to build structs from external data.
Using Elixir Dynamic Supervisors
In this post I show how I used a DynamicSupervisor to manage processes that are connected to a Phoenix Channel and keep them alive between page reloads.
Many to many relationships with Ecto
Need help handling many to many relationships with Ecto in Elixir? Check out this awesome article by @coletivstudio.
Benchee 0.14.0 – Micro Benchmarks? Pah, how about Nano Benchmarks!
A new version of your go to benchmarking library benchee has been released - the major feature is drastically increased precision when measuring: from microseconds to nanoseconds! There’s a blog post showing off the most important changes but you can also check out the Changelog.
Pyc → Structs on Steroids
Using Raxx.View in Plug applications
Adding simple views to a plug application using Raxx.View.
http://crowdhailer.me/2019-02-08/using-raxx-view-in-plug-applications/
Connecting Elixir Nodes with libcluster, locally and on Kubernetes
Connecting Elixir Nodes with libcluster, locally and on Kubernetes
In this video we are going to see how to cluster Elixir and Phoenix nodes with libcluster, locally and on Kubernetes using Docker containers.
ElixirMix Podcast 037 - The Elixir Language Service with Mitchell Hanberg
In this episode of ElixirMix, the panel talks with Mitchell Hanberg about getting Elixir code completion and code insight using the VIM editor. We talk about the great projects Elixir LS and ALE that combine to make it all possible and much more!
How to Learn Elixir for Javascript Developers
https://blog.bitsrc.io/how-to-learn-elixir-for-hipster-javascript-developers-f0352e579ac3
Concepts like pattern matching (destructuring), functions as first-class citizens, and pipelines should be immediately recognizable to Javascript developers.
Raxx.Kit 0.9.0 - Project generator for lean web apps
https://hexdocs.pm/raxx_kit/readme.html
Improvements to generated projects include:
- updated project structure
- latest middleware
- cleaned up child specs
- integration tests
Raxx.View released - HTML templates for web applications
Compile EEx templates to fast and safe views in you web applications.
https://hex.pm/packages/raxx_view
Includes support for reusable layouts.
todo_or_die in Elixir
Inspired by Justin Searls’ Ruby Gem TODO or Die!, I ported the core functionality to Elixir: https://github.com/dsdshcym/todo_or_die_elixir
Feel free to check it out!
Setup Chroxy and Chrome Remote Interface
If you would like to be able to programmatically control google chrome, this free video is for you! In this episode we show you how to setup chroxy and chrome remote interface in your elixir project and even show you how to get it to server side render a react app!
Reading a File in Elixir on Heroku
This post covers a problem I ran into when reading files on Heroku in an Elixir Phoenix app.
https://davidtang.io/2019/02/01/reading-a-file-in-elixir-on-heroku.html
A brief history of Erlang and Elixir
Telecommunications and the web worked in different ways for years: until recently, the former was all about latency, concurrency, and long-running connections, while the latter, with HTTP, was just about “hits” on ephemeral connections. But the web evolved rapidly, and the things that were important in telecommunications became important for the web, too. https://www.welcometothejungle.co/articles/history-erlang-elixir
Using a GenServer to process concurrent tasks
Using a real problem that needed solving, I describe the process I took in building a simple Task runner with a GenServer. https://www.jackmarchant.com/articles/using-a-genserver-to-handle-asynchronous-concurrent-tasks
ElixirMix Podcast 036 - Gremlex and Graph Databases with Kevin Moore & Barak Karavani
In this episode of ElixirMix, the panel talks with Kevin Moore and Barak Karavani at CarLabs about their library Gremlex, for talking to graph databases. We talk about graph databases, how they help, AWS Neptune, the Gremlin query language, company benefits of open sourcing, and much more!
Database Locking with Ecto
How to be sure tasks are executing once (and only once) across multiple servers - https://medium.com/flatiron-labs/database-locking-with-ecto-in-elixir-9804cdbd1866
