DavidKPiano Profile Banner
David K 🎹 Profile
David K 🎹

@DavidKPiano

Followers
74K
Following
101K
Media
1K
Statuses
25K

Making state machines at @statelyai · prev. @Microsoft · I play piano

Orlando, FL
Joined December 2012
Don't wanna be here? Send us removal request.
@DavidKPiano
David K 🎹
2 years
We're making it even easier to create state diagrams. ➡️ state . new
41
187
2K
@DavidKPiano
David K 🎹
1 day
Genuine question: What’s the rationale behind most AI products keeping system prompts (mostly) static?. Wouldn’t adaptive, task-aware prompts be more effective than a one-size-fits-all instruction set?.
6
0
12
@DavidKPiano
David K 🎹
1 day
The CSS "field-sizing" property is one of those awesome properties that I *really* wish Firefox and Safari supported already. I wrote way too much hacky JS in the past to mimic this.
2
2
33
@DJTFentanylFree
Make America Fentanyl Free
11 days
Make America Fentanyl Free supports President Trump’s efforts to end the fentanyl crisis.
100
68
507
@DavidKPiano
David K 🎹
3 days
{console.log('yeah') ?? null} also works.
0
0
34
@DavidKPiano
David K 🎹
3 days
Random React tip: if you want to quickly log things from JSX (we've all been there), you can!. {(console.log(whatever), null)}. Yes, it's silly but useful
Tweet media one
37
44
1K
@DavidKPiano
David K 🎹
3 days
Your one-time code is 106492. NEVER share this code with anyone. It's not used for anything but I still don't want you to share it.
1
1
14
@DavidKPiano
David K 🎹
4 days
This is probably the highest recorded concentration of TypeScript knowledge & expertise in a single square meter.
@mattpocockuk
Matt Pocock
4 days
4 years after I first worked with him on XState. I finally met the GOAT. Of the 400+ open PR's to TypeScript, over half are his
Tweet media one
6
6
244
@DavidKPiano
David K 🎹
4 days
I'll argue that valid code that looks correct but doesn't work is much harder to work with than invalid, messy code.
0
3
22
@DavidKPiano
David K 🎹
4 days
AI coding really levels the playing field for software teams. Instead of senior devs writing code that junior devs don't understand, AI can write code that nobody understands.
7
4
134
@DavidKPiano
David K 🎹
5 days
Please stop mixing source and derived state in your domain objects. I know it's convenient, but it risks drift and subtle bugs. Instead:.- Keep only source of truth in your model.- Derive everything else when you need it
Tweet media one
34
76
1K
@playWUCHANG
WUCHANG: Fallen Feathers
3 days
Witness the recognition of WUCHANG: Fallen Feathers and begin your own journey through Shu. WUCHANG: Fallen Feathers is OUT NOW!
39
53
491
@DavidKPiano
David K 🎹
7 days
If this app had a birthday reminder feature, we could finally get rid of Facebook.
5
0
30
@DavidKPiano
David K 🎹
8 days
If you have really big XState machines, you can now use .createStateConfig(…) from the setup to split apart the state config to separate files:
Tweet media one
Tweet media two
5
4
25
@DavidKPiano
David K 🎹
10 days
POV: you're a couple dozen "You're absolutely right"s deep and your problem still hasn't been solved
Tweet media one
91
131
3K
@DavidKPiano
David K 🎹
10 days
This is unironically how I usually work with Python stuff.
@yacineMTB
kache
10 days
you don't really need a requirements.txt . just use claude code or whatever and have it try to run things in a loop and pip install whatever crashes the program. simple as.
2
0
2
@RealFriscoKid
Mel Jennings
13 days
McKenna Grace .(left:11 yrs old, right: 20 years old).
Tweet media one
Tweet media two
7
9
102
@DavidKPiano
David K 🎹
10 days
It's an amazing feeling when you can just copy-paste code from one project to another because you decoupled it from the view layer.
13
8
195
@DavidKPiano
David K 🎹
12 days
RT @TejasKumar_: what’s stopping you from coding like this
Tweet media one
0
5
0
@DavidKPiano
David K 🎹
12 days
Hey @tldraw can we get some beziers? 🥺👉👈.
1
0
6
@DavidKPiano
David K 🎹
12 days
I have a theory that the longer it takes to fix a bug, the fewer lines of code the fix tends to be
Tweet media one
17
19
270
@AleoHQ
Aleo
3 days
We’re thrilled to announce that we’ve fully integrated with @RequestFinance, a platform that recently surpassed $1b in payments. Businesses can now benefit from faster, lower-cost crypto payments while keeping financial data fully private 🎉
Tweet media one
336
274
821
@DavidKPiano
David K 🎹
15 days
I'm excited that we're living in a time where instead of paying for an app, I can save money and make it myself with vibe coding ($20/mo) and my time (valued at $1/hr).
8
5
136