Page tables in plain wordsPage tables in plain words A program never touches real memory addresses. It uses virtual addresses, and the CPU translates each one to a physical address before the access happens. Page tables are th5 min read·parsaaftabi.hashnode.devNov 16
What happens between a timer interrupt and a thread actually runningWhat happens between a timer interrupt and a thread actually running A timer interrupt does not run your thread. It only gives the kernel a chance to decide whether your thread should run next. The ga5 min read·parsaaftabi.hashnode.devNov 13
Reading a crash log when you have no symbolsReading a crash log when you have no symbols A crash log gives you the place where the machine stopped. It rarely gives you the place where the bug started. A bad pointer can travel through ten functi4 min read·parsaaftabi.hashnode.devNov 11
The http.Server Setup I Use in Every Go Project — Now Open SourceEvery Go API I ship starts life with the same block of code. Not the handlers, not the routing. The server setup. Timeouts, signal handling, the shutdown dance. I'd copy it from the last project, chan4 min read·parsaaftabi.hashnode.devOct 20
PostgreSQL EXPLAIN ANALYZE: What I Actually Look At in Query PlansPostgreSQL EXPLAIN ANALYZE: What I Actually Look At in Query Plans Every slow query I have ever chased started the same way: someone guessing. "Probably needs an index." "The join is too big." "Postgr8 min read·parsaaftabi.hashnode.dev2SOct 17