๐ป-language
To promote Tarearbol.DynamicManager
I created the ๐ป-language (which is a brainfuck dialect.)
Code outputting โMeowโ to the console looks like this:
๐บ๐บ๐บ๐บ ๐บ๐บ๐บ๐บ
๐ธ๐ผ๐บ๐บ๐บ๐บ ๐ธ๐ผ๐บ๐บ๐น ๐ธ๐ฑ๐น ๐ฑ๐พ๐น
๐ผ๐ผ๐บ๐บ๐บ๐บ๐บ๐ป
๐ผ๐พ๐พ๐พ๐ป
๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐ป
๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐บ๐ป
How I sped up one of our test suites by 17.5x by explicitly defining Elixir protocol implementations
A few months ago, I sped up one of our test suites from about 6 minutes to around 20 seconds. I describe my debugging journey and how I found out that fallback protocols could be causing slower tests when running with code coverage and defining protocol implementations can improve the speed.
https://www.synopsys.com/blogs/software-security/tinfoil-define-protocol-implementations/
Announcing Hush: Configure your Elixir Applications Securely
Today I am happy to announce https://github.com/gordalina/hush - the simplest way to inject secrets into your app configuration.
Hush was purpose built to solve a common use case for projects that require secrets and want to inject them in a secure way without having to depend on secret files or hardcoded configuration.
Read more about the announcement in the blog post: https://gordalina.com/articles/announcing-hush
Event Socket Outbound version 0.5.1 released
The version 0.5.1 includes package updates. Check it out: https://hex.pm/packages/event_socket_outbound
ThinkingElixir 037: The Lambda Days Conference and Elixir
In episode 37 of Thinking Elixir, after covering the news, we share a live recording of the show from the Lambda Days conference. It was a lot of fun! We covered topics like learning and teaching Elixir, functional programming, strengths of Elixir over Erlang, the developer tooling, why Elixir is awesome even when not building distributed systems, and much more!
DRY enums for Absinth
If you ever wondered, how to reference existing enum functions in Absinth enum macros, wonder no more.
Adding truly custom page to Phoenix LiveDashboard
Hereโs a quick tip on how you can add more customized page, using own Phoenix LiveComponent to your LiveDashboard. https://www.amberbit.com/blog/2021/3/1/adding-truly-custom-page-to-phoenix-live-dashboard/
Handling Async Responses with Tarearbol
To build a supervised, fault-tolerant and robust system, to run many processes holding nearly the same state, it saves a lot of boilerplate, claiming to implement perform/2
callback only (and maybe two optional callbacks call/3
and terminate/2
.)
โธ https://rocket-science.ru/hacking/2021/02/28/async-response-handling-with-tarearbol
Scripting Elixir applications
This post describes how we can script Elixir applications, that is provide and execute some code after the application had been compiled. http://www.buguigny.org/english/2020/12/26/scripting-elixir_applications.html
The Erlang Paris meetup is back! Come with your project and your questions to discuss. https://www.meetup.com/Erlang-Paris/events/276603063/
This group is intended for those who wish to progress in learning Erlang-OTP technology including Elixir and other languages over the Erlang VM (BEAM). You can be start-up creators, beginner or expert, or simply seek to progress on this know-how with the intention of implementing it soon .
The Erlang Paris meetup is back! Come with your project and your questions to discuss. If you are planning to do a little presentation, please post a message on the forum here so we can get organized on D-Day. See you Tuesday!
RSVP & Forum: https://www.meetup.com/Erlang-Paris/events/276603063/
Another approach to Testing Phoenix Controller + Plug setup
I came up with a way to test a Phoenix Controllerโs plug
call without regular requests tests (conn tests). By digging a little deeper into Phoenix.Controller.Pipeline
& some minor meta-programming:
https://www.adiiyengar.com/blog/20210225/testing-phoenix-controller-plug-setup
Programming Phoenix LiveView Beta Book is live!
Order the beta from the Pragmatic Bookshelf:
https://pragprog.com/titles/liveview/programming-phoenix-liveview/
Elixir Wizards S5E13 Shaun Robinson and Toran Billups on Using Elixir to Empower Online Learning
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s5e13-robinson-billups/
[Live Coding] Let's try Nx: Numerical Elixir
Live Coding with Nx: trying it out locally, deciphering the example neural net, and attempting to run it on an AWS instance with GPU.
A Telegram bot in Elixir feat. LiveView
So I tried to summarize my efforts in setting up an Elixir-based Telegram bot for other people that want to do the same. This is a getting started step-by-step guide. I also include the repo of the application Iโm building if you want the bigger picture.
Why choose Elixir?
Companies operate in an uncertain environment. Uncertain technology is certainly not something that will interest them. What makes companies decide to use Elixir language?
Event Sourcing and CQRS library Incident version 0.6.1 released
The version 0.6.1 includes a bug fix and package updates. Check it out: https://hex.pm/packages/incident
Securing Webhook Payload Delivery in Phoenix
Webhook might sound like some scary, exotic term but at the end of the day webhooks are nothing more that a web server endpoint configured to receive HTTP POST requests in some agreed upon format. The concern however is, without any additional security, anyone could discover the endpoint and start sending their own malicious payloads to your web application.
https://phoenixbyexample.com/posts/securing-webhook-payload-delivery-in-phoenix/
Elixir in Production: Papercups
What are the benefits of Elixir for SaaS products? Find the answer in our interview with Alex Reichert, the co-founder of Papercups.