Profile avatar
goinfra.dev
#golang Found the secret to happiness: not to argue.
28 posts 90 followers 268 following
Prolific Poster
Conversation Starter

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...

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...

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

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 🙈

I’m still collecting raspberry pis to give out at @socallinuxexpo.bsky.social Printing cases and getting sd cards and power supplies If you have a pi you’re willing to donate (any model) I will pay you to ship it to me

Typical. Share internally an article about high performance, web and digital decay => zero reaction. Share internally the link to a monospace font => blow up the house and people are talking about it non stop.

GDE for cloud starter pack go.bsky.app/JN4LV1r

I created a #StarterPack for #GoogleDeveloperExperts (#GDE) in #WebTechnologies. Check it out if you want to find some inspiring people in the #Web ecosystem! bsky.app/starter-pack...

Need more #golang gophers in my feed!

Time to expand the homelab: selfh.st

batch exporter go.dev/play/p/bRuE4... I write this pattern many times with different edge cases. This is a basic one. #golang

Mind blown🤯! Did you know GOFLAGS can swap out package imports for local testing in Golang AND Pulumi? Check it out 👀 #Pulumi #IaC #DevOps #Golang #Cloud

You can never just learn Linux. Mfs keep changing and messing with things on all levels. The things that you learnt how to do last year? Sorry it's deprecated.

#golang tip: in general, use external test packages. That is, use "package foo_test" in your _test.go files. Why? It forces you to use the exposed API, which is ultimately what matters, and changes less with internal refactors.

Looks like Go #golang will be adding stdlib support for zstd compression at some point 🎉 github.com/golang/go/is...

Bluesky now has over 10 million users, and I was #2,817,904!

Now that Microsoft has finally fixed WASI support in VSCode, I published the first ever WASM WASI LSP for VSCode! https://kristoff.it/blog/first-html-lsp/

I want to see a double blind study where nerds are shown a Chrome navigation session with uBO and one with uBO Lite (the MV3 version) and are asked to point out the one where Google "blocked" the ad-blocker. Like wine snobs with blind wine tastings.

Hey friends, any good entries for Awesome #golang perf? 👀 github.com/go-perf/awes...

Reading the timeline of the pressure campaign to convince the xz maintainer to hand over control is… awful. Merciless guilt-tripping. One lesson I’m taking from this is to be even more ruthless with blocks. Whining about maintenance? Blocked. Zero chances. research.swtch.com/xz-timeline

just found a github repo for memes github.com/gytis-ivaske...

How people laugh online: restofworld.org/2023/how-peo... Too good not to share

📣 Gophers, we want to hear from YOU in the comments! What Go library is your coding lifeline?    Whether it's speeding up development, enhancing functionality, or solving tricky problems, share your go-to library in the comments! Let's level up our Go game together!     #RoadToGopherCon   #golang

I'm giving a talk at the online local-first meetup next week, hope to see a couple of you there localfirstweb.dev

Enable Go telemetry on your dev machines - it collects a handful of counters and crashes anonymously, and it's hugely helpful to upstream to prioritize correctly! telemetry.go.dev/privacy This telemetry is for the *toolchain*, it does not affect the binaries you build at all.