Profile avatar
mvdan.cc
#cuelang #golang https://mvdan.cc London, UK
210 posts 1,766 followers 130 following
Regular Contributor
Active Commenter

📣 We have just released CUE v0.13.0 - culminating a year's worth of work to enable the new evaluator by default 🎉 It also packs in lots of new features, such as support for absolute module packages, dozens of JSON Schema improvements, and a new experimental XML encoding.

In a fit of sleep-deprived procrastination, I made a generator for Fastmail rules using cuelang.org. Really fun! Exported as JSON, iterated in validation mode until I had a strict Cue definition, added templating to make a DSL, imported generated JSON. Manual export/import "APIs" are underrated.

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.

A reminder for #golang folks joining Bluesky - here's a starter pack of contributors to the Go project!

First week with a @frame.work 13 with AMD, after a decade of Thinkpads, and I'm honestly really happy. Not the cheapest, not the fastest, but - everything works on Linux, good BIOS, fast support, and a surprisingly solid build even though it's just five screws and some magnets.

New experimental garbage collector for Go programs! github.com/golang/go/is...

Last day at #KubeCon! Exhausted, but looking forward to some hacking on @cuelang.org challenges at our booth S761 - drop by to join in and grab a t-shirt or cap!

Day 2 of #KubeCon London! Join us at booth S761, right next to the CNCF Store. Come by, talk to us, check out a demo, or get a hat. We're looking forward to meeting you🚀

We're ready! #KubeCon and #CloudNativeCon – Join us at our booth (next to CNCF corner store) to check out the Central Registry and curated schemas for GitHub, GitLab, Kubernetes, Azure – Looking forward to seeing you!

I am absolutely revelling in #golang iterators these days. An absolute pleasure to use.

🔈 #KubeCon London opens in 2 days! Will you be there? Let us know: forms.gle/L62aiNHc1R8t... - we’ll save you a cool CUE cap. We’re bringing lots of updates & demos: If you use GitHub Actions, Azure, GitLab, Argo, Buildkite, or K8s, our CUE content can simplify your workflow. Can’t wait! 🚀

One week to KubeCon! Who else is going? My DMs are open if you'd like to meet up 👋

This is important: is the new Go 1.24 benchmark loop syntax making my code 7x slower, and why? #golang

We will be at #KubeCon London April 2-4th 🚀 You too? Visit us at our booth, meet the team, chat about everything CUE and check out our Central Registry. Let us know if you will be around and we make sure a CUE caps awaits you: forms.gle/JbQ7jvLWBVL6...

Can anyone recommend third party providers for GitHub Actions runners? Ideally with MacOS and Windows support. The GitHub-hosted runners just don't cut it; the caching is slow, and so are the Windows machines, believe it or not.

As much as I am enjoying Bluesky, they really have a problem with mass mentions in posts asking for money. Seems like such an easy thing to detect and block automatically.

Even though #golang reader and writer interfaces do not take a context, you can still cancel a blocked read or write on some kinds of files such as pipes: f.SetReadDeadline(time.Now()) pkg.go.dev/os#File.SetR...

gopls v0.18.0 quietly released a new "modernize" tool which automatically adjusts your #golang code to use newer std APIs and language features! modernize -fix ./... For example: range over int, min and max, slices APIs like Contains or Delete. github.com/golang/tools...

Fascinating #golang performance bug report by @swtch.com - with plenty of detail if anyone wants to get a peek at how the compiler works. github.com/golang/go/is...

Testing concurrent programs can be difficult and error prone. We're experimenting with a new approach to try to make this easier and more reliable. Interested? Read more at go.dev/blog/synctest

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

Neat! Re-raised #golang panics no longer get duplicated in the stderr output. go-review.googlesource.com/c/go/+/645916

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

📣 We have just released CUE v0.12.0 - with dozens of evaluator fixes, enabling of the "embed" and "toposort" experiments, lots of JSON Schema work, and generation of Go types from CUE schemas 🎉 See github.com/cue-lang/cue... for the changelog and release archives.

Pedicabs should be a fun & sustainable way for people to see London. But without regulation, some drivers are behaving unsafely & charging extortionate prices. TfL is launching a consultation on how to regulate the pedicab industry to ensure the safety of customers, pedestrians & other road users.

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 tagged a new release for garble, a #golang obfuscator - focusing on improved compatibility with reflect, as well as using Go 1.23's type alias tracking!