Fused Softmax in Tritonđ Apr 20, 2026 · đ Apr 22, 2026 · â 7 min read · âī¸ k4ihow to write a fused softmax kernel in triton that eliminates redundant memory accesses and outperforms pytorch's native implementation.
SSH Port Forwarding: Local and Remote Tunnels Explainedđ Apr 19, 2026 · â 4 min read · âī¸ k4iA practical guide to SSH local and remote port forwarding, with examples, comparison, and persistent configuration via ~/.ssh/config.
Mitmproxy + Tampermonkey = better {llm, âĻ} viewerđ Mar 22, 2026 · đ Apr 26, 2026 · â 9 min read · âī¸ k4iUse mitmproxy to capture LLM API traffic and Tampermonkey to turn mitmweb's raw JSON into a readable, chat-like viewer.
Batch vs Stochastic Gradient Descentđ Feb 16, 2026 · đ Apr 19, 2026 · â 4 min read · âī¸ k4iunderstand batch gradient descent, stochastic gradient descent, and mini-batch gradient descent.
Forward & Backward Propagationđ Feb 16, 2026 · đ Apr 19, 2026 · â 5 min read · âī¸ k4iunderstand how backward propagation works in gradient descent.
Key Management With GnuPGđ Jun 1, 2024 · â 11 min read · âī¸ k4ilearn how to manage you keys with GPG, and use it with ssh and git and pass.
DSU on Tree (Sack)đ Feb 16, 2024 · đ Apr 26, 2026 · â 9 min read · âī¸ k4iDSU on tree answers subtree queries by keeping the largest child's contribution and rebuilding only the small parts. The trick is not union-find; it is small-to-large merging hidden inside a DFS.
Shortest Paths Algorithmsđ Feb 10, 2024 · â 3 min read · âī¸ k4icompare shortest path algorithms: dijkstra, floyd, bellman-ford
Connect to your android wirelesslyđ Jan 21, 2023 · â 2 min read · âī¸ k4iconnect to android via TCP/IP