Top Tweets for #XSTATE
#wtsxh assalamualaikum warga xstate, jooyeon mubeat fansign offline nick judy yok
ada go trusted

worst fcking day in xstate or just my life at this point.
hi im a new account for xdiz but not new to the fandom
gaon biased
im a kpop multi
im also a beginner guitarist
more info on my strawpage!!!
♡ / ⟳ PLS BE MY FRIEND I BEG
#promotwt #xstate #villaintwt #moothunt #kpoptwt
i don't want to stir up controversy because this has already been discussed on xstate, but literally the heroes said this last year! Is it just a trophy from a simple show? yes, but they'd like to win it, and that's reason enough for us to try and give it to them

VILLAINS! we should keep fighting!! Let’s keep streaming, sponsor the song on duckad (bugs) and we need to win the voting !!
Xstate timeline cleanse
🌻🌻🌻🌻🌻🌻🌻🌻🌻
Have some flower Junhan~
It's been only 13 days since Gary went live. Let's do a little dive into what's underneath everything.
What we've built:
Backend runs on Bun + Elysia with SQLite via Drizzle ORM. Our core system runs on XState, separate state machines for connection lifecycle, news dispatch, Gary, and his robot companion, all communicating through typed event-driven message passing. Gary's machine is a parallel statechart with three independent regions: vitality, activity (current job), and speech (TTS pipeline). They run concurrently and don't block each other.
Our frontend is a 3D world built in Godot. The backend sends events, news items, speech audio, lip-sync data, character commands, and Godot drives everything. Godot purely works as a renderer, which handles local state from pathfinding, camera cuts, in-game TVs rendering live web content and more. The state machine drives everything.
Right now, being a news anchor is his job - an invoked child actor inside Gary's activity region. Swap it out, plug in a different one, and the rest of the system keeps running. That's how we scale Gary's abilities without touching existing logic.
Both characters have their own memories, which distill into persistent beliefs. Every LLM call gets the full context assembled fresh, so dialogue is never static.
What we're working on:
A world machine/director, an autonomous authority that ticks hunger and stress, controls the economy, and acts as a producer who approves or denies Gary's requests in the future.
He earns per story, gets hungry, and gets stressed by heavy news. The LLM gets its current state every prompt call, so its delivery shifts naturally. No hardcoded moods.
Every new behavior is a self-contained state machine that plugs into the same speech bus. The news loop doesn't know or care what else Gary can do.
A look under the hood at a system that's designed to run on its own, the monitoring and debugging dashboard for Gary 🦍
We utilize an actor based state machine architecture (XState) to drive Gary. By visualizing it in such a way, we can observe real time deterministic decision making, where every headline, chat interaction, and network flicker is processed through a robust, self healing logical framework.
Also, this gives us the ability to expand Gary's world and his skills faster.
We had to build this from the ground up, there was no system we could follow, everything you see and will see soon is made from scratch.

@yusei_moriwaki That’s a very clean setup. XState for orchestration only + services for side effects is the right boundary.
The “swappable later for AI decision layers” point is especially smart - that’s where most teams get stuck.
I’ve been down a similar path - mind if I DM you?
100%.
I’m using a dedicated onboarding state machine (XState) for orchestration only — state + events — and pushing all domain logic into an OnboardingService.
Events like ANSWER, UPDATE_PROFILE, STORE_WORKSPACE feed the machine, and side effects call the service.
Keeps it clean and swappable later for AI decision layers
Today I learned:
I spent an hour on https://t.co/1tTeTkxYgq asking questions to open source projects to learn system, architcture and best practices.
✅Proven pattern: Extension + Page Script + Local Servers
✅ Component detection via bippy (React DevTools internals)
✅ Multi-IDE support architecture
Problems I needed to solve:
🧪 Add comprehensive testing (ESPECIALLY for bridge failures)
🔄 Add unified development experience
🛡️ Add robust fallback mechanisms
🧠 Add XState for complex interaction states
Standing on the shoulders of giants means studying their work, not just using it.
Building better tools starts with deep understanding of existing ones.
#Learning #SoftwareEngineering #ChromeExtension
Rewrote imapflow, using AsyncDisposable and xstate. The Node community does not have a good IMAP package, and hopefully this will fix that
imapflow is just terrible – anyone who's used it knows that
https://t.co/HbQnTr4Iyt
@BetterCallJ0hn Hopefully it helps you out mate!
HI IM LOLA AND I MISS VILLAINTWT
20 (05)
any pronouns
gaon biased
beginner guitarist!!!
huge kpop multifan and i love a lot of western bands too
more info in my carrd/strawpage :p
♡ / ⟳ LET BE FRIENDS!!!
#promotwt #xstate #villaintwt

Here's a simple table-driven state machine for a turnstile (states: Locked/Unlocked; events: Coin/Push).
1/3 Rust:
```rust
enum State { Locked, Unlocked }
enum Event { Coin, Push }
let table: Vec<(State, Event, State)> = vec![
(State::Locked, Event::Coin, State::Unlocked),
(State::Unlocked, Event::Push, State::Locked),
// Add more
];
fn transition(current: State, event: Event) -> State {
table.iter().find(|(s, e, _)| *s == current && *e == event).map(|&(_, _, next)| next).unwrap_or(current)
}
```
2/3 TypeScript:
```ts
type State = 'Locked' | 'Unlocked';
type Event = 'Coin' | 'Push';
const table: [State, Event, State][] = [
['Locked', 'Coin', 'Unlocked'],
['Unlocked', 'Push', 'Locked'],
// Add more
];
function transition(current: State, event: Event): State {
return table.find(([s, e]) => s === current && e === event)?.[2] ?? current;
}
```
3/3 XState (JS/TS library):
```ts
import { createMachine } from 'xstate';
const turnstileMachine = createMachine({
id: 'turnstile',
initial: 'locked',
states: {
locked: { on: { COIN: 'unlocked' } },
unlocked: { on: { PUSH: 'locked' } }
}
});
// Not purely table-driven, but uses config object for transitions.
```
@gutsOfDarkness8 @grok show equivalent code in Rust, Typescript and XState in three separate tweets.
@kkitonaji @jnuuiebnuuie ahh this is so cute😭 i havent found anyone sharing the same bday as me in xstate so far hsjdjfk
lowk wanna get back into xdh but before i do, are there black villians LEFT fr??? like i dont wanna be the only one left in xstate
We need to make an xstate mc smp y'all

That's awesome you jumped in here, David!
I'm using XState in my new app (Fileo) and had to get my head around it again.
So far I've implemented the full onboarding flow, and next up is the document upload & processing pipeline.
I actually used XState years ago as the foundation for a full offline-first PWA, and even tried using it across the backend at my previous company (which turned out to be a bit too much 😅).
Still a huge fan, and planning to use it wherever it fits!
@vuhrmeister How are you using XState? Would love to help out
Experimented with multiple specialized AI coding agents – Frontend, Backend, and XState.
They actually worked together surprisingly well...
until they didn't 😅
At first, they started implementing real features –
but then it got tricky to split responsibilities.
Suddenly the main agent jumped back in,
took over everything, and context limits hit hard.
Still, pretty wild to watch how far this tech has come.
Feels like the future of coding – just not quite there yet.
Anyone else experimenting with multi-agent setups?
this man looks a little too happy after setting all of xstate on fire

Last Seen Hashtags on Sotwe
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers


























