Knowledge Base.
Notes, deep dives, and things I learned the hard way.
~ Telemetry Engine Series
Deep dives and lessons learned while building my cross-platform system monitor. View the Project →
Decoding Battery Telemetry
How to read laptop battery data in Python. Deep dive into /sys/class/power_supply/, ACPI, and building a cross-platform fallback with psutil.
Read Article →When /proc Fails
Why I use psutil for cross-platform system telemetry — and when I still prefer reading /proc directly. The cpu_percent interval gotcha, and the fallback pattern.
Read Article →Decoding /proc: CPU & Memory
Why does Linux show 95% RAM usage when it's idle? A deep dive into Linux memory illusions, cumulative CPU ticks, and how to parse kernel data using pure Python.
Read Article →~ Python & Concepts
Abstract Base Classes
What ABCs are, why they exist, and when to use them. Explained with the wall socket analogy, the animal example, the actual error messages you'll see, and why an ABC is not a dataclass.
Read Article →Demystifying Matplotlib
From basic line plots to calculating the center of stacked bars. My personal cheat sheet for y-limits, subplots, CSV integration, and the math behind stacked bar charts.
Read Article →Optimizing the Backup Script
Why copying 2GB of data every time was a mistake. How I used state management with case to make my Bash backup script dramatically faster.
The Story of TharanaOS
Why build a custom web-based operating system from scratch? No React, no Tailwind, just raw HTML, CSS, and JS. A deep dive into the architecture, the terminal, and the 300-day journey.
Read Article →