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