Huon Wilson
huonw.bsky.social
Huon Wilson
@huonw.bsky.social
Alumni Rust core team, formerly Swift at @Apple
. (he/they) (@huon_w)
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...
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...
huonw.github.io
August 26, 2025 at 7:31 AM
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...
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.
huonw.github.io
April 16, 2025 at 1:58 AM
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...
Take a break: Rust match has fallthrough
Match + labelled blocks & breaks = fallthrough. It works, but it's not very pretty!
huonw.github.io
March 5, 2025 at 8:48 AM
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...
Prefer tee -a, not >>, in CI
GitHub Actions suggests using code like echo ... >> $GITHUB_ENV, but echo ... | tee -a $GITHUB_ENV is often better.
huonw.github.io
February 13, 2025 at 10:54 PM
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!
November 26, 2024 at 10:28 AM
I'm speaking at PyCon AU this weekend, about how we run our tests against (real) Postgres: 2024.pycon.org.au/program/UKJB...
Follow the Postgres brick road: a journey of testing against a real database server—PyCon AU 2024
2024.pycon.org.au
November 18, 2024 at 2:54 AM