Rain Paharia
๐ค SpeakerAppearances Over Time
Podcast Appearances
You see that even in the standard library, there's a few examples with the integer types.
You cannot click, for example, you want to see the next power of two implementation, which is a bit manipulation thing.
I want to look at that.
You click on it and it doesn't show you that.
It really sucks and I hate it.
I have made it a point in my libraries that I would much rather copy these codes just so that you can click through the source link and you can get it.
And so, you know, and so macros are just like, you know, they don't work with that.
And but the are the don't repeat yourself is to use a macro.
So it's like, OK, well, elements actually do provide a better solution to that.
It's like, you know, all the good practices like make invalid states unrepresentable and all of those things.
It turns out that all of that actually helps LLMs a lot too.
Yeah, so, um, this is kind of a project that, uh, you know, kind of a bunch of us were discussing and, uh, I decided to take on sometime around early December.
And, and so the project here is that, you know, we, um, as, as, uh, some of, uh, I'm sure some listeners may have heard of, like, we have done a lot of work in building automated update for our system.
So we have, you know, the self-service update, uh, thing now.
And one of the things it has to cope with is the fact that, you know, you're not going to be able to update everything atomically, right?
You're not taking the entire system down and back up again.
And so you need to deal with
you need to deal with like, how do you kind of, you know, like manage this and like this kind of skew while an update is happening.
So, you know, like my colleague, Dave Pacheco kind of has done this like genuinely brilliant design where like, you know, there's kind of the server side APIs, which is the idea is that this is an API that can talk to multiple versions of clients.