
A note on TypeScript discrimination unions
Recently I started using discrimination unions a lot in typescript. This technique allows us to write more type-safe codes, for instance: T…
· 1 min read
Series
Short notes written on my engineering journeys

Recently I started using discrimination unions a lot in typescript. This technique allows us to write more type-safe codes, for instance: T…
· 1 min read

In the fast-paced world of IT, feedback is not just a tool—it's the cornerstone of growth, innovation, and collaboration. Whether you're men…
· 5 min read

TL;DR: While mutexes are commonly associated with multi-threaded programming, they are also highly useful in Node.js, a single-threaded envi…
· 10 min read

What is Leopard? The leopard is one of the five extant cat species in the genus Panthera. It has a pale yellowish to dark golden fur with d…
· 4 min read

Working with massive datasets changes how you approach writing SQL. It’s not just about writing correct queries — it’s about writing smart o…
· 4 min read

The Redlock algorithm is a distributed locking mechanism designed for Redis to ensure mutual exclusion across clients in a distributed syste…
· 4 min read

If you tried to use the internet, or accessing thediligentengineer.com on November 18, you probably noticed it was broken. For a solid coupl…
· 4 min read