Designing a safe error handling package in Go: safe by default
How to design a 130-line Go package that guarantees err.Error() never leaks technical data into HTTP responses — safe by default, no discipline required.
Lessons learned, problems and solutions
How to design a 130-line Go package that guarantees err.Error() never leaks technical data into HTTP responses — safe by default, no discipline required.
Bounded contexts, aggregates, value objects and anti-corruption layer — DDD is the 'why' behind CQRS and event sourcing. Applied to a Go service consuming Binance, OKEx and Coinbase.
PHP-FPM allocates an entire process per active request. Go spawns a goroutine at 8 KB. Consequences on RAM, latency under load, and the infra decisions that follow.
Server-Sent Events with PHP-FPM: why 20 simultaneous users can bring down your entire server, and how long-polling solves it without any external library.
You can't hit the real Binance API in tests. ExchangeClient interface, mockgen mocks, httptest for parsing real responses, testcontainers for PostgreSQL integration tests.
AI agrees with everything. Without a method, it amplifies your biases instead of correcting them. The protocol I built for rigorous research: primary sources only, certainty labeling on every point, and systematic counter-argumentation.
I had 47 RSS feeds. The result: two hours of scrolling per week and a Go breaking change discovered in prod six weeks too late. How I restructured my tech watch around AI, with a real bash script and an honest look at the limitations.
One Saturday afternoon, I wanted to ask Claude a few questions. Two hours later, we were discussing thermodynamics, the divine paradox and the survival instinct of machines. A look back at an unexpected dialogue.
PHP, Go, Python, JavaScript, Rust — no universal answer, but clear criteria. A pragmatic, opinionated guide for picking the right language for the job, with a quick-reference table.
How I built a custom video player for ShareBox: fragmented ffmpeg streaming, JS state machine, exponential backoff watchdog, PGS subtitles with scale2ref, and the mistakes that taught me the most.