The case against event sourcing

Traditionally most applications model the main components of a system as entities and implement mechanisms to create/update this entities in the form of state that is stored in a database. This modeling although is natural (and relatively straightforward to implement) has certain limitations that not every domain is able to accept...

Read

Talking to my son about Micro-frontends

What are micro frontends? What problem they try to solve? Client side patterns, Server side patterns. Composition, Communcation, Performance oportunities and problems. Team boundaries, and...

Read

Blue-Green Deployment in K8s

Blue/Green deployment is an application rollout model that progressively directs user traffic from the previous version of an application or service to a new version of it, while...

Read

The story of reducing a Github Actions workflow by ~7 minutes

I was working in a nasty flacky test, the test was passing locally but was failing on Github Actions CI, but there was a deeper problem...

Read

DRY in test suites is an antipattern

One of the first things that new software engineers learn is the DRY princliple (Don't repeat yourself), the principle states that in software engineering we should try to reduce repetition by extracting common...

Read

Against closure consts

Imagine that your a developing a library that you want to open-source or you created a helper that will be used all over the codebase in a mid-to-large project. Your little library exposes a function that does what is intented but relies on some (sensible in your eyes) const values.

Read

On cohesion

As the lockdown measures slowly ease, and we are getting back to some short of normality (at least temporarily), I was kinda reflecting on what I did the last months. I became a dad recently, and I was already 1 month at home on parental leave to help my partner and just the moment that I was supposed to return to the office the German government announced the lockdown and thankfully the company I worked for decided to ask us to work from home, so I am...

Read

What I read during the lockdown

As the lockdown measures slowly ease, and we are getting back to some short of normality (at least temporarily), I was kinda reflecting on what I did the last months. I became a dad recently, and I was already 1 month at home on parental leave to help my partner and just the moment that I was supposed to return to the office the German government announced the lockdown and thankfully the company I worked for decided to ask us to work from home, so I am...

Read

Thoughts on rewards as a way to boost productivity

Just some thoughts related to monetary rewards as a way to boost employee performance. Have you ever done an activity that you truly enjoyed until someone else wanted to pay you for the work, where you suddendly stopped enjoying the activity? Have you ever got a bonus about something you did, just to see with great dissapointment that the same activity didn't lead to a bonus the next time you performed it? Have your performance dropped after it?

Read

How to create a CI/CD pipeline for a React app (2nd part)

In the 1st part of the tutorial for creating a CI/CD pipeline for a React app, we saw how to create docker containers for dev, testing and production enviroments. In this 2nd part we will see how to integrate a CI service like Travis CI and deploy our app to AWS.

Read