dulitharajapaksha.comGit Internals Demystified: Branches, Merges, and the Reflog (Part 2)In Part 1, we cracked open the .git directory and found blobs, trees, SHA-1 hashes, and the index. You saw that git add does not talk to any server, it just writes objects locally. Good stuff. Now thiFeb 27路13 min read
dulitharajapaksha.comHow Git Works Internally: Behind the Curtain (Part 1)You type git commit -m "fix bug" and it just... works. The files are saved, history is preserved, your team can pull your changes. But what actually happened? Most developers I know use Git every singFeb 24路11 min read
dulitharajapaksha.comI Caught My AI Agents Lying to Me (And Built a System to Stop It)So, you've been burned by an AI "completing" a task without actually completing it, right? You asked it to write tests. It said "Done! All tests pass." You ran the tests yourself. They didn't pass. Maybe they didn't even exist. Yeah. I know that feel...Feb 18路12 min read
dulitharajapaksha.comLaravel's Lottery Class: The Hidden Gem You're Not UsingPicture this: It's 3 AM. Your phone buzzes. Then buzzes again. And again. Your error tracker has gone absolutely mental because your production app decided to report every. single. lazy loading violation. All 47,000 of them. In one hour. Sound famili...Feb 5路7 min read
dulitharajapaksha.comHow Google Docs Handles 50 People Editing Your Document at Once (Without Everything Exploding)Ever been in one of those chaotic meetings where someone shares a Google Doc and suddenly 15 people are typing at the same time? Cursors flying everywhere, text appearing out of nowhere, and somehow... somehow... the document doesn't turn into comple...Jan 21路7 min read