raul

@macarie.blue

he/him 🪻 building things with code, one slice of pizza at a time 🍕 @vitest.dev team member ☑️ sometimes writing at macarie.me 💭

this is your weekly reminder that: ⚪ intelligence != wisdom ⚪ correctness in sphere <a> doesn't port to <b> ⚪ being unchallenged leads to very dark places ⚪ be very careful of trajectory and dhh is racist much love my friends

Hello friends and welcome to a new “How is ESM vs CJS going!” 33.4% of the popular packages on npm now includes ESM. Up from 29.6% half a year ago. We have a third! ESM-only is up from 11.5% to 12.6%. This is also the impact of half a year of Node 18 being EOL, making `require(esm)` available

Graph showing the status, in raw CSV:

```csv
date,total,esm,dual,faux,cjs
2021-08-24,5617,341,95,832,4349
2021-11-09,5647,411,119,809,4308
2022-08-01,5734,496,207,791,4240
2022-11-04,5747,518,216,785,4228
2023-05-29,6240,630,417,783,4410
2023-11-22,6818,734,510,881,4693
2024-05-27,7042,819,736,826,4661
2024-11-27,8087,942,1152,843,5150
2025-06-05,8677,995,1573,859,5250
2025-12-04,14159,1779,2947,1522,7911
```

Merged! Vitest 4.0.14 includes a new tabbed view and slider for visual regression reports 🎉 This feature required a lot of work under the hood, including the creation of the new test artifacts API. Really curious to see how it'll be used by us and the ecosystem 👀

raul@macarie.blue · 9mo ago

Potentially coming to a @vitest.dev browser mode report near you 👀 New view for visual regression testing failures with tabs for: - diff, reference, and actual screenshots - slider to compare reference vs actual (before/after style)

Been experimenting with a type-safe, function-based, framework-agnostic form generator and it feels… weirdly nice to use?

Code snippet defining a form using a function-based form builder. Inside a `stack` layout, it inserts a reusable `addressForm` for the shipping address, adds a `sameAsShipping` checkbox, and uses a `when` conditional to show another `addressForm` for billing only when `sameAsShipping` is false.

Potentially coming to a @vitest.dev browser mode report near you 👀 New view for visual regression testing failures with tabs for: - diff, reference, and actual screenshots - slider to compare reference vs actual (before/after style)

part of my resentment towards LLMs is to do with them crowding out anything else we could be talking about. there are so many things I could be reading to get better at my craft but I'm presented with "you should actually get worse at it on purpose because nothing matters any more"

Bought Timberborn just over a week ago, and I’m already 68 hours deep. Send help — this game is too addicting 🫣

My Timberborn's Steam page that shows a total of 68.1 hours of play time.