Why create tiny JS modules? https://github.com/sindresorhus/ama/issues/10#issuecomment-117766328 (works surprisingly well in practice!)
miniblog.
Related Posts
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).
It took me way too long to realise that Arc<Mutex<T>> is basically a way to create multiple &mut T references (with runtime constraints).
This means that you can use plain &T and &mut T in the vast majority of your code. Most code doesn't need to care there's a mutex.
Are there any good tools for generating boilerplate code?
If I'm a web framework author, I'd love to provide a *discoverable* tool for defining a new controller. This is especially important if files need specific naming conventions or to be in certain directories.
I've seen tools like yeoman and create-react-app, but they seem to focus on new projects. There's also no VS Code integration that I'm aware of.