The Candid Startup
Posts Topics Projects About Contact

Posts

Every post from The Candid Startup

« Prev 1 2 3 4 19 Next »
  • Mar 30, 2026 Front End

    Unit Test Code Reuse with Vitest 4.1

    I’m a strong believer in unit tests. I try to get close to 100% code coverage with my tests. Which means I have a lot of unit test code. Normally, you try to minimize duplication, and Don’t Repeat Yourself. That has it’s own special challenges when it comes to unit tests.

  • Mar 23, 2026 Front End InfiniSheet Event Sourced

    Asynchronous Unit Tests with Vitest

    Asynchronous code is great. It’s the most efficient way to implement IO heavy workloads. When IO occurs, the current chain of execution is paused, allowing something else to run. There’s no multi-threading overhead. You can sustain far higher rates of effective concurrency while using only a single thread. Control is transferred at well defined points so there’s no need for critical sections and locks.

  • Mar 9, 2026 Event Sourced

    Decoupling Event Log and Snapshot Loading

    Last time, we got a load-on-demand chunked snapshot format working. It didn’t feel great, with too much coupling between in-memory representations for the event log and snapshot. We’re going to sort that out now before moving on to a multi-tile snapshot format.

  • Mar 2, 2026 Event Sourced

    Partially Loading Chunked Snapshots

    We’re ready to start making our event sourced spreadsheet scalable. We have an existing unoptimized tracer bullet implementation that we can evolve, a high level plan for scalable snapshot data structures and a benchmark to track progress.

  • Feb 23, 2026 Front End

    Securing my NPM Supply Chain

    The news is full of npm supply chain attacks. I’ve previously described how package providers can use provenance and trusted publishing to help consumers verify that packages haven’t been tampered with.

  • Feb 16, 2026 InfiniSheet

    InfiniSheet: Chore Updates

    Six months ago I was spending all my time on Infinisheet, my event sourced spreadsheet project. Then I got distracted by Home Assistant, had a heat pump installed and had to debug a prototype hot water system.

  • Feb 9, 2026 Heat Pump

    Heat Geek NanoStore Conclusion

    Last time, I left you with a cliffhanger. I had a long list of issues with our prototype Heat Geek NanoStore, together with a plan to fix them all.

  • Feb 2, 2026 Heat Pump

    Heat Geek NanoStore Update

    It’s been more than two months since my post about our prototype Heat Geek NanoStore. At the end of that post, we were waiting for a new diverting valve and extra insulation to be installed, while also looking ahead to colder weather.

  • Jan 26, 2026 Front End

    Bootstrapping NPM Provenance with GitHub Actions

    I’m putting my money where my mouth is. NPM provenance statements are great. Everyone should publish packages with a provenance statement. Including me.

  • Jan 19, 2026 Home Assistant

    Home Assistant: Resilient Battery Automation

    It’s been a while since I investigated Home Assistant’s concurrency model. I was worried about contention between different automations manipulating the same resource. I came to the conclusion that all automations manipulating the same resource should be merged into one, using the composite automation pattern.

« Prev 1 2 3 4 19 Next »