RN

Technical Writings

Notes from working concepts out in code — networking, distributed systems, algorithms and observability. Mostly build journals from side projects, written while the details were still fresh.

Latest

Building a Vertical Search Engine Over 2,196 University Publications

Crawling a Cloudflare-protected PurePortal site into MongoDB, building a per-field TF-IDF index from scratch, and ranking with cosine similarity — plus what the evaluation numbers actually exposed about a bag-of-words engine.

PythonInformation RetrievalMongoDBFastAPI

Model Selection on EEG Signals: Least Squares, AIC/BIC and Rejection ABC by Hand

Fitting five polynomial regression architectures to four EEG input channels using nothing but normal equations, then comparing them with RSS, log-likelihood, AIC and BIC, validating on a held-out split, and running rejection ABC — plus the two places where the numbers quietly disagreed with the method.

RStatisticsMachine LearningBayesian

UDP Hole Punching: How Two Machines Behind NAT Talk Directly

Working through NAT traversal and bulk transfer over an unreliable datagram protocol — rendezvous, simultaneous open, keepalives, chunking, integrity and flow control — by building a peer-to-peer file sharing system in Go.

GoNetworkingP2PSystem Design

Backtracking: Solving Problems by Guessing Systematically

Working through constraint search — pruned tree exploration, candidate checks, recursive descent and undo — by building a browser Sudoku solver that animates its own search using async/await to yield to the event loop.

JavaScriptAlgorithmsFrontend