Go Load Balancer Dashboard

A load balancer written in Go with a real-time monitoring dashboard. It supports multiple balancing algorithms, health checks, and automatic failover. This was a learning project to understand Go’s concurrency model and network programming. Tech Stack: Go, WebSockets, HTML/CSS/JS Source: github.com/M-Hassan-Raza/go-load-balancer-dash Why Build This I wanted to understand how load balancers actually work—not just use them, but build one. Go’s goroutines and channels seemed like a good fit for handling concurrent connections, and the standard library has solid networking primitives. ...

January 5, 2025 · 3 min · Muhammad Hassan Raza
Learning Through Open Source

The Best Way to Learn a Codebase Is to Break Someone Else's

The best code I’ve ever written was shaped by code I didn’t write. Not tutorials, not books, not conference talks — other people’s production codebases, with their weird naming conventions, unexpected architectural decisions, and review comments that rewired how I think about problems. I contribute to open source projects across five languages. Not because I set out to be polyglot. Because I kept finding bugs in different ecosystems and couldn’t stop myself from tracing them to the source. Along the way, I accidentally learned more about software architecture than any course ever taught me. ...

January 8, 2026 · 7 min · Muhammad Hassan Raza
Pyscn tree-sitter analysis cover

How Pyscn Analyzes Python with Go and tree-sitter

Pyscn is a code quality analyzer for Python built by DaisukeYoda at ludo-technologies. It finds dead code, code clones, coupling issues, and complexity hotspots. It’s written in Go, uses tree-sitter for parsing, and processes over 100,000 lines per second. I’ve been studying its internals and the engineering decisions are worth writing about: how it detects dead code through control flow analysis, finds duplicated code across clone types 1-4 with LSH acceleration, and integrates with AI coding assistants via MCP. ...

October 15, 2025 · 4 min · Muhammad Hassan Raza