Programming
12 pages tagged across the site.
>> Blog
A bidirectional relationship — users know their rooms, rooms know their users — has to be updated under a single lock, or readers will catch it half-done.
Endpoint maps over hand-rolled methodsWhen a client library wraps ~25 near-identical HTTP endpoints, describing them as data instead of writing 25 methods pays off — with one real trade-off.
>> Opinions
A single catch-all exception forces every call site to over-handle. Two types in a hierarchy let each caller pick its own granularity.
Generic returns can be the right call for a library you maintain aloneTyped response structs are the default advice. For a one-person library wrapping a churny upstream API, `(any, error)` was the cheaper long-term choice.
>> Projects
A thread-safe Go library providing a reusable Room–User architecture for real-time systems like chat and multiplayer games.
WazirX Go ConnectorAn open-source unofficial REST API client for the WazirX crypto exchange in Go, acknowledged by WazirX's co-founder.
WazirX Java ConnectorAn open-source unofficial REST/WebSocket client for the WazirX crypto exchange in Java, acknowledged by WazirX's co-founder.
Audio CloningA patched fork of OpenVoice that clones a speaker's voice for short subtitle lines and runs on CPU — the TTS stage of the Video Translator pipeline.
Video TranslatorA local AI dubbing pipeline that transcribes a video's audio, translates it, and re-synthesizes speech in the target language using open-source models.
TTS Study AssistantA Chrome extension for saving, organizing, and listening to notes from any webpage, backed by a Go/Fiber API and a React admin panel.