How to group and count occurrences of values in Elixir's list
If you ever had to count occurrences of values in Elixir’s list, this short post might be helpful for you! https://curiosum.com/til/group-values-occurrences-in-elixir-list
Developing a feature for elixir-ls
Hi all, I recently contributed a tiny new feature to elixir-ls and wanted to document how I went about setting up my local env to get a faster feedback loop while developing.
https://dev.betterdoc.org/elixir/2022/04/29/developing-for-elixir-ls.html
"Deploying Elixir: Advanced Topics" eBook
I have published my new Elixir book:
Deploying Elixir: Advanced Topics
I guide you from zero to deploying to AWS, Azure, and GCP
- Create Elixir clusters with libcluster
- Practice k8s deploying with minikube
- Deploy an Elixir cluster to EKS, AKS, and GKE
https://blog.miguelcoba.com/deploying-elixir-advanced-topics-ebook
Git history with Elixir
In this post I show how to get the Git history using Elixir. https://hidnasio.github.io/elixir/git/2022/05/03/git-history-with-elixir.html
ThinkingElixir 097: Avro and Elixir with Dave Lucia
In episode 97 of Thinking Elixir, Dave Lucia released v2.0 of AvroEx, an Elixir library for working with Avro protocols and schemas. To understand Avro, we need an overview of the whole Kafka-centric flow! He gives us a taste of the Enterprise soup of JVM tools used for populating data lakes, all for the business benefit of data analysis and machine learning. We may work on Elixir systems that are tasked with hooking into this other Enterprise-y world and getting an overview of the pieces and awareness of the tools available can really help out! Dave also shares his goal of creating a new Markdown parser for Elixir and updates us on the next chapter of his professional journey.
Parser for Markdown Family
Md, a library to parse markdown and markdown-like syntaxes, has been released.
Fully-customizable syntax, blazingly fast (5× compared to earmark,) opinionated. It does not fully support Commonmark (and it’ll never do,) but it covers the needs of the average user + allows the introduction of custom markdown-like syntax with ease.
▸ https://rocket-science.ru/hacking/2022/05/02/md-customizable-parser
Finitomata :: First Class Documentation
Blogged on how I leveraged ex_doc functionality to draw diagrams in the documentation generated by Finitomata for FSM implementations at zero cost.
▸ https://rocket-science.ru/hacking/2022/04/30/finitomata-ex-docs
Using ExUnit's `start_supervised/2` for better cleanup
In a previous post, I wrote about how we can test a named singleton process in our system. There’s one more improvement we can make for better cleanup – use ExUnit’s start_supervised/2.
✍️ https://www.germanvelasco.com/blog/using-exunit-start-supervised-for-better-cleanup
Adding E2E tests to an Elixir library
If you are interested in how we E2E test Boom we just wrote an article about it
https://www.wyeworks.com/blog/2022/04/21/adding-e2e-tests-to-an-elixir-library/
[Podcast] Elixir Wizards S8E3: Cassidy Williams and Tobi Pfeiffer on Elixir Programming at Remote
The latest episode of Elixir Wizards just hit your feed! Check it out: https://smartlogic.io/podcast/elixir-wizards/s8e3-williams-pfeiffer/
Why I think the dot is not a problem in Elixir
The dot in f.(3) is not a problem for me in Elixir. What do you think?
Why I think the dot is not a problem in Elixir https://dev.to/adolfont/why-i-think-the-dot-is-not-a-problem-in-elixir-1nia
How to deal with DBConnection.ConnectionError?
Witnessing errors connected with database performance is never a pleasant experience. Could you have prepared yourself to handle them? Let’s find out.
https://michaldolata.appunite.com/post/how-to-deal-with-db-connection-connection-error
Ecto.DevLogger v0.2.0 - an alternative logger for development
A small release, which adds a support for :stacktrace option, that was introduced in Ecto 3.8.0.
Links:
Infinite Scroll with LiveView
In episode 143 we’ll look at how we can add Infinite Scroll to a Phoenix LiveView.
Legendary v7.0 - LiveView Content Management!
The content management system in the Legendary boilerplate / framework is now powered by LiveView! This is an enhancement that has been in the works for months now. Browsing your blog & pages is faster than ever! http://gitlab.com/mythic-insight/legendary
Devs For Ukraine videos available! Q&A with José, Confident Elixir & more!
The videos from our Devs For Ukraine conference are now available in this playlist.
Of particular interest are probably the Q&A with José Valim, Confident Elixir by Tetiana Dushenkivska, Patterns for Sanity by Vittoria Bitton as well as a Fireside Chat involving Saša Jurić. But all the other ralks are also great!
Guards - simple restriction checking
Guards are a great way to check data limits. They are safe and can make the everyday work with the project more pleasant and, at the same time, limit the duplicated code. And it’s all in pattern matching!
Check on: https://bartoszgorka.com/guards-simple-restriction-checking
