Landing
Posts
Resume
Contact
Posts
Landing
Posts
Resume
Contact

    2024
  • Testing in Elixir - Setup customization 2024-Apr
    Briefly discussion about different options for test setup in Elixir and how to customize them using context @tags.
  • Testing in Elixir - Concurrent test execution 2024-Mar
    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-Feb
    Mocks 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.
  • Testing in Elixir - The importance of testing 2024-Jan
    Overview about the characteristics of effective tests that will help with the maintenability and the extensibility of a project in the long term.
  • 2023
  • How to increase the maximum size of headers in Phoenix and Ingress 2023-Jan
    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.
  • 2022
  • Vim macros notes 2022-Jan
    Some useful command/tips when working with macros in VIM
  • 2021
  • Setup formatter for eex and heex elixir templates 2021-Dec
    An overview about how to setup formatters for elixir HTML templates.
  • An overview about data sharing on microservices 2021-Jun
    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.
  • Fancy navigation through git branches 2021-Apr
    An easy way to navigate through git branches using fzf.
  • 2020
  • Some thougths about my firsts steps with Vim 2020-Feb
    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.
  • 2019
  • [TIL] How to connect to a remote postgresql without local psql 2019-Nov
    A simple way to connect to a postgresql database without having to use local psql client.
  • Elixir Transient Supervisor 2019-Mar
    Some 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.
  • Erlang distributed with docker and libcluster. 2019-Sep
    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.
  • [TIL] How to check that a list has increasing values in Elixir 2019-Dec
    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-Jan
    At 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-Feb
    One 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.
Posts Resume Contact www.jkmrto.dev @ 2024
Code at Github Written with Elixir Built with Phoenix Markdown posts rendered with earmark