Technical logbook
Blogs
I write up what I learn on a separate site — the Logbook. Engineering notes, mostly, plus international politics briefs in Bangla.
Inside PostgreSQL: The Journey of a Query Through the Engine
A user adds a product to a cart, hits checkout, the payment clears, and your backend fires one small query at PostgreSQL. From the outside it looks…
Read on the LogbookAdding a Column to a 300-Million-Row Table Without Downtime
"How would you add a new column to a table with 300 million rows that is being read and written 24/7, without any downtime?" This is a classic…
Read on the LogbookRAG from Beginner to Expert: Retrieval Architectures for 2026
Retrieval Augmented Generation (RAG) is the technique of giving a Large Language Model (LLM) access to knowledge it was never trained on — your PDFs…
Read on the LogbookCelery, Workers, Beat & Flower: From Zero to Professional
If Python already has , why would you bolt on a whole task queue system with a message broker, separate worker processes, a scheduler, and a…
Read on the LogbookLoop Engineering for Agentic Development: Rules, Patterns, and a Worked Example
An AI agent is not a single call to a model — it is a loop. The model observes, decides, acts with a tool, sees the result, and goes again until the…
Read on the LogbookProduction-Grade Logging and Observability: A Practical Guide
How does a real production system handle logging? Where do logs actually live, what format are they stored in, and how do logs differ from metrics…
Read on the Logbook50 Backend & Distributed Systems Scenario Questions (With Answers)
Fifty production style debugging and design questions, each answered with a focus on what's happening internally and how to fix it .
Read on the LogbookTop Engineering Blogs and a Reading Roadmap for Backend Developers
A curated list of engineering blogs worth following — merged from two popular lists, de duplicated, and resolved to real canonical links (no LinkedIn…
Read on the LogbookHashing, Salt, Pepper & Encryption: A Practical Reference
A guide to how passwords and OTPs are protected, why "you can't reverse a hash" is true but incomplete, and how salt and pepper defend against…
Read on the LogbookProduction-Grade Secure JWT Authentication
A practical reference for implementing access/refresh token auth that handles theft, revocation, and logout correctly.
Read on the LogbookMastering Pessimistic Locking in PostgreSQL: A Production-Ready Guide
As systems scale and concurrency increases, maintaining data integrity without sacrificing performance becomes a core architectural challenge.
Read on the LogbookMastering TypeORM Query Execution: A Guide to Patterns, Performance & Transactions
TypeORM Version : 0.3.x+ Focus : Production ready patterns, transaction safety, and performance trade offs 🎯 Introduction TypeORM is a powerful ORM…
Read on the LogbookTypeORM Entity Listeners & Subscribers: A Complete Guide
Audience : Developers working with TypeORM 0.3+ who need to implement lifecycle hooks, audit trails, or cross cutting concerns.
Read on the LogbookSocket.IO: A Comprehensive Guide
Socket.IO is a JavaScript library that enables real time, bi directional, and event based communication between web clients (browsers) and servers.
Read on the LogbookHow to Scrub Leaked Secrets from Git History: A Complete Guide
Accidentally committing a secret (API key, password, or token) is a rite of passage for developers.
Read on the Logbooknpm, npm -g, and npx: A Deep Dive
You've used these tools thousands of times. But do you actually know what's happening under the hood?
Read on the LogbookEdge Runtime: A Technical Deep Dive
The term "edge runtime" has become ubiquitous in modern infrastructure conversations, yet it is frequently misunderstood or conflated with adjacent…
Read on the LogbookFree API Keys to Call LLMs: A Practical Guide for Developers
So you want to build something with an LLM. Maybe a chatbot, a coding assistant, or just a quick script that summarises your notes.
Read on the LogbookA Complete Guide to LLM Quantization
From floating point fundamentals to 1 bit models — everything you need to understand how large language models are compressed for the real world. 1…
Read on the LogbookThe Complete AI Learning Path: From Zero to AI Engineer (2026 Guide)
Whether you are a total beginner or a developer looking to break into artificial intelligence, this guide lays out a clear, step by step learning…
Read on the LogbookError Handling in Express vs NestJS: A Deep Architectural Comparison
Error handling is one of the biggest architectural differences between Express and NestJS . At first glance they look similar — both run on Node.js —…
Read on the LogbookThe Night Shift Cook & the Single-Threaded Kitchen
A candid guide to synchronous vs asynchronous JavaScript for engineers who want the real mental model, not just syntax.
Read on the LogbookThe Day We Stopped Fighting Our Own Tools: A Team's Journey to Dev Containers
A story about broken environments, lost hours, and the configuration file that finally made everyone's machine the same machine.
Read on the LogbookHow I Refactored My TypeScript Backend to Fully Follow Airbnb ESLint Rules (With Real Before & After Examples)
When I started enforcing Airbnb ESLint rules in my TypeScript backend project, I quickly realized how many common coding patterns violate them.
Read on the LogbookParameterized SQL vs Dynamic SQL Queries — Why One Protects Your Database (and the Other Can Destroy It)
When building backend applications, especially in TypeScript or Node.js environments, developers often need to construct SQL queries dynamically.
Read on the LogbookGraceful Shutdown: Why Your Container Is Dying Badly (And How to Fix It)
You've deployed your NestJS app. Kubernetes is scaling it down. Requests are being dropped. Users are getting 502 errors.
Read on the LogbookPrisma vs TypeORM: Understanding the Key Differences for Node.js & TypeScript
When building Node.js or TypeScript applications, working with databases efficiently and safely is crucial.
Read on the LogbookMy First GDG DevFest Experience
Today, I attended Google Developer Group Dhaka 𝐃𝐞𝐯𝐅𝐞𝐬𝐭 2025 at Bishwo Shahitto Kendro (Dhaka) and it was my first DevFest experience.
Read on the LogbookExpress Router এর Order
✅ Auth middleware এর মতো global middleware ব্যবহার করলে সবার উপরে রাখা। ✅ routes conflict এড়ানোর জন্য অবশ্যই routes order maintain করতে হবে। যেমন…
Read on the Logbookজাভাস্ক্রিপ্টে "?" এর তিনটি ব্যবহার
জাভাস্ক্রিপ্টে "?" এর তিনটি ব্যবহার আছে Ternary operator Optional chaining Nullish coalescing 𝐓𝐞𝐫𝐧𝐚𝐫𝐲 𝐨𝐩𝐞𝐫𝐚𝐭𝐨𝐫 বেশ কমন, অন্যান্য…
Read on the LogbookKaggle Account Verification Problem from Bangladesh
If you want to use a GPU in runtime for free on Kaggle, account verification is required. To verify your account, an OTP is sent to your phone number.
Read on the LogbookThe Path of American Arms to Hamas: Unraveling the Mystery
Several days ago, a video went viral showing a Hamas soldier expressing gratitude to Ukraine for American weapons.
Read on the Logbookচীনা সম্রাট হঙ্গউ নবীজি সম্পর্কে কি লিখেছিলেন?
সম্রাট হঙ্গউ, (যিনি অনেকের কাছে জু ইউয়ানজাঙ্গ হিসেবে পরিচিত)১৩৬৮ সালে চীনে মোঙ্গল সাম্রাজ্যের পতন ঘটিয়ে মিং সাম্রাজ্যের সূচনা করেন।তাঁর নির্দেশে…
Read on the Logbookইসরায়েলের গোয়েন্দা সংস্থা মোসাদের কারণেই কি ইসরায়েল ছাড়া মধ্যপ্রাচ্যের অন্য কোনো দেশ পারমাণবিক বোমা তৈরি করতে পারেনি?
১৯৬০ সালে আমেরিকার একটি বিমান থেকে তোলা ছবির সূত্র ধরে বলা হয় ইসরায়েল পরমাণু বোমা বানানোর প্রকল্প হাতে নিয়েছে। তৎকালীন সময় সব গণমাধ্যমের হেডিং ছিল…
Read on the Logbookঅবশেষে কাতারের ওপর থেকে সৌদি জোটের নিষেধাজ্ঞা উঠে যাচ্ছে। এই নিষেধাজ্ঞার ফলে কী অর্জন করেছে সৌদি জোট? কাতারের কতটুকু ক্ষতি হলো?
কাতার নিষেধাজ্ঞার মাধ্যমে কাছাকাছি সময়ে এই প্রথম সৌদি জোট কোনো মুসলিম প্রধান দেশের উপকারে আসলো। ২০১৭ সালের জুন মাসে চারটি প্রতিবেশী দেশ যখন কাতারের…
Read on the Logbookসিরিয়া কি অবৈধ রাষ্ট্র ইসরায়েলকে একটা রাষ্ট্র হিসেবে স্বীকৃতি দিয়েছে?
সিরিয়া এখনো ইসরায়েলকে স্বীকৃতি দেয়নি।কেন দেয়নি এবার তাই নিয়েই আলোচনা করব। মুসলিম প্রধান দেশগুলোর সাথে কিছু অমুসলিম দেশও ইসরায়েলকে স্বীকৃতি দেয়নি,মূলত…
Read on the Logbookআগামী ৫ বছরের মধ্যে বাংলাদেশ রোহিঙ্গা সংকট সমাধান করতে পারবে কি?
রোহিঙ্গা সংকট সমাধান নিয়ে বেশ কিছু প্রশ্ন তৈরি হয়েছে। যেমনঃ সমস্যা ১ জাতিগোষ্ঠী রোহিঙ্গাদের বিষয়ে গত ১৮ নভেম্বর জাতিসংঘ সাধারণ পরিষদে যে প্রস্তাব পাস…
Read on the Logbookসত্যজিৎ রায়ের সৃষ্ট বিখ্যাত চরিত্র সিধুজ্যাঠার সত্যিই কি কোনও অস্তিত্ব ছিল? সিধুজ্যাঠার সঙ্গে বাস্তবের কোন মানুষটির সাদৃশ্য পাওয়া যায়?
সিধু জ্যাঠা সত্যজিৎ রায়ের অনবদ্য সৃষ্টি ফেলুদা সিরিজের একটা চরিত্র। এই সিধু জ্যাঠা ফেলুদার সত্যিকারের আত্মীয় না হলেও আত্মীয়ের বাড়া(তপেশের ভাষ্যমতে)…
Read on the Logbookমার্কিন নির্বাচনে ডোনাল্ড ট্রাম্প পরাজিত হলেন, তার পরাজয়ের জন্যে সব চেয়ে বড় কারন কোনটি বলে আপনি মনে করেন?
ট্রাম্পের পরাজিত হওয়ার কারণসমূহ: হাস্যকর কথাবার্তা বলে নিজেকে গোপাল ভাঁড় প্রমাণের চেষ্টা করা। যেমন:হৃদপিণ্ড থাকে পাকস্থলীতে,কখনো পারমাণবিক বোমা মেরে…
Read on the Logbookরাশিয়াকে কেন ইউরোপিয়ান ইউনিয়নে যোগদান করতে দেওয়া হচ্ছে না?
১৯৯১ সালের ২৫শে ডিসেম্বর। সোভিয়েত ইউনিয়নের অস্তিত্ব আনুষ্ঠানিকভাবে বিলুপ্ত হলো। সর্বশেষ সোভিয়েত নেতা মিখাইল গর্বাচেভ পদত্যাগ করলেন…
Read on the Logbookবাংলাদেশের কি ইসরাইলকে স্বীকৃতি প্রদান করা উচিত?
ইসরায়েলে প্রায় ৮৩ লক্ষ লোকের বাস। এটি মধ্যপ্রাচ্যের সবচেয়ে ঘনবসতিপূর্ণ দেশ; এখানে প্রতি বর্গকিলোমিটারে ৩৮১ জন অধিবাসী বাস করে। এদের মধ্যে ৬১ লক্ষ…
Read on the Logbookইতিহাসের সাক্ষী "যেদিন কাবুল দখল করলো সোভিয়েত সৈন্যরা ১৯৭৯ সালে সরকার বিরোধী অভ্যুত্থানকে সমর্থন জানিয়ে আফগানিস্তানে ঢুকে পড়ে সোভিয়েত সৈন্যরা"
প্রেক্ষাপট ১৯৭৩ সালে রক্তপাতহীন অভ্যুত্থানে চাচাতো ভাই জেনারেল মোহাম্মদ দাউদ খানের হাতে জহির শাহর পতন ঘটলে আফগানিস্তানের রাজনৈতিক ব্যবস্থা ভেঙ্গে…
Read on the Logbook