Davide Andreazzini

Practical guides on Docker, Makefiles, SSH, Linux, PostgreSQL, Python automation, and self-hosting — written by an Italian developer in Uruguay. No fluff, just working solutions.

Redis Caching Strategies I Actually Use In Production
DATABASE

Redis Caching Strategies I Actually Use In Production

I've been running Redis as a cache layer for years, and most setups I see out there are either over-engineered or barely doing anything useful. There's a sweet spot between caching everything and caching nothing, and it's smaller than you think. Here's

davide
Python Context Managers: Stop Writing try/finally for Everything
PYTHON

Python Context Managers: Stop Writing try/finally for Everything

I keep seeing people write try/finally blocks for file handles, database connections, and locks. Every. Single. Time. Python has context managers for this, and they are not complicated ( honestly, they are the cleanest abstraction in the language ). If you have ever used with open('file.txt') as

davide
Insta360 GO 3 Review: Tiny Camera, Real Opinions
PHOTOGRAPHY

Insta360 GO 3 Review: Tiny Camera, Real Opinions

I bought the Insta360 GO 3 in 2024. I wanted something tiny for POV shots and casual vlogging without the bulk of a GoPro. Here is what I think after using it ( almost ) daily. What Is the Insta360 GO 3 It is a thumb-sized action camera. 36 grams. That is

davide
Hosting on Linode for $5/month
SELF-HOSTING

Hosting on Linode for $5/month

I've been running this blog on Linode for over a year. It costs me $5/month and I have full control over everything. Here is how I set it up. Why Linode I looked at DigitalOcean, AWS, Hetzner. Linode ( now Akamai ) gives you a $100 credit for the

davide
systemd: Stop Fighting It and Start Using It
LINUX

systemd: Stop Fighting It and Start Using It

I spent years avoiding systemd. init.d scripts felt familiar, cron was "good enough", and systemctl felt like it was designed to be unreadable. Then I actually read the documentation and realized I'd been fighting the very thing that makes Linux services manageable. Here's

davide
Dotfiles: The Setup That Follows You Everywhere
PRODUCTIVITY

Dotfiles: The Setup That Follows You Everywhere

I've had the same dotfiles repository since 2019. Seven years of shell configs, vim tweaks, and git aliases that I copy to every machine I touch. If you're not managing your dotfiles in git, you're doing it wrong, and I'll die on

davide
Vim After Ten Years: The Setup I Still Can't Quit
PRODUCTIVITY

Vim After Ten Years: The Setup I Still Can't Quit

I've been using vim for over a decade. Not because I'm a purist, not because I hate GUIs, and definitely not because I enjoy explaining hjkl to people. I use it because once the muscle memory clicks, everything else feels like typing with mittens. Here'

davide
tmux: The Terminal Setup I Can't Work Without
PRODUCTIVITY

tmux: The Terminal Setup I Can't Work Without

tmux changed how I work. I used to have six terminal windows open, constantly alt-tabbing between them like an idiot. Then a colleague showed me tmux and I never went back. Here is my setup, powered by Oh My Tmux. Why tmux and Not screen screen works. I used screen

davide
ESC
// awaiting input_