David K 🎹 @DavidKPiano
Making state machines at @statelyai · prev. @Microsoft · I play piano stately.ai Orlando, FL Joined December 2012-
Tweets22K
-
Followers66K
-
Following3K
-
Likes86K
If we brought back the @keyframers, what kinds of videos would you like to see most from me and @shshaw?
A misconception I’ve been seeing conflated switch statements as state machines. Hand-authored switch statements that process events are *not* state machines, they are more or less inverted computational models.
type Status = "loading" | "success" | "error"; const [status, setStatus] = useState<Status>("loading"); ⬆️ This was such a crazy level-up in my React skills when I learned it. No more boolean explosion. Every state accounted for. Just add XState and you're set 😉
Okay, this is pretty accurate. Developers, on average, are short-term thinkers.
Okay, this is pretty accurate. Developers, on average, are short-term thinkers.
Why do so many React developers dislike useReducer()?
Transitioning from pair programming to parasailing @ReactMiamiConf
Transitioning from pair programming to parasailing @ReactMiamiConf
Got my Java fix (limited edition, signed by @thdxr @adamdotdev @ThePrimeagen @teej_dv)
Got my Java fix (limited edition, signed by @thdxr @adamdotdev @ThePrimeagen @teej_dv) https://t.co/MNcHLXceDv
@ReactMiamiConf saved the best for last! I’ve never laughed so much in a conference talk, iykyk @jen_ayy_ @DavidKPiano
POV: you tried to roll your own auth and realized how painful it is @ClerkDev @ReactMiamiConf @grow_love
I like this framing of xstate/store: "Like Redux and Zustand had a baby" If you like super simple, event-driven state management, give it a try!
I like this framing of xstate/store: "Like Redux and Zustand had a baby" If you like super simple, event-driven state management, give it a try!
Fun fact: JSON is valid YAML, which makes YAML both better and worse than JSON
Fun fact: JSON is valid YAML, which makes YAML both better and worse than JSON
Gonna be honest: for documentation, I just push straight to main. ➡️📚 Removing friction (PRs) makes me more willing to improve and update the docs frequently.
I love seeing state machines in the wild 😍
I love seeing state machines in the wild 😍 https://t.co/2Y0aegeHOY
Kent C. Dodds 🌌 @kentcdodds
259K Followers 256 Following Improving the world with quality software · Husband, Father, Latter-day Saint, Teacher · https://t.co/pPQmnZS6rR, https://t.co/NYn5aJVGve, https://t.co/U5KafpJTZpWes Bos @wesbos
377K Followers 2K Following Fullstack JS Dev ❯ https://t.co/6heZ7gZqg1 ❯ https://t.co/lOo3xh23G1 ❯ https://t.co/XYbxq79WBS ❯ Posts 🔥 Tips ❯ Co-hosts @SyntaxFMMatt Pocock @mattpocockuk
142K Followers 581 Following Full-time TypeScript educator. Ex-@vercel, @statelyai. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!Cory House @housecor
117K Followers 714 Following Consultant. Sharing coding tips. I help devs grow. Teaching software dev: https://t.co/D5emROQa4J Helping teams switch to React: https://t.co/Qfp4Tfp3jf ⚛️Theo - t3.gg @t3dotgg
137K Followers 2K Following I make videos, dev tools, companies, and investments. Founder of @pingdotgg (YC W22)Josh W. Comeau @JoshWComeau
127K Followers 2K Following Indie hacker and educator. Blogging at https://t.co/kbdJDUdLg5. Previously @gatsbyjs, @digitalocean, @concordia_btcmp, @khanacademy. He/Him 🌈Adam Wathan @adamwathan
210K Followers 735 Following Creator of @tailwindcss. Listener of Slayer. Austin 3:16.Steve (Builder.io) @Steve8708
87K Followers 685 Following CEO @builderio - design to production, fasterLee Robinson @leeerob
126K Followers 706 Following VP of Product @Vercel. Helping developers build a faster web. Teaching about React and Next.js.Dominik 🔮 @TkDodo
37K Followers 382 Following Software Engineer • Maintaining TanStack Query • blog at https://t.co/tqjsQfLXIR • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦Tanner Linsley @tannerlinsley
64K Followers 728 Following ⚔️ Sir Tan of the Stack 🎉 TypeScript 🌎 Web ⚛️Open Source Software💡UI/UX/DX 🎯 SEO 💼Co-Founder @NozzleIO 🛠Creator @tan_stack 👨👩👧👦@Ch_JesusChristlil uzi perf @ken_wheeler
47K Followers 3K Following practically irresistible. violently suburban. I made a jQuery plugin, gave a few talks and made a couple beats. https://t.co/6BFTpb3nXXkitze 🚀 @thekitze
56K Followers 506 Following 🧑💻 @sizzyapp - Browser For Devs 🐶 @benjiDotSo - Life OS 🚀 @ZeroToShipped - Course 🎙️ pod: https://t.co/dRFO9QMnSB 🍿 vids: https://t.co/0JZXtmYVrFswyx @swyx
91K Followers 3K Following Anti-ego ideas for anti-ergodic life. Founder, @smolmodels ▹ Listen: @latentspacepod ▹ Read: @coding_career ▹ Join: @aiDotengineerEvan You @youyuxi
260K Followers 2K Following Husband, father of two, independent OSS dev. @vuejs, @vite_js, @rolldown_rs, and more. Connoisseur of sushi. Chinese-only alt: @yuxiyouSeb ⚛️ ThisWeekIn.. @sebastienlorber
41K Followers 5K Following 🔥 Join 37k devs - Stay up-to-date with React: • 📨 https://t.co/DvLGHeLY5G • @ThisWeekInReact • @docusaurus maintainerAdam Rackis @AdamRackis
38K Followers 1K Following Senior Web Engineer. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.Ryan Carniato @RyanCarniato
39K Followers 455 Following Signals, Signals Everywhere. @netlify @solid_js @markodevteam https://t.co/qpzxiINe2U https://t.co/Vqo7leldtA 🇨🇦 👫@RunningZ98577Rich Harris @Rich_Harris
93K Followers 2K Following Cheese fan. I work on @sveltejs at @vercel. When the asteroid finally obliterates this place you can find me at @[email protected]. Until then, 🍿sunil pai, etc. @threepointone
33K Followers 2K Following 🎈 Entscheidungsproblem. Building @partykit_io.Fahim Ali Zain @fahimalizain
128 Followers 705 Following Backend Engineer at Leam Technology Systemslzjqsdd @lzjqsdd1
0 Followers 108 FollowingChristianity @robbert_jo37109
436 Followers 4K Followingbharring @bharring
100 Followers 206 FollowingJude @judethegemini
697 Followers 2K FollowingAyham Al-Banna @AyhamA95942
20 Followers 369 Following «همتي لأمتي وامتي مهمتي » سابقى منتمي لها احزن لحزنها وافرح بسرورها حق علي ان اكتب لها وعنها عن ألمها ومعاناتها ومآسيها وعنائها....Marcin @_codetime
9 Followers 42 FollowingEdwin @edwintops
1K Followers 4K Following blessed is he who knows the cause of things. software engineer avocado #rhapsodyofrealities prev: @hellofresh, @konga Communities @developer_dao @gitcoinGospodar Sile @GospodarSi29483
11 Followers 84 Followingusamah @eexvuu
1 Followers 85 FollowingAbhijeet Shahi @Saiyan_Goku12
4 Followers 112 Followingssteevens @Steevens43
153 Followers 4K FollowingAlex Trigueiro @AlexTrigue35933
1 Followers 59 Followingjustthinking @Toluwakni_ase
471 Followers 497 Following Technophile.| Chelsea fc | NBA | Golden state warrior | A philomath.quantumweb @quantumwebco
2 Followers 182 FollowingKISHORE.M @ki_sho_r3
13 Followers 222 FollowingWinnie-a11y member @winysummer
3K Followers 4K Following Web & mobile accessibility auditor. Accessibility Advocate. #a11y #accessibilityboneskull BONESKULL @b0neskull
1K Followers 738 Following OSS: LavaMoat / Endo / ex Appium, Mocha, Node.js / Podcast: @JSPartyFM / @[email protected]Oleg Gulevskyy @preacher_rourke
17 Followers 298 Following software engineer 👨💻, typescript ✨, go 🏋️, basketball 🏀. https://t.co/YwjjYycWYegiodasio @giodasdev
3 Followers 83 FollowingMike Kushchov 🇺�.. @_1mku_
35 Followers 574 FollowingRustfactory.io @Rustfactoryio
140 Followers 585 Following Rust Factory is a global Swiss staffing company with a powerful team of recruiters working together to help our clients in their quest to hire Rust developers.Deez⚡🌐 空 @Deezs23
8 Followers 133 Following Amante del anime, los videojuegos y la tecnología, comparto pixeles que rompen corazones y desarrollo cositasKathleen Eberhardt, M.. @i_america_free
222 Followers 2K Following @MadameAtia Candidate for a Doctorate of Education in Leadership & Learning, Organizational Psychology #balance #fairuse Telegram @CAlhouthi✌🏽BA Legal StudiesErik Petersen @ErikPetersenDev
15 Followers 272 FollowingAzid Shabbir @ShabbirAzi51645
0 Followers 69 FollowingDmitry Alimov @dmitryalimov
6K Followers 7K Following Tech VC and entrepreneur. Curious. Investing and building in AI. Built companies in media and tech. Founder @frontiervc. Learned things @harvard, @stanfordz @Noneofregardlez
87 Followers 411 FollowingMROPE Ahmed @Mrope71674
201 Followers 2K FollowingEmplibot | AI-Powered.. @emplibot
224 Followers 1K Following Fully automate blogging for SEO and save time for marketing teams.Md Rasel @mdraseltalukdr
29 Followers 267 Following Talks About #fiverr, #webdevelopment , #webdesign, #freelanching.Kavin @Kavin265
161 Followers 4K Following Contact us on how to get the real fixed matches Betting and correct score picks🔞🔞 We offer 100% guaranteed rigged matches on soccer NBA and MLB NFL NHL ⛳⛳enriko @EnrikoAviyanto
19 Followers 208 FollowingOttone Castiglione @OttoneCast51989
25 Followers 379 FollowingPranav Arya🇮🇳 @PranavArya37
203 Followers 2K Following 💻 Software Engineer | 👨💻 Technophile | 🔭 🪐 Space EnthusiastKent C. Dodds 🌌 @kentcdodds
259K Followers 256 Following Improving the world with quality software · Husband, Father, Latter-day Saint, Teacher · https://t.co/pPQmnZS6rR, https://t.co/NYn5aJVGve, https://t.co/U5KafpJTZpWes Bos @wesbos
377K Followers 2K Following Fullstack JS Dev ❯ https://t.co/6heZ7gZqg1 ❯ https://t.co/lOo3xh23G1 ❯ https://t.co/XYbxq79WBS ❯ Posts 🔥 Tips ❯ Co-hosts @SyntaxFMMatt Pocock @mattpocockuk
142K Followers 581 Following Full-time TypeScript educator. Ex-@vercel, @statelyai. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!Cory House @housecor
117K Followers 714 Following Consultant. Sharing coding tips. I help devs grow. Teaching software dev: https://t.co/D5emROQa4J Helping teams switch to React: https://t.co/Qfp4Tfp3jf ⚛️Theo - t3.gg @t3dotgg
137K Followers 2K Following I make videos, dev tools, companies, and investments. Founder of @pingdotgg (YC W22)Josh W. Comeau @JoshWComeau
127K Followers 2K Following Indie hacker and educator. Blogging at https://t.co/kbdJDUdLg5. Previously @gatsbyjs, @digitalocean, @concordia_btcmp, @khanacademy. He/Him 🌈Adam Wathan @adamwathan
210K Followers 735 Following Creator of @tailwindcss. Listener of Slayer. Austin 3:16.Jarred Sumner @jarredsumner
96K Followers 786 Following building @bunjavascript. formerly: @stripe (twice) @thielfellowship. high school dropout. npm i -g bunSteve (Builder.io) @Steve8708
87K Followers 685 Following CEO @builderio - design to production, fasterLee Robinson @leeerob
126K Followers 706 Following VP of Product @Vercel. Helping developers build a faster web. Teaching about React and Next.js.Dominik 🔮 @TkDodo
37K Followers 382 Following Software Engineer • Maintaining TanStack Query • blog at https://t.co/tqjsQfLXIR • Frontend Tech Lead @myadverity • ReactJs • TypeScript • Father of two 👧👦Tanner Linsley @tannerlinsley
64K Followers 728 Following ⚔️ Sir Tan of the Stack 🎉 TypeScript 🌎 Web ⚛️Open Source Software💡UI/UX/DX 🎯 SEO 💼Co-Founder @NozzleIO 🛠Creator @tan_stack 👨👩👧👦@Ch_JesusChristlil uzi perf @ken_wheeler
47K Followers 3K Following practically irresistible. violently suburban. I made a jQuery plugin, gave a few talks and made a couple beats. https://t.co/6BFTpb3nXXkitze 🚀 @thekitze
56K Followers 506 Following 🧑💻 @sizzyapp - Browser For Devs 🐶 @benjiDotSo - Life OS 🚀 @ZeroToShipped - Course 🎙️ pod: https://t.co/dRFO9QMnSB 🍿 vids: https://t.co/0JZXtmYVrFswyx @swyx
91K Followers 3K Following Anti-ego ideas for anti-ergodic life. Founder, @smolmodels ▹ Listen: @latentspacepod ▹ Read: @coding_career ▹ Join: @aiDotengineerEvan You @youyuxi
260K Followers 2K Following Husband, father of two, independent OSS dev. @vuejs, @vite_js, @rolldown_rs, and more. Connoisseur of sushi. Chinese-only alt: @yuxiyouSeb ⚛️ ThisWeekIn.. @sebastienlorber
41K Followers 5K Following 🔥 Join 37k devs - Stay up-to-date with React: • 📨 https://t.co/DvLGHeLY5G • @ThisWeekInReact • @docusaurus maintainerAdam Rackis @AdamRackis
38K Followers 1K Following Senior Web Engineer. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.Ryan Carniato @RyanCarniato
39K Followers 455 Following Signals, Signals Everywhere. @netlify @solid_js @markodevteam https://t.co/qpzxiINe2U https://t.co/Vqo7leldtA 🇨🇦 👫@RunningZ98577Turk @gitpush_gitpaid
1K Followers 344 Following CEO of https://t.co/8GDxc2zlOb | https://t.co/gpXNeJg7Oi | https://t.co/o1eHzzcDMIteej dv 🔭 @teej_dv
42K Followers 661 Following open source code | @neovim core | #1 ocaml propagandist dad jokes my own https://t.co/jKpcjsTqBE | https://t.co/zb8zDKmSwG | https://t.co/yaiQ8qGa9oAndrew Ng @AndrewYNg
1.0M Followers 912 Following Co-Founder of Coursera; Stanford CS adjunct faculty. Former head of Baidu AI Group/Google Brain. #ai #machinelearning, #deeplearning #MOOCsOrion Reed @OrionReedOne
2K Followers 107 Following advocating widespread dissatisfaction with computing. @[email protected]Birk Jernström @birk
3K Followers 1K Following Founder/CEO @polar_sh - Get paid coding on your passion. Building the Patreon for Developers - open source: https://t.co/Kqe5kzhdGkDaytona.io @daytonaio
728 Followers 19 Following Set up a dev environment on any infrastructure, with a single command — The Open Source Development Environment ManagerVinod Khosla @vkhosla
632K Followers 575 Following entrepreneurship zealot, grounded technology possibilist, believer in the power of ideas, passionate about sustainability & impactAndrew Gazdecki @agazdecki
233K Followers 6K Following Founder and CEO of @acquiredotcom. https://t.co/wRMIssDmhl has helped 100s of startups get acquired and facilitated $500m+ in closed deals.Jon Meyers @jonmeyers_io
5K Followers 704 Following 🥑 Developer Advocate, 🎧 musical director @supabase 🍎 Educator @eggheadio and @leveluptuts 🎙 Podcaster @the_navbarDavid Cramer @zeeg
11K Followers 546 Following the most authentic person you know - founder/cto @getsentry ; shipping https://t.co/Z9pUTnVBto whenever the mood strikesElectricSQL @ElectricSQL
2K Followers 508 Following Sync for modern apps. From the inventors of CRDTs.Jason ✨Be Kind✨ L.. @jasonlk
162K Followers 2K Following GET funded ➡ $150m https://t.co/AVvPIrIdFP🦄🦄🦄🦄🦄 LEARN SaaS ➡ https://t.co/X23R2qMajX JOIN us ▶ https://t.co/0cR8K6pxEI Founder/ceo #AdobeSignJustin Farr-Jones @farr_jones
188 Followers 423 Following Founder CEO@ Creditscript. Early stage Investor, VC and Turnaround specialist.Anselm Eickhoff @anselm_io
2K Followers 853 Following Thinking about code & design. Building @jazz_tools / @gcmp_io. “Work sucks. Play works.”John Rush @johnrushx
20K Followers 3K Following 20 bootstrapped Tools For Busy Founders. Sharing lessons on Startups & Growth. ⑴https://t.co/PJscUxOC4Z ⑵https://t.co/wxaRNYF9F5 ⑶https://t.co/hS4xMWThHi … ⒇⇢https://t.co/Fpjq9yZPMZCoolify @coolifyio
3K Followers 2 Following An open-source & self-hostable Heroku / Netlify / Vercel alternative. Built by @heyandras in public.Antithesis @AntithesisHQ
1K Followers 38 Following Antithesis autonomously searches your software for bugs, with 100% reproducibility, and provides unique debugging tools to easily diagnose and fix them.Upstash @upstash
10K Followers 17 Following The Serverless Data Platform. *Redis is a trademark of Redis Ltd.Danny Thompson @DThompsonDev
288K Followers 2K Following Software Developer | Brand Ambassador @Appwrite | Pretty good at helping people get jobs in tech! | Book a 1:1 with me! https://t.co/9pEdQaBy3JNeal Agarwal @nealagarwal
72K Followers 225 Following creative coder ✨ making https://t.co/6794fDWGZDStanislau Niadbailau @modern_literacy
34 Followers 149 Following Software Engineer. Leader. EduVangelist. To transmute information so everyone can use it. Work at https://t.co/JSVr7VVxZe #FutureReady Year goal:14/52 weekly noteRob Walling @robwalling
34K Followers 931 Following Helping SaaS bootstrappers via @startupspod. Connecting founders around the world through @microconf. Wrote the playbook for SaaS, https://t.co/FfaUnyJj5N.R 'Nearest' Nabors @nearestnabors
471 Followers 252 Following Alter ego of @rachelnabors escaping bloated follower count and X's messed up algos. Come for the threads on leadership. Stay for the music videos!VCs Congratulating Th.. @VCBrags
242K Followers 4K Following They're adding value™ And they're very proud of it. @BragsVenturesJoão Moura @joaomdmoura
8K Followers 1K Following Founder of @crewAIInc / prev @clearbit (acc by @hubspot) Open Source enthusiast | Creator of Machinery | Public Speaker | My viewsHarrison Chase @hwchase17
53K Followers 410 Following @LangChainAI, previously @robusthq @kensho MLOps ∪ Generative AI ∪ sports analyticsMaybe @maybe
10K Followers 401 Following The OS for your personal finances! Currently rebuilding: https://t.co/IQhbdVyucFJJELLYFISH @jjellyfish_co
2K Followers 196 Following We provide B2B startups the sales expertise and execution to win in the 🇺🇸 market.pnpm @pnpmjs
15K Followers 7 Following Fast, disk space efficient package manager 快速且節省磁碟空間的套件管理程式 Sponsor us: on GitHub: https://t.co/cS3OP24kZH on OpenCollective: https://t.co/zyVORTsELNFlowiseAI @FlowiseAI
12K Followers 231 Following Open source UI visual tool to build LLM apps 🤖 https://t.co/zB8Y9d5rc9Latent Space Podcast @latentspacepod
8K Followers 43 Following The first place over 50k AI Engineers gather to talk models, tools and ideas. Breaking news today you will use at work tomorrow! Hosted by @swyx and @fanahovaCraftGen @craftgenai
56 Followers 1 Following Integrating AI into every workflow with our open-source, no-code platform, powered by the actor model for dynamic, graph-based solutions.Necø @Necmttn
1K Followers 2K Following Crafting the future by automating your job with AI. @craftgenai | prev. Tech Lead @Figment_iounusual_whales @unusual_whales
1.7M Followers 2K Following Stocks/Options/Crypto/Market News +Tools. Not advice 🐳 who changed 🏛️. Get $50-$5000 to trade: https://t.co/wGf2ZdlXpw Discord: https://t.co/0xJ9e0ZYYG More: https://t.co/nsxZlPV0pCChurnkey @churnkey
465 Followers 154 Following You focus on product and growth. We'll handle retention for you. We’re everything your customer-obsessed team needs to improve retention, automatically.easemate @easemate
128 Followers 2 Following Typescript & Javascript animation library for the modern web. Simple core, highly extendable, with a focus on performance, size & type safety ✨Dani Grant @thedanigrant
12K Followers 1K Following CEO https://t.co/NlthzioyiE – helping 100K builders and 32 of the Fortune 100 fix bugs faster. ⚡️ We're hiring!Max Rozen @RozenMD
3K Followers 404 Following Building Workers & D1 at Cloudflare. Aussie in France. I shoot film. Building https://t.co/RZxqzNwl54 in public. He/Him.The 70B llama 3 model is good, fast, and virtually free. There’s no moat.
@t3dotgg and the "wat" continues... destroyallsoftware.com/talks/wat
"We show in our paper that the behavior of LLMs is consistent with Bayesian learning and explain many empirical observations of the LLMs using our model." Very interesting paper mapping LLM behavior to Bayesian learning: arxiv.org/pdf/2402.03175
Taking ASCII Drawings Seriously: How Programmers Diagram Code pg.ucsd.edu/publications/h… asciidiagrams.github.io H/T: mastodon.social/@regehr/112328… Devamardeep Hayatpur, Brian Hempel, Kathy Chen, William Duan, Philip J. Guo, Haijun Xia ACM CHI 2024
It's so good to see opinions that range from "this is one of the most important libraries being developed" to "this is pure crap I didn't like sagas I don't like how it looks". It means folks are noticing! We're taking all the feedback, this will help us a lot 💕💕
Try architecting complex code or features away from the computer. - On paper - A whiteboard - Napkin - Steamy bathroom mirror - Wherever! Build a clear mental model before touching the keyboard, And your brain will thank you.
@jdegoes @EffectTS_ Exactly! every major project got heat :) sometimes by me LOL
I see @EffectTS_ got some heat recently. Which means Effect is becoming relevant, since no one wastes time trashing the irrelevant. 💪👏
lord help me I found a way to create home assistant dashboards with react and it's so amazing 😭 📦 @hakit/components 📦 @hakit/core
Here's a val on @ValDotTown that you can fork to create your own Myspace profile, or submit a pull request to post on my wall val.town/v/jdan/myspace
@DavidKPiano I can’t even imagine the gymnastics that you all are doing with how feature rich XState is. I’ll take a break and take another crack at it next week. I kinda want to approach in a more grokable way. Their implementation is a bit of a stratospheric leap from my generics exp.
@DavidKPiano I mean, at this point I should just use xstate, but I had an itch I wanted to scratch by attempting to fix the types of github.com/cassiozen/useS…. Alas I need to level up my TS skills.
What would it look like if there was a web API for observing the movement + resizing of elements similar to `ResizeObserver` and `IntersectionObserver`? @samthor and I are working on this with `viz-observer` 2.0! (Still need to update the README docs) github.com/samthor/viz-ob…
@DavidKPiano @keyframers @shshaw More on how to create agents using xstate. Also possible integration with langchain/llamaindex ecosystem.
@thefubhy @MichaelArnaldi @mattpocockuk @KolbySisk @AdamRackis @EffectTS_ @MattiaManzati I played a bit with Effect + XState. It looked promising but XState is very Effective.
@mattpocockuk @thefubhy @KolbySisk @AdamRackis @EffectTS_ @MattiaManzati not XState maybe but state charts backed by a cluster can be extremely powerful to model long running workflows, we were using that model in the JVM via Akka and it was superb, on the right domain ofc not for everything, for short running workflows a temporal-like is great