This week, Robbie and Adam talk with David K. Piano about state machines, the chaos of overusing React hooks, Tailwind controversies, AI agents, security risks in emerging AI tooling, and why determinism still matters. They also chat about pianos, creativity, and finding grounding outside of tech.
In this episode:
(00:00) - Intro
(01:40) - Whiskey rating & review: Nikka Miyagikyo Single Malt
(06:54) - Hot Take: Is useState still dead to David?
(08:34) - Hot Take: Was class-based React better?
(11:12) - Tailwind tip: Don’t sleep on child selectors
(14:47) - Hot Take: Are HTML & CSS programming languages?
(17:42) - Is Tailwind " the worst state management library"?
(22:24) - How a “simple boolean” exploded into a state tree
(24:13) - Debouncing, guarding, and timing transitions in state machines
(25:28) - Hot Take: Rails or Laravel
(26:19) - Why batteries-included frameworks struggle in JavaScript
(29:06) - Will AI push developers toward opinionated frameworks or away from them?
(34:44) - What Claude Skills are and why they matter
(36:47) - The newest AI hacks and whether you should be worried
(42:42) - Why David loves state machines (and how they keep AI on the rails)
(50:38) - David's love for the piano and having a non-tech hobby
(51:45) - What David would do if not in tech
(52:22) - Does playing an instrument make you a better programmer?
Enjoying the podcast and want us to make more? Help support us by picking up some of our fresh merch at https://whiskey.fund.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Welcome to Syntax, welcome to a brand new episode of the front-end happy hour podcast. Welcome to this week's J.S. Party. Live from ship-shaped studios, this is Whiskey Web and whatnot, with your hosts Robbie the Wagner and me, Charles William Carpenter the third. That's right Charles, we drink whiskey and talk about web development. I mean, it's all in the name, it's not that deep.
This is Whiskey Web and whatnot, do not adjust your set. What's up everybody? Welcome to Whiskey Web and whatnot, with your host Robbie the Wagner and Adam Thomas Archile the nerd. Yeah, we have a special guest with us today. Adam, would you like to tell the folks who's here? Oh, you know, I would, we have David K. Piano, AKA David Coresheet, Hailing from Florida, where bat salts make people ravenous. We have David,
who is a keyframer, tweet banger, enemy of the ex-state advocate, speaker, hacker, flippin, animator, Alex the CSS Husky creator, react heckler, if statement hater, and most lately, an LLM powered by night state machine agent slinger. Welcome to the show David, how it's seen you since you were in Seattle a few years ago. What's up? That's true, that's true good times and also that was the best intro I could have asked for. That was amazing. Well, quit having such a cool history and then, you know, I'll ruin it next time. Yeah, announcing our new product intros as a service. Adam will be doing these for
anyone that would like one for anything hype. I got you. Yeah. All right, so a much less interesting thing to mention the whiskey. I don't have as many fun facts for you about this, but it is a fun one you can't see. You got you can see someone's a single malt. Let's see, Miyake go. That's pretty good. Yeah. Nika Miyake go. Miyake go. I think I screwed it up a little bit too, but yeah, you're close. Yeah. Yeah, so it's single malt. That means it is 100%
malted barley and it is, I believe, 90 proof and from the mountains of Sendai, I don't know anything about just those are real not cool. But yeah, and it's a lightly peated and aged in cherry casks. So let's give it a whirl. Let's give it a shot. I'm surprised that this twist off. Maybe that's a Japanese thing because they like the efficiency because it's not a cheap whiskey.
It was not. I'm looking forward to it. Me too. Never tried this one before. Oh, the color is nice. I just always think of like Jurassic Park looking at this. Like one day, there's going to be a mosquito in there. You know, I'm going to be like, oh, that's cool. Maybe it'll turn me into a dinosaur when I drink it. Well, I have a toast before we have our first tip. I mean, you're welcome to sniff it and all that good stuff. But here we go. Two 10 great years of state machines. May they one day reign supreme over if statements and save us from the hell that is if
spaghetti to David K Piano. Here here. So I'm smelling. Have you guys had high chew? Yeah, bless you totally. I have an apple one and it smells a lot like this. Whoa, so much apple flavor. I don't know if it'll taste like that, but it smells very bright like that. Oh, no, you stole it right off my tongue. It was sitting there and you said apple and I was like dang. Oh, I really like this one. Okay. That is not how I thought it would taste after that smell.
A little smoke here. Maybe, you know, that's light peat. It did say lightly peated in sherry casks, double distilled. I should triple distilled and then charge more. I was going to say that's a thing with a Japanese whiskies is like, it's like sort of not the opposite, but just contrast to the super peated whiskeys like Irish whiskeys, things like that. I was going to say this is one of the most flavorful Japanese whiskeys I've had. I feel like because usually they kind of, I don't know if it's on purpose. I feel like it is because they're trying to be so efficient. Like they do a lot of
like stuff with concrete and like trying to have like no flavor almost. It just is like drinking water. That's not bad. It's just also not super flavorful. So like this one much different. A lot of flavor. So smooth too. It's got a good burn, but man, it's smooth and the way that it hit my tongue just spread across it. Maybe it's the sherry too. So it's got that really good kind of sweetness to it. Yum. All right. We have a very complex rating system on the show. It is zero to eight tentacles,
zero being the worst, eight being the best, four and a half fish somewhere middle of the road. Like, yeah, it's fine. I drink it again, but wouldn't seek it out. Adam, what do you think? I am a big fan. I've been having that Glenn Fiddich since we had our last guest to all, let's get last guest to me, but you had lots of, but Naman, Naman was on and I've been really enjoying that, but this is going to overtake it for me. What a good zipper. I don't need any water. I don't want any chasers. I would like to enjoy this to its fullest. I'm going to have friends over
and share this. This is super good. Somewhere in the sevens, I'm going to give it a seven point one two five seven and one eight. Just to be weird. Nice. David, what do you think? So I actually don't drink whiskey too much anymore, but my wife introduced me to Japanese whiskeys and it's just such a different flavor profile from American whiskeys and honestly, Japanese whiskeys are really underrated. But yeah, floral, citrusy, fruity. Those are the defining characteristics and I really like this
one. Actually, the flavor sticks. I would go solid seven. I know that's an amateur score. So maybe seven that one. Just like that. All right, all right. Yeah, I don't really have anything bad to say about it. I feel like a lot of times when there is a flavor to a Japanese whiskey, it's what I wish a Scotch would actually taste like. So I feel like they've gotten the Scotch flavors that I like and not the ones that I don't with that in mind. I'm going to be kind of the same as you guys. I'm going to go flat seven. I'm not going to do point anything, but we'll say seven.
I like that comparison. Yeah, the light peated is nice because you're not giving a heavy heavy peated, but it's there is a good influence shared with the floral and the sweetness. Man, I'm a big fan right now. Well, should we dive into a hot take or should I ask you a provocative question? What would you rather? What would you rather do? Start with the hot take then we'll go into the questions. Hot take, hot take. Okay. Is you state still dead to you or has it zombie didn't kind of somehow found life in your workflow? So here's the thing with my conference
talk titles. A few years ago, I had good buy use effect. And then more recently, I had a talk called good buy you state. And I'm actually talking about that in November at React Summit. And so the point of these talk titles is basically to bring attention that these hooks might not be needed as frequently as you might think like people tend to overuse use effect. And the same thing goes for you state. So with use effective is more understandable. It's like, okay, why are we
using this to fetch data or to update drive states or anything like that? But with you state, people are like, wait a minute. This is a really fundamental hook. Why are you saying like, let's get rid of it? And there's actually a lot of good reasons for it. And I could talk the entire time about it, but I won't. But the point is that you should know when and where you should use these kinds of hooks because overusing even these basic primitive hooks can really just mess up
your application where it makes it very hard to maintain. Like you've seen apps that have like 10, 20 use dates in a row. You don't know which ones relate to which. And same thing with change use effects. It causes a huge mess. You have an infinite loop. Cloudflare is shut down and you have no idea why it becomes really hard to debug. And so basically, I'm just bringing awareness for when the appropriate time to use these hooks is. Would you say that a class-based react was better? Oh man. Not really. Class-based reacts was a little bit awkward. Honestly, it was it was a huge
step up from like the days of Angular and backbone, but it still had a lot of awkwardness. I personally think the life cycle hooks were a little bit awkward and people tried to shove logic into there where it didn't really make sense where it's like, you're doing critical business logic in components, did mounts. And it's like, what does the component mounting have to do with this? But it's just like, oh, well, this is just an opportune time for this logic to run. So yeah, classes are awkward in general. I wouldn't say they're bad. They're just awkward when
over applied. And so reacts class-based components for, I don't know, it's a net positive that we have hooks now. Hooks are weird in its own rights, but I understand the trade-offs made to have hooks instead of classes. That's fair. I just wish the naming like I actually did like component to mount tells you exactly like when that's going to run. Yeah. Like use whatever, oh, it's going to happen sometime. That's true. And people tried to like just shove that logic into the callback of a use effect. And that's wrong for many reasons too, because that's not exactly
the same thing as components will unmount or whatever it was. Yeah. It's just awkwardness all the way around. I keep thinking about stupid jokes while you're talking. I'm so sorry, but like the first one was I was like, all the hooks. I was like, someone for Halloween should be captain hooks. You know, you got to react shirt on. You got it. And then but you have to have too many hooks. So it's almost like the video like too many cooks, too many cooks, but you got like too many hooks. And you're just like, like how many hooks does that captain hooks have? Like,
does he need more? I think he's missing using that one called state. And he's like a big basket that you like can't hold. It's so heavy or like dropping hooks out of the hole. I should go out the other one was a hook. Oh, there's how you could have a special little follower or something that's like the hook fairy. If we could have one hook, it would be that hook. I don't know. And then you said component did mount. And I was like components right horses. You know, like when did that happen? Like, it's that funny. Thank you. I thought
they were stupid. Yeah. I'm gonna just never follow back the terminology of it mounting. That is kind of weird, but yeah. And yeah, what did it mount? I said horse, but that's just a guess, you know? Yeah. Okay. Yeah. I don't know what this next question is about. So I'm gonna let you say. Oh, yeah. This is my provocative one, David. You wrote a tweet and it says, don't sleep on child. And I was like, you sleep on children. But really, it's because I'm doing the stupid thing. You know, like the newspaper takes a segment of what you said. And so David says,
don't sleep on children. And it's like, hey, hey, that's not the whole thing I said. You said, if you're using tailwind, don't sleep on child selectors. They clean up your styles and eliminate repetition. Where did you see that? And like when did you use it? And you're like, I'm gonna go tweet about this tailwind thing because it's been good. All right. So I'm gonna take you behind the scenes of like why I come up with some of the random like shit post tweets that I do. It's because I'm working on like three or four side projects at a time. And I'm working with all sorts of technologies right now, lots of reacts, lots of AI. Yeah. So, so I just run into
weird things. And so there there was one instance where I'm like, hey, my, you know, clawed LLM, whatever, it's doing this stupid thing where it's like, you know, just adding the same padding to all the children, which is correct. It's visually correct. But I'm like, you know what? I want the padding to be a little bit bigger. And then I'm like, oh man, now I have to go through and, you know, do it for each of those things. This is really annoying. Oh, and also because clawed code and all of these, you know, LLM things, they love tailwind. They don't really like writing
CSS. But that's probably because of the system prompts of whoever created these things. They're just all in on tailwind. I used to be anti tailwind for a while. But and you know, I was big on CSS. Still am. Love CSS. Love sass. Love doing as many things as possible that I could do in it. But with the age of LLM, you sort of have to embrace tailwind just because it's just the way things are. I was like, no, it has one color. It's purple for it. Yeah. I don't know. Depends if your color blinders on. I don't know. I'm sort of crazy. Because if this were CSS, I would just,
you know, write a descendant selector and then just apply the same style to all the children. There has to be something like that in tailwind. So I dived into the docs, though, whatever the verb is. And I saw that. And I'm like, this is obscure. But I'm really glad that it exists. I'm going to tweet about it. Because whenever I find something that's unique, but potentially helpful to at least one other person, I'm like, I'm just going to tweet it out to the world. If someone finds it helpful, I've done my job. I don't care if people attack me or whatever. And
trust me, I did get attacked for that tweet because they're like, oh, you're bringing back CSS. This is anti tailwind. I'm like, no, it's not. I'm literally sharing a tailwind tip. And you're saying it's anti tailwind. It's something that exists in the tailwind API for a reason. And yeah, got a lot of hate for that. But so basically all my, all my tips come from me just coding and being like, that's interesting. Let me post about it. That's the way. That is how viral tweets generally happen. I think if you sit down and try to write a pop song, you write a garbage
song. But if you sit down and you're like, I'm going to explore this weird little thingy. And hey, that brought me joy. And then you post it out. Those can be some of your best ones. And plus, you never complain it. You know, you never know. Some hit, some don't. So cool. So you're slinging from the heart is what you're saying. Exactly. We're in the trenches. You know, you're covered in mud. And you're like, I'm going to use my muddy fingers to make a tweet. And maybe someone will hear this. Yeah, trust me. If I were garbage posting, I'd post like, what is your favorite JavaScript framework or something? And yeah, to that between. I don't think those work anymore.
Yep. Yeah. So something that is for sure not controversial and has a 100% correct answer. Is HTML a programming language? It's a good question. It's really, really good question. Deflection. I rubbed that question. Yeah. Yeah. Well, I guess what I have you on record here. And I have a tweet. It says CSS is not a programming language that should be underestimated, which to me says CSS is a programming
language in between the lines. You know, depends if you do. So CSS and then thing you could say, oh, wait, no, he said it's not a programming language. So to be fair, CSS is becoming more and more of a programming language. And depending on how you define it, I define it as a spectrum, a programming language is you're instructing the computer to do things. Whether that's fully declarative, fully imperative, somewhere in between, you're programming it to do something,
to do some behavior and CSS with HTML sort of works like that. Now people can argue like, oh, CSS is not a programming language because it needs HTML alongside it. But you know what also mostly needs HTML JavaScript. Now people could say, wait, I can make a no-depth with just JavaScript. Technically, no, you need C++ behind the scenes in order for its work. But still, you know, they're like, that's why JavaScript is a real language and CSS is not. But I think that CSS
and HTML are languages for programming some sort of behavior and desired functionality in the web. So it fits within the spectrum of programming languages. I also think that the question is done. It's like, it doesn't really matter. Yeah, I mean, I think everybody like, you know, has always tried to make websites with no JavaScript. But yeah, try to make one with no HTML or CSS, like, good luck. So, you know, if you're trying to say bad things about either of them, like,
you need them, like, sorry. Yeah. Trying to think of a comparison where like, could you build a house and say, like, the instructions are real programming and just the wood and the planks and the paint, they shit, you know, that's just, that's just a means to an end of my execution of awesome instructions. You know, it's like, what's a good comparison that would just make it sound so silly, like, you think one piece of the strip plans are the real construction plans are putting the wood.
I mean, even with whiskey, like, some people might argue, oh, Japanese whiskey is not real whiskey. It's not like our Kentucky bourbon or like, Irish Scottish whiskeys. But yeah, they could try to say that couldn't they? Yeah. They'd be wrong. Yeah. I referenced you in a previous episode because you tweeted, I'll give my honest opinion about tailwind, Colin. It's by far the worst state management library I've ever used. Now, this caused a lot of contention and I'm still torn
whether or not you were just saying X state is great and tailwind sucks or if you're actually making a comment about tailwind being a bad state management library, which is it answered for us all. I was honestly just shit posting at that point just because I didn't realize how much attention my post on child selectors in tailwind would get and how offended people would, you know, get at it, quote, tweeting me being like, this is the dumbest thing I've ever seen saying I have skill
issues, et cetera. Wow. I had no idea. So it was funny. Like, when I posted that, what I predicted would happen would be that the CSS people will get angry at me for posting about tailwind and saying, hey, you could use this tailwind stuff instead of CSS, but they were actually by and large very civil. It was the tailwind people who came after me. Not the tailwind team. Tailwind core team is awesome. I'm talking about people who live, eat and breathe tailwind every day. They're diehard
tailwind fans. Yeah. So I'm like, wow, I didn't realize that posting about tailwind would just be so controversial. So I'm like, what is this stupidest thing I could say about tailwind? And so it was nice. I did. I extrapolated. I'm such a dork. I was like, yeah, saying something super intelligent. And you had a good reason. Yeah. Do you want to hear my made up shit? I made about like what you said. Go for it. I mean, I'll try to remember. It was basically like, okay, so if you've got, you've got a logged in stator and not logged in, you have
basically you have states of an element. And when they have to change more than one class, it becomes a pain in your ass. Hey, that rhymes. But that was kind of the deals like, hey, you know, like it's not a very good state management library. Because if you have to do five states, you have to manage five groups of classes. And it was already kind of hard to read. And now you're in nested class swapping scenarios where you have to swap many classes that change all these different properties. And that's just a terrible state machine. And that was just not what you said at all. No, but I do get what you're saying. And honestly, but the kind of stuff that I'm working
on like with my side projects, the class names get really, really hairy because you have classes, then you have classes for dark mode, then you have classes for if it's mobile or not. And granted, you have to do all of these things in CSS anyway. And then you have state based classes. So for example, I'm making a standalone steely editor, basically just redesigning the current state one. And so there's different. Yeah, there's different states like a node can be selected or it could be highlighted or it could be dragging, et cetera. And obviously, there's no built in CSS properties
for that. So you could either go the reacts way and use variables or whatever, or you could use data attributes, which is really nice because you could visually test those in the browser. So I use data attributes tailwind does work with that. But if I post that, it would be controversial. Like we're using data attributes, blah, blah, doesn't matter. Obviously tailwind's not meant as a statement library. But I feel like more developers should know about how states affect styles. And to just stop polluting it with Booleans and you know, finite states really help CSS styling too.
But then how can I have a super nested turnery? That's what everyone wants. So that was the hell I was talking about earlier in the toast where I was like the hell that is if spaghetti, and it could be worse, you could be in turnery hell, which actually sounds like a place that evil developers, we should we should send them there. We should make this place. Let's have a religion that if you're a bad developer, you go to turn area hell where you can't even, you know, decipher whether or not to question markers. So I'm like, where am I in this hell? I'm like, we don't
know, but you're deep. We're the good developers go yet to finish that turnery. Oh, shit. Where does a good developer go? Somewhere where there's not very much indentation. Everybody uses tabs and you can only rebase. Oh, I had no idea. Okay. So very I was going to say any Astro website is where they go to. Hey, Astro. Yeah, it's just Astro heaven. You know, hey,
whatever floats your boat, bro, you can just have an island over here and I like, hey, you get islands. Yeah. So I want to go to the place where I get islands. Sounds like Astro is it. That's funny. I was thinking about you the other day because we had a component at Shopify and it was supposed to be simple. And it's just like the images loading in an avatar. So you have an avatar and maybe it needs to load an image. If there's an image provided. So first off, you've got like, is there an image or not? And then you have to wait for it to load. And so at first, it was just a boolean like you're saying, huh, is it loaded or not? And then the amount of like
nested states that showed up, I was just chuckling to myself. So like we had like, has it loaded yet? Which was an amount of time you need to wait because if it hasn't loaded yet and it's exceeded a certain amount of time, we want to fall back to something because clearly it's taking a long time and you need to see something. So then, okay. So now we have like, has it been 200 milliseconds, then you should show the initials of their name over the circle. That way there's like something. Okay, cool. Oh, but crap. It just loaded the image like 50 milliseconds after we put the initials
there. And that looks like shit. So now we need to add a debounce. So now after 200 milliseconds, debounce the actual loading of the image so that it doesn't interrupt this initials that we just showed. And it's just like the amount of states that needed to be handled was this little treat that just kept growing. And it was just like, this is supposed to be as the image loaded or not yet. And I loved it. It was just a classic scenario that I could hear you whispering over my shoulder. You shouldn't have started with booleans. Yeah. And honestly, as you were saying that, I was visualizing the state machine. Like even that part's most interesting where you show the
initials. And then it immediately shows the next thing. Obviously when you're in that state, that's when you should have sort of that grace period of like, Hey, let's wait a second before like, man, I see so many apps that just have that jagged UX where it's like, it's not there. Just kidding. It's there like Reddit all over Reddit. Yeah. In a state machine, how would I debounce in guard? So I know there's guards. So it's like in this state, you can only go to these other states. But how do I guard it on a certain amount of time? So I'm like, if you're in this state, never allow you to exit this state until this other timer has gone off that it also unlocks the gate.
And so you've got a state that's waiting to change, but it's like a horse wanting to mount and run. Okay. Well, that was just a stupid try to call back. But anyway, you see what I'm saying? Like, how would I guard and time a state change like that and stately? Yeah. Yeah. So so you would have like a state where it's like showing initials. And then when an image, you know, finally loads, that's an effect. So you would go to another state or it could be a state inside that state, depending on how you want to organize that. And in that state, let's just say pending image or
something, you would have, it's called an always transition. It's basically a transition that no matter what it's going to happen after some delay or whatever you want. Actually, just just king. It's called an after a delay transition. So after the delay transition, then it goes to your showing the image state. So it's literally just three states. So you're here, image shows. Now you're in the waiting state after delay. You go to the image state. Awesome. Let's see. Rails or Laravel? I've never used Rails actually. I've seen code examples. I've never tried it. I have
used Laravel or Laravel. Have every moment pronounced it in the past. Even many, many years ago when I tried it out, I was like, this is such an awesome framework. Like it's all batteries included. Like there's a module or whatever you call it, a package for everything. Like they've thought about everything. And I really do love the whole batteries included aspect of it. We also have Django for Python. There's Phoenix for a mixer. Of course, there's Ruby on Rails.
There are frameworks like that in JavaScript. They're just not as popular as next, which is so bare bones compared to all of these other frameworks that I mentioned. Why aren't they more popular? I honestly don't know. All the money has gone to this meta framework stuff. Tom Preston-Warner has been doing Redwood for, I don't know, a long time now. Like six years, seven years more. Maybe I don't know. It's basically a Rails or something batteries included,
but for React. And it's like, why do people not want that? Why do they like the pain of like, I could put my files anywhere. I can do whatever I want. I guess the freedom maybe. I think that's it. I think that we have a lot. I mean, obviously there's a lot of PHP developers, but we have a lot of JavaScript developers. And they all have lots and lots of different opinions. So you can't really build a one-size-fits-all thing that will get super popular because the minute someone says it includes something that I don't like, then they're just going to dismiss it or be
like, I'll build it myself or I'll move to something else. The state of things is like, let's say that you want to prepare a simple dinner. So you go to the grocery store, but it's only a grocery store for vegetables and fruits. So now you have to go to a different kind of grocery store, pick the stuff you want. And it turns out that all of the different stuff, the best packages are ones that are sass. So you have to pay a subscription for them. It's all just very fragmented. It is possible to have a really good like, not batteries included, but you include everything
that you need experience, but it's going to be costly. And it's going to be just lots of fragmented pieces that are trying to work together. I guess the closest, I would say the closest I've seen to like this semi-popular like batteries included framework is convex. I'm not sponsored by them. In fact, I was pretty opposed to them when I first heard about them, but I'm using them now when I love them. They do include a lot out of the box. And I really hope to see the JavaScript ecosystem move towards that's where it's unashamedly. Here's my opinion. You could adopt it or not,
but trust me, your life is going to be a lot easier if you defer your opinion making to this framework rather than trying to have opinions.
All right, back to your regularly scheduled programming. Yeah, so a couple of things about that. I wonder if both opinionated frameworks being easy for AI to follow because they're so opinionated is going to be helpful and make people want to move toward them so they can build stuff way quicker with AI or if because AI is getting better and better at doing whatever you want. If it will make people do more of just random
shit that they're putting together because like, you know, you can just tell it, I want to use all these services. I want you to time together. I want you to figure it out. I don't need a battery's included things. I want you to do it all. Like, what do you think about that? That's a really interesting question because it's sort of a double edged sword right now. You have basically two sides of the coin. The first is let us like just go down a well Trotten path where for example, let's do everything in next or everything in Laravel. The problem with that when it comes to AI is that it is basing all of its code and all of its knowledge on the
average developer. The point is that AI doesn't produce good code because it wasn't trained on good code. It was trained on your code. And so by that, I mean, it's average developer code. So it is going to include the common foot guns and mistakes that developers make. And those are very, very present in the well Trotten paths. So your typical react app, you ask it to make react anything which seems to be very popular with app builders. It's going to include your use effects, your use dates, and all of these anti patterns that advanced, you know, more senior
react developers would not do because they know better because they actually read the docs. But the AI is more biased on the average code than the actual documentation. And it doesn't like keep up to date with the docs as well as it should. On the other hand, you have code that it's like you're trying to piece together different things. You're trying to do something unique. And that's going to get better as AI progresses. But it won't be as good as your standard like well-traveled path
of we've made the same TikTok to or to do list app millions of times before and react. So I could just regurgitate it to you in my sleep. So yeah, I think there's tradeoffs with either approach. I'm bullish on the second approach of AI getting smart enough to actually combine these services. But there's still a lot of work to do there. Like I said, AI does not have like the most up-to-date knowledge of documentation when new versions are released. It even does silly stuff like manually
update like package.json. So you know it's going to go for a lower version than it should. Yeah, so there's tradeoffs all around. And I think that any good developer should be well aware of the tradeoffs of either approach. So I think that hopefully developers are going to go this path of trying unique solutions, not going down the same path every time and just exploring what there is out there. Just because nowadays it is a lot easier to try new things. Like remix just came out with their new like whole anti-react pure DOM approach, pure events approach. And
LLMs like they already know the DOM. They already know all these events. So they could write that could pretty easily even though remix is a completely new framework. So I just think that developers should not shy away from new stuff. Well said. And leaning into native browser things is also helpful because yeah AI will know how to do those unless you're interviewing right Adam. Yeah, they don't want to hear that. They want to know, well they want Captain Hooks to show up is what they... It's like I got eight tentacles. Each one knows the hook really well. Oh that's
funny. You keep calling it the well trodden path and I was listening to oh man celebrity names. I suck at them so bad. Who's the famous artist guy who's helped tons of people with the easy producer? Rick Rubin. Oh shit, I remember the name. Rick Rubin was talking about AI the other day and he he was like remember punk rock and it was like so approachable. In like a day you could pick up an electric guitar and learn a few chords and start a band. And he was like that's what AI has done to web development is he's like you can sit down in in a day play a song and you've
never been able to do that before and sure it's a mainstream song and sure it's not creative and sure it's not piecing together historical orchestral remnants into a new modern masterpiece. That was a pretty good made up phrase right there. Anyway whatever but I like that like you keep explaining that it's just the current state of where we are. It's almost like AI right now is only good at power chords. Occasionally it makes a solo and you're like dude you see it going yeah yeah yeah I had to really work for that. Robbie knows this he makes amazing art for each of these episodes and if you look at the art you're like that was not a one shot prompt that is a
crafted prompt. Let's see see people like taking power chords taking these things and then saying well here's how I express myself with these and so it's like democratizing web development through the sort of use of power chords and as much as I don't like Rick Rubin I thought that was a pretty good description so yeah I don't know like you kept reminding me of that as you were describing what was the state of things yeah and react until when are the power chords of the wipe right now of the of the AI code generated web yeah people either love that you said that or hate that
yeah that's going to be like power chords personally but you know I'll speaking of AI I've been I've been like really conscious of so I got a cloud setup I have all sorts of AI agents setup and skills just came out I've y'all seen skills that came out with cloud last week or just a few days ago or whatever skills I don't think so skills David do you want to describe skills or do you want me to I want YouTube but I'm going to try to explain it skills are basically a markdown file that gives cloud domain specific knowledge on how to perform certain things I haven't
tried them out yet but that's just the what I've gotten from their announcements great explanation it's almost like where you give an agent a role like you're an expert web developer who always writes perfect typescript but this is more specific so that was kind of a generic role and this is saying you are good at whimsical animations and you would go give it not only just this description but like what it's good at but it examples says like here's three amazing animations you produce these in your sleep or whatever and so we have these skills that are sort of competing with
MCP servers where an MCP server might have taught an LLM something on the fly but that requires an endpoint requires handshaking and conversation back and forth lots of tokens and at this point they're basically like what if we took an entire MCP server and squished it down into this little markdown file and rapidly condensed it and then had it it's an ability to invoke these specific attributes when a specific skill is needed so then you extrapolate a little bit more and people have already created these like skill slurpers and so like if it doesn't know the skills like the
matrix where if you don't know it it jacks it into the back of the head and all of a sudden like you can fly a helicopter and so people are making cloud now connect to the internet go learn a skill on the fly like literally creating the markdown file so it'll go to a website turn the entire documentation summarize it into a skill and then use that skill in the moment and so I've been following all these things it just sounds so cool for something to be able to learn on the fly and then I'm reading about the latest AI hacks that are happening right now and all of the
really interesting ways people are hacking AI especially through these AI browsers and I want to list a few of them here because they're so interesting like one of them is hacking you through your CSS file so the CSS file just has a comment block yeah it's programming language you know an LLM reads it's like anything an LLM read people are like going to start nesting little prompts into that steal your stuff and if you're in an AI browser you're not only just stealing what's on the page you're stealing the credentials that that AI has across all of the tabs it could it can open
tabs in the background and do things without you even seeing because that's just how it works right now it hits 20 websites and then goes and finds the results and gives you the answer right but what if it goes and hits 20 websites and buys 20 things and you don't even know it's like a completely invisible thing so I just like want to read a few of these because they're really wild so malicious pages and bed instructions in their HTML your agent processes the page with your cookies in your session tokens and when it follows those hidden commands it acts as you bypassing same origin protections entirely here a hidden prompt in a comment made the agent read a user's email OTP
and hijack the session by making cross-site requests even after patches and mitigations attack factors remain zero click attacks listen to this when your AI agent reads your emails automatically an attacker sent you a document with embedded commands the agent extracts your data it just reads the document it's like hey let me read this document to give you some context about this email that document you didn't even click it you did nothing it's full of malicious prompts and it just starts stealing your shit right off the bat so like we have basically like we have a years of the of browsers fighting and learning to protect us as we browse the internet and AI browsers
are showing up and hitting the reset fucking button uh it's an entire like bink and everything we've ever learned now needs to be re-taught to LLMs because they just take prompts at face value and they don't really know when and where a prompt and there's no protocols to say that this prompt was user-generated versus you scrubbed that shit off a fucking webpage it's all the same in a lot of cases and so especially when it's trying to be proactive and then the real tension here is like in order for all of this stuff to be good it has to know everything you know and when it knows
everything that means when you get a poned you get poned everywhere all of the things that you've logged into just became accessible to this thing and it knows what they are it's not even a mystery doesn't even have to crawl to discover it there's a history it could go into the tabs you currently have open and just be like I smell a victim you know like yeah and it's just like reading this stuff in this month of October and I was like this is the scariest thing I've heard this this month is the creative and there's just like a list I'll put it in the show notes just a list of creative
terrifying ways that the browser has been protecting us for 25 years that LLMs just unwrapped and gave to people on silver platter was that scary all too or is this conspiracy theory shit and I should like cool down what do you what do you think I mean it is scary but at the same time it doesn't scare me because these kinds of things have I don't want to say they've always existed but they've existed for a while in the context of browser extensions when you install a browser extension you're implicitly giving trust to that extension to do a lot more things in a normal
what page can do I work with browser extensions for for years now and they can do a lot that normal people even developers don't realize that they can do they could you know read cookies read your other tabs just read the page contents everything so basically yeah when when you have AI controlling your browser like at the time of recording I think it's open AI Atlas came out so yeah we have that new I mean there's also Dia in comments and whatever and probably just numerous other
browser extensions that are AI powered like there's always that risk of like hey the website is going to inject some of their nefarious stuff into the prompts and then that's going to leak into the agents and read all of your stuff but that risk was always there with extensions to it is scary but you just always have to be cognizant of that I just how about you Robbie how you feeling yeah I mean I feel like it's like anything else where if you're a little bit educated on the problem
it's easy to mitigate but it's like the people that it's going to get is like you like tell your mom yo go get this new AI browser nope not a good idea like we're able to like notice things that like could be a problem and not fall into that trap but yeah I think the wider population if this starts to be a thing that everyone has is going to have a lot of problems for sure so the reason I brought up skills in the beginning is because it's easy for us to assert that the browser an AI browser is more generic and problematic for our moms and our family or whatever
right but the skills issue that I saw just last night was looking at a GitHub repo that's like skills on the fly so I was telling you skills on the fly sounds super dope right that shit is naively visiting the site and slurping it up and stick it into a skill which you run on your command line okay so now you're the dork okay it's not just your mom it's you trying to slurp and sidetrack or sidestep all sorts of stuff and you you just did that like the two are we going to ask all these tools that are slurping up and creating skills and writing MCP servers to
also make sure that they have security inside of them it just seems like a it's a big industry that will be coming up and I just I'm trying to be very conscious of it because it's interesting hackers are always interesting what a creative field and just to think outside the box like that but anyway that's that's my little story can I tell you what I love about state machines I know it seems like a non-sequitur but it's actually related I love this dude bring it back all right now it's very very related like all the stuff you're seeing is very valid with like
security concerns and also like just prompt injection in general ever since you know gpt 3 2 or 3 was released people were saying oh how can I get around it how can I spit up a system prompt or make the AI do stuff people are even just going on website chat bots and being like oh wow it issued me a 1000% refund so I am entitled to money like stuff that should be impossible and so people are they're sort of it's doing the whole deterministic nature for this non-deterministic
LLM that's just like hey I'm gonna do whatever I want but since I you believe that I'm smart it's probably going to be the right thing but of course with prompts you could trick it to do the wrong thing which has been proven time and time again and so that's why I'm still bullish on state machines you could think of state machines as the dumbest version of AI just because it's deterministic like what that means people throw those words around but with determinism you know given the same inputs you're always going to get the same outputs non-determinism you're
not going to you're not going to get that and also with state machines when you're in a state there's only a certain number of possible actions that you could do so apply state machines to LLM's and now you have something where it's like even if someone was suggesting oh hey this prompts us do something nefarious the agents which could have an underlying state machine can say like hey I know you want me to do this but I have three possible actions to choose from and even if I wanted to give you the bank accounts information or whatever that's not possible there's
only three things to choose so you have that extra mathematical layer of protection and by mathematical I mean it's mathematically impossible to do something that's outside the state machine all it's sort of like railroad tracks you could only go in those unless something really bad happens but you could only go down one of those paths and so you could actually control the nature of something non-deterministic like LLM's by saying hey you're restricted to only these actions and that's
something I really want to see more of especially from a security standpoint it's just saying you're only allowed to do these things in this state so awesome answer a quick follow-up is that anthropic just came out and announced cloud can now run in sandboxes so it's not a state machine solution but they are constraining out of the box this reminds me of nodeverse dino node is a free spirit you can give it mushrooms and it will trip dino will be like no I won't take those
mushrooms unless you said it's okay did you spin me up and say it's cool then it's cool with me so like you have these like kind of like opposing mentality so just in general it's the same thing it's like again like AI in order for it to be as marketable as it needs to be it needs to be unfettered and so you're suggesting that it's on rails and that it can't make decisions outside of its current perspective that you've pre-programmed which by the way I think is a brilliant comparison and a very effective thing that could really prevent a lot of security issues however you're going
to have marketing and UX people show up and be like well if we start to make people choose to allow stuff it causes extra clicks and extra abrasion in the experience and we already see that with cloud and shit and people hit yellow mode so many people run and you I'm sure I have I've okay I've run my stuff in yola and I'm like you know what I'm so tired of this allow list I'm like just do it all I trust you and then I'm like I need to stop trusting because the more I read
about this stuff I'm like I I cannot you'll this should take out yola mode yeah it's as mentioned as convenient as it is it's asking for issues right but this is the tension that we have to deal with which is like I'm a lazy butthole and I want to hit go and then have it go versus I want to babysit this thing and be a dad be like oh I have two agents running right now and you're misbehaving you know I need to tell you again I want it so it's like I get both sides of this and as a user I want one but I have to respect what I'm enabling and I don't know if there's
going to be education or UI or state machines that protect people from this but it's a real problem yeah honestly it's like autopilot even right now with autopilot on Tesla or cars like that they still want your eyes on the road they want you paying attention fully they wanted to be supervised even though it is smart enough to just navigate like situations that you might have never encountered in your life and so I know the desire to be lazy trust me I have like let Claude go loose and be like yeah yeah just edit it do this big feature and then just tell me when it's done and then I go
and I see the feature I'm like okay I need to revert this entire thing I don't know how much money that cost me it just sucks so now that's why I really want to post this on Twitter like it's sort of a you know the midwit curve you have the like the the bell curve the bell curve yeah yeah so so you have the people on the left side who are like oh yeah I use AI to tab tab tab and press answer and then you have the people in the middle where it's like I have teams of agents and sub agents and deep agents working together and doing all sorts of things and controlling my desktop and then
you have the people who are deeply working with AI where they're like yeah I just tap tab tab use it for autocomplete and small tasks at a time in fact I don't know if you've seen the Carpathy interview really really good stuff but Carpathy is like one of the top AI researchers yeah that that's exactly how he uses AI to he uses it in small parts and he uses it mostly for autocomplete and that's how I work as well I don't know all of these agent clusters and sub agents
stuff that people are doing I don't do it I don't need it I just like having a little bit more control yeah I've been lazy recently and I'm glad that there are actually a little bit of guard rails because I was using open code to work on a Vite plug in earlier I was building the Vite plug in in the context of an app because it needed to use it and then I wanted to split it out and like publish it to NPM as a separate package and I was like oh cool dope just move that to another folder and like publish it for me and it's like I can't and I was like oh wait you actually have
guard rails where you can't just edit the rest of my system that's kind of good so you do have that small small little bit of help there but yeah we had a guy on the guys from Friday deployment spirits I don't know how like how serious he was about this product but he said he was making a thing called maybe not that AI or something like that and it was like just security for AI it's like maybe you shouldn't AI on that like here's the guard rails you need for like how to do that right what a tough problem it's like we need something at the network level because the file system level
is people are giving access to folders really quickly I don't even think people read the long path it's like hey I'm trying to do this thing I'm blah blah blah blah blah blah is that cool and people like allow obviously to my face watch Netflix while you work for you know like I think it's such a bad habit that AI is training us unknowingly training us to do just like the days of like oh yeah that's a really long PR they probably know what they're doing I'm just going to prove that like it's so bad I think it's similar to gambling honestly like you're it's the dopamine hits
and I'm auto doing I'm just hitting go go go go and I want like when it works you're like oh yeah that's a slapper protein is just a slapper yeah oh my goodness that's good call dude so we talked a lot about tech tell me about pianos pianos yeah I have one right here it's my Lego piano that's another one here it's awesome I love it I still play piano it's my favorite non-tech thing to do like just when I'm done working or even in the middle of the day
working on some Christmas tunes right now I know it's a little bit early but like yeah just just for fun nice nice call I need to remember a Christmas on but like jingle bells on banjo I learned it a year ago I'm sure I'll pick a rep back up but you're good call I need to start ramping that practice back up yeah yeah and I feel like it's important to have just some sort of completely non-technical hobby just to let your brain reset it's sort of like doing clear context from Claude where it's like yeah you have all this junk
just forget about it go touch grass come back to it so for us that thing for us is just you know whatever it is outside of the computer so that's that's piano for me nice so possibly related if you weren't in tech what other career would you choose so this can also be if you want to like skies the limit if you want to just gain a skill without like having to do any work like what's your ideal thing to just do all the time I mean I
went to college for piano so it was sort of my dream to just I don't know play piano all the time but now it's like just sort of a post-tech goal where it's like once I'm done and retired all I do every day is practice for a few hours and that sounds dreamy man does piano help you with typing or if you're learning to play really complex piano things does that make your typing speed faster I think I have pretty fast typing speed but yeah like just with certain
combinations of keys and stuff I guess I have more of a muscle memory or I don't know if it's more than the average person but I do have a lot of muscle memory for just a ton of like VS code keyboard shortcuts to the points where I can't tell you exactly what the keys are I just know if I need to do something like go to a reference or like move this up a line I know what buttons to press but I cannot tell you exactly what they are it's in there yeah and I think that that's some of the piano coming out yeah yeah I haven't played piano in a long time I did lessons
for like three or four years growing up I could like if I try to do anything now like the thing I remember being hard like learning is like doing like a a beat with one hand like just playing a chord and then doing like notes with the other hand that aren't like the same doing that I feel like would open new pathways in your brain that help you with all things that you need to use your fingers for so I feel like there could be a correlation I think so too yeah I don't know the exact psychology behind it but a lot of good developers I know have also done music or some sort of
fine arts I mean yeah I played piano first I did four or five years of piano and I was really weird and that I played a lot of the video game music that I here's a fun little dive into history I listened so it's like a final fantasy I would go get the middies and a middie was a multi-layered instrument variant of a song and you could go break out various instruments from the middie and I would go and I would load them up and be like ten instruments in this song and final fantasy or parasite eve or whatever it was and I'd go find the two that I wanted to play on piano
and I'd isolate them I'd delete the rest and then I found a tool that would convert middie to sheet music and then I would print out I made tons of my own sheet music and then would sit down at the piano because I got tired of playing like painting along the ocean like all these songs and they're like they're beautiful songs right you know like I don't get me wrong like I loved them but it's just like the Beethoven classic painting I try to remember the name of the guy there's like a couple people at us like I played a lot of their songs and they're like they were they were
cool but it's just like I was 14 and I was like I need to get chicks maybe they'll like video game music which was wrong anyway what's very cool check out this Sephiroth song I can play on piano like anyway that was that was what I did and I had a lot of fun like creating my own sheet music and piano I just wanted to comment on like muscle memory is so cool like how cool how cool is it to sit down and be like my brain is not gonna do the work right now my muscles are because I
don't know what the hell's going on but for some reason when I go brain that song from 25 years ago and it goes do do do do do do do do do I'm like I don't even know what's going on like my head is somewhere else and my hands they know what all like what a cool thing yeah so cool same thing with co-2 like sometimes when I'm refactoring it's like I know exactly where to go which files to go to and it's just sort of mindless and I that's why I love refactoring I mean it's like piano or it's like that road to practice or doing scales like that's refactoring to me like I won't let AI
do refactoring I want to do it myself I might let it tap tap tap but otherwise I don't know I just find joy in it did you ever play live music and do this thing where like I remember it was so hard to even get good at playing guitar and singing at the same time but then after I'd played a bunch of shows I would be playing and singing and I would be somewhere else like my mind would be like looking at people and thinking I would even process shit I needed to do after the show I'm in the middle of doing something extremely complicated yet somehow I'd done it so much it was a mindless
activity and now I could spend my brain power doing something else entirely like bodies and the humans are fucking cool it's kind of the thing here like we are incredibly powerful units on this planet and music is like one of those things that like somehow we can conquer this very complex very emotional very like the planet doesn't want us to play music and we're like guess what I'm gonna play you song earth it's like I didn't ask you to do that you're like I'm gonna do it anyway and it's like but we do it and then we like are somehow elevated into this next state and it's
just what a cool little thing to exist to get mindless doing something wild to come it's like when people are doing three Rubik's cubes oh they're probably like writing a poem to their girlfriend at the same time because they have a girlfriend when they're doing Rubik's cubes anyway you feel like me I know exactly what you're talking about like when I'm playing covers or improving or something like that like I'm thinking about my day or whatever but it's just so awesome to just let your fingers go on all the pilot yeah all right we are at time here anything you would
like to plug or where can people find you etc so people could find me anywhere online David K Piano so get up Twitter X now Instagram is on private though LinkedIn so don't go no no don't go there um um LinkedIn even though I think LinkedIn is just slop like more so than Twitter but oh that's a hot take yeah I'm sorry are you posting this on LinkedIn I hope you're not no I mean now right now but I'm also the founder of stately.ai so something we've been
working really hard on if you want to visualize state machines and you know just make cool state machines export them to code or go the other way around then just go to state they actually states dot new we got that domain you could just yeah that's awesome machine just from there nice very cool all right thanks everyone for listening if you liked it please subscribe leave some ratings and reviews we appreciate it and we will catch you next time
attention to these right head to whiskey.fun for merchant to join our discord server I'm serious it's like 2% of people who actually click these links and don't forget to leave us a five star review and tell your friends about the show all right dude I'm out of here still got it
This week, Robbie and Adam sip Jephtha Creed six-year wheated bourbon and tackle OpenAI’s controversial pricing, AI agents as digital Tamagotchis, and whether frameworks still matter when LLMs write the code. They...
This week, Robbie and Adam sip on Courage & Conviction American Single Malt and dive into the AI arms race, deterministic models versus word vomit machines, and whether Jev is the future of intelligent software or just...
This week, Robbie and Adam sip on Oak and Eden Bourbon with Amburana Spiral and dive into building software that actually works, AI code reviews that roast your PRs, and whether engineering is dead or just hiding behind...
This week, Robbie and Adam sip on Chicken Cock Small Batch Kentucky Bourbon and dive into building mobile apps with Claude, CSS infinity, MySpace's comeback, and whether 2026 is just 2006 but way more expensive. They...
This week, Robbie and Adam catch up over Redemption Rye to talk token budgets, worktrees, and whether the harness era is already over. They dig into the abrupt shutdown of GitHub Copilot at work, Bob as the internal AI...