Codeminer42's Engineering Blog
Posts

How to Test Shared Behavior in Elixir
Create a new mix project if you want to follow along: $ mix new calculator $ cd calculator Suppose you have a Calculator module and a sum_list function: defmodule Calculator…
Zero to Up and Running a Rails Project only using Docker
Disclaimer: this post is based on Quickstart: Compose and Rails — Docker the main difference is that I will run everything with my own user and cache the gems installations.…
Refactoring Ruby: From Subclass to Registry
My team was given a particularly laborious task: implement responsive images throughout a legacy Rails application. Back then, the app was sending disproportionally large image files over to web browsers…
Halving Response Times: Lessons Learned
Response times under 100 ms are capable of lightening anyone’s heart. It’s even better when you reach that milestone as a side effect of some rounds of refactoring — even…
Your App Across the Globe
In 2017 world population is estimated in 7.5 billion. This number seems/looks enormous and if put in a graphic by continent one may note that more than half of the…