The problem: we wanted to get Rails system tests running using a browser on our development machines.
A Rails 6 system test is a test that exercises your application in a way that, as much as possible, simulates a real user interacting with it via a browser. More than any other kind of tests, system tests verify that the whole app does what it’s supposed to do.
The household where I’ve been spending stay-at-home has one of the most pragmatic kitchen organization schemes I’ve ever run across. For instance, there’s “the drawer of things that scoop”, and the “the drawer of things that cut or stab”. As a result I rarely have to ask someone where to find a tool.
I’m told that the “drawer of things that cut or stab” was once “the drawer of things that cut or stab or burn”. This posed problems during power outages, however. When you’re rummaging around in the dark for a candle and a lighter, you’d rather it not be in a drawer full of blades and sharp points.
In 2015 my family and I fulfilled a longtime dream by moving to a big house in the woods in Eastern Tennessee. And as is customary for upper-middle-class white technocrat exurbanites, we decided it would be fun to do some lite “homesteading”. Including raising chickens for eggs.
It’s strange to think it’s already the 298th day of April. It seems like only yesterday we were celebrating the 5th aeon of March. There are some people who say that the COVID lockdown is messing with our sense of time, but honestly well pretty coping I’m think I.
Booknotes from Domain-Driven Design and Reactive Design Patterns, and some notes on mentorship vs sponsorship.
To see more episode details and subscribe in your favorite audio app, check out the episode details on Anchor.fm.
Got a question you’d like me to answer on The Cache Flush? Record a message for me!.
Want to help keep the show going? Support me on Patreon!
The other night Jess & I drank vodka mango drinks while she showed me Alloy, which is “a language for describing structures and a tool for exploring them”, according to the website. I think of it as a model checker, although that may not be the correct term. The truth is there’s a lot I don’t understand about Alloy, but Jess did a great job explaining to me why this kind of model analysis matters.
Check out the stream recording (and bonus cocktail recipe) below!
So I was debugging some anomalous behavior on my website and as I was poking around, I half-consciously noticed the change bars in in my editor that showed two extra newlines at the end of a .php file. But I dismissed this even as soon as I saw it because… I mean, it’s just whitespace. At the end of a file.
Recently Jess & I decided we needed an app idea to give us an excuse to write code, and last night we spent 45 minutes sketching it out with post-its on a wall. This was our first highly uneducated stab at event-storming, but it was fun and helped us think through what are the tangible, actionable outputs we want to see from our app.