News
Writing a BPF packet filter on macOS in Go
2+ hour, 54+ min ago (1282+ words) In a recent change to qcontroller, I removed the dependency on QEMU Guest Agent (QGA) for discovering a VM's IP address. Previously, users had to install QGA inside every VM'easy enough with cloud-init, but still a hard requirement just to…...
Designing Error Flows: Exceptions, Success Flags, or Discriminated Unions?
3+ hour, 23+ min ago (846+ words) Recently, I needed to integrate with an external API to synchronize data. From past experience, I have learned that failures are not a question of if but when. Network issues, timeouts, validation errors, authentication failures, unexpected payloads, and third-party outages…...
Kafka KRaft Internals: Life After ZooKeeper
10+ hour, 9+ min ago (747+ words) For years, Apache Kafka relied on Apache ZooKeeper for cluster metadata management, controller election, and broker coordination. ZooKeeper worked " but it also introduced operational complexity, scaling bottlenecks, split-brain risks, and an additional distributed system that operators had to understand deeply....
Mastering Serverless Architecture: Event-Driven Design with Azure Functions and Cosmos DB
10+ hour, 45+ min ago (840+ words) The landscape of modern software engineering has shifted dramatically from monolithic, stateful applications toward decoupled, event-driven architectures. At the forefront of this evolution is the combination of Azure Functions and Azure Cosmos DB. This powerhouse duo allows developers to build…...
Process, Threads and Goroutines
17+ hour, 19+ min ago (681+ words) A program is an executable file on disk. When the operating system loads that file into memory and starts execution, it becomes a process. A process has its own: Stack and Heap memory I/O and system resources The key…...
NDM-TCP: Potential Real-World Applications (If Simulation Results Hold True)
4+ day, 9+ hour ago (427+ words) Full Disclosure: This is itself a crazy experiment of mine. What I'm saying here might also sound crazy. But based on the simulation results'where NDM-TCP demonstrated superior stability, 85.6% fewer retransmissions, and adaptive behavior in noisy network conditions'I want to explore…...
NDM-TCP Optimized Version: Technical Overview
5+ day, 6+ hour ago (213+ words) 2. Reduced Memory Footprint 3. LUT-Based Activation Functions Pre-computed lookup tables replace runtime calculations for tanh and sigmoid, trading ~500 bytes of read-only memory for faster activation. 4. Fast Entropy Calculation Histogram binning uses fixed-point arithmetic and bit shifts instead of floating-point division, with…...
Week 1 — When LLM Failures Weren’t About Load, But Timing (ZooKeeper + Distributed Locking)
5+ day, 8+ hour ago (485+ words) This post starts a weekly series where I'll be writing about practical things I've learned while working on real systems " the kind of problems that don't show up in tutorials but show up immediately in production The idea isn't to…...
Tired of API Rate Limits? Run Mistral 7B Locally with Ollama (No More Monthly API Bills)
5+ day, 10+ hour ago (244+ words) If you've built anything using LLM APIs, you've probably faced at least one of these: And if you're a student or building side projects, paying for premium API tiers every month is not always realistic. You can run a powerful…...
Introducing ENTE-TCP: Smart TCP Congestion Control for Modern Networks
5+ day, 14+ hour ago (570+ words) ENTE-TCP is a streamlined version of NDM-TCP (Neural Differential Manifolds TCP), designed to bring the core innovation of entropy-based congestion detection to a wider audience without the complexity of machine learning. What makes ENTE-TCP different from NDM-TCP? NDM-TCP pioneered the…...