
Software Dev and avid two-wheeler. Currently at @getjobber. Previously: @purpose_med, @symendinc
Canada
Joined November 2008
- Tweets3.8K
- Following611
- Followers276
- Likes2K
Eric Chernuka retweeted
What is an implicit state machine?
Your apps are full of state machines, which is the logic that says "when we're in this state, and this event happens, now we're in this state" (given, when, then).
Sometimes those state machines are clearly mapped out (switch statements, reducers, tables/maps, libraries like XState for the more complex ones, etc.) and the logic is explicitly enumerable.
And sometimes it's not. The ad-hoc logic is spread all over the place. That's how developers typically code, and that's how agents typically vibe-code (they learned from you). Those are implicit state machines.
What's wrong with implicit state machines? It's not clear what state transitions are possible, so you might have "allowed" states that should have been impossible without knowing it. Agents make the same mistakes.
You can get all tests passing and your code review agents (even the well-funded ones) can say "LGTM" and you can *still* have very bad bugs because an implicit state machine allowed unexpected or illegal behavior. (Remember the Apple FaceTime bug?)
So yeah, making your app logic explicit is important.
Eric Chernuka retweeted
I just shipped a change that made our PR review agent:
12x cheaper
6x faster
Catch 4x as many real issues
All from two simple tweaks 👇🏻
Eric Chernuka retweeted
shoot for 2-3x faster - get that right. Then you can go chasing 10x 100x
Replying to @awscloud
The real bottleneck was never writing code. It's releasing it, debugging it, & keeping it running well. So when @Honeycombio CTO Charity Majors set a productivity target, she didn't chase 10x. She chose 2x, & built from there.
I'm increasingly convinced that @cursor_ai is affecting the TypeScript Language Server in our monorepo. Open the same project in VSCode, and lookups are instant. Cursor, 5-10s "Loading...". Incredibly frustrating.
111
With React 19.2 out, is useSyncExternalStore working in concurrent mode in any roadmap! Br nice for Tanstack Router to be able to tap back in suspense.
3
931
Eric Chernuka retweeted
Data has just received a rewrite that might make it the most elegant data modeling/querying library for JavaScript.
- Standard Schema-driven;
- ORM methods inspired by Prisma;
- Relations inspired by Drizzle;
- Client-side sync and persistence.
github.com/mswjs/data
This talk was fantastic. I appreciated the classic React chaos trap with monolithic components and then untangling it into a maintainable future.
1
3
980
Eric Chernuka retweeted
Startups have to rediscover zero bug bounce
Every few sprints get to zero P2 bugs before you start new feature work. Otherwise your product will be a low quality mess forever.
One part of great craft is getting to zero known bugs regularly.
Eric Chernuka retweeted
Introducing @base_ui 🚀
✔️ 25 accessible UI components
✔️ Unstyled. Compatible with any styling engine.
✔️ Fully composable with an open API
I'll highlight some of my favourite features in the thread 🧵⬇️
Anyone have good resources on getting up to speed on state machines / XState?
Also, is it ok to just sprinkle state machines in an app to start? Mostly coming from CRUD/URL React based apps that haven’t required them, but wanting to level up for more complex interactions.
1
1
271
Let’s say I love the ergonomics of @tan_stack router and query, but I’m building a public site that needs SEO. Is there a relatively lightweight first render solution to get a nice first render, but then just become an regular ole SPA after?
2
8
2,539
Eric Chernuka retweeted
I wrote a blog post about avoiding some common mistakes made by UIKit programmers trying SwiftUI for the first time.
dev.jeremygale.com/avoid-the…
This week TypeScript absolutely destroyed me while attempting to build an inferred state machine configuration. My brain hurts, but I just can’t let it go.
1
2
560
Eric Chernuka retweeted
Listen motherfuckers I DID my time in the CSS trenches and Tailwind is my reward.
Eric Chernuka retweeted
Replying to @JamesClear
@JamesClear, #1 New York Times bestselling author of Atomic Habits is coming to Jobber Summit, our FREE online event on March 6. 🎉
James Clear is a writer, keynote speaker, and one of the world’s leading experts on habit formation, decision making, and continuous improvement.
















