screenager.dev
https://screenager.dev/blog
Personal site and blog by Tejas Mahajanen-us[email protected] (Tejas Mahajan)[email protected] (Tejas Mahajan)Sun, 19 Oct 2025 00:00:00 GMThttps://screenager.dev/blog/2025/what-actually-happens-when-you-press-ctrl-cWhat 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-sciencehttps://screenager.dev/blog/2025/why-ping-is-a-masterpiece-of-network-diagnosticsNerds 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)networkingchttps://screenager.dev/blog/2025/diff-algorithm-hunt-mcilroyGit 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-sciencehttps://screenager.dev/blog/2025/l3-cacheProgramming 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-levelhttps://screenager.dev/blog/2025/printf-formats-beyond-dBeyond %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)programmingdebuggingcfundamentalshttps://screenager.dev/blog/2025/bit-tricks-power-problems0x55555555 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-programminghttps://screenager.dev/blog/2025/the-three-body-problemThe 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)physicsmathsimulationalgorithmshttps://screenager.dev/blog/2025/cpp-lambdaC++ 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-programminghttps://screenager.dev/blog/2025/lru-cacheHow 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-designchatgpthttps://screenager.dev/blog/2025/bloom-filters-demystifiedThe 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-sciencepythonhttps://screenager.dev/blog/2025/logistic-regression-1Cat 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 foundationsFri, 28 Mar 2025 00:00:00 GMT[email protected] (Tejas Mahajan)Deep Learningmathinteractivealgorithmshttps://screenager.dev/blog/2025/cf-ladderInside 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 programmingmathhttps://screenager.dev/blog/2024/prompt-engineeringPrompt 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 EngineeringTutorialChatGPThttps://screenager.dev/blog/2024/gradient-stepA 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