We (@chris.blue and I) did an interview for the @antithesis.com Bug Bash podcast. It was an interesting discussion!
We (@chris.blue and I) did an interview for the @antithesis.com Bug Bash podcast. It was an interesting discussion!
Do you have an idle cluster? Can you spare a couple core-years?
Help me bruteforce some test vectors for RSA key generation edge cases!
Here are the instructions, it's just a matter of running a single self-contained cross-compilable Go binary that will report the results autonomously.
Life's comes at you fast, and so do new releases of yzma!
Use pure Go for hardware accelerated local inference on Vision Language Models & Tiny Language Models.
0.9.0 out now with API improvements, model downloading, & more.
github.com/hybridgroup/...
#golang #llama #vlm #tlm
$ go install golang.org/dl/go1.25.0@latest $ go1.25.0 download Downloaded 0.0% ( 0 / 58130695 bytes) ... Downloaded 50.0% (29065347 / 58130695 bytes) ... Downloaded 100.0% (58130695 / 58130695 bytes) Unpacking go1.25.0.freebsd-arm.tar.gz ... Success. You may now run 'go1.25.0' $ go1.25.0 version go version go1.25.0 freebsd/arm
π Go 1.25.0 is released!
π Release notes: https://go.dev/doc/go1.25
β¬οΈ Download: https://go.dev/dl/#go1.25.0
#golang
FastCGo: How people behind Prom++ made calls from Go into C 16.5 times faster (ru). Great post, full of low-level technical details #golang
(the browser's auto-translation does a decent job of translating the text into English)
habr.com/ru/companies...
Little Bobby Tables had a brother
some interesting discussion here around protocol strategy and resistance to centralization
I have not paid a ton of attention to the uproar over RTO policies, bc we are all in on distributed teams and not going back.
My impression (via social media) has been that these were shadow layoffs.
Last month I asked an investor why they are doing RTO. He said: "Retention, mostly. And morale."
Carmine Cesarano, Martin Monperrus, Roberto Natella
GoLeash: Mitigating Golang Software Supply Chain Attacks with Runtime Policy Enforcement
https://arxiv.org/abs/2505.11016
@metalmatze.de hi, weβve met at kubecon and we talked about a project for benchmark trend visualization. If you found it again, I would love to see it. Thank you so much for the recommendation.
this worked for me, btw #golang
`find . -type f -name '*_test.go' -exec sed -i '' 's/ctx := context\.Background()/ctx := t.Context()/g' {} +`
𧨠Go 1.24.0 is released!
π Release notes: go.dev/doc/go1.24
β¬οΈ Download: go.dev/dl/#go1.24.0
#golang
With more #golang conferences and meetups joining BlueSky, here is a starter pack with the ones I've seen so far!
Did I miss any? Please ignore the fact that I can't remove myself from my own list!
go.bsky.app/FLz8Wx8
Just finished "The Go Programming Language" by Donovan and Kernighan. Extremely well structured and well written book, as might be expected from these authors. #golang
amzn.eu/d/56ngvEn
Why read a book about a programing language instead of just learning it online? (1 of 4)
The #golang encoding/json/v2 proposal is live!
Huge props to Joe Tsai for the hundreds of hours he poured into this project.
github.com/golang/go/is...
type Cache[K, V any] struct { m sync.Map } // Get returns the result of new. // // If Get was called on k before and didn't return an error, Get will return the // same value it returned from the previous call. // // If Get is called concurrently on the same k value, new might get called // multiple times. All calls will return the same value or an error from new. // // The cache is evicted some time after k becomes unreachable. func (c *Cache[K, V]) Get(k *K, new func() (*V, error)) (*V, error) { p := weak.Make(k) if cached, ok := c.m.Load(p); ok { return cached.(*V), nil } v, err := new() if err != nil { return nil, err } if cached, loaded := c.m.LoadOrStore(p, v); loaded { // We lost the race, return the cached value and discard ours. return cached.(*V), nil } runtime.AddCleanup(k, c.evict, p) return v, nil } func (c *Cache[K, V]) evict(p weak.Pointer[K]) { c.m.Delete(p) }
weak.Pointer (Go 1.24+), runtime.AddCleanup (Go 1.24+), and sync.Map combine wonderfully into a 20-lines weak map. #golang
It associates values to keys, with automatic garbage collection once the key becomes unreachable. Using it to tie precomputed FIPS keys to PrivateKey values we can't modify.
Pro tip β οΈ
Search in all repos for these comments:
- This must not happen
- This should not happen
- Why is this happening
- but why
- Forgive me
- I know I know
- Ok so
- I cannot believe
- This is ridiculous
- I give up
- Abandon all hope
You're welcome
DWARF5 #golang
go-review.googlesource.com/c/go/+/635836 + github.com/golang/go/is...
Your periodic reminder about the Bluesky network analyzer, a surprisingly useful tool for finding people you know who you probably intended to be following if you knew they were here. It's eerily good, especially if you use "favour niche accounts" mode.
bsky-follow-finder.theo.io
I donβt know who needs to hear it but
defaults write com.google.Chrome URLBlocklist -array-add example.com
works system-wide without giving access to all your browsing to some extension.
How am I only learning now about Context.AfterFunc!!
pkg.go.dev/context#Afte... #golang
Did you know you that you can run Go 1.24rc1 (or any other version) by just setting an environment variable?
$ GOTOOLCHAIN=go1.24rc1 go version
go: downloading go1.24rc1 (darwin/arm64)
go version go1.24rc1 darwin/arm64
This is supported since Go 1.21 (August 2023).
go.dev/doc/toolchain
Old but gold.
Don't shout at your JBOD (just a bunch of disks).
www.youtube.com/watch?v=tDac...
I wrote up how my NAS is now just a big initramfs based on Alpine Linux. words.filippo.io/frood/
It's been pretty great. Immutable, declarative, and very very simple. Just some files, a list of packages, and a short script.
The doc is in `go help mod edit`. How did I get there...? it's a long story.
The doc is buried in βgo help mod editβ. I would never have guessed
TIL: go.mod can automatically upgrade the version of Go and the toolchain by running a command:
go mod edit go@latest
go mod edit toolchain@latest
#golang
Super interesting to read! Thanks for sharing
Here are the slides for my talk at London Gophers about what's coming in #golang 1.24!
With a special thanks to @bboreham.bsky.social for spotting that I forgot swiss maps π