PinnedPublished inTDS ArchiveWhat Makes Us Different from AI?What is the origin of new ideas?Dec 31, 202216Dec 31, 202216
PinnedPublished inBetter ProgrammingDoes Async-Await and Promises Guarantee Asynchronous Code? No (and Here’s Why)An async method will truly be asynchronous only if it calls some other async methodOct 24, 20227Oct 24, 20227
Rethinking the CAP Theorem: Beyond “Pick Two Out of Three”The CAP theorem is a cornerstone of distributed systems design, yet it’s often misunderstood or oversimplified. Many of us learned it as:Dec 10, 2024Dec 10, 2024
Published inJavaScript in Plain EnglishHow JavaScript implements non-blocking I/O using async-await, callbacks and the event loopThis article discusses how JavaScript does not block a thread while waiting for an I/O event to happen. This is a continuation of my…Oct 24, 2022Oct 24, 2022
Published inJavaScript in Plain EnglishLocal Storage vs Cookies: Where to securely store data on the client-side?Where to store data on the client-side? Cookies or local storage? Which one is better for caching, and which one is persistent? Which is…Jun 7, 20221Jun 7, 20221
Published inJavaScript in Plain EnglishXSS Attacks for Beginners and How to Defend Against ThemCross-site scripting (XSS) attacks are a type of injection attack in which a malicious script may be injected into the document and…Jun 3, 2022Jun 3, 2022