Double-Checked Locking, The Pattern That Saves Performance
In the early years of my career, when I first encountered double-checked locking in code, I thought it was a redundant code line checking same …
In the early years of my career, when I first encountered double-checked locking in code, I thought it was a redundant code line checking same …
Assume we have a collection of soil-moisture measurements from a farm. Each measurement has a decimal moisture value, latitude, longitude, and sample time. We want …
Most long-term problems, both in development and in production come from rushed model design, scattered logics, and patterns that feel convenient at first but become …
Let’s imagine a very common problem. A user clicks a button in our app to generate a report, process a video, run an AI model, …
After working with Large Language Models (LLMs), I was amazed by their reasoning power, but what really excited me was making LLM even more useful …
Last weekend, I spent some time exploring how to plug C into Python, how it works, and how much it can speed up things. So …
About a year ago, I set up an Azure Function App that would fire whenever a file was uploaded to a specific container in Blob …
Making HTTP requests in Python often involves repetitive code for handling parameters, authentication, retries, and error handling. In modern applications, making HTTP requests reliably is …
When we are building systems that interact with external services like payment gateways, cloud storages, or notification systems, I think it’s essential to support different …
Python introduced Protocol in PEP 544 (Python Enhancement Proposal) and officially added it in Python 3.8. If you’re coming from a Golang background and diving …