Huon Wilson's Avatar

Huon Wilson

@huonw

Alumni Rust core team, formerly Swift at @Apple . (he/they) (@huon_w)

117
Followers
290
Following
12
Posts
17.11.2024
Joined
Posts Following

Latest posts by Huon Wilson @huonw

Staying engaged with AI plans: give inline feedback I use my normal code editor to open the plans created by AI coding agents, and leave ad hoc feedback comments directly in the file. This is convenient and gives better results because I am more engage...

I gotta trick myself into paying attention to AI agents, or else I miss their regular mistakes.

I have a little plan-editing workflow with Claude Code that works well: at every single plan prompt, hit ctrl-g to “open in editor”, and leave comments directly in it.
huonw.github.io/blog/2026/02...

17.02.2026 00:32 👍 0 🔁 0 💬 1 📌 0
magit-insert-worktrees improves status buffers When using Emacs' Magit and Git worktrees, adding the magit-insert-worktrees section inserter gives an nice overview of them in the status buffer.

literally exactly what I was searching for:
magit-insert-worktrees improves status buffers by @huonw.bsky.social huonw.github.io/blog/2025/12...

11.02.2026 19:12 👍 1 🔁 1 💬 0 📌 0

For better, my colleagues have been very straight-faced, and continue to interact with it normally. No-one has questioned its behaviour.

For worse, I haven’t seen it make a pun yet. Not even a bad one.

26.12.2025 08:43 👍 0 🔁 0 💬 0 📌 0
A screenshot of a code review comment, that says:

Estimated code review effort
🎯 2 (Simple) | ⏱️ ~8 minutes

Blimey, what an unholy jingle-bell of a change! This commit's been very naughty indeed
- like putting coal in Santa's config file instead of Christmas cheer! The linting sleigh won't be flying anywhere with this one on the naughty list. Makes you wonder if someone's been hitting the eggnog a bit too early this festive season! 🎅✨

A screenshot of a code review comment, that says: Estimated code review effort 🎯 2 (Simple) | ⏱️ ~8 minutes Blimey, what an unholy jingle-bell of a change! This commit's been very naughty indeed - like putting coal in Santa's config file instead of Christmas cheer! The linting sleigh won't be flying anywhere with this one on the naughty list. Makes you wonder if someone's been hitting the eggnog a bit too early this festive season! 🎅✨

A screenshot of a code review comment:

🎅 Santa's curl command could get stuck in
the chimney forever!
Your curl command is missing a timeout!
Without --max-time or --connect-timeout, the script could hang indefinitely if Slack is slow or unreachable, blocking your entire build pipeline like a stuck sleigh!
For a critical notification hook, you should add reasonable timeouts to ensure the build can continue even if Slack is having a bad Christmas.
• 🎄 Recommended fix

A screenshot of a code review comment: 🎅 Santa's curl command could get stuck in the chimney forever! Your curl command is missing a timeout! Without --max-time or --connect-timeout, the script could hang indefinitely if Slack is slow or unreachable, blocking your entire build pipeline like a stuck sleigh! For a critical notification hook, you should add reasonable timeouts to ensure the build can continue even if Slack is having a bad Christmas. • 🎄 Recommended fix

For better or worse, we use an AI review tool at work.

I gave it global “speak like Santa” and “make Christmas puns” instructions last week. It is both conscientious and heavy-handed in following that critical prompt.

26.12.2025 08:43 👍 2 🔁 0 💬 1 📌 0
Convenient 'Copy as cURL': explicit, executable, editable request replays Developer tools in browsers offer a "copy as cURL" function for network requests, giving an executable and editable 'replay' of the request. This is very convenient for sharing and debugging API reque...

I have spent too long guessing at the exact configuration of HTTP request URLs, headers, and data implied by someone's description of a failure... Browsers offer a "Copy as cURL" superpower that I enjoy using and maybe you would too!

huonw.github.io/blog/2025/08...

26.08.2025 07:31 👍 1 🔁 0 💬 0 📌 0
Communicating bugs: use a single standalone shell script When I file a bug, I can get more reliable minimal working examples using a shell script, leading to better bugs and faster help.

I file too many bugs and triage a whole lot too. Strangely, shell heredocs are kinda useful to share executable minimal reproducers

huonw.github.io/blog/2025/04...

16.04.2025 01:58 👍 0 🔁 0 💬 0 📌 0
Take a break: Rust match has fallthrough Match + labelled blocks & breaks = fallthrough. It works, but it's not very pretty!

Do you need match fallthrough in your Rust code? Do you want some cursed code?

Labelled breaks are what you need!
huonw.github.io/blog/2025/03...

05.03.2025 08:48 👍 21 🔁 3 💬 1 📌 0
Prefer tee -a, not >>, in CI GitHub Actions suggests using code like echo ... >> $GITHUB_ENV, but echo ... | tee -a $GITHUB_ENV is often better.

I’ve made a habit of using tee -a $GITHUB_… for GitHub Actions CI “commands”, instead of >> $GITHUB_… . It improves debugging/introspection seemingly for free.

huonw.github.io/blog/2025/02...

13.02.2025 22:54 👍 2 🔁 0 💬 1 📌 0

Heya, thanks!
The code snippets/concepts in the talk itself are the only public ones I have to hand right now.

I’m happy to answer any questions, let me know.

02.02.2025 04:48 👍 0 🔁 0 💬 0 📌 0

Haha, thanks. My “slides” were just a bunch of tabs/windows, so it would’ve been extremely triumphant if macOS managed to put it all back in the right place!

26.11.2024 22:49 👍 1 🔁 0 💬 0 📌 0

At least #PyConAU is a kind crowd. I heard/felt the sympathy from the crowd.

26.11.2024 10:29 👍 2 🔁 0 💬 1 📌 0

Filed under “don’t need to do again”: laptop crashing hard, while speaking in front of a few hundred people… all my visuals were there!

26.11.2024 10:28 👍 4 🔁 0 💬 1 📌 0
Preview
Follow the Postgres brick road: a journey of testing against a real database server—PyCon AU 2024

I'm speaking at PyCon AU this weekend, about how we run our tests against (real) Postgres: 2024.pycon.org.au/program/UKJB...

18.11.2024 02:54 👍 2 🔁 0 💬 1 📌 0