Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Rain Paharia

๐Ÿ‘ค Speaker
467 total appearances

Appearances Over Time

Podcast Appearances

Oxide and Friends
Engineering Rigor in the LLM Age

For me, writing is not a natural skill for me.

Oxide and Friends
Engineering Rigor in the LLM Age

This is something that it's taken me many years of work to get where I am now.

Oxide and Friends
Engineering Rigor in the LLM Age

I would say if you're starting out,

Oxide and Friends
Engineering Rigor in the LLM Age

like practice writing, don't have the LLM write things, but like have feed it into the LLM and see how it behaves when you kind of do that.

Oxide and Friends
Engineering Rigor in the LLM Age

And like do, you know, that is the one bit of advice that I think, I think this is the kind of advice that, you know, is like timeless in the sense that we have always written things down and we will always keep writing things down.

Oxide and Friends
Engineering Rigor in the LLM Age

There's always a lot of value to that.

Oxide and Friends
Engineering Rigor in the LLM Age

But I think the, in the LLM age, like this is one of those ways where you can really multiply the amount of rigor you have.

Oxide and Friends
Engineering Rigor in the LLM Age

LLMs don't judge.

Oxide and Friends
Engineering Rigor in the LLM Age

Ask all the questions that you feel like you'd be embarrassed to ask a human.

Oxide and Friends
Crates We Love

Yeah. Is there anything like that? So I spent, it's funny because after we talked about it last time, I ended up spending a little while looking at it. And there are a bunch of great libraries and actually some of them that I wanted to talk about here. There wasn't quite anything that I noticed kind of hit that exact spot.

Oxide and Friends
Crates We Love

Yeah. Is there anything like that? So I spent, it's funny because after we talked about it last time, I ended up spending a little while looking at it. And there are a bunch of great libraries and actually some of them that I wanted to talk about here. There wasn't quite anything that I noticed kind of hit that exact spot.

Oxide and Friends
Crates We Love

And partly because I think one of the things that kind of becomes challenging is that you're If you want to do good error handling, and this kind of goes into the cosmic balance thing that you were talking about, Brian, if you want to do good error handling, often you can no longer use good type system things.

Oxide and Friends
Crates We Love

And partly because I think one of the things that kind of becomes challenging is that you're If you want to do good error handling, and this kind of goes into the cosmic balance thing that you were talking about, Brian, if you want to do good error handling, often you can no longer use good type system things.

Oxide and Friends
Crates We Love

So as an example, one of the ways you might model something in Rust is with a result of the OK value or the error value, right? But if you want to like collect errors, then often something you will do is you'll pass in like an ampersand mute error collector or something like that. And the value that you returned like is an option.

Oxide and Friends
Crates We Love

So as an example, one of the ways you might model something in Rust is with a result of the OK value or the error value, right? But if you want to like collect errors, then often something you will do is you'll pass in like an ampersand mute error collector or something like that. And the value that you returned like is an option.

Oxide and Friends
Crates We Love

And now you have to know that if, you know, there's kind of this implicit invariant here that if there is an option, then that means that you had at least one error go in and so on. A crate that I did actually want to call out, though, and something that doesn't quite solve this specific problem, even though I wish it would, is Miette. So Miette is a really, really cool crate.

Oxide and Friends
Crates We Love

And now you have to know that if, you know, there's kind of this implicit invariant here that if there is an option, then that means that you had at least one error go in and so on. A crate that I did actually want to call out, though, and something that doesn't quite solve this specific problem, even though I wish it would, is Miette. So Miette is a really, really cool crate.

Oxide and Friends
Crates We Love

It is kind of... So if you're familiar with Rust and, of course, DTolney's crateverse, you'll have come across this error and Anyhow, right? Miat is kind of a combination of this error and Anyhow, and it kind of meets both of those things. But another crate that it actually meets is Codespan. So,

Oxide and Friends
Crates We Love

It is kind of... So if you're familiar with Rust and, of course, DTolney's crateverse, you'll have come across this error and Anyhow, right? Miat is kind of a combination of this error and Anyhow, and it kind of meets both of those things. But another crate that it actually meets is Codespan. So,

Oxide and Friends
Crates We Love

If you're familiar, one of the things that's really interesting about Rust is that Rust C has great error messages. And I think that's one of the reasons that all of us feel pretty good about Rust, right? Is that fair to say?