Why is Go 1.22's enhanced routing not working for me?

A few weeks ago, I started looking at adding Go 1.22+'s new net/http routing to oapi-codegen so folks could use the new lightweight functionality built into the standard library. I ended up getting rather frustrated, though, as I thought I'd configured it all correctly, but ended...

Software Architecture Diagrams using the C4 model

A picture is worth a thousand words. If you’ve ever joined a new complex project, you’d know what that means.

The One Billion Row Challenge in Go: from 1m45s to 3.4s in nine solutions

How I solved the One Billion Row Challenge (1BRC) in Go nine times, from a simple unoptimised version that takes 1 minute 45 seconds, to an optimised and parallelised version that takes 3.4 seconds.

Distributed Computing With Dried, Salted Cod Fish, WASM, And (Tiny)Go

You don't need monstrous software orchestration systems for collecting information from distributed data sources. Here is an easy way of sending a Go binary to where the data is.

Master of my domain

Let’s talk business—independent business, that is. What’s the cost of being the boss? Some more hard-learned lessons from my own horrible career.

Master of my domain

Let’s talk business—independent business, that is. What’s the cost of being the boss? Some more hard-learned lessons from my own horrible career.

How to make your GNU Emacs commands 'relevant' for M-X

Becoming the engineering manager of the Go team

#​497 — February 27, 2024 Unsub  |  Web Version Go Weekly Robust Generic Functions on Slices — The core library offers some great generic functions for slices, and understanding how each functions (modifies the slice, creates a new...

The Go 'range over functions' proposal and user-written container types

Gemma, Ollama and LangChainGo

Yesterday Google released Gemma - an open LLM that folks can run locally on their machines (similarly to llama2). I was wondering how easy it would be to run Gemma on my computer, chat with it and interact with it from a Go program. Turns it - thanks to Ollama - it's extremely �...