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 🔧!

https://github.com/amalbuquerque/interceptor

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.

Blog Post

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

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

gen_rmq 2.3.0 version release

GenRMQ is a set of behaviours meant to be used to create RabbitMQ consumers and publishers.

Changelog:

  • Add queue utility functions to the publisher api
  • Add message persistence support

Phoenix integration guide for passwordless authentication with Kno

https://dev.to/crowdhailer/phoenix-and-elixir-integration-guide-for-passwordless-authentication-with-kno-2m2j

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.

How to setup Phoenix LiveView

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.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

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!

Podcast Episode

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.Conns 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:

https://github.com/tinfoil/wormwood

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!

Podcast Episode

Simple Elixir service to repost Workplace to Slack

Put together a small article about writing a super simple bridge between Workplace and Slack. It also uses Honeydew for no real reason. https://www.bobek.cz/blog/2019/workplace2slack-index/

Enum.map_reduce/3

TIL about Enum.map_reduce/3 and I wrote a little something about it :) https://dev.to/lasseebert/enum-mapreduce-3-3n55

Building a Table Sort UI with Live View's `live_link`

LiveView makes it easy to solve some of the most common UI challenges with little to no front-end code. Keep reading to see how you can leverage LiveView’s live navigation tooling to build a sortable table UI. https://elixirschool.com/blog/sorting-a-table-with-live-view-live-links/