Ben Ward

@benward@benward.social
409 Followers
346 Following
329 Posts
Sweater connoisseur. Software maker. Principal at Knitware; Technical Director at BFF.fm community radio. he/him.
Homepagehttps://benward.uk
Twitterhttps://twitter.com/benward
Radiohttps://bff.fm/@benward
Brighton friends! We are visiting your fine city for a few days! Give a shout if you’d like some brunch or coffee! Also, any new food recommendations? It’s been a little while.
I’m ruefully grateful for one facet of the US electoral system, in this buffer between vote and inauguration there is room to feel the worst things. The most unhelpful, angry, violent, seething, raging impulses can have a moment. An emotional free hit before we figure out what to actually do instead.
Imagining completing this part of the US naturalization form and having Donald Trump deliver the “welcome to America” video.

Need a bit of bash scripting help.

I have a script, that invokes a call to `docker compose run` to run a secondary task in a container. That task within the container then asks for input. But… as soon as I hit <enter> to answer that prompt… the whole script exits.

My bash/docker-fu is weak on what exactly is going on in how input capture is managed between the different execution contexts. Anyone know can I invoke docker from inside a script and have it hold onto input for its duration?

It’s taken a surprisingly long time, but after being cut off from Twitter’s API in July last year, and removed from the App Store, the weekly analytics finally hit zero. 🥂

Does anyone have recommendations for groups doing web accessibility testing audits?

WebAIM have been a fixture in the field my whole professional life so first instinct is to check into their services, but interested in any other recommendations we should evaluate. Thanks!

Deeply satisfying to roll from my front door to sitting on the plane at SFO in less than 45 minutes. Except for the peripheral anxiety that had anything gone awry I’d have missed the flight altogether.
Quickly making a Japanese whisky highball for the Japanese Grand Prix.
Converting a codebase from shitty CSS-in-JS to nice tidy CSS modules with an unending series of project-wide find-and-replace regular expressions, and cackling wildly through each one.

Question for the AI assistant power users out there.

I have a webapp filled with bloaty CSS-in-JS styles (cleanly organized into sidecar files, at least). We're migrating to CSS Modules. I have a reasonably functional Copilot Chat prompt that can rewrite the JS file into pure CSS quite nicely.

But doing it manually file by file is a huge pain. Is there a way to batch apply a prompt over many files in a workspace? Either with Copilot or any similar tool?