Sujal Charati·Oct 16Building a BPE Tokenizer from Scratch in JavaScriptHow GPT-style models turn text into numbers in about 120 lines of code.
Sujal Charati·Oct 1How to make your website’s LCP under 2.5sBefore diving deep into how I managed to reduce the metrics in my codebase (mobile view of website ) lets see at first what is LCP and why…
Sujal Charati·Jun 21I Found Out My DNS Server Was Myself — So I Traced the Whole ThingI was on my phone’s hotspot, poking around my laptop’s network config for no good reason, when I ran this:
Sujal Charati·Apr 2Idempotency Keys : Why Your API Needs ThemHave you ever clicked the “Pay Now” button and the page froze? Your first instinct — click it again. And again. Now imagine each click…