Wilfred Hughes
@_wilfredh
Followers
4K
Following
1K
Media
795
Statuses
11K
Programming language development, human factors, and a healthy dose of Emacs. Also https://t.co/faGheKDz69 and https://t.co/sqqeQ20uHV
London, UK
Joined June 2009
I find it odd that people recommend Docker for sandboxing agentic coding tools. Isn't it easier to just create a separate user account on the machine? It's an established security boundary, and viewing output is easy (just make the user's home directory world readable).
0
0
0
I'm never sure what to name my remotes in git. I tend to use 'mine' so I can add other forks later, but sometimes I use 'gh' or the traditional 'origin'. What do others use?
2
0
2
Caddy is really growing on me. It's nice having a web proxy that includes letsencrypt functionality without any additional configuration. I've tended to use nginx with a separate letsencrypt setup for projects before, and it's much more awkward.
0
0
1
Co-Authored-By: An old Stack Overflow answer, blindly accepting the compiler's suggestions, and a linter.
1
0
5
One subtle behaviour of Claude that wasn't obvious to me: whilst each conversation is transient, permissions persist across conversations. So if you've given permission to run e.g. 'cargo test' or even 'cargo run', you need to be sure that all future invocations are safe too.
0
0
0
I'm never sure how to convert words with hyphens into SCREAMING_SNAKE_CASE. For example, should built-in function be BUILT_IN_FUNCTION or BUILTIN_FUNCTION?
2
0
2
I've added an eval button to the website of my programming language! It's a been a lot of work to lock down appropriately. It still needs some UI polish but it's so nice to be able to try snippets immediately. https://t.co/XCTHECr0Td
0
0
1
I'm trying to decide what program I should show on the home page of my PL. Hello World is too simple to show much syntax. Fibonacci is OK but the reader may not know what print(fib(10)) should show. Maybe print(greet("World")) is better? It gives you a function definition.
2
0
3
Claude asked me a question today: was I looking for an Emacs plugin (because I was talking about elisp) or a Rust program (because I have configured Rust preferences)? I'm really impressed, it's rare to see LLMs ask follow-up questions. (I wanted Emacs in this case.)
1
0
1
I've been using "Expected Int, but got String" for my type error messages, but I've been wondering if I could do better. "Expected Int here, but this value has type String" or "This expression requires Int, but the value is String". Do you have a favourite?
2
0
3
IPv6 adoption is approaching half! https://t.co/r7U396d4xS shows 46% as of today.
0
0
1
Difftastic 0.67 is released! * Added support for protobuf, improved bash and YAML. * Updated 16 parsers to the latest upstream version (thanks Antonin Delpeuch!) * A ton of display polish for word highlighting, alignment, and binary files. https://t.co/szav1RS2aB
0
1
15
If you created a large, successful OSS project, would you want to be BDFL or move on after a period? I see tradeoffs on both sides, although it's not a decision I've needed to make myself.
0
0
3
A cute systemd feature to get the system clock roughly correct: if the system time is before the compilation time of the systemd binary, it moves the clock forward to that time! https://t.co/sondjHbgl0
0
0
1
I've not seen this before: a captcha to distinguish adults from children! The in-app purchases were behind this screen. The primary user is a 3 year old who can only count to 20 😊
0
1
4
I've been learning some Common Lisp by writing some simple JSON munging programs. I'm sure it's not best practice — I should probably deserialise to CLOS automatically — but it's a nice way to get comfortable with the basics. It feels weird deliberately ignoring helpers though.
0
1
7
"After I linked difftastic, one of my friends immediately used difftastic to find a stealthy bug, five stars!" https://t.co/GoisykAIyZ
0
1
3
Shower thought: using a tool like cargo-semver, could you build a package registry where the uploader never chooses the version number? E.g. your last release was 5.2025-09-13 and you've just changed a type, so today's release is 6.2025-11-05.
0
1
2
One advantage I've come to appreciate about Dash/Zeal docsets: it's really nice having focused search. The text search is constrained to the languages I care about enough to download the docset, substantially increasing the relevance. In Google I'd need to specify the language.
0
0
0
I'm playing with Zeal/Dash so I can view stdlib docs offline. (I've been coding on public transport recently, without a reliable data connection.) Anyone have tips for making the most of this setup? AFAICT docsets are basically HTML underneath.
2
0
3