Robust generic functions on slices
Avoiding memory leaks in the slices package.
Avoiding memory leaks in the slices package.
This morning a one line change had several of us tearing up the fabric of reality trying to understand why a failing test wasn’t failing, or, in fact, being run at all. Increasingly frantic efforts to upgrade/downgrade Go, run the tests on another machine, run the tests in...
This post is about a new command-line tool I've recently built in Go - gemini-cli, and how to use it for LLM-based data analysis with Google's Gemini models. Background: I've been reading Simon Willison's posts about LLMs with interest, especially his work on tools that leverage...
#496 — February 20, 2024 Unsub | Web Version Go Weekly The HTTP Routing Enhancements in Go 1.22 — The Go team’s official take on the new HTTP routing enhancements in Go 1.22: “Go 1.22 brings two enhancements to the net/http packa...
These days, I don’t build hierarchical types through inheritance even when writing languages that support it. Type composition has replaced almost all of my use cases where I would’ve reached for inheritance before. I’ve written1 about how to escape the template...
These days, I don’t build hierarchical types through inheritance even when writing languages that support it. Type composition has replaced almost all of my use cases where I would’ve reached for inheritance before. I’ve written about how to escape the template...
These days, I don’t build hierarchical types through inheritance even when writing languages that support it. Type composition has replaced almost all of my use cases where I would’ve reached for inheritance before. I’ve written about how to escape the template...
Replace inheritance with the Strategy pattern in Go using interfaces. Achieve composable, testable code without class hierarchies.
I recently spotted GitHub's announcement about the new v4 release for working with GitHub Actions Artifacts and impressed with the performance increase they mentioned, wanted to jump on it. However, I noticed that my API requests to fetch the uploaded artifacts have been failing...