Mikey (@CodingDive) header
Mikey (@CodingDive) profile picture

Building an AI life coach for goal achievement, perfect health and fulfillment @getzoeappp

Torino, Italy
Joined July 2015
Happy Birthday, Andrew Huberman! Here are 50 protocols and tips I learned from 5 years of listening to the podcast!
1
1
2
242
Replying to @DavidKPiano
The safest bet!
1
20
Replying to @elonmusk
@elonmusk @SpaceX Iran needs way more Starlink terminals. The only path to sustained peace in the Middle East is regime change.
52
Replying to @ChShersh
Vb6 lesson?
230
AGI achieved internally @GoogleDeepMind the moment Google translate doesn't break 80% of React apps anymore
1
44
Replying to @AmanVirk1
Sweet! Still use luxon too, right?
1
443
Replying to @ryolu_
So many young engineers have never had the pleasure of just drag & dropping visual basic elements! Excited for this!
150
Replying to @DavidKPiano
One of the best apps ever built!
2
106
Replying to @schmosby_xbt
Get an accountability partner. You already know all the right habits for you. Just need to follow through
37
Replying to @megha_lilly
If DaVinci had an accountability partner, he would have built the first flying machine, humanoid and autonomous factory
132
The best part is that you can easily abstract postMessage away, so for you system it's just another actor that you can send events to. I love the actor model!
1
34
What if your state machine could do heavy computation without blocking the UI? Inspired by my feature request for @DavidKPiano's wishlist, I moved an XState machine into a worker. Same machine. Zero main thread blocking. Actor model + FSM + Web Workers = 🔥
Replying to @DavidKPiano
Lastly, not sure if anyone has experimented with this before but there are some actors that are computationally expensive and not directly tied to UI. A spawn option to get them into another thread and easy abstraction over postMessage so you don't need to think about it 💆‍♂️
1
1
174
If you're not using XState yet, now is the perfect time to learn it. If you can write code like NASA with incredible tooling & type safety, why are your web apps full of bugs and horrible performance? Once you understand the actor model and finite automata, you can never go back
Working on the upcoming XState v6... Any wishlist items?
1
431
I think xstate would instantly become a work horse for heavy logic which is where it shines best anyways
1
30
spawnWorkerActor api could work too but I'm not sure how one could make it work between node and browser
1
1
26
Replying to @DavidKPiano
Lastly, not sure if anyone has experimented with this before but there are some actors that are computationally expensive and not directly tied to UI. A spawn option to get them into another thread and easy abstraction over postMessage so you don't need to think about it 💆‍♂️
1
1
1
322
Replying to @DavidKPiano
I never used them much in v4 anyways, if anything it makes you split your actor sooner into multiple smaller ones.
1
23
Replying to @DavidKPiano
Right. I think LLMs would struggle with this syntax until cut off date 2028 if we hammer docs & content 😁
1
1
96
Replying to @DavidKPiano
For Christmas I also wish for an xstate based frontend framework with O(1) deterministic updates. No reconciliation, no useEffect but still based on JSX. The performance would be insane and would eliminate so many sources of bugs
1
2
142
Replying to @DavidKPiano
I wish for no big API changes. v5 is pretty much my dream library! It's so good. type states would be nice to narrow context on certain states. a baked in type helper to remove circular types. Right now I have quite a few machines where I need to define AnyActorRef
1
2
295