“mix release” and missing dependencies
I have stumbled upon a problem where some of my dependencies were missing in the releases and <a href=”https://www.amberbit.com/blog/2019/8/23/mix-release-and-missing-dependencies/“>wrote a blog post about it</a>.
SmartSoftware S2E7 - Todd Resudek on Hex // Elixir Internals
We talked with Todd about Hex, the Erlang ecosystem package manager, including its top five underground features and what’s in the pipeline for upcoming features.
Observing Phoenix on Heroku
Thanks to help from @codefinger, you can now observe Elixir applications running on Heroku using Observer! https://jclem.net/posts/2019-08-21-observing-phoenix-on-heroku/
Oban Recipes Part 4: Reporting Progress
The fourth recipe looks at how to keep applications feeling responsive by reporting progress from long running background jobs.
Prometheus, PostGIS and Phoenix Part 1
Learn how to set up and use Prometheus+Grafana to monitor a PostGIS backed Phoenix application in this 2 part series!
Multiple Room Chat App
In this episode we’ll build a chat application that supports different chat rooms.
Ecto Associations in Phoenix LiveView: One to Many
In this post and video, I go over how to handle one-to-many associations in Ecto while building out a piece of an admin panel with Phoenix LiveView. Followup posts for many-to-many and one-to-one will be coming soon!
https://dennisbeatty.com/2019/08/20/ecto-associations-in-phoenix-liveview-one-to-many.html
ElixirMix Podcast 065 - The Life Cycle of Elixir
In this episode of ElixirMix, we talk together about where Elixir is in it’s Language Lifecycle. We discuss Hype Cycles, where the jobs are, share perspectives on how increased Elixir adoption can happen, and much more! Josh Adams Mark Ericksen Michael Ries
Use Github CI for Elixir Projects
Github launched actions which make it possible to perform CI without leaving the place where the code belongs. This is all great, save for the documentation.
This blog post shows how to configure GH CI for the Elixir project with external services.
http://rocket-science.ru/hacking/2019/08/19/use-github-ci-for-elixir-projects
Panpipe - an Elixir wrapper around Pandoc and its Markdown AST
If you don’t know what Pandoc is, you should definitely read about it: https://pandoc.org
It’s a hugely powerful Markdown tool and you can now use it easily from within Elixir esp. access the Markdown AST and do transformations on it.
Github: https://github.com/marcelotto/panpipe Hex: https://hex.pm/packages/panpipe
Use Return Value to Defer Decisions
By deferring decisions of how to respond to an event, our app can become extremely flexible. This post is about the simplest, yet the most powerful tool for deferring decisions in our app: Return Value.
SmartSoftware S2E6 - Chris Keathley on Wallaby and Raft // Elixir Internals
In our latest episode, we talked with Chris Keathley from Bleacher Report about Wallaby, Raft, concurrent tests, why he doesn’t work on front ends, consensus algorithms, and how he got started contributing to open source projects.
The dangers of the single global process
In this article Keathley discusses some of the dangers of trying to maintain state in a single, unique process. He also presents some solutions to these problems as well as some alternatives.
ElixirTalk Podcast Episode 152 - Hire an Elixir Developer! and Chris' Ecto Adventures
This episode of ElixirTalk your favorite hosts Chris & Desmond are back talking about a new project, Hire an Elixir Developer and we dive into some deep Ecto topics.
Redex, a Redis server implemented in Elixir
Do you need a replicated Redis cluster in Kubernetes, checkout Redex, a cloud-native strong consistent masterless high available Redis implemented in Elixir.
ElixirMix Podcast 064 - Refactoring Elixir with Hubert Lepicki
In this episode of ElixirMix, we talk with Hubert Łępicki about several ways to refactor out excessive code in controllers. We also talk about alternatives to Phoenix contexts, embedded schemas, connection pools and much more!
DynamicManager on top of DynamicSupervisor
Tarearbol
gets DynamicManager
to ease building the collections of supervised workers with similar behaviours, e. g. watchers for different changing entities.
-
Scaffold for the supervised
DynamicSupervisor
- No code for managing processes required
- Implementation is as easy as 4 callbacks
- Extremely easy testing
- Behaviour-driven consumers
- Consistent state and callbacks on state changes (like restarting)
Cleaning up your Elixir Code
Just because you use a functional language, it doesn’t mean your code is going to be clean.
This articles show how you can use hexagonal/ports & adapters/onion layering in order to clean up your elixir code.