screenager.dev https://screenager.dev/blog Personal site and blog by Tejas Mahajan en-us [email protected] (Tejas Mahajan) [email protected] (Tejas Mahajan) Sun, 19 Oct 2025 00:00:00 GMT https://screenager.dev/blog/2025/what-actually-happens-when-you-press-ctrl-c What Actually Happens When You Press ^C? https://screenager.dev/blog/2025/what-actually-happens-when-you-press-ctrl-c You know that moment when magic becomes real? This is about that moment. Sun, 19 Oct 2025 00:00:00 GMT [email protected] (Tejas Mahajan) clow-levelcomputer-science https://screenager.dev/blog/2025/why-ping-is-a-masterpiece-of-network-diagnostics Nerds Like to Ping https://screenager.dev/blog/2025/why-ping-is-a-masterpiece-of-network-diagnostics The most powerful network diagnostic tool you'll ever use is 1,000 lines of code written in a single evening in 1983. Fri, 17 Oct 2025 00:00:00 GMT [email protected] (Tejas Mahajan) networkingc https://screenager.dev/blog/2025/diff-algorithm-hunt-mcilroy Git Diff Is Just LCS https://screenager.dev/blog/2025/diff-algorithm-hunt-mcilroy Every CS student grinds LCS problems on LeetCode. But do they know it powers git diff? A deep dive into the Hunt-McIlroy algorithm and why your DSA practice is more relevant than Twitter debates suggest. Thu, 09 Oct 2025 00:00:00 GMT [email protected] (Tejas Mahajan) algorithmscomputer-science https://screenager.dev/blog/2025/l3-cache Programming L-caches https://screenager.dev/blog/2025/l3-cache A practical guide to CPU caches, sparked by a slow laptop. Learn how simple changes to your loops and data structures can dramatically speed up your code. Fri, 26 Sep 2025 00:00:00 GMT [email protected] (Tejas Mahajan) cpplow-level https://screenager.dev/blog/2025/printf-formats-beyond-d Beyond %d: The Hidden World of printf Formats That Most Devs Never Use https://screenager.dev/blog/2025/printf-formats-beyond-d Bet you only use %d in your printf statements. Time to discover %x, %o, %b and unlock debugging superpowers you never knew existed. Mon, 18 Aug 2025 00:00:00 GMT [email protected] (Tejas Mahajan) programmingdebuggingcfundamentals https://screenager.dev/blog/2025/bit-tricks-power-problems 0x55555555 is Actually Alien Code (And Other Power Problem Adventures) https://screenager.dev/blog/2025/bit-tricks-power-problems What started as a simple Power of Four problem turned into me decoding hexadecimal mysteries and questioning everything I know about binary. Spoiler: bits are weirder than you think. Fri, 15 Aug 2025 00:00:00 GMT [email protected] (Tejas Mahajan) algorithmsbit-manipulationleetcodecompetitive-programming https://screenager.dev/blog/2025/the-three-body-problem The Three Body Problem https://screenager.dev/blog/2025/the-three-body-problem Built a real-time three-body physics simulation with React hooks, RK4 integration, and some seriously beautiful orbital chaos. Warning: may cause existential crisis about the universe. Thu, 31 Jul 2025 00:00:00 GMT [email protected] (Tejas Mahajan) physicsmathsimulationalgorithms https://screenager.dev/blog/2025/cpp-lambda C++ Lambdas Have Trust Issues https://screenager.dev/blog/2025/cpp-lambda A quick LeetCode solution taught me why C++ lambda return type deduction is pickier than I thought. Tue, 03 Jun 2025 00:00:00 GMT [email protected] (Tejas Mahajan) cppcompetitive-programming https://screenager.dev/blog/2025/lru-cache How ChatGPT and I Built an LRU Cache That Sped Up My App 10x https://screenager.dev/blog/2025/lru-cache A journey of me and ChatGPT building a Least Recently Used (LRU) cache from scratch, with code examples, funny chat interactions, and visualizations that show how this clever algorithm saved my final project. Wed, 21 May 2025 00:00:00 GMT [email protected] (Tejas Mahajan) algorithmspythonsystem-designchatgpt https://screenager.dev/blog/2025/bloom-filters-demystified The Curious Case of Bloom Filters: When "Maybe" Is Good Enough https://screenager.dev/blog/2025/bloom-filters-demystified A deep dive into the elegant mathematics and practical applications of Bloom filters — probabilistic data structures that trade perfect accuracy for astonishing space efficiency. Thu, 01 May 2025 00:00:00 GMT [email protected] (Tejas Mahajan) algorithmsdata-structurescomputer-sciencepython https://screenager.dev/blog/2025/logistic-regression-1 Cat or not a cat with Logistic Regression: Part 1 - Understanding the Basics https://screenager.dev/blog/2025/logistic-regression-1 A deep dive into binary classification using logistic regression, from fundamental concepts to practical implementation, with interactive examples and mathematical foundations Fri, 28 Mar 2025 00:00:00 GMT [email protected] (Tejas Mahajan) Deep Learningmathinteractivealgorithms https://screenager.dev/blog/2025/cf-ladder Inside the Codeforces Ladder & User API System https://screenager.dev/blog/2025/cf-ladder A detailed overview of the algorithms and mathematical reasoning behind our Codeforces ladder and user APIs. Mon, 17 Mar 2025 00:00:00 GMT [email protected] (Tejas Mahajan) codeforceshow it works?competitive programmingmath https://screenager.dev/blog/2024/prompt-engineering Prompt Engineering: The Art of Sweet-Talking AI Models https://screenager.dev/blog/2024/prompt-engineering A fun guide to mastering prompt engineering - from epic fails to pro tips! Tue, 26 Nov 2024 00:00:00 GMT [email protected] (Tejas Mahajan) AIPrompt EngineeringTutorialChatGPT https://screenager.dev/blog/2024/gradient-step A Gradient Step at a time. https://screenager.dev/blog/2024/gradient-step The adventure of me finding the answers. Mon, 29 Jul 2024 00:00:00 GMT [email protected] (Tejas Mahajan) guide