- Briefly discussion about different options for test setup in Elixir and how to customize them using context @tags.
- An objective of a great test suite is to reduce the execution time. The less time it requires, the shorter the feedback loop for developers. With this purpose, Elixir provides us some approaches for test concurrent execution.
-
Testing in Elixir - Mocks 2024-FebMocks are an essential part of testing when building systems that need to communicate with external applications. At this post we discuss about recommended approach for using Mocks with Elixir, and what are the patterns that should be avoided.
- Overview about the characteristics of effective tests that will help with the maintenability and the extensibility of a project in the long term.
- Debugging a 431 `Request Header Fields Too Large` from an application running in Kubernetes can be quite tricky. At this post, it is explained a real life scenario, how it was approched the debugging and the final solution.
-
Vim macros notes 2022-JanSome useful command/tips when working with macros in VIM
- An overview about how to setup formatters for elixir HTML templates.
- Microservices aims for independence, which requires data isolation. To provide it we must enforce an effective approach for sharing data among services. Two approaches are possible, using synchronous requests or asynchronous events for data distribution.
- An easy way to navigate through git branches using fzf.
- One of the unexpected things I found when I started to work at Derivco was that almost everyone in my team was using Vim. How can they do that? Edit all the projects just using the terminal. It seems like black magic to me.
- A simple way to connect to a postgresql database without having to use local psql client.
-
Elixir Transient Supervisor 2019-MarSome weeks ago I was visiting the elixir forum when I found this question [Stop supervisor when no children are running anymore](https://elixirforum.com/t/stop-supervisor-when-no-children-are-running-anymore/20641). I tried to figure out a simple approach to get this done so I visited the documentation of the [Supervisor]( https://hexdocs.pm/elixir/Supervisor.html#summary) module.
- Last days I have been diving a little into the wonderful world of Erlang distributed. Elixir, has some built-in constructs for distributed systems which makes easier to distribute systems in comparison with other programming paradigms.
- I have been these days solving some of the problems of [advent of code](https://adventofcode.com/). These problems are a really nice way to sharp your skills with any programming language. Although my preferred language is still Elixir, I am trying to improve a little of my [Go](https://golang.org/) knowledge so I decided to give a try solving these problems. [Here](https://github.com/jkmrto/advent_of_code_2019) there are the solutions that I wrote.
-
Api Rest With Cowboy 2019-JanAt Elixir world the well know framework Phoenix is the main tool to develop the client side interface in any project. This framework allows us to develop complex real-time web systems simply with a lot of integrated features such as websockets. But in the case of just pretending to build a simple api rest a good option is to use the **Cowboy** library, which makes quite more lightweight the final application than using Phoenix.
-
Dynamic Supervisor With Registry 2019-FebOne of the main feature of [Elixir](https://elixir-lang.org/ ) is the ability to guarantee that if a supervised process fails or get crashed for any reason, other process with the same functinality will be started as soon as the supervisor process realizes the problem. This is related to the fault-tolerance capability.
2024
2023
2022
2021
2020
2019