Recent posts

Python Singleton Pattern implementation with LRU

less than 1 minute read

Hello and happy new year! 🥳🙌 I’ve made a video on how to implement the singleton pattern in Python using the LRU cache. https://www.youtube.com/watch?v=Wzu...

Separate Audio from Video (with ffmpeg)

less than 1 minute read

Hello 👋 In this short article I will show you how to split audio from video using ffmpeg. When I worked on my Udemy course I needed a way to process audio ...

Exec as root user in Kubernetes

1 minute read

Hi 👋, In this short tutorial I will show you a way of getting a root shell in containers running inside a modern Kubernetes cluster. Prerequisites: Roo...

Using confluent-kafka-go on MacOS M1

1 minute read

Hello, TLDR; brew install librdkafka openssl@3 pkg-config export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig" go test -tags dynamic ./... I...

DeMorgan’s Law

less than 1 minute read

DeMorgan’s law is a simple law that I learned at UPT during one of my hardware classes. While it is useful in hardware it, it is also useful when writing pr...

Object Pool Pattern

4 minute read

Hi 👋 In this article we’ll talk about the Object Pool pattern in Golang. The Object Pool pattern is a design pattern used in situations when constructing o...