Sign in

dominikh

@honnef.co
1K followers 52 following 12 posts
PostsRepliesMedia
dominikh @honnef.co · 20/08/2026
Staticcheck 2026.2 has just been released, and unfortunately there is already a 2026.2.1 on its way to fix a false positive. Now would be a great time to give 2026.2 a spin and report any bugs and false positives of your own so they can be part of 2026.2.1.
071
Reposted by dominikh
Dr. Holly Walters @manigarm.bsky.social · 17/05/2026
I'm sorry, what? In writing my first monograph, I spent six weeks trying to track down a citation in TWO languages I didn't know. And good thing too, because the citation was wrong. That's scholarship. That's research. You know, the thing we're trained to do?!?
The reactions of some researchers on Twitter finally being held responsible for not having read the very paper they submitted are... something. Mainly, they don't think they should have to check every citation or make sure the data is real and accurate. Because it's too hard, I guess.
484112352256
Reposted by dominikh
ændra. @aendra.com · 08/05/2026
Phenomenal line: "Google participates in the web standards process the way a bear participates in the “camping” process."
wil.to
Google’s Prompt API
No web standard should require you to agree to an advertising company’s “terms of use.”
113329
Reposted by dominikh
David Crawshaw @crawshaw.io · 04/05/2026
"if it ain't broke, don't fix it" seclists.org/oss-sec/2026...
071
dominikh @honnef.co · 12/04/2026
On Linux, the "tuna" utility lets you isolate CPUs so that no processes or IRQs get scheduled on them. taskset still lets you use those CPUs, making this a great combo for running benchmarks with less noise. There are also isolcpus and cgroups, but those are more involved to set up.
190
dominikh @honnef.co · 19/03/2026
Anthropic's "Claude for Open Source" program has been an awful experience for me. I applied and got invited a couple days later. When I used the promo link to get free Max, it charged me $200, anyway. It has been 17 days of me trying to talk to a human to rectify that.
381
Reposted by dominikh
Filippo Valsorda @filippo.abyssdomain.expert · 20/02/2026
Dependabot security alerts have terrible signal-to-noise ratio, especially for Go vulns. That hurts security! Just turn it off and set up a pair of scheduled GitHub Actions, one running govulncheck and the other running CI with the latest version of your deps. Less work, less risk, better results!
words.filippo.io
Turn Dependabot Off
I recommend turning Dependabot off and replacing it with a pair of scheduled GitHub Actions, one running govulncheck, and the other running CI against the latest version of your dependencies.
49220
Reposted by dominikh
Go @golang.org · 17/02/2026
“Using go fix to modernize Go code” by Alan Donovan — go.dev/blog/gofix #golang
06122
dominikh @honnef.co · 12/02/2026
I'm putting the finishing touches on the Staticcheck update for #golang 1.26. You can expect a release by the end of the week.
1294
Reposted by dominikh
Grace @gracekind.net · 15/05/2025
What if I told you that the building the torment nexus is an extremely interesting challenge from an engineering perspective
221137192
Reposted by dominikh
bobby @bobbylewis.bsky.social · 23/05/2025
we all use “luddite” these days to describe someone who is reflexively anti-technology. but the original luddites were specifically against technology eliminating jobs and reducing pay in exchange for cheaper, inferior goods
016957
Reposted by dominikh
thepudds @thepudds.bsky.social · 11/05/2025
Ian Lance Taylor deserves an award for the most patient person in Open Source. He also has an amazing ability to translate the clarity of his thinking into the written word. He has had such impact on the way people create software. I really hope he continues to contribute to Go.
airs.com
Leaving Google – Airs – Ian Lance Taylor
46619
Reposted by dominikh
Michael Knyszek @michael.express · 02/05/2025
New experimental garbage collector for Go programs! github.com/golang/go/is...
github.com
runtime: green tea garbage collector · Issue #73581 · golang/go
Green Tea 🍵 Garbage Collector Authors: Michael Knyszek, Austin Clements Updated: 2 May 2025 This issue tracks the design and implementation of the Green Tea garbage collector. As of the last update...
212241
Reposted by dominikh
Filippo Valsorda @filippo.abyssdomain.expert · 23/01/2025
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.
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)
}
917415
Reposted by dominikh
Nils Fleischhacker @cryptomaeher.bsky.social · 09/01/2025
If your app dispays text that can't be interacted with as text, I hate you with every fiber of my being.
173
Reposted by dominikh
jub0bs @jub0bs.com · 12/01/2025
Programming with the help of an AI-powered coding assistant (like GitHub Copilot) is akin to pair programming with someone eager to impress, not particularly bright, and who won't shut up. Count me out. 🙅
3154
Reposted by dominikh
rob pike @robpike.io · 11/01/2025
Terminals or at least "ttys" are not modern. They are a chimera merging disparate properties of VGA, HDLC, and good old teletypes. I know I'm in the minority and always have been, but to me they are an anchor holding us back in our tech lives. Your phone does not have a terminal.
197612
Reposted by dominikh
wwxwashere.bsky.social @wwxwashere.bsky.social · 09/01/2025
me: i only write for my own enjoyment me writing:
91134555
Reposted by dominikh
Jared Holt @jaredlholt.bsky.social · 25/12/2024
Merry Christmas to investors who have sank billions of dollars into AI products. This is truly world-changing stuff.
311503337
Reposted by dominikh
Stabby @stabby.bsky.social · 19/11/2024
"Can you write this complex data transformation script to hit several different APIs and generate this really particular csv?" Sure "Can you automatically import it into a Google sheet?" Never going to happen, literally impossible
041
dominikh @honnef.co · 18/11/2024
@leejarvis.me Thanks mate!
100
Reposted by dominikh
Daniel Martí @handle.invalid · 16/09/2024
Using generics and iterators in #golang feels like they've always been here. Just like I struggle to remember what I even did before modules.
1141
Reposted by dominikh
Stabby @stabby.bsky.social · 27/08/2024
Since I haven't been writing code full time professionally, I sometimes worry that I've lost a step. Then someone comments about how they don't like #golang at a wedding reception and I instinctively reply "Oh yea? What do you use? Rust? Fuck off." and I know I've still got it.
041
Reposted by dominikh
Filippo Valsorda @filippo.abyssdomain.expert · 08/07/2024
In 2022, I left Google in search of a sustainable approach to open source maintenance. A year later, I was a full-time independent maintainer. Today I’m announcing the natural progression of that experiment: Geomys, a small firm of professional maintainers with a portfolio of critical Go projects.
words.filippo.io
Geomys, a blueprint for a sustainable open source maintenance firm
Announcing Geomys, a small firm of professional maintainers with a portfolio of critical Go projects.
318950
Reposted by dominikh
Filippo Valsorda @filippo.abyssdomain.expert · 05/07/2024
I have some exciting news on the professional open source maintainer front! 👀 ✨ 🥁 Announcing it on Monday to Maintainer Dispatches (filippo.io/newsletter) and at GopherCon Chicago.
1232