dominikh

dominikh

@honnef.co

1K followers52 following12 posts

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.

dominikh reposted

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?!?

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.

It's not perfect though. I've had more luck isolating higher numbered cores and couldn't get 0-2 to truly be isolated.

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.

View full thread

Happy resolution: yelling at clouds gets actual people to respond and look at the problem. Both problems should be fixed now. (This would've been a great response time if it weren't for the support bot!)

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.

The "support" on the website is a useless chatbot that eventually gives up and claims to get a human involved. After 14 days, the ticket just disappeared, never having gotten a response. I opened another ticket, which too has gone unanswered so far.

A friend (with his own billing-related problems with the program) reached out to actual Anthropic employees, who just told him to write an email. Guess who replied to the email? A bot. Anthropic call the program their "way of saying thank you." Well, fuck you, too.

dominikh reposted

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.ioTurn Dependabot OffI 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.

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.

dominikh reposted

What if I told you that the building the torment nexus is an extremely interesting challenge from an engineering perspective

dominikh reposted

Replying to @bobbylewis.blacksky.app

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

dominikh reposted

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.

dominikh reposted

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

dominikh reposted

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.

Julia Evans@b0rk.jvns.ca

what's involved in getting a "modern" terminal setup? jvns.ca/blog/2025/01...

dominikh reposted

"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

dominikh reposted

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.

dominikh reposted

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.

dominikh reposted

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.ioGeomys, a blueprint for a sustainable open source maintenance firmAnnouncing Geomys, a small firm of professional maintainers with a portfolio of critical Go projects.

You are up to date.