Damien Neil
misago.org
Damien Neil
@misago.org
Gopher. Mostly posts cat pictures. Probably not actually the most evilest cat in the world. he/him
Reposted by Damien Neil
“Traversal-resistant file APIs” by Damien Neil — go.dev/blog/osroot

#golang
Traversal-resistant file APIs - The Go Programming Language
New file access APIs in Go 1.24.
go.dev
March 12, 2025 at 7:39 PM
I’m tremendously excited about the synctest package. There’s usually a tension between making async code idiomatic or testable. Synctest makes the idiomatic code testable.

#golang
go.dev/blog/synctest
Testing concurrent code with testing/synctest - The Go Programming Language
Go 1.24 contains an experimental package to aid in testing concurrent code.
go.dev
February 19, 2025 at 4:32 PM
Reposted by Damien Neil
Christmas cats for @misago.org
December 26, 2024 at 5:06 AM
20 books that have stayed with you or influenced you. One book per day. No explanations, no reviews, just covers.
December 19, 2024 at 9:18 AM
And now, a cat.
December 16, 2024 at 8:23 PM
The Go protocol buffer Opaque API is released! go.dev/blog/protobu...

This is a new, optional version of the generated code API which hides the internal implementation details. It’s been in use inside Google for years now. Congrats to the Go protobuf maintainers on the open source release! #golang
Go Protobuf: The new Opaque API - The Go Programming Language
We are adding a new generated code API to Go Protobuf.
go.dev
December 16, 2024 at 8:18 PM
Reposted by Damien Neil
I just closed go.dev/issue/54766 as fixed! Please try out the RC! 🇨🇭┳┳
December 13, 2024 at 10:00 PM
Yes?
December 2, 2024 at 5:29 AM
Cocoa.
November 27, 2024 at 7:54 PM
A silly Go channel trick:

The idea behind the gate type (pkg.go.dev/github.com/n...) is to use two channels to store one bit of state. If one channel contains a value the bit is set; if the other it is not.
gate package - github.com/neild/gate - Go Packages
pkg.go.dev
November 27, 2024 at 3:58 AM
Hello!
November 27, 2024 at 1:46 AM
Good morning.
November 24, 2024 at 4:14 PM
Reposted by Damien Neil
I have been asked by @misago.org to post more pictures of our cats for him to share, so here are the girls enjoying a sunbeam nap.
November 21, 2024 at 4:49 AM
Hello, Bluesky. Have a cat.
November 21, 2024 at 12:43 AM
Reposted by Damien Neil
The silky void cat and the floofy muppet cat send you serenity for today.
November 5, 2024 at 6:22 PM
I added a simple queue example to github.com/neild/gate.
GitHub - neild/gate: alternative condition variable synchronization primitive
alternative condition variable synchronization primitive - neild/gate
github.com
November 17, 2024 at 5:44 PM