The Go runtime isn't aware if it runs inside a container under the resource constraints (CPU or memory). A mismatch in what the application thinks is has, and what the OS allows to use, can lead to the poor performance of the application after the unexpected throttling.
The complete archive of all posts. All of them. Everything. All at once.
My personal list of "top conference talks", I keep referring back to, even after years of working with Go.
Last year I decided to reorganise my homelab cluster of Raspberry Pis, turning it into a wireless-to-wired island, which I could relocate anywhere within the flat, without doing any special cable management.
Every time I sketch an HTTP API in Go, I wrap the code of request handlers around these small but very convenient bits.
Lately, I’ve learned, jsonb prohibits insertion of a valid JSON string if the string contains NULL (U+0000) character.
2020 was an extraordinary year.
Providing you’re working on a project maintained by a set team of N people. What would happen with the codebase if, for six months, in code-reviews, you started to accept changes for which, you generally leave feedback?
With Apple's new M1 Macs showing (_reportedly_) huge performance improvement, compared to old, Intel-based Macs, I wonder what would hold Qualcomm (Snapdragon CPU) and others from doing the same...
To make the font look better in VS Code, set the alternative font-variant in the editor's settings.
It's a year since I posted the very first note here.
profefe-collector, the main component of profefe, a system for continuous profiling, receives profiling data from an application and persists the data in the collector's storage. But why waiting for the data to be pushed instead of pulling it directly from the application?
Sometimes I write small services in Go from scratch. And every time main.go ends up looking almost the same.
Sticky (or "_fixed_") headers are everywhere. It feels that every web designer’s first attempt to site's navigation starts with a sticky header. I hate this.
The late-night dilemma... Who's in charge of logging context?
How to access macOS Location Services and get the geographic location of the device from Go (with the help of some Objective-C).
Docker has added the support for building multi-platform images in 19.x. However, the topic of building multi-platform Docker images yet feels underrepresented.
I'm updating my Raspberry Pi's to Ubuntu Server 19.10 (arm64).
After listening to the "Fireside edition" of Go Time (Ep. 110), I questioned myself, how would I answered the questions the hosts discussed.
Let's call this commit "Poehali!"