Lorenzo's Blog
Posts
About me

Latest blog posts about Software Development

My Hugo blog now is fast and light

On: 2022-01-31 - Reading Time: 7 Minutes

This blog post is about what I have changed in my blog and website to make it faster. Recently, I have traveled with a bad airplane company that delayed my luggage. In the hope of getting my belongings back with me, I tried to use their website and support pages, and I was frustrated every time. The primary source of frustration was the website speed. So I decided to spend most of the time without my luggage (around five days), trying to use best practices to improve my website and blog, making my Hugo blog faster and way lighter than before.

Continue reading...

A Twitch bot to create memes and show them live

On: 2021-12-18 - Reading Time: 5 Minutes

During the dark side of quarantine, I had to keep my hands busy, and instead of writing on this blog (sorry!) I started streaming on Twitch instead. To add some interactivity with my viewers, I made my own bot to let my viewers create and display custom Images and GIFs with text… Basically, a Meme Generator! This is the story of designing it, building it in Go, and running it Heroku ๐Ÿคฉ

Continue reading...

Backpack: helm charts but for Hashicorp Nomad

On: 2020-11-12 - Reading Time: 4 Minutes

I recently decided to replace my k8s home cluster with a Hashicorp Nomad cluster on my 3 Raspberry Pis. When I was using it, I found myself writing a significant amount of HCL files, and I have been missing Helm’s simplicity.

As an SRE, I have been working with Kubernetes for a while now. During this time, I had to install, configure, and distribute some apps using Helm. For me, it is a de-facto standard when it comes to deploy and maintain apps that otherwise would require a way bigger list of YAML files. Can we do the same for Nomad Jobs’s definitions?

Continue reading...

Go tests, multistage docker builds, pipeline

On: 2018-01-06 - Reading Time: 4 Minutes

During the last year I have learned how important it is to build, test and deploy using always the same docker container as well as reducing its size. As I have not found anything online, I want to remember and share it: I am testing my go packages with a multistage docker build inside my pipeline on GitLab. The odd way of testing go docker containers Especially when implementing CI best practices, I have seen projects running tests in different ways:

Continue reading...

A month with Google ChromeOS

On: 2016-08-30 - Reading Time: 2 Minutes

A month ago I have ordered, as a backup device, a Chromebook. I was watching videos on youtube and I have selected the ASUS Chromebook Flip without thinking much. It is powerful, cute, convertible, the screen is not that bad and the keyboard is meh… you can get used to its size. The main problem was not the hardware: after a month with Google ChromeOS, as a developer, I am really disappointed.

Continue reading...

Please do not EVER stop learning how to code!

On: 2016-05-14 - Reading Time: 2 Minutes

I remember when I was 10 and my mother was worried about me staying too much in front of the computer, writing lines of weird text on a black and white screen; I used to be one of these boys that were not supported by friends and family, because it was hard to understand computersโ€ฆ ๐Ÿค” but now things have changed, and writing code is cool. I consider myself a 75% self-taught developer, meaning that I have been learning how to write code by myself, a little in school and by working.

Continue reading...

React is not over engineered

On: 2016-04-17 - Reading Time: 2 Minutes

JavaScript development is crazy, and evolving fast… and the more you learn about it the more you realize how crazy it has become ๐Ÿ˜…. I think it is exciting, indeed, but Sean, in his clear post explained perfectly why a simple project is over-engineered and I have to disagree with him: some JavaScript’s frameworks, like React, are not the cause of unnecessarily complicated projects… and React is not over engineered!

Continue reading...


The reason I use the international keyboard

On: 2015-04-18 - Reading Time: 2 Minutes

If you think that a keyboard layout can boost your productivity, you should consider the time you will spend to learn a new one, the hassle and the frustration when typing something wrong… but if you love programming, you may consider to buy/switch to the international keyboard. Back in February, I had to switch to a new MacBookPro. My old 2011 13 inch MacBookPro, started being impossible to use… and after 4 years I had to remove all the stickers from its back and turn it off forever.

Continue reading...

Docker + aliases: I don't install tools on my Mac

On: 2015-04-03 - Reading Time: 2 Minutes

I really care about keeping the OS clean and untouched. Sometimes, when I have to develop using specific softwares and tools, I have to modify core and important sections of the system on my Mac or PC, and this can create some problems with package managers (like homebrew for Mac OS X; or like APT, pacman or yum for GNU/Linux)… For example, few months ago I installed node.

Continue reading...