Oban Recipes Part 7: Splitting Queues
The seventh Oban recipe outlines a technique for running a distinct subset of queues on each node in a cluster.
ElixirMix Podcast 076: MUD Development and Grapevine
In this episode of ElixirMix, we catch up with Eric Oestrich about his project Grapevine and his live coding online. Grapevine is open source and a great resource for people to look at. We cover the different OTP concepts employed, how it is architected, deployed, what people can learn from it, and much more!
IntelliJ Elixir v11.3.0
Enhancements
- Show Parameter Info (⌘+P/Ctrl+P)
Bug Fixes
-
Fix must specify non-empty ‘commandLine’ parameter
-
GeneralCommandLine
‘s escaping for Windows can’t handle the parentheses in a way that both works for the Windows shell and Elixir running the code the shell hands off. Removing the parentheses leaves runnable code even if it is no longer formatted.Fixes “Unknown Version” naming for Elixir SDKs and the “Probably SDK installed in … is corrupt” dialog from appearing.
Interceptor v0.5.3 🚀 Intercept all Foo functions with Foo.*/* config
With the new Interceptor v0.5.3 version, you can now intercept all your module functions with a single configuration entry using wildcards: intercept “Foo.*/*”, on_success: “Callbacks.happy/3”
.
This should significantly simplify your interception configurations 🔧!
The Changeset API Pattern
The focus is on enhancing data integrity in your application by adding explicitness between your API and your schema changesets. Check it out: https://pedroassumpcao.ghost.io/the-changeset-api-pattern/
Elixir in VS Code - Extensions and recommendations
Writing Elixir code in the VS Code editor? Checkout my recommended extensions, how to use them and other extensions that help improve your experience.
Ecto & Multi-tenancy - Dynamic Repos in depth
So I’ve been working on the second part of my dive into Ecto multi-tenancy using Dynamic Repos. It’s up now :)
Elixir For Node.js Developers – Your Handbook To Success
I’ve spent recent years coding with Node.js. At some point, I realised there are so many other technologies to discover. I considered several options reviewing blogs, forums and surveys. I knew that I needed a language that would correspond to my skills and experience. I decided to explore the world of functional programming. It was like a promise of better performance and productivity. I then asked myself - “Why not try Elixir”?
Let me tell you my story based on true events.
https://selleo.com/blog/elixir-for-nodejs-developers-your-handbook-to-success
Phoenix integration guide for passwordless authentication with Kno
Kno is a service for passwordless authentication that is simple for users and developers. This guide walks through integrating Kno with Phoenix sessions.
How to setup Phoenix LiveView
First part of a series of episodes for who wants to explore Phoenix LiveView and understand how it works behind the scenes.
Modern Talking with Elixir: Build a Messenger App with Phoenix LiveView
Phoenix LiveView is awesome for building reactive UIs without JavaScript. Michal’s article at Curiosum.dev explains why, and commences a tutorial series on using it to build a Messenger-like app.
Building real time search with Phoenix LiveView
Post about how easily you can implement real time search using LiveView:
https://medium.com/@Mike_Andr/building-real-time-search-with-phoenix-liveview-8b7c5f2374e5
ElixirMix Podcast 075: Game of Go in LiveView With Jeff Kreeftmeijer
In this episode of ElixirMix, we talk with Jeff Kreeftmeijer about implementing the game Go in LiveView. He shared his journey in blog posts. We cover DynamicSupervisors, PubSub, managing game state, how immutable data enabled features, and much more!
Ecto Preloads in Phoenix Contexts
Some thoughts about preloading, to make Contexts a little easier to maintain.
https://medium.com/@damonvjanis/ecto-preloads-in-phoenix-contexts-167d11e5405e
TIL: Unicode chars in regex
I spend some time figuring out how to match Unicode chars in regexes, so I thought I would share: https://dev.to/lasseebert/til-unicode-chars-in-regex-1m9a
Wormwood: A Small Library to Help Test Absinthe GQL APIs
While at Tinfoil Security, I wrote and released a small open source lib to help unit test GraphQL query documents against an Absinthe API. It requires no Plug.Conn
s and removes lots of boilerplate using macros.
You can read more about it here:
https://www.tinfoilsecurity.com/blog/wormwood-graphql-testing
And check out the code here:
The Virtue of Busy Waiting
Rafal Studnicki (@studzien) and I wrote about a better alternative to Process.sleep/1
for waiting on events in your tests! Make your test cases faster and more deterministic with busy waits: https://well-ironed.com/articles/the-virtue-of-busy-waiting/
Adding Gleam to an Elixir project
There’s a really cool new BEAM language out there called Gleam. It’s super early days for the language, but wht it offers (strong type safety) I think is worth some experimentation for folks that are interested. Lucky enough for those of us currently using Elixir it’s trivially easy to use Gleam code in your Elixir applications, and in this post I show you how.
http://devonestes.herokuapp.com/adding-gleam-to-your-elixir-project
ElixirMix Podcast 074: Inky Displays With Lars Wikman and Emilio Nyaray
In this episode of ElixirMix, we talk with Lars Wikman and Emilio Nyaray about using Inky displays with NervesProject devices. We discuss cool things people do with e-ink displays, the satisfaction of hardware hacking, how they started the project, profiling Elixir code and much more!