HackerTrans
TopNewTrendsCommentsPastAskShowJobs

davidkpiano

no profile record

comments

davidkpiano
·2 tháng trước·discuss
Pretty cool. Looks like stately.ai but catered towards agentic state machine workflows. Really interesting!
davidkpiano
·3 tháng trước·discuss
This would be the closest: https://github.com/GnomesOfZurich/scxml/
davidkpiano
·3 tháng trước·discuss
I loved this talk!
davidkpiano
·3 tháng trước·discuss
P lang is close: https://github.com/p-org/P
davidkpiano
·3 tháng trước·discuss
There is also @xstate/store for simple event-driven stores and atoms; just as simple as Zustand + Jotai: https://stately.ai/docs/xstate-store
davidkpiano
·3 tháng trước·discuss
The next version of XState will be much more ergonomic, with a reduced API surface area, lower learning curve, and much easier for devs (and agents) to author.

But at the same time, frontier models are very good at writing XState.
davidkpiano
·3 tháng trước·discuss
Statecharts are still getting some traction! XState has over 4 million weekly npm downloads. Animation tools like Rive & LottieFiles heavily advertise state machine capabilities. AI tools like LangGraph are built on state machine foundations.

It'll take some time for those apps/tools to realize the full potential of statecharts, but it's a good start.
davidkpiano
·3 tháng trước·discuss
Glad to see statecharts still getting attention!

I created XState, a JS/TS library for authoring, executing, and visualizing state machines/statecharts: https://github.com/statelyai/xstate

I've been working on it for 10+ years. The main thing I've learned is that statecharts are most valuable when they're treated as executable behavior, not just documentation.

That doesn't mean you need to use them everywhere or model everything with them. They're most useful when you have behavior where the answer to "what happens next?" depends on both the current state & the event. A statechart can act as an oracle for questions like: "Given I'm in this state, when this event happens, what is the next state, and what effects should run?"

I'm close to releasing an alpha of the next major version of XState, focused on better ergonomics, type safety, and composability, as well as a new visualizer/editor.

There's also an open-source basic statechart visualizer here: https://sketch.stately.ai

For the formal/spec side, SCXML is worth reading: https://www.w3.org/TR/scxml

Also worth reading the original paper by David Harel: https://www.weizmann.ac.il/math/harel/sites/math.harel/files...
davidkpiano
·4 tháng trước·discuss
Really appreciate you using XState!
davidkpiano
·5 tháng trước·discuss
Really cool! Love the XState-inspired API ;-)
davidkpiano
·4 năm trước·discuss
Stately.ai (REMOTE)

At Stately, we want to make app and business logic accessible to the entire team and eliminate barriers between development, design, and product to make it easier to build and maintain complex applications quickly and robustly.

We enable development teams to collaborate effectively on even the most complex logic and flows with visual tools and insightful services. Helping them speak a common language so that the specifications, designs, and code are always synchronized, up-to-date, and visually clear.

We’re building a team inspired to work on this mission to make software development better for everyone and practice what we preach, both inside Stately and everywhere else.

(Also, we're the team behind XState!)

Hiring for:

- Frontend engineers

- Backend engineers

- Developer advocates

- Product designers

More details and how to apply here: https://statelyai.notion.site/Careers-at-Stately-db3d704abd8...