More from The Web Witch's Blog
And here we are three years after I wrote about the Google Pixel Fold being announced, followed now with the announcement of the iPhone Duo...(I have questions about the naming by the way). Four years ago I was talking about web primitives in the platform for the Surface Duo. My how time flies. There are CSS media features, a Viewport Segments API, a Device Posture API but Chromium based browsers are the only ones currently supporting these things. I haven't been able to find any signal yet on whether Safari will support these things in the web platform as the developer docs focus on application development. If you're interested in trying out the platform features, you can emulate the Surface Duo and Galaxy Z Fold in the developer tools. And if you're thinking, do I really have to have my website adapt to two screens? The answer is no. Adding a design to an application or dual screen makes sense if you have an experience that has two simulataneous contexts that are useful e.g. a list of email messages/inbox on one screen, an open message, email thread or email composer on the other. Here's one of my talks from 2022 if you're interested in learning more about what's available in the browser for dual screen/foldable devices. Happy building :)
The year flies by when you're postpartum, sleep-deprived and your little bubba is suddenly on the move and making developmental leaps. Time is this sort of weird compressed experience, not dissimilar to the way I felt about COVID and 2020 (wasn't that just yestersday? No indeed it was not, it was 6 years ago). And I'm a bit discombobulated as September is upon us. Budget planning at work? Didn't I just do budget planning for 2026? I went back to work in June, which has been an adjustment and prompted many an identity crisis, but at the same time I am happy to be back and doing lots of soul-searching. I'm in a better place than the start of the summer. Part of the soul-searching has been prompted by AI and the state of tech that I re-entered into. I still hate how it is being shoved down our throats and the prioritization of data centers, especially in places experieincing drought. Everyone should have access to water and humans should be prioritized over a data center. Full stop. For my current role, it has been extremely helpful in speeding up mundane tasks like compiling reports, and giving me more time to spend on things like design and social media content, which I historically had barely enough time for. But I continue to be baffled by AI and its bubble. The IPO valuations seem wildly ridiculous, and I've seen the salaries offered to people and I wonder how it is even remotely sustainable. I also hate the fearmongering and the polarizing content ("AI is going to replace [your industry of choice here]") to create engagement bait that has come with the commercialization of this technology. It is a horrible and interesting time in tech. I have seen many qualified people laid off because of "cost-cutting", and it's not right. Summer Bits # We survived multiple heatwaves in South East England, and while I'm told there were four, it really felt continous up until a week or two ago. I've kept the windows open and the house chilly in the morning because it is a relief. The first heatwave in May was stressful as hell, with Chloe about to be 5 months and trying to keep her cool while our upstairs rose to 28 C. The number of parents lamenting online about the lack of knowledge sharing in prenatal classes about how to keep a baby cool in hot weather was more than zero. We all knew the safe sleep guidelines said 17-21 C but wtf are you supposed to do when you can't get any part of your house that cool? It was stressful and horrible, but it's over for now. I think. My dog Vogue has had health issues since last October and we have finally got to a point where I have not had to take her to the vet in about a month or so. She's on heart meds and has mitral valve heart disease. Her heart is quite enlarged but we're managing. She rides in the bottom of Chloe's pram for walks so she still gets to go out and about. I love her to bits, I can't believe she's 14 and I cherish the time I have remaining with her. The Patio # While it became increasingly apparent that we will need more space when Chloe is older, I decided to make the most of what we have and asked our landscapers to put a patio in off the back of the house, and they finished it in early July. It has become a daily sanctuary, and I'm sad the nights are getting shorter. There was a good 3-4 weeks when we were outside eating dinner. Yorkshire Coast # We didn't leave the country this year for my birthday. I can't remember why it didn't quite work out, but we took our first overnight trip with Chloe up to the Yorkshire Coast and Whitby. It was beautiful and by the time we eventually found our groove with Chloe and naps and going out to do things, it was already time to leave. I love the sea, and it was lovely to be along the coast for a few nights. Will hopefully make a more permanent move along a coastline at some point. Family coming to visit # My mother came to visit for 3 weeks and help with Chloe which was so lovely for her to get that time bonding with her granddaughter. She also got to see Chloe make some big development leaps even in the short time she was here. Then my sister came and stayed with us for a week. We went to Wrest Park, London and Warwick Castle and Chloe loved it all. I only wish both my mom and sister could have stayed longer. What I've been... # Watching # A lot of reality TV. I've just been hella into Bravo shows more than usual. Ladies of London: The New Reign - It was the best Bravo show I've watched in a long time. Interesting characters who felt more authentic than Real Houswives. I am gutted it was not renewed. I want more of Mark and Martha! The Valley - More reality TV. Oddly comforting as the new season started when I was 3-4 months postpartum and two of the women on the series were also at that stage of postpartum so it made me feel a bit normal and seen. House of the Dragon - Season 3 was way better than 2. Rooster - Love a Steve Carrell show. It was different. I enjoyed it. Dutton Ranch - Ridiculous and outlandish like Yellowstone but entertaining. And it's Premier League season again babyyyy. Though I am extremely sad Arsenal sold Trossard. Boooo. But I'm thrilled there has been so much football on. Reading # Ha - it is taking me months to finish books at this particular moment in time. Glad I read so many last year. I did finish Crescent City #3 House of Flame and Shadow back in April. I started Brimstone (Fae & Alchemy #2) but could not stay engaged, so I DNF. I know book one was ripped apart because of the writing, but I was entertained. I couldn't look past the writing this time. I am currently making my way through the first book of Dungeon Crawler Carl. Other Bits # In this process of soul-searching and finding my identity as a mother, I am back to the state of mind prompting me to ask "why not?" when something comes up. So I bought a Pioneer DDJ-FLX4 to learn how to DJ and have been rediscovering the music I so love at festivals and feeling re-energized about something new. I'm loving mixing and am excited to see where this takes me. I've also decided to go back to school. Not your normal school though. I have become deeply interested in astrology and am going to pursue that for fun. Looking forward to being in a classroom setting again. Because why the hell not?
I started work back up again yesterday, June 1, as a remote tech worker for an open source consultancy. My husband started his paternity leave today. I'm only going back part-time for the moment so my rough plan is to work 3 days a week with the exception of this week, as I wanted to open my laptop, clear out my inbox, setup my Notion pages for 2026, change my away message and just try to get a vague sense of what's happened while I've been away. I'll work Monday-Thursday but Monday and Tuesday will be half days. My goal for the day was to get up with Chloe at 6:00 AM like normal. Put her down for her nap at 7:30. Have Jhey take over while I take the dog to the vet for heart scan and then log on for a little bit this afternoon. The universe said, a plan with an almost 5 month old? Nice try. Chloe woke up at 3:00 AM which is unusual for her. I rocked her back to sleep. Put her down. Tried to crawl back into bed. She woke up, rolled onto her tummy, and cried because she can't get onto her back because she's seemingly forgotten how to do so. She started rolling tummy to back weeks ago, but now that she can go back to tummy...that's all she does. Rinse and repeat until 6 AM. So I'm at that shattered level of tired. So much so that when I take my dog Vogue to the vet and they're telling me the results of her heart scan, it's not processing how poorly her heart actually is until I get home and talk to Jhey. She'll be on medication for the rest of her life. She's 14. We'll do another scan in a month to see if the meds help slow the progression of her heart enlargement and then I'll ask for a potential timeline...how much time they think she has left. Jhey goes to the gym and then someone shows up to pick up his special edition Mustang that he's sold. I get Chloe down for her nap and log on at 2:00 PM. I had briefly logged on for a half hour in the morning to just do a quick check and update. My inbox is a disaster as it seems my out of office reply, replied to spam messages that would normally not be in my inbox and I have 100s to delete. I try to be ruthless and delete as much as possible but leave the more company-wide discussions for follow up. I try and skim the chat. But there's too much. By the time it's 5:00 PM I have barely managed to get my Notion pages set back up. I'll try again tomorrow. I remind myself that today was particularly difficult with scheduling and is not indicative of my days going forward. Tomorrow I'll try for more routine. I go over to Jhey's parents' house and chat, we bring Chloe back for her nap, then bath and bedtime routine. I make a quick dinner of shrimp stir fry with a nice veggie stir fry pack from Waitrose. I almost make it to the end of the Euphoria finale but pass out briefly and then go up to bed. Exhausted but accomplished. Day one of this new life and routine and figuring it out is complete.
Today is my last day of maternity leave. Chloe is down for her morning nap and I'm trying to process the last 5 months and where it has all gone and all these complicated feelings. I want to go back to work and I don't. I am only going back part-time for a few months but it still feels like a massive shift is about to happen. Chloe is on a pretty good routine at the moment and just learned to roll over from her back to front. She is more aware, getting stronger and so damn cute. Her little gummy smile when I get her out of her cot in the morning and after naps fills my heart with such joy. I'm not sleeping particularly well at the moment and it's not necessarily because she wakes up at night. I have a lot of anxiety around sleep at the moment because of how hot it's been in the UK. Somehow despite the broken sleep, I get through the day and have a burst of energy after she goes to bed. I started anti-depressants for postpartum depression around the 3.5 month mark. This can also cause sleep issues and insomnia but I feel a lot better and have no problem saying without medication I'd be struggling to survive. I've even rediscovered my joy for a few hobbies and am excited to start gardening again and have decided our outdoor space needs an upgrade. I'm finding a rhythm again, ever so slowly. When it comes to the web and my career, I feel like I'm coming back at a weird time. AI is wrecking havoc and I continue to be skeptical of how hard it is being pushed. I believe it can be useful and is a tool, but the places where it could have the most impact and be incredibly transformational are not being funded adequately. I also don't believe it can adequately replace entire roles, and I don't believe we should be expecting 10x the output from workers because AI may be automating some tasks for them. We should not be pushing AI generated code to PRs without reviewing it or having some understanding of what has been generated. I fear there's going to be a lot of slop to clean up. I've been approached to create a proposal for a new side project. Details TBD but I'm considering moving ahead with it as it ties into Design for Developers. There's a lot on my mind, but I'm expecting Chloe to wake up any moment so I will eventually share those things on the blog but I will be back from maternity leave tomorrow (June 1) and dipping my toes back into adult life again. I've enjoyed the level of disconnection from online. My screen time is way down as I try to avoid being on my phone when Chloe is in front of me. Priorities have shifted. I've shifted. I feel like a completely different person, but I think it'd be strange if I didn't. How can you not grow after the experience of giving birth and motherhood?
And suddenly it happens one day in March. The sun beams down in a rare cloudless sky. It might be cold as the wind gently blows but The Sun. The Sun beams down and it promises Long nights on the horizon. It promises miserable humid days And lovely warm days. Harsh mid-day light. Dreamy golden evenings. It comes out to announce Winter's end before It once again disappears behind England's cloudy skies. And Suddenly Spring is here and my soul is warmed once again.
More in programming
My now-traditional “summary” of the conference along with my own commentary and thoughts.
Every year, browser vendors collaborate via the Interop project to synchronize their efforts on new HTML/CSS/JS features. This year, there’s a ton of super exciting features being considered! In this blog post, we’ll explore the CSS of the future, to get a glimpse of what we’ll soon be able to do.
Imprint’s average engineer is merging 4x more PRs than 2 years ago. Yay. Aggregated behind the average is something even more interesting: we have two teams that are merging 10x their PRs over that period. One engineer is merging 25x the PRs per week of our average engineer two years ago, and a number are merging 10x. That’s pretty neat, and the slope of the line suggests our average in a year is going to look much closer to today’s p90 than today’s p50. Even more importantly, we aren’t just shipping more, our quality has improved: incidents are down 42% half-over-half, and critical incidents are down 78% half-over-half. I think we’ve always known the quality/velocity tradeoff wasn’t a particularly useful construct, but that’s undeniable today. As we’ve walked this path, we–like everyone else progressing down it–have run into the problem of pull request review. The p50 pull request review took about 33 minutes to complete 2 years ago, but now takes us about 77 minutes. The slope here correlates tightly with the number of pull requests getting merged. Tightly enough that addressing it became one of my priorities for the week. We solved it! Just kidding, we’ve absolutely not solved it, but I think our current approach is an interesting one, which we call the small-change. The work discussed here was shaped and done by many folks at Imprint including Dan, Joy, Daniel, Lenny, Taylor, Ted, and Annie, among many others. Why review pull requests? There are four reasons we review pull requests: Knowledge sharing between author and reviewer – software engineering is generally learned via apprenticeship, and reviews are a primary mechanism of experienced engineers teaching others what good software looks like. We believe the current volume means that this knowledge sharing will have to move towards operating on clusters of pull requests, rather than individual pull requests Preventing errors – review has always been an expensive time to catch errors, and we believe that effective CICD along with harness verification techniques like poteto’s pstack are more effective mechanisms for preventing errors than review Preventing malicious behavior – my experience is that even careful code review will generally miss competent malicious behavior, although fortunately most malicious behavior is incompetent. We believe both sorts of behavior are best identified using a combination of fixed rules (modifying these specific objects/classes/files requires review), anti-abuse mechanisms that we’ve refined in our LLM-based member support experiences, auditing, and audit log inspection Compliance obligations in our documented controls – these can be changed, but today they require that an independent human reviews changes in a subset of our repositories In the modern development paradigm, we think there is a better solution for each of these problems. But, we also want to make these changes very cautiously. Small steps with small-change We believe we move fast by finding narrow, contained ways to validate new practices, so to iterate our way into an effective solution, we’ve developed the concept of a small-change. Here’s how it works: When a pull request is marked ready, CICD determines whether it is eligible to be a small-change. This is represented as a passing Github check. There is also a label for visibility, but it is the check itself, managed by the build and not human modifiable, that determines eligibility. (The label is used for initial filtering, but the check is still independently verified.) Something is a small-change if it meets all of these criteria: It is less than 1,000 lines of code There are no p1 or p2 findings from our ai-code-review automated review bot The author has “experience” in the service or application, defined as 10+ prior merged pull requests into that service or application’s directories. For changes working across multiple services or applications, the author must have experience in all of them to qualify Impacts fewer than N distinct services or applications. N is 1 on our frontend monorepo, and N is 3 in our backend monorepo, where typical changes will modify both a gRPC service and a common HTTP gateway Shared libraries and utilities files are not eligible for small-change Each repository has a .small_change file which allows per-path customization while we continue to tune the behaviors. For example, a service dealing with money movement can be excluded Our Slack automation tags every reference to a pull request with reacji labeling the state of that pull request, for example if it has failing tests, if it has been approved but tests are still running, or if it is ready to merge. We added a small-change reacji that indicates which of those pull requests meet the small-change criteria In our internal skills repository, we created two skills that have been distributed across harnesses: review-small-change which takes a list of repositories and reviews all open, non-draft, small-changes, including providing approval if they meet the review’s criteria (all checks pass including small-change check, and not touching on sensitive topics such as payments and security) review-pr-cluster which reviews batches of pull requests to identify common themes that came up, and suggest opportunities for discussion and adding verifications We set the social expectation that any error caused by a small-change is a failure in our system, and has to be solved at the system level: improvements to ai-code-review, to our verification mechanisms, to our CICD, to our harness, etc. This took about two days of infrequent attention to implement and rollout, although I imagine we will be tuning the knobs here for a long time. Maybe forever. fleet: centrally orchestrated harness I’ll briefly mention our other approach to reducing code review volume, which anchors on our centrally-orchestrated harness, fleet. (Which is similar to Stripe’s Minions although not following the one-shot approach in particular). We rely on fleet to implement and verify software in a highly controlled harness running in the cloud, with independent evaluation mechanisms to identify the correct number of independent reviewers for any given change. That number can be as low as one (e.g. fleet writes, one human reviews) for changes evaluated as safe. Results / next steps / reception I’ll be honest, it’s too early to give a useful result here. From early results, about 10% of changes qualify as a small-change. Those are now eligible for very fast approval, and generally get it unless they trip a flag, generally due to touching a security or money adjacent topic. While 10% is a small percentage, the core concept here is working, and ultimately will succeed or fail based on our ability to expand that percentage over the next few months in tandem with expanding our verification mechanisms to be increasingly comprehensive. This is ultimately going to fail or succeed depending on our ability to improve our verifications, which does require more difficult sorts of techniques to accomplish in low scale-complexity, high domain-complexity software than in the high scale-complexity, low domain-complexity products where many techniques like incremental rollouts are exceptionally effective. (Don’t get me wrong, they still work, they just provide less coverage when most users have different configuration and behavior.) Folks have not been uniformly excited about this, it’s a substantial change from how we’ve learned to be good engineers, and it’s uncomfortable to reevaluate whether a long-held best practice has become merely dogma. The most energizing part of the current cycle is that we get to reevaluate these practices we grew up on every week; the most painful part of the current cycle is that we’re likely to fall behind if we ever stop reevaluating them.
The park near my house has lots of chestnuts and my kids have been collecting them like crazy (it’s actually their favorite post-school activity). We accumulated quite a hoard. I thought it would be fun to make a launcher so we had something to do with our new chestnut collection. I wanted to go with a very simple crossbow-style design (like the famous D2 item) using latex tubing and a leather pouch for holding the chestnuts. This is what I came up with. It launches chestnuts about 220 feet, and it’s simple enough to build in an afternoon. The frame is a 42 inch 2x2 and a spare IKEA bed slat for the crossbeam, glued and screwed together. A 3/8 inch eye bolt goes through each end of the crossbeam, and the latex tubing is tied to those and to the pouch from a leather shepherd’s sling. Tying the tubing was the fiddliest part. It has to be stretched while you wrap it with butcher’s twine, so I clamped a couple of scrap blocks to my workbench to hold it. I like this design because the tubing can be wrapped around the eye bolts to easily add more tension and power. The Trigger My favorite part of the design was that I decided to use an archery release like this one for the trigger. It provides a safe and reliable way to hold the tubing back, and it’s made to let go cleanly. I 3D printed a little housing that mounts the release securely to the back of the stock, and the release clips onto a loop of archery D-loop cord on the back of the pouch. Then I added a dowel for a rear grip and an old handle I had previously removed from my shop vac. How Well Does It Work? We tried it at the park and it works surprisingly well. Aimed at about 35 to 40 degrees, it sends our chestnuts (on the small side, about 10 to 15 grams) about 220 feet. Thanks to the archery release, we haven’t had a single misfire. I got curious and did some rough math. To go that far with air drag, the chestnuts are leaving at somewhere around 85 to 100 mph, which works out to about the same energy as a paintball. So safety glasses are important and you never point it at anyone. You can find the 3D print on Printables and a full build guide on Instructables. Make sure to always use it with adult supervision :)
I have a lot of digital cross-stitch patterns and until recently they were a mess. My “collection” was a series of several hundred PDFs, disorganised and spread across my disk. Recently, I was looking for a pattern and it took me several minutes to find it. I had a brief moment of panic, thinking that I’d lost it, and the website this pattern came from is long since gone. Fortunately it did turn up, but it was clear I had to organise my pattern collection. Some people would use apps like Pattern Keeper or Flosshaven, but I just created another static website on my media drive. This is what it looks like: The patterns are arranged in a masonry layout with a preview thumbnail for each pattern, which is normally the first page of the PDF. If a pattern has multiple files – for example, different files for colour and black-and-white printing – there’s a list of links below the thumbnail. I can also add a source link to where I bought the pattern, if I want to find more patterns by the same author. Internally, it’s structured like my other static websites. The metadata for the patterns is stored in a JavaScript file, and then I have an HTML page which renders that metadata in this visual design. My pattern collection doesn’t change very often, so I’m adding new files by hand. There are no sorting or filtering options, because my collection is small enough that they’re unnecessary. I can scroll through the entire list in less than a minute and find whatever I need. I’d like to start making my own clothes soon, and I expect to copy this design to store clothing patterns. This collection now sits alongside my saved bookmarks, podcasts, TV shows, and more. I can keep all my patterns organised, and I won’t lose them in the depths of my hard drive. Technical tricks There are a couple of technical pieces I’m quite pleased with in this process: Masonry layout. I love the cascading grid style of a masonry layout, and I think they’re great when you have variable-sized content – like my pattern cards. I’ve been using them for over a decade; screenshots of my early web apps show my experiments with David Desandro’s Masonry.js library. Masonry layouts are now a native feature of CSS called “Grid Lanes”, which is simpler and more performant than the JavaScript approach. I’m excited to use these layouts in even more places. Thumbnails of PDFs. Most digital postage patterns are shipped as PDFs, and I’m creating the thumbnail images with my create_thumbnail tool. I had to extend my tool to support PDFs, which turned out to be straightforward with the pdf_oxide crate. I’d not come across Oxide before, but it’s a cross-language library for working with PDFs, and I can imagine using it in future. A coloured stripe for the palette. In the metadata for each project, I have the complete list of DMC thread colours and the pattern dimensions. I have a lookup table that converts DMC thread colours to hex codes, and then I’m able to create a linear gradient in CSS to render a coloured stripe of the pattern colours. Here’s an example from a pattern with four colours: border-bottom: 12px solid transparent; border-image: linear-gradient( to right, #7a451f 0%, #7a451f 25%, #985e33 25%, #985e33 50%, #e4bb8e 50%, #e4bb8e 75%, #361f0e 75%, #361f0e 100% ) 1; Building the HTML, CSS, and JavaScript was very quick – I have notes on how I build my media sites, and I’ve done it plenty of times before. I threw together the initial prototype in less than 15 minutes. The longer part was finding all the PDFs scattered across my disk – but now that’s done, and I know exactly where to find my patterns. [If the formatting of this post looks odd in your feed reader, visit the original article]