Lorenzo's Blog About me

Latest blog posts

How to prevent your Mac from sleeping in a Makefile

On: 2022-08-12 - Reading Time: 2 Minutes

Often I find myself using third-party software like Caffeine or Amphetamine to keep my Mac awake while running some specific commands. Sometimes it is because I am running backups. Sometimes it is because I am compiling something. I found out that macOS comes pre-installed with caffeinete command… this post is about how to integrate it in your Makefile so that running any command there will prevent your Mac from sleeping!

Continue reading...

Steam Deck and Overlay FS

On: 2022-06-27 - Reading Time: 4 Minutes

A few months ago, I received my Steam Deck, the super powerful portable Linux gaming device made by Valve, the company behind Steam, and capable of playing Windows games without Windows. Taken by my irresistible desire to tinker with it, I noticed that it uses a read-only root and OverlayFS to guarantee the best experience for all the users. This is so Smart! So I have decided to do something similar on my Raspberry Pi running my NAS to test upgrades before actually upgrading.

Continue reading...

My journey to a new SRE team

On: 2022-05-26 - Reading Time: 5 Minutes

A few months ago, I became the Lead Site Reliability Engineer (SRE) in Visma e-conomic. This new position is allowing me to work with brilliant people! In our industry, brilliant colleagues often have a hard time collaborating, and communication is very hard. In this post, I want to talk about the start of our journey from an Operational (Ops) team to embracing SRE using kindness and compassion as a way: Trust and forgiveness.

Continue reading...

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...

So long, and thanks for all the fish, IPFS!

On: 2020-12-06 - Reading Time: 2 Minutes

If you are using Orion, Siderusโ€™ IPFS desktop client, you might have noticed that the app has not received any update during the last year.

Around a year ago, after noticing an extensive amount of misusage of our IPFS Gateway to share illegal content, I have decided to redirect the traffic to the official IPFS Gateway. We took down the servers and IPFS nodes and gateways from every continent.

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...

Using a GitLab to build a Debian Repository

On: 2020-08-02 - Reading Time: 5 Minutes

I have the feeling that a blog post about distributing packages is needed. ๐Ÿ˜ฎ In a word filled with Containers, PaaS, and SaaS, it seems weird to talk about how we can automate the creation of Debian packages and APT repositories. Nonetheless, even if this appears to be a forgotten step for operations, some projects are not distributed over Debian packages, ๐Ÿ‘ทโ€โ™‚๏ธ and I need them for my Raspberry Pi! ๐Ÿ˜œ

Continue reading...

How to make a decentralized like button

On: 2020-06-01 - Reading Time: 6 Minutes

All static websites meet a hard limit when a comment form, โ€œlikeโ€ buttons, or any interactive content is required. These extra components force people to build an API, host a server, a database or pay for any SaaS product that does that… we could write a blog post about that, but it would be too easy! ๐Ÿคฃ Instead in this article, I wanted to challenge myself a little more and explore how to make a decentralized like button: We will try how it is to not be hosting any server or database, and instead use a p2p networks and a decentralized database to count the likes. ๐Ÿ‘

Continue reading...

Exploring Immutable Infrastructure with Vault

On: 2020-03-21 - Reading Time: 8 Minutes

During the last year, I have been curious about Immutable Infrastructure. After researching, I noticed that I had been applying some of these concepts already to stateless Docker containers, and I wanted to do a practical project with it. So I thought about exploring Immutable Infrastructure and use it to deploy Hashicorp Vault.

Continue reading...