elixir digest
Stay on top of technology
Digests » 212
sponsor
Detect Code Breaks in Real-Time
Rollbar detects when code breaks in real-time and provides the full stack trace and diagnostic data to help you defeat impactful errors. Debug with data and instantly know what's broken and why. Try Rollbar for free!
elixir
Events and different kinds of coupling
There’s a common misconception that events reduce coupling. Sure, this statement can be true. But it’s extremely inaccurate.
The beauty of this trick is that the code examples work in both Erlang and Elixir, with barely any changes at all… I’ll do it in Elixir, feel free to try them out in Erlang or efene if you like.
An eInk display with Nerves & Elixir - Getting started with Inky
So I've been curious about what kinds of displays you can connect to the Pi-series single board computers for a while. I happened to accidentally order a few. Among others an eInk display. I ordered the PaPiRus ePaper. It ended up being dead on arrival and then out of stock so I received an Inky to replace it. Fair enough.
Along with maps, Lists and Tuples are both ubiquitous and somewhat surprising for Elixir learners. Here's a quick guide.
Testing Phoenix custom error pages
A short post on using assert_error_sent to test custom error responses on status code, response headers, and body. And when it doesn’t work.