AI Engineering: Building Applications with Foundation Models
Part 2
Book Covered

Book links are affiliate links. We earn from qualifying purchases.
Author
Hosts
Transcript
This transcript was auto-generated by our recording software and may contain errors.
It's increasingly obvious that the Doomer movement is funded by the foundation models themselves.
Hey there, and welcome to Book Overflow, the podcast for software engineers by software engineers, where every week we read one of the best techno books in the world in an effort to improve our craft. I am Carter Morgan and I'm joined here as always by my co host Nathan Toups. How are you doing, Nathan?
Doing great. Hey everybody.
I'll make sure like, comment, subscribe, uh, share the podcast with your friends and coworkers. You can join the Discord, uh, book time with us on Leland. All of that is in the description in the bio. Um, or if not the bio, the the show notes, I guess. Uh I've been editing the podcast recently, and the episodes I'm editing are the ones we did immediately after fans of the podcast. No, I'm a big BYU fan. I that's my uh university. We've been doing really well in football. We beat the number team in the country, and
I I've been editing those episodes, so I'm like, I'm bragging about it. Immediately the next week we had to travel to Orlando and we freaking lost to three and three UCF. And so I'm like so embarrassed. Like like when one of the episodes I know, I'm like decked out. I know.
You should be. I'm I'm embarrassed for you. I I
I I I debated editing out to me mentioning the win. I'm like, no, like I I have to live with this. And I can
I
and one of the episodes I have to edit it. Like I'm wearing it's filmed literally like the day after we won, and I'm in like full on BYU gear, BYU hat. So
I have to live with this.
You talking about football or my is gives me empathy for like any time I get into a somebody, you know, unfortunately asks me for a technical topic and I start elaborating and they're like,
Yeah.
I don't know what you're talking about. I'm like, Okay, I'll stop.
It is it's so stupid. Like I will wake up in the middle of the night it after a loss and like I can't go back to sleep because I'm still thinking about it. Like I should not care about this this much. And yet I do.
I I think I
might be the like the equivalent of like colorblind for like for fan sports. You know, like I I just I don't I
You sh it's a good way to live.
well no, I appreciate like I'm like, oh, a lot of people really enjoy this. I mean I'm not like being pious or anything, but I'm also just like, yeah, that's not for me. I I went to one LSU football game and it started raining when I was a college student and it started raining and I was like, this this is terrible. I'm not doing this. And I'm like left. Yeah.
Yeah. Yeah. I'm out of here. Um
yeah, and and for people who are not familiar with college football, that's what's so funny is BYU has been doing well, but has very much been like a an up and coming kind of fringe program for a while. LSU was like one of the granddaddies of all college football. And so yeah
Which disappoints
every college football fan. They're you went to L S U And they'll start talking to me and I'm like, I have no idea what you're I was like, That sounds awesome. Like, yes, Nick Sabin
Yeah. Like
or, you know, whatever. Like you'll just say something and um those are the good old days or whatever. And I'm like, Okay, you know Yeah.
Yeah,
like like LSU won the national championship, I believe it recently twenty nineteen. BYU has won it once in nineteen eighty four on basically a technicality. So anyhow. Um
Yeah. No LSU
it's a uh it's in in in in the south we call it LSU, but it's uh yeah, but
Yeah.
um yeah, it's it's a big deal. And um so I'm not I'm not downplaying that.
Uh yeah. L S U's
Well, we'll bond over
our shared Georgia Tech degree and our uh our
Yeah.
equal lack of knowledge of Georgia Tech football. Um, I can tell you a little
Amazing.
bit about Georgia Tech football. Anyhow, well, this is we're we're diving into part two this week of uh AI engineering by Chip Huyen. we read chapters four through six. Give you the author introduction and the book introduction really quickly. Uh Chip Huyen is a
Writer and computer scientist who grew up chasing grasshoppers in a small rice farming village in Vietnam. Her work sits on the intersection of AI, data, and storytelling. She built machine learning tools at NVIDIA, Snorkel AI, and Netflix, founded an AI infrastructure startup that was later acquired, and taught machine learning system designs at Stanford. Her previous book, Design Machine Learning Systems, or sorry, Designing Machine Learning Systems, became an Amazon bestseller in AI and has been translated into more than 10 languages. Outside of tech, she writes fiction and has published four storybooks in Vietnamese.
For her book introduction, we have recent breakthroughs in AI have not only increased demand for AI products, they've also lowered the barrier to entry for those who want to build AI products. The model as a service approach has transformed AI from an esoteric discipline into a powerful development tool that anyone can use. Everyone, including those with minimal or no prior AI experience, can now leverage AI models to build applications. In this book, author Chip Huyen discusses AI engineering, the process of building applications with readily available foundation models. So, like I said,
Two thirds of the way through this book. This week was chapters four through six. Uh Nathan, give me your thoughts so far on uh AI engineering.
Yeah, we are definitely in the weeds, right? Where the beginning of the book maybe was super broad. Uh this one gets, you know, no holds barred into into the technical stuff. Uh I did find it really useful, though it the areas of focus seemed very deliberate for a world like from a couple of years ago at least, which is so funny to think that like the world shifted so much. Um Chip kind of flags several areas that are sort of like unsolved, or there's maybe speculation that certain things
can't be done like planning or, you know, uh introspection type of agenc work, which I think you know, maybe isn't fully addressed, but we have patterns that are pretty popular these days. And so it's interesting to see like which parts of these are sort of evergreen in this book and which parts I'm like, okay, you know, I could see where you'd want to take extra care and concern and write an extra, you know, few paragraphs about this like two, three years ago. But um yeah.
It's I d I I found it fascinating. I've learned some stuff and I'm also like, okay, I don't know of how relevant some of this stuff is as far as like bringing my attention to it. I don't know. What what what's your what's your thoughts?
Yeah, I had, I mean, it'll be interesting when we discuss it. I don't want to say necessarily the opposite take, but I I think it's really interesting that this spends a lot of time on kind of the building blocks of AI. And in a lot of the ways, we are still using those same components. Like it's funny to hear this book mentioned, like I think like GPT four was like the most recent model when this came out. And so that is funny. I'm like, my gosh, that feels like ancient history. I'm like, that really wasn't that long ago.
It like maybe a year ago, a year and a half ago. Um, but you know, a lot of what we're gonna talk about today, like rag, um evaluations, uh prompts, uh, what whatever, I mean tool calling. I mean, this is something I keep kind of thinking about with AI, which is it keeps getting better, obviously. But I I don't know, like again, I I
The labs really capitalize in the fact that very, very few people understand what is going on underneath the hood. And,
Yeah, I agree.
you know, my wife has actually told me several times. She'll, you know, she does like neighborhood playgroups or, you know, church groups with the other mom and things like that. And and she's like, she says several times she's had she's explained to them kind of just the basic architecture of large language models and how they work to her friends.
And they have come away relieved, knowing, like, oh, this isn't like a super intelligence. It's a very useful, very cool machine. Like, don't get me wrong. I think that we are due for several years, decades maybe, of economic growth powered off the back of the LLM technology. But it's a machine. It's a machine like every other machine. And so sometimes when the labs are just talking about like, my gosh, it's
It's more advanced and more powerful than it's ever been, or whatever. I'm I'm always looking and reading. I'm like, did they build something new? Did they is has has there been a new innovation in this space? And the answer is always no. Like, we're still talking about the same things. Like they're just training bigger models and they're and and the tool calling is getting more sophisticated and the post-training is getting more rigorous. Which is very, very cool. Very cool that the
Technology uh can progress at the rate it has off of that, these kind of the same components we've known about for years. But I think the labs really want us to think that they're inventing and discovering new modalities or something like that. And as far as I can tell, again, correct me in the comments if I'm wrong, they just aren't.
Yeah, I'm I'm in I'm in a s I'm in a similar point here. I think also in this book is guilty of it a little bit. It's really easy to get sloppy with the way that we describe stuff. And this book's actually very exact in a lot of ways, but there's one area, like we'll talk about it briefly in chapter six. There's like a one little area on memory. And I I'm in the same camp that Carl Brown is here, and that that it's actually like a really
choice of words. It in that that section even talks about how like similar to how human memories work, memory does this. And I'm like, it's not similar. Like we that there's actually no
Yeah, exactly.
evidence that it's similar at all, other than it's a useful abstraction to think about what is short-term memory and what is long-term memory. I think it's interesting to be like, okay, well that there's like session memory, which isn't really memory. It's a function where it just rereads the entire session back into its input. Um
Yeah, exactly.
That's not, I would not call that memory. And then the the long-term memory is literally just, and again, I shouldn't say just. Just is a is is also a sloppy word. The way that these tools handle long-term memory is to inject some context in special spots of summaries of things that you've done in the past. And you and it was kind of interesting. I highly recommend if you're using one of these tools, Codex or Cloud Code, go check out like your memories are in there.
If you have memories turned on.
Right, right.
And there's some surprising things. Like I was like, yeah, I guess I was upset about this thing one time. And it's like, never do this. And I was like, I mean, yeah, that's like pretty good. But also, I just you should go back and look at what's in your your, you know, injected into your context because these things will, you know, quote unquote fixate on this stuff, right? It'll
Yeah, absolutely.
or I I remember one time uh this is a this is useful before we get off into the other parts.
I remember one time I was just like, No, I want Ousterhout style comments or something. And then for like a period of time it was like anytime I'd I'd talk about anything, you know, help me find some, you know, popular things to do when on our our trip to Spain or something, it would be like go through this stuff and be like, and this is a deep module, like Ousterhout would also recommend taking the high speed rail. And I'm like, No, not cool. Like I
Yeah. uh
I really hate this a lot.
Yeah.
So
Yeah, it's uh well and and I that's something we Chip mentioned the first week where like one of the reasons models hallucinate is because if they can't tell the difference necessarily between something they said and something they read. Like I I don't even remember exactly what she was saying, but basically like yeah, if they output the text, like now it just becomes part of the next token prediction.
you know, machine. And so, you know, whole Lucian nations kind of like compound on each other. Um, I don't know, like it's such a weird position to be in, right? Where and and people who've listened to the podcast for a while know this. Like, we're not AI Luddites. Like, and I love Carl Brown. I and I think I think his opinion is sorely needed. He's he's more skeptical than than I am, even. Like, I think this is a very transformative technology.
It's just it's I mean, we titled the episode last week, like they're not building the digital god. Um and to that point, like again, I I just think like we have to be really, really careful to look at a technology's trajectory and then to assume that it will like it'll just continue on that trajectory to surpass all things. It's like looking at the first.
car and being like, this is so much faster than a horse. This'll be a rocket ship one day. And it's like, well, we we did build rocket ships one day, but they had very little, if any, relationship to the automobile, right? And I mean you could look at just computers, like how much better they were getting. I think the first time a computer beat someone in chess, and you think, surely, chess, the most cerebral of all human activities. If a computer can beat that, then surely it'll be able to write a limerick. It's like surprise, it took another 40 years to
To make a machine that could write a limerick, right? And so I saw this really interesting graph on Twitter with someone basically like uh showing like the raw, it was some evaluation, like that that gave like a raw intelligence score to each model, right? And it it kind of it it follows that same shape that you would expect it to follow, where it's like at the beginning, uh, you know, like.
With each model improvement, it's like big jump, big jump, big jump, big jump. And then it starts to kind of plateau. And and he he wasn't saying like he's like, look, I don't know anything about anything. He's like, but this shape you're seeing right here is not the shape of like compounding benefits or a fast takeoff. This is what it looks like if every marginal bit of intelligence to glean is much harder than the last. for what it's worth, there's no shame in this. That's how every human technology has worked.
From the dawn of time, right? Carl Brown talked about that. Like at a at a certain point, you reach some sort of bottleneck constraint, and that's what stops you. He theorized that his constraint, that the constraint the LLMs would face would just be training data. And I, for what it's worth, I think he was on the nose about that. Because you look at what the labs are investing a lot in now, like Spirit Airlines goes bankrupt, and the labs pay like $10 million just for all their old emails, right? And so.
It seems like they still really, really, really want more training data. We talked about last week that basically like a lot of the training data that the models were originally trained on is either now proprietary or not as good because so much of the internet is AI generated these days. I don't know. I mean, it's very interesting technology, very cool technology. But
Yeah.
i the hype is well, we're anti-hypsters in in and almost everything around here.
Well, it
and only that like I to me there there is this sort of like I've talked about this in the past. I I keep saying I'm gonna write something about it. I I think I really am uh it's kind of hitting a a threshold, which is this magicians are not sorcerers idea
that
Right.
I've brought up in the past. I think we've had some good feedback from comments. A magician, right, an illusionist, somebody who does these stage shows and stage magic, presents reality in a certain way, meant to fool us.
The thing is that we all know we're being fooled. Nobody believes that you're being you're
Right, right.
sawing someone in half or that you're pulling rabbit out of a hat. Um if you convinced enough people that you were actually doing real magic and you really insisted, hey, audit me however you want. This uh we believe I believe, I don't know how I'm actually even doing this. I think that I'm actually sawing someone in half. we should treat this as if I have these amazing abilities. I think that's sort of the sort of deception that's going on here is that.
We either have an illusionist who is a charlatan, or we have an illusionist who's really convinced themselves that by pr portraying a person being solid in half, they actually are doing it. Um
Right, right.
and so I I I actually think that the skill of being an illusionist is amazing. You watch Penn and Teller or the um what the great uh I think it's a great what James Randy or whatever. uh these
Or like David Blaine
or all that.
Yeah, the well there
were these there's these skeptics who will kind of be like, hey, look, I'm lying to you. I'm lying to you right now, but look how amazing this is. I bet you you can't figure it out. Right. Like there's a game to it that's kind of cool. Um I think that the fact that these machines feel as if they're kind of human-like is the illusion, right? They're they aren't human-like. There there's actually like really no evidence that they're human-like, nor will they ever be. And yet we've made this persistent illusion.
That they are, and then there's a subset who are like, Hey, let's go talk to the Pope because I think these are conscious, right? Um,
Yeah.
and again, I think that with the sp to spiritual leaders to their credit were like, if this is true, you now have slaves, and how do you feel about this, right? Um,
Right, right.
which I think is a perfect clapback to this and and really should stop that conversation because you're at a moral c conundrum here, which is if you truly do believe this, then it's your role to like not, you know.
put these uh creatures into drudgery or to torture them or do these other things, which I think all of that stuff is absurd. I think that we are using, I think this is a lot of this is just poor vocabulary, poorly defined. Um and it takes away from it takes away from what's actually amazing about these tools. Like I I there's something about building a tool that looks across all human knowledge and then looks for and then finds patterns and gaps that we couldn't find ourselves.
Or is able to sift through and find a needle and a haystack in a way. Um, and again, to kind of go through this, right? There's some really interesting stuff happening with math proofs that I think shouldn't be ignored. And
yeah, yeah.
we we've kind of mentioned this. This is actually like again, an area where I think it's a strong suit, which is here's a pattern here, here's a pattern there, here's a pattern here. If we glue these ideas together, is there some novel output?
That comes from this, right? Or are we just missing the fact that these things are actually more closely associated than we think? And if you think about if you have this high-dimensional uh, you
Right, right.
know, similarity model, which is what these things are, right? It can dig through these like crazy high-dimensional spaces and say, here's a pattern. Can I match this pattern in some other crazy place? Um, that is a type of intelligence. I don't, I'm not dis discrediting that, right? I think that there's a type of glue.
thinker who is a ta able to take disparate ideas and put them together in some novel way. but that's also different than I think what we would c call like uh I would call creativity, uh, in a different domain. And again, I don't have a good definition for this. Yeah.
Well, no, no. Like
I I think that the thing with the math proofs, undeniably impressive. Like, d don't let anyone tell you the fact that the AA models are solving these math proofs is not impressive. Like it's incredibly impressive. Um, it does not surprise me, right? Like, in the same way, it doesn't surprise me they're good at programming. Like, math is a field with lots and lots of
training data on what good looks like. It's independently verifiable. Um
Mm-hmm.
I mean, it's the kind of problem that you would expect an LLM to be good at. It's it's a little like, you know, if uh a computer got really good at math and then later they invent Google Maps and you're just like, but you didn't see that coming. It's like, well, I mean, I kind of did. Like, you know, I I it it stands to reason the same architecture that could play chess could also calculate the shortest route, you know?
All that was missing was all of the infrastructure to know what the routes are. Um, and so like it it feels like a natural extension of what the LLMs can do. Like, I think to me, what would be really surprising would be like if an LLM wrote like a really compelling stand-up comedy routine. Like that would be kind of out of the box and like, oh, like previously this wasn't very good at this at all. And yet, uh, and now it is.
You know what's something I have to I gotta do this with the with an LLM again. I tried this like a year ago and it was really, really bad at this is my friends and I like to play this game. It's like a silly game where they will begin describing themselves as a as a character from a movie, but they do it in kind of like a vague way. Like so you'll be like, I am an individual who has recently lost someone who's close to me. Uh that they were taken from me.
It, you know, by another party, and you're like, okay, you're trying to figure out who it is. And then as they go on, like, I've encountered someone new on this journey who they are rather forgetful. And then you kind of put it together like, you're Marlin from Finding Nemo. Right. And so, and then you'll join in the conversation. It's like, yes, and I am that forgetful person. And then you'll start to pretend to be Dory. And it kind of keeps going until like everyone in the room has figured out like what movie you're talking about. And they and people will join in one by one as the characters from the movie. It's a it's a dumb little game.
I've tried to play this with LLMs. They just cannot do it. Like, and it's really, really weird. Because like my nine-year-old can do it. Um,
Interesting. Right.
like they just are not capable. They either go way too vague or immediately give away who they are. Um,
Right.
and so, and you could, I'm sure you could train a model to be much more skilled at this. But like it gets back to that question of like, okay, so they can solve Fields Metal prizes.
But they can't play this stupid game. Um,
Right.
which just goes to sh again, like it's not human. And I for what
Yeah.
it's worth, it does it does not need to be human to be impressive. And like, this is why like sometimes I think I'm like, am stupid? Should I just be trying to get a job at like open I anthropic and make millions of dollars or whatever? But I think one of the reasons I would struggle is like they really look for like culture fit people in the sense of like.
They want people who think they're building the digital God. And I'm just like, look, if you're if you want someone to contribute to what I think is a very fascinating piece of technology, I've I I would love to. If I think that this is like that you're building, like I'm not gonna go petition the Pope on your behalf and say, you know, we might be
Right.
it might be conscious. Like it's clearly not conscious. Okay, you want my
Right.
hottest take? What's my hottest take? Okay.
Please. I wanna I want the
hottest of hot takes.
And it and it is, we're gonna get a little metaphysical here. It might make some people slightly uncomfortable. There are a lot of commentators. I I mentioned this podcast, I'm regrettably a bit of a politics junkie. And there are a lot of commentators I follow on Twitter who I really admire for a lot of reasons. And I I feel like they have very level headed, good takes on on lots of things. And recently I've started to notice that they are much more in like the AI doomer bucket than I am. And I'm like, what is this? Why are these people that I usually respect so much along a lot of dimensions? Like,
They're just totally not in the weeds. And I I think I finally figured it out. They are all atheists. And I'm not passing judgment on atheism, but I I'm I'm a religious man. And I think part of it comes from this idea that if you believe that the human experience, consciousness, is just electrical synapses, then there is no reason at all that you couldn't replicate it as a machine.
and I think that's why when people say, like, well, maybe Claude is conscious, because maybe, you know, what who's to say what consciousness is? And if you look at polling, it actually map it it plays out this way too, where like religious people actually tend to have some of the most favorable opinions of AI. And I think there's part of it gets to this idea that if you believe in the concept of the soul, if you believe that there is something more to being human than electrical synapses firing, then it's much easier to look at a piece of technology and just kind of recognize it natively as like.
Of course, this can't be us.
Yes,
th this is interesting. Yeah, I grew up in a religious household, but I'm actually like I actually this is this is something Carter will be learning today. I went through like an angry atheist phase. So I was like super into Richard Dawkins. I like super into like all the owning stuff, almost to the point that I became like an evangelical atheist. Um, which is you know it you you can unpack that one all you want.
Yeah.
I'm more settled into sort of like a sort of more of a I guess it's sort of Zen Zen Buddhist. I'm not
Right, right.
into the Abrahamic gods. I don't believe in a in a mortal soul. But I also do think that like we don't nearly know what's going on. Um, that
Right, right.
the idea that materialism itself is all there is to it is I'm not convinced. And I think this this'll actually probably be pretty contentious because we have some really interesting folks in our comments who have uh even had some hot takes about me bringing up um
the i is consciousness part of the universe sort of ideas, which I think
Right, right.
should be critiqued. But um I will say I agree with you that there is a form of like I I think that there it depends on where you've metaphysically fall into stuff, there's this idea that like, hey, we're just going to build the machinery where the emergent consciousness comes from. And then all the bad things happen. Um I think the part that's been disappointing to me has been
It's increasingly obvious that the Doomer movement is funded by the foundation models themselves.
And
Right, right.
that these funding are not being disclosed. There's several YouTubers that have come out recently saying I've been approached by one of these super PACs or one of these not-for-profits to do Doomer content. And I turned it down. And I I highly recommend
Right.
folks go look at this. It again, um, you know, Carl Brown has another.
Okay, we keep bringing him up because I think it's really important. Um, you know, his his ideas here too are that hey, um, you can be critical of the face, the the lies, or the you know, the the the fallacious stuff that comes out of this, but the doomer movement is not an anti AI movement. The Doomer movement is actually a pro AI movement that a lot of people
Right, right.
don't realize. What you're actually saying is this stuff's so dangerous and so powerful.
That a small number of governments and a small number of private corporations
Right.
should control everything. And if that's how we act, again, this is the illusionist thing. Do you believe that a smoky backroom cabal of corporations and the government are the best way of running the world? Um, I
Right, right.
would say most people would say no, right? And so therefore, the Doomer movement is is rotten at its core. Um
Should we be concerned that if the foundation models are just building irresponsible software and have no accountability? Absolutely. I it's very upsetting that you can go hack another business and everybody kind of just like
One hundred percent.
raises their arm to go, huh? That's crazy. I don't know what's going on here. And it's like, you built a thing, it did something very dangerous. You should be accountable. Like open AI,
Right, right.
uh
at the very least vandalized and at the very most actually like did, you know, some really material harm to another organization with a tool that they didn't they lost control over. And that's seems
Right, right.
to be that we'd have a very clear legal framework for dealing with this. And yet for some reason no one can figure out how to hold um a company accountable for for their actions. And
And that's
my biggest concern with the with the models is again, like they don't need to be super intelligent for them to not be dangerous. There is a lot
Right.
there there is a lot of friction in our system that we're realizing is now load bearing in the sense that we're like, yes, this thing wasn't entirely secure. We did it, it didn't need to be entirely secure because we could just rely on the assumption of like who would bother to do this, right? Like
Or yes, this process could not be like if you are willing to whatever dedicate a thousand hours of manpower to this process, you could game it. But who would do that? And it's like, well, now you have these super intelligent systems that or I sorry, not super intelligent, but like super workhorsey. I don't even know what to what to s how to call it.
Again,
this whole industry is so s like it's so messed up because all of the words are meaningless. Like
Mm-hmm.
AI and superintelligence, these are ill defined, they're basically like advertising buzzwords. Um No, me either.
I don't even like the term AI, right? And like
and it and and it's not because I'm like, because it's not real intelligence. Like, no, it's just more that like AI is a field that has existed for sixty years. Like the ghosts in Pac Man are AI. Um, like what we're talking about is generative AI. I I don't mind the term generative AI. I'm like that that seems like a a a good description of if you if you don't want to keep using the term LLM. And that's what I like to say. I like to say LLMs 'cause that's really what we're talking about here. But like
LLM's power generative AI. But yeah, it's like, I don't know. And like I know we're we're kind of like ranting a lot about AI. uh no, no, like and and like I'm I'm looking
Sorry, Chip. It's great.
at our show notes here. Like chips the one of the I think one of the reasons we're talking a lot about this is because the book does a very good job at kind of like again, the the the three chapters we read are called Evaluate Ice AI Systems, Prompt Engineering.
Rag and agents, right? And I think it's really cool that Chip, who is very clearly an expert in all these things and writes this two or three years ago, devotes three chapters to these. But I'm a little like, okay, I I got it. Which is not to say that I didn't learn like lots here and that we could talk about a lot of these things, but again, it gets back to that idea of like, as much as the field has changed in two years, it actually kind of hasn't changed.
Mm-hmm.
Like a
I agree.
lot of these building blocks were there, and we have just gotten increasingly sophisticated in using them. Like it feels a little to me like you invent the iPhone, right? And the iPhone has gotten more impressive as the years have gone on. Again, we see it's the sigmoid, right? Like it's flattened out. Like I had, here's okay, here's the dumb thing, right? I really want the iPhone duo. I shouldn't get it.
I know it's a dumb thing to buy, right? But I went to an Apple store and I used it. I want it so bad. Right. But one of the reasons I was like, I was trying to justify to myself. Like, well, I could, well, the good news is I could buy the iPhone Duo and then I could like get another few years of usage out of my phone. But I'm like, I I have an iPhone 14. I think they're on 18 now. Like, and I think I could use this iPhone 14 for another four years before it it, you know, before it gets
obsolete or whatever. Like they've just gotten really good at it. Um at making iPhones. Anyhow, all that to say. Like the iPhone has gotten better, but so much of of what the iPhone revolutionized the world because it was kind of the first m major modern smartphone. And then obviously comp with Android, like that that's the idea of the smartphone. But a lot of what revolutionized the world was present in the first iPhone. Like
Just being able to browse the real deal internet, having a
Right.
GPS constantly on you, um, multi-touch, uh, I mean, just I the uh the the lack of keyboard so the screen, so you could consume video in like a really pleasant way as compared to other devices. And then a few years into its development, they they released the App Store. And so the App Store, you know, obviously lets people hook into that platform.
After that, and and and think about Android too, right? Like, are there any real major innovations to the iPhone like that that come along? I can't like Siri, but then Siri is garbage, right? And like Siri, I don't think really did change the world.
I don't know.
Though I I will I I mean it's not that it's notable because the other ones are have been good for a while, but the new Siri, uh which I guess you'd probably don't have on your old phone, but the new Siri
No, no.
I have the seventeen, so I have last year's model. The the new Siri, the one that's like a Apple spent a billion dollars getting Google to train uh
Right, right. Yeah, yeah.
the model, it actually can do useful things now. It's it's like
I've I've heard that.
yeah, and so that part's interesting. So I'm gonna tie this in. Um
Yeah.
I'm gonna tie this into because I think this this idea of like what's actually changed and what hasn't. Um there's this whole section of chapter four evaluating AI systems. Um excellent frameworks, right? There's these like, you know, you have these hard attributes, like what does the model actually offer? Uh there's public benchmarks, um, you do private evaluation, and then you do sort of like production monitoring. There's this sort of like life cycle that she talks about in there.
That part also hasn't changed. Like if you actually know look, the tooling around this has gotten so much better. And I think that there's some old data science y ideas here that are like super important, right? There's always this sort of c tongue in cheek idea that as soon as a benchmark becomes public, it gets gamed. Um, that uh, you know, you have to be really careful of like, does a benchmark how is the benchmark even built? And is it actually gonna serve your purposes? Right. So while it is important to see where it lands on a benchmark.
across the models that are available. Um, you really need private evaluations and private benchmarks to understand what these tools do to solve your problems. One of the sections that came in here though that I thought was really interesting and I thought I would love to get your insights on too, build versus buy. And this, you know, at the time, and again, it was talking about Llama's uh like 700 million dollar, I mean sorry, sorry, 700 million parameter um model and how it just really
They can't catch up, right? And again, it was a glimpse back into a world where the open models were not catching up. They really were lagging. It really was kind of like a uh not so great. And now we're, you know, because especially because of these Chinese sourced open um open weight models. And I I like to I don't like to call them open source because they're not. Um I call
Right, right.
them open weights. And we should give this for a second. The the book actually touches on this.
Open source traditionally means that you could reconstruct everything from scratch. To me, that's a stricter definition that says I also have access to the data that it was trained on. That maybe I can't afford
Right, right.
to train it on that data, but that if I did have all the data and I had all the training um code, I could reconstruct this model, right? No modern model is being offered that way. None of them. Like
Right.
and so really what we're talking about is that it's an open parameter model.
where you can go in and see all the parameters that go into these like crazy things and you could do alterations to this or study how the system itself functions. this is the sort of big gripe that academia's had which is that hey, they really have no idea how the you know foundation models work other than like poking the box from the outside. Um and in this one it was basically like hey the open models, there's no incentive for the open models to be anywhere near as good.
So they're always gonna lag way, way, way behind. And so therefore we're in a world where we're always gonna use foundation models. I think this argument is broken. Um the open feet the the the open parameter models are so quick to catch up and it really is kind of the you know, raising the bar of like what uh a foundation models even allow to perform at that um I do think that we're in a world in which
You know, again, even if everything imploded from a foundation model standpoint that we, you know, yeah, what is his name? Zitron or whatever, the guy who's like saying that that, you know, the economics are not sound and it will all these companies are
Right, right.
gonna implode. Even if that's true, we have these open models that you can run yourself. And that even if the industry collapses, you aren't stuck without like these tools that you're invested in could be run self-hosted on some expensive hardware, but you could do it, right?
Um, it's not like if Bitcoin or an NFT network collapses and therefore the entire usefulness of it goes away. you know, and and I do again, that's an area where I think this is different. And I think that from a model selection standpoint, we've gotten really good at making it as easy as possible to hot swap models.
Right, right. I mean, that's something I th that's something I've talked about, which is again, they want to build the machine god. I think they're probably gonna build like SaaS companies, like something more akin to AWS, because it's just so freaking easy to hot swap your model, right? Like I could switch I I use Claude Code pretty extensively. And I could switch to Codex tomorrow and it would probably take about two days for it'd feel like a little weird for about two days, is it like, you know
learned all my memories or or things like that, but really it's fine. Um, which is why they want to lock you in via like like I here's here's a here's a development that it surprises me that this has not gotten more uh like that they're not further ahead on this is coding agents in the cloud. I keep hearing about coding agents in the cloud. I am very, very interested in this idea in the ability to kind of like
Have just copies of my code base running in like anthropic servers. And then I can just spin up like thousands of agents all working and they can have like kind of long-running tasks and they can be doing verification on their end. Like every company I know is just building this internally for themselves. And like someone's got to crack this, right? Because like that to me seems where the real lock-in would be is if you were like.
Very locked into like the anthropic paradigm of the cloud coding agent. Um, even then though, it's like how hard would it be to switch to the open AI paradigm or the the Google paradigm?
I so I I will say that, you know, it's uh it's not broadly distributed, but I I think the term that people are starting to to call it is sandboxes and
Right.
Cloudflare. Um who has them? Cloudflare, Vercel. I've been using uh exec.dev. I've been actually a huge fan of exec.dev. I actually
Mm-hmm.
don't do any local dev anymore. I don't trust the agents to be on my machine. Um
And so
I gotta look at Exec DocDev.
executive's awesome. It again, this is not a paid sponsorship. I will have to disclose that. Um, CTO, co-founder of Tail Scale, I think I'm attributing that correctly. This is his new company. And the thing that I like about it, number one, it's all SSH. Even logging into the web app, you can just use SSH to to hand
that's fun.
that off. And everything's managed over SSH. You can just like SCP stuff into place. It's really nice for that.
But what I really like is that you pay for an amount of RAM and storage and CPU, and then you decide how you're going to provision that across whatever number of VMs that you want. Um, but the interesting thing is you can make these sort of like forked derivative clones. So if you have if you get a machine to a certain state and you want to spin up a subagent, you can actually spin this off into its own VM, cloning the state of that machine so that it has all the context and
API keys and everything else that it needs, and then put it away after it's done. So it kind of is like a layer above a subagent. Um, or you just have persistent long-lived machines. You can do all kinds of stuff. You can expose ports that are protected behind your your exec.dev. It's like a lot of these useful tools of like I have agent sessions that I'm and for me, then I put inside of that I put her with Claude Code as my daily driver. But if you're using a tool Herder,
Which is kind of like CMUX, but works everywhere. you could have multi-harness setups. And there again, there's all these tools now that you could actually go and be as complex as you want to be. Um, and so yeah, I mean, like obviously you're constrained by how much you want to spend. And there are that's for my personal development environment. Obviously, there's another one where we want sandboxes to do agentic things, but more of like a web app.
I think you're right though, until
Mm.
we make it like dead simple and we understand that the the pattern's worth investing in, because I think that's where the lot of the noise is too. It's hard to understand what a company should be adopting, right? Um and so yeah, I think I think that's the but there's also like Databricks, for instance. Like if you're in the Databricks universe and you're doing a bunch of like big data analysis stuff, they have an entire agent agent and sandbox framework.
now two that are like long lived. Um and of course their stuff is mostly to to go over private data that you have stored in your Databricks setup.
Right.
But it's very like context oriented. Um but yeah, I I it it is. It's it's it is interesting um to figure out I don't I don't yeah.
Have you
with ex with with ex exec.dev. Um and by the way, for anyone that's exe.dev. I did exe.dev. so ex ex X I I think I would just say
yeah, sorry, I probably mispronounced yeah, it's exe dot dip. I don't actually you know, I actually don't know how it's supposed to be pronounced.
exe, but maybe maybe that's not how you say it. Let us know. Um, anyhow.
How do you do how are you handling like verification? Like that's something we struggle with, like with our autonomous agents. Is like sometimes we just need them to make like the UI changes, right? Which is great. But then they like do this code and then it's like there's no screenshot or video. I'm just like, well, if I have to pull this down and run it myself and then like stand it up and navigate to the page, I'm like that, then this is barely useful. Like I want it to just attach the screenshot. Have you been able to do anything with that? Or I I know you don't do a ton of front-end stuff, so maybe it's just not as
Don't
but um
So I don't use agents for that type of thing. I'm I'm trying to think it my overengineered book overflow.io, we
Mm-hmm.
do use playwright for some UI stuff. And so I again that's sort of a deterministic framework, right? I'll use the LLM to help build out the playwright. The playwright will um do its stuff and it can provide evidence through screenshots and stuff of what's going on. So I just kind of lean on those tools. Um But no, I don't actually don't know. I don't
I don't know what I would do in that in that solution. If I again these are these are all really interesting. I I also, you know, I I haven't found a D priv framework that I'm super happy with too. Right. Like right now I have to
Mm-hmm.
think a lot about like how much access am I getting this tool or that. Is it doing
Right, right.
it on my behalf, which is can be spooky, or am I spinning up, you know, its own lower priv auth stuff that it it does? Um I really wish
In the same pattern with uh exe.dev or however we pronounce it. Um, I really wish that when I'm asking a subagent, I had some sort of credentials broker that said,
Hm.
give me the lowest, like give me short-lived lowest priv uh, you know, tokens for the tasks that has been described, and then pass that into a subagent and do it with a like a clear audit trail and do all these things.
There are lots of hacks for it, but I wish that we had like authentication protocol that would say, let me waterfall like whatever my permissions are, give me a allow me to describe a subset of those permissions and then pass this like derived token through my authority. Right. And that we could again, that was in some audit log where I'm like, okay, the agent on my behalf using this subset of these permissions is allowed to read from an S3 bucket or whatever. Um
In that way it make life a lot easier. So I I don't know.
That's something think
about with like LLMs, the what you're describing. Like there are some kind of like paradigms or protocols that it feels like we haven't invented yet because you know, this is a a new thing. But I wonder sometimes I'm like there there's been a lot of talk about like we've got to redesign a lot of these like systems or businesses to be like AI native or like agent native or whatever. And I'm like, that could be true. I I think it might be true.
Right. Um, which, if that is true, presents a lot of really interesting business opportunities. Or do the agents get so good at like general computer use? Like there's obviously with like chat GPT dots or grokbot or muse or whatever. Like there's been some good advancements there that like maybe you don't need to redesign anything. Maybe they just you know maybe you don't need an a a native DoorDash. You can just go and order DoorDash on your computer with your robot.
This is where like I do think that this is just a large scale worm attack waiting to happen. Right. Like w the my problem
Hm. Okay. Okay.
here is a lot of these tools are asking you to let your guard down. And
Yes.
I don't think that that's ever good security advice. It's just like, hey, you know, hey, you know, put your password on a post-it note and pass this along to your friend. You're like, mm,
Yeah, right, right. Yeah. Yeah.
pretty terrible opsec, you know, very convenient. I get it, you know.
Right, right.
But maybe, you know, but but even then you get into this thing of like, okay, well, I have a password manager, like one password, it has a command line tool. I'm just gonna use that. And you're like, but is that a good idea? Like, you know, unless you are giving it a constrained view on what lives in the password manager, you're still giving it access to your password manager, even if it's doing
Right, right.
taking lots of care to not inject those secrets into terminal
Right, right.
history and all the other stuff that you should care about.
Really, I mean think of it if we want to use one password in a secure way, I should have a vault that temporarily moves credentials into that vault. And then I should have another one password identity that's on behalf of the agent that is given access to this ephemeral vault to do its
Uh-huh.
job during that window of time if I have to have password keys. And then I should rotate they should either be an ephemeral tokens or I should rotate them after the task is done. Like
If we're wanna talk about really good opsec compliance stuff, but I have not heard it I I have not heard a single utterance of like this is
Yeah, I'm I'm with you.
of this is the responsible. I'm just and I'm just thinking about like, I, you know, I again I'm a platform engineer, SRE background. I have a decent number of friends that are in this sort of r red team hacker community, and they always impress me. And I always try to think about all the really creative ways that they can do things.
And um we are making red team capable LLMs on our machines all the time and we're like hoping that the, you know, guardrails that we're putting on the machine are good enough uh and that they don't get tricked into being compliant to something that they shouldn't be compliant for. Um I would rather they knock on a door and the and no one answers, right? I would rather that the credentials just don't allow them to do something that they can't do in the first place. Um
And that's the thing with these models, is like and what I think some of the AI hypsters don't realize is like even if these models are like 95% accurate, like that is not good enough for a lot of what people need. Like I actually would call the models to a degree like 95 or 98% accurate encoding, because one, there's a lot of times where I'm I keep going back and forth and back and forth with the model on like
Okay, what are we gonna build? No, I don't like that approach. No, this is better. Let's do this. Okay, now build it. And then they build it and they do a pretty darn good job of building it, you know, the the right way once you kind of are aligned on the plan and just needs to like execute the code. But every now and again, well, one, I frequently in the planning stages catch them like, okay, no, what are you talking about? We're not doing that. Or when they actually write the code, sometimes they'll find like weird funny things. I'm like, what? Like that.
Why did you do that? And then like, and it's fine because I review the code, I ask it to fix it, we move on. Right. And so like that 98% accuracy actually works really, really well for software engineering because you review the outputs, and before it can affect anyone, it, you know, like there, there's a human in the loop. Um, or
Right.
even if you want to be like super AI native, there's another AI agent reviewing the code. And, you know, that there's ways to basically check and be like,
Before before you go too far, I will validate this is correct. But I saw like on Twitter, someone and and they knew what they were doing was kind of like silly and stupid, but like they had like a muse subscription, like 20 bucks a month or whatever. And they gave the instruction to the muse agent, like, your job is to figure out how to make $20 a month to pay for yourself, right? Like do whatever it takes to make that's not illegal to make $20 a month, right? And like it wound up going through all of his Slack messages, like DMs and sending his Venmo link.
To everyone and being like, Will you please pay me? Please, please, please give me twenty dollars, right? And like he went to like his boss. And so, you know, he's at like an AI native company. So like his coworkers found this like just an amusing little tale, right? But like for a lot of people, like, no, you can't do that. Like the they're the the tail risks are are catastrophic
it's
here.
there's not a better term for it. It's irresponsible, right? And again,
Yeah, exactly.
the i I I don't have like it it it just bl boggles my mind that you're like, well the agent just did it. And I'm like, you let the agent
Yeah, exactly.
just do something. It's like don't hand a toddler a handgun. Like that's you don't want to find out
Yeah.
what it's gonna do. Like it's gonna be terrible. Um so one of the things that to to we're we're gonna loop this into chapter six, because I think chapter six might have been my favorite that
of of these three, though I think there's really useful stuff in four and five. Um she talks about compounding errors. And this is exactly sort of this this thing here. A 95% um you know 95% accurate step if you have a multi-step agent. So she's this chapter's on rag model stuff and then also on agents and we can kind of get into this. But here's the thing about agents and why they were again at the time there's a lot of skepticism that agents could even be a viable usage.
If you have a 95%, you know, uh accuracy rate on a single step, it becomes 60% errors 10 steps in, right? Like that that little bit of wiggle room compounds. And so it, you know, if you have a mostly reliable system and then you pack multiple steps of a mostly reliable system, you actually the emergent property is an unreliable system. And I think
Yeah. uh
that you know, the the this is where the the vibe coding dreams.
Go sideways, where the hey, I'll just let the agent handle everything, is that you end up getting this, you know, it goes off onto level tangents, or it focuses on the wrong thing, or it actually builds something that's quite dangerous. And if there's no scrutiny, if you have these, you know, 10,000 lines of code pull requests and somebody's eyes glaze over and go, Okay, cool. Um, can somebody rubber stamp this? And they just do because who's gonna read a 10,000 line?
thing or reason about it, um, you end up getting to a system that's not, you can't reason about it, right? Um, and it's not that different than the guy who begged everybody in his company for
Right, right.
for Venmo payments. Because like I've run into this recently. I I there's a client I've I've done work with where very AI forward and you know unfortunately we're in a world in which you can just let your guard down and slip, right?
that there you want to keep things at a high standard. Um i it'll slow you down, obviously, if you keep yourself human in the loop. But I, you know, we have this internal idea that you should be able to number one, explain the change in a couple of sentences. And that number two, you should be able to whiteboard the thing that you're building. Like I those two things, if you violate either of those, I think that you have either created a PR that's too large. I think that you've
Right.
probably you know, and and again, we get into the step of
This is an irresponsible change. You introduce an irresponsible change. And if then you sign off on it, you're culpable. You're in the conspiracy of irresponsible changes. And there's a lot of pressure
Right.
to just let it go, right? Um, and maybe that one PR isn't going to be the end of the world. But what happens is what happens when you do 15, 10,000 line of code changes that nobody can really reason about, and then you get back from your.
Company offsite, and you're like, why doesn't anything work the way that it worked in my mind,
Right, right.
you know, four weeks ago? Um, and I think that's that's where this sort of agentic stuff is. Again, she brings up some really wonderful ways to think about weird failure modes in agents. And while I do think we've addressed a lot of them, there's a lot of amazing things that agents can do that they couldn't do when the book was written. When things go sideways, looking at this section of the book and being like, oh, yeah, like.
These are all the reasons that things are still breaking when they break, right?
Do you ever intervention community or conspiracies? Do you ever watch community?
Oh, that no, I I I like all the actors that are in that show, but I I've never sat down and watched it.
There there's a great episode where it's like uh community is kind of famous for like it's they'll do like parodies of film genres and one of them it's like a like a conspiracy movie uh parody and it's uh and and kind of the reveal is like at the end that like the dean has been like it's like you think one character is conspiring against the other, but then they're conspiring with the dean, but then like they just keep doing all these reveals and it's just revealed that the dean has just been accepting any conspiracy offer that comes his way, and that one of the characters like
Do you even know what conspiracy is? Like if if you agree to conspire with everyone who approaches you, you're not conspiring against anyone. You're just doing random crap for fun. Again, that's uh when you're talking about like this idea of like the compound error and like age, you know, and not knowing what you're doing. I'm like, you're not even conspiring against anyone. Like you're just writing random code for fun. Um yeah, there there were some other great moments in chapter six. Like I love what she talks about the the context expansion law. She she basically says that like
Look, the the agents' context windows are growing. It's debatable how much a larger context window helps. Like we've seen like Google, even like a few years ago, triumph like, it's got two million tokens of context. And we kind of find that like context rod is a thing, and that that middle agents recall much better what happened most recently, or what was at the very beginning, and a lot of that stuff in the middle tends to get lost. Um, but basically, she said, like, she thinks that.
A model, an application's context will just grow to fit the window, right? And so that as contexts get larger, like she calls it context expansion law. Um so she thinks there will always be a room for rag because there's like not really a reality where like the window gets so big to encompass all known knowledge in the universe. Um Anthropic did have a rule of thumb I thought was interesting where they basically say if your knowledge space is under 200,000 tokens, which it's about 500 pages.
Just put it in the prompt. Don't bother with rag. And I thought that was really interesting too. Um I need to understand
Yeah.
better like prompt and token caching because I'm immediately like, duh, like you're gonna, you know, send 200,000 tokens to, you know, to answer like, is my dog sick or whatever? and uh, but you know, I I know with token like prompt caching, maybe that is a cheaper query. Um, but I'm I'm grateful.
I think one day I will probably work for or or work on a problem that involves like us owning the token cost for users. I'm grateful I don't struggle with that yet because like I just get so squeamish at the idea of like, my gosh, you are so at the mercy of these providers and what they charge you.
I will say um I I was talking to as I I go to the a gym, do group workouts one like Monday, Wednesday, Friday, uh at like 5 30 in the morning. And there's uh a couple other software engineers who work remotely who happen to be there as well. And this one guy I was just kind of talking to, they were working on a project that that uses agentic um like model interactions with customers. And I think they mostly stayed on the clo on the
Enthropic models, and I think they were using something like on Opus 5.1 or Opus 5.5 or something like that. I can't remember exactly what model they were on. It might have been like 4.8. I can't remember what their upgrade cycle was. They recently just did a big revision and realized that they could farm out a lot of stuff to subagents using 5.5 haiku because they had really clear they they wanted it to be the temperature to be very low.
They you know, there there's like very specific things that they need tasks that they needed to do. And after doing it, they actually got they dropped their operational costs on these tools ninety-seven percent.
wow.
And it was the first time I'd heard recently of of like folks that are continuing to use foundation models, right? They're not self-hosting, but they're able to do valves, do benchmarks, do all of the stuff to measure like, hey, is this actually operating as good or better than it was before? And then use these.
these tools to kind of like solve their problem at a you know huge, huge operational cost savings. And so I I will say I'm optimistic. I think if there are businesses who are doing that kind of thing where they're like, hey, we appreciate all the frontier, you know, but max intelligence stuff. But really the type of problem we're solving, haiku handles just fine with a good prompt is uh, you know, I think that's cool. And again, I I think you have to have a discipline of measurement and benchmark.
And uh it yeah, I I hopefully that we get to a point in which metering tokens is like not even a conversation before. I mean conversation anymore.
Right, right.
And I know some folks have talked about this, but I actually I do think that there's a a reality upon which we could we could get into that world.
Yeah, yeah. I mean, and I think I mentioned before, but like I'm I'm torn because like on the one hand, I love the idea of like inference margin just goes to zero because not a huge fan of these big laps. I I'm I think they're run by weirdos. On the other hand, I'm like, maybe that's a big yeah,
Same
maybe that's a big problem for like human employment if like tokens are essentially free and like you could just brute force every single knowledge work.
known to man. I don't think that would happen, but like
So and that's where I disagree. Like I think that we seem to chase complexity where I think that there's certain types of problems that are going or certain tasks, right? That we've talked about with Carl that are gonna go away. Like those really are gonna be so uh cost effective. I'm also in the Kelsey Hightower camp where I'm like, hey, uh we should also still use these things to create deterministic outcomes, right? That I think that
Right, right.
but um we have a really amazing
Ability to as soon as we've categorically solved certain problems, we just move on to new categorical problems to work on, right? I I I think society will shift. What's considered poverty and wealth are going to shift. Um the types of thing scarcity stuff in in abundance, those are gonna shift. Some of it's gonna be good, some of it's gonna be bad. I think we all kind of understand the cast of characters who are probably gonna not still be trustworthy. Um I all of these things are
I I just I don't think we're gonna live in a world in which um these this is where I don't think that the promise of the frontier models are going to be met. And I also think that um I also think that like as soon as we are able to do really amazing things cheaply, what we think of as work is just gonna be different. I don't but I think we'll find work. I'm I I I I'm just speaking for myself and maybe this is a cope.
I like working on stuff. And so if somebody's like, hey, I don't need you to work on this type of thing anymore. I'm gonna go, okay, I guess I'll find something else to work on. Like it's
Right, right.
not just like, nope, I actually I decided that this was the type of work I'm doing and that's not available anymore. So I'm gonna sit on my hands, right? Like I that's not I don't see a world in which I would if I could never work with a computer again, I would like learn how to become a welder, right? Like I I would
Right, right.
I would occupy my time with something, right?
That's again like I've
You know, I I think there's a I I think it's interesting what informs your worldview. And I think uh religion forms obviously greatly informs a worldview. And like, I don't know, by the sweat of thy brow thou shalt earn thy bread. And so you I I think that whether or not you believe that is like divine scripture, uh you know, communicated by a higher being to tell us what our purpose is, or
What just generations of humans have kind of decided we find purpose in this. It it means a lot. It means that we as humans, like people talk about like the post-scarcity economy or whatever. And I'm just like, I think we'll all go insane. I think we'll kill each other. I think we got a view of what the post-scarcity economy looked like with COVID. And we all went nuts, right? Like we as humans, like we we need to work, we need to build, we need to.
be engaged in something. Like every experiment we've run with like just sit on your butt and consume, like, people go crazy. They they're miserable. And so, you know
I d s that's
interesting inside I don't think that COVID was a glimpse of post scarcity in my opinion. If anything, it was it was actually like exacerbated scarcity um because you were trapped, right? Like we we couldn't make yeah.
Yeah, I think obviously the trap nature of it makes it, you know.
So so and and I'll throw a secular view on this because I do think that that's also there's a guy named Alfred Adler, um, who is a contemporary of Freud, but was not a Freudian. Like he just but he was another
German psychologist. And his argument, and again, maybe this is, you know, sort of Western civilization focused, but I don't think so. I think that this is actually like a human nature type thing, which is that um he he argued that we have these life tasks and that like work that is fulfilling and that you feel like you're contributing to others. It does not have to be paid work, right? I think that there are people who are caretakers in their home or family members or whatever.
Um, if you feel that what you're doing is meaningful, there is a that is one of our life tasks. Can we find tasks that make us feel connected? Um, do
Right, right.
we have friendship and community? Right. Like we need those things. We need friendship, we need
Mm-hmm.
community. Um, and then love, right? Like so
Yeah, yeah.
and this is like I think that there's a lot of religions that tie this in. Like I think that there's beautiful ways of describing this within a religious framework.
But even if you had a f you can have a secular framework that's not doom and gloom. Like I am
Wonderful. Yeah.
personally motivated to find fulfilling work, friendships and community, and um love, right? And um how we find that, where that source comes from, how we attribute it, I do those are reasonable metaphysics things to come up for debate. Um But yeah, if AI, if AI replacing this or that.
replaces those three things or makes it so that we can't participate in one of those three categories, it's mentally corrupt. I mean, it's like it's like it's morally corrupt. Like we should we should not do that. It should not impact negatively impact my love, my ability to build community, or my ability to do fulfilling stuff, right?
And that's like that, that's a whole angle we haven't even talked about a ton on this podcast. Uh I think Carl's mentioned it. Um, but it it actually really, really concerns me. Like there's this great, like, I know if it's like an old 4chan post or something, but like, you know, it's like back in like the 80s, it's like, I want to screw toasters. Like that's what I that's my greatest ambition. Like, mention it to my friends. They say, What on earth are you talking about? You know, abandon the idea, move on with my life. He's like, now you're in the 2020.
Or 2010s or whatever. It's like, I want to screw toasters. Find a community online called Toaster Screwers United, right? Like, ruin your life. Um, and like I think we've seen a lot of like bad, like the internet is obviously great. Like, we love the internet. Like, I think it's really cool that like we we have this podcast about reading software engineering books, and like our audience is distributed across the world, and we formed a really cool community.
of listeners, uh, because of this very niche interest. Like that's great about the internet. But I think there are also weirder niche harmful ideas. Like you even see this with things like that we all agree are harmful, like eating disorders, right? Where they find each other on the internet and encourage those bad tendencies. Exactly, right?
Mm-hmm. Or communities of mass shooters, right? Which is like you, you're like, there's
really a group of folks that, you know, tr trade certain horrible videos or tur talk about certain topics. And you're that's it's the internet's a place for those people as well, right?
Right. And so I worry about a future with like, now you have this machine that can just agree with you in every on every dimension. Right. And like people are already forming parasocial relationships with it. And you know, like, at least if you go to like the am I the a hole subreddit and and describe some situation, even so is it really funny with like people will describe situations where and we always try to make ourselves sound like the good guys when describing these situations.
And sometimes you'll even get that subreddit. It's like, you you're the a hole. Like, what are you talking about here? This is crazy.
Yeah.
And like, what happens when you have a model that can just like, No, no, no, you're very brave, you're very strong, you know. Anyhow, this got very metaphysical. Uh yeah.
It's the it's the it's the Mark Zuckerberg problem. I
think I think he talks to his LLMs a little too much.
Yeah, I I know, right? Really, uh I think uh this episode should communicate our great respect for Chip Huyen and I think because which I'm
It's a good tie-in.
sorry, Chip. Uh really because I I just want to emphasize like how impressive it is that Chip she wrote this book two years ago. To write a book two years ago about such a fast-moving field and have it kind of be so applicable.
that we're reading this and kind of like, yeah, yeah, yeah. Like we understand a lot of this, right? And like, um, I think that demonstrates a really sophisticated understanding of like not just the hype, but like the the fundamentals of this very new field that's transforming the world. So, you know, as far as like our usual wrap up questions, as like what we'll do differently in our your career as a result of this book. Um
Like just like after today's discussion, I'm like, I'm gonna read the Bible. exactly right. No, I actually uh
I'm gonna go yeah. I'm gonna goes I'm gonna go sit in a cave and not talk for thirty days. Meditate.
we just stood up at work a uh a work MCP. We have an internal and an external one. So like the internal one is, you know, for like our ops users to like take care of tasks and then our external one is like we have a few tools exposed to our users to interact with it.
I have not done any work with this yet. And I would like to. I think there's a lot of tasks that even I'm doing like sometimes is like as part of my on call work where I'm like, really? Like I I should I should have Claude do this. Like I think we you know, I this is just basic lookup stuff that like is if is authenticated to only the proper users with proper access. Like this is way better than me doing our kind of legacy way of like our our crummy UI we built or even querying the database directly. So I'd like to contribute more to that. What about you, Nathan?
I we didn't really get into it uh too much in this episode, but the in like I've I've always watched what the public benchmarks are like. I would love to make a sort of a toy app internal benchmarking framework and use it to compare models for certain types of tasks that I that I think think would be interesting. Um so yeah, that was a this inspired it's been on my to-do list for a long time, but I'm like, okay, I actually think I have the vocabulary and the focus this
book describes quite well how to like think about what the purpose of a benchmark is and what kind of things can go sideways. And so I don't know. It gives me a little more confidence to actually like dip my toes in.
As far as recommendations, um, I mean, really, I would say last week I said anyone interested in how an LLM is really trained. Like, I just think, you know, if you're someone who kind of knows the basics of of LLMs and you're like, yeah, I know about prompts, I know about evaluations, I know about rag, but like I want to know everything about these things. Like, read this book. This book holds up really, really well. Uh, again, for something that just, even though this book is is fairly recent, like it's a fast moving field. So, you know, it's
Chip is obviously knows a great deal about this field. How about you, Nathan?
Yeah, same idea. Uh software engineers that you're getting deep into the AI tooling. Maybe your draw maybe your role expectations have shifted. Y'all started mentioning words like evals and benchmarks at work, and you're like, I don't even know where to get started. I don't even understand actually what we're measuring here. Um, this book is gonna be more than capable of making you able to speak intelligently and understand what areas of focus that you should have.
And so I'm building on what I said last last week, which is I do think that if these types of tasks are are increasingly part of your job, um, this is one of those books like designing data intensive applications, right? If you're doing big distributed database stuff, read that book. It you're gonna be nothing but happy from it. If you're doing AI stuff and it benchmarks and evals and understanding how context windows and prompting works, um, this is like a foundational book for that.
Well, there we go. Thanks for listening, everyone. We'll wrap up this book next week. Um, you can always find us on bookoverflow.io. We're on Twitter at BookOverflow Pod. I'm on Twitter at CarterMorgan. And uh Nathan and his work with a consulting agency are at rohorobato.com. Thanks, folks. We'll see you next week.
Yeah.