Skip to main content

about 3 years ago Syntax Podcast

Potluck × Warp × Skeleton UI × Edge Functions × Donut Scoping

Wes Bos

Wes Bos Host

Scott Tolinski

Scott Tolinski Host

Topic 0 02:38

Render Atlanta conference

Wes Bos

another episode on on conferences on, like, how to get the most out of them and Maybe even getting into speaking because that's questions we have as well. But Are you using TypeScript's Why would I even need to use something like a ready. Edge function or can I just keep going with my

Guest 2

rid Had a had a really good time. So, yeah, I I'm I'm right there with you. What an awesome,

Guest 2

Refresher. I got to hang out with some, you know, wonderful folks from Mux and,

Guest 2

total vibe,

Guest 2

some of our our good friends from all over the planet. So it was just really cool. Wicked. Wicked. Ready. Yeah. All right. Well, maybe we should do just, virtual inputs. It said nothing. So That's odd. Yeah. That's where we're at today. Yeah. It's like one of those things, like, rid Every single little bit of software that I was trying this morning since I've been in my office has been failing in some way. Like, Notion was not letting me do headings. Rid Like, I would do the hashes It said no audio inputs available. And like, what do you mean there's no audio? There's an onboard microphone. There is,

Guest 2

Yeah. That's news to me. I thought I was just calling it render ATLs. I was part of the problem. But, rid Render Atlanta.

Guest 2

and it felt great. I felt, Just hung out with the coolest people, you know, met met so many people from Twitter that you

Wes Bos

Oh.

Guest 2

what, last year? Yeah. And,

Guest 2

I haven't been up there solo giving just a straight up solo talk since pre COVID myself,

Guest 2

Yeah. I was at render, rid Never met in real life or whatever. Yeah. I talked about CSS. And I gotta say, I was on the the big stage, and I haven't given a talk that rid Big in front I mean, we did together on stage at Reactathon,

Guest 2

I felt very confident. I knew what I was talking about. I was really into the subject matter and whatever. Everything was great. Even though I had Everybody had technical difficulties. There were some craziness with the audio setups there, but you know what? I just rolled with it and,

Guest 2

Atlanta. I've been told I was told while at render Atlanta that it's not rid. Actually, render ATL. It's render Atlanta.

Topic 1 00:11

Potluck of questions

Wes Bos

to Syntax, the podcast with the tastiest web development treats out there. We've got a potluck for you today. Some really good questions on rate limiting.

Topic 2 01:56

JS Nation conference

Wes Bos

Oh, awesome. I just got back from

Wes Bos

in Amsterdam, and it was my first other than Reactathon

Wes Bos

it's been pretty stoked about that. And like the the invites for the conference are starting to roll in. It seems like a lot of people are like back. And man, it's so refreshing to go to a conference seeing everybody and chatting and rid. Talking is great. You went to a conference as well. Right? a conference rid. JS Nation, which was out

Wes Bos

twice In San Francisco, this is my 1st like space you have available to yourself.

Wes Bos

big conference the questions we have for the podcast here. The first one we have ready. Is how do you it's from Alex Webster. How do you handle consuming rate limited API,

Wes Bos

again. Like, I feel like so good about API authentication domains.

Topic 3 00:00

Transcript

Announcer

You're listening to Syntax, the podcast with the tastiest web development treats out there. Strap yourself in and get ready. Here is Scott Talinski and Wes Bos.

Topic 4 04:33

Exceeding rate limits

Wes Bos

Rid. Is there a more efficient way to fetch all records without exceeding a rate limit? Yeah, this is really tricky because a lot of times submit it. Specifically, I've been working with the OpenAPI

Wes Bos

and those APIs will have a number of times that you can

Wes Bos

That rid. 60 seconds you can do as well as like how many tokens you can send it

Wes Bos

You are hitting APIs your rate limit API data via headers on a response, meaning that when you get a response back, they'll also give you a little bit of data in the headers that will say, hey,

Wes Bos

ready. Open AI API. Again, that's like the hardest thing in the world to say.

Topic 5 00:29

Edge functions

Guest 2

Things things started out well enough, but, yeah, today has been a a straight up mess. Like, just getting my my computer is not recognizing any of my audio inputs, What an awesome conference.

Guest 2

You know, and it's like I I did tear out my entire audio setup. Yes. But I did spend a significant amount of time dialing it in and testing it and making sure everything worked. And then I I pull up today

Wes Bos

We've got really good ones for you today. With me as always is mister Talinsky. How you doing today, Scott? Hey.

Wes Bos

functions?

Guest 2

in, you know, system preferences that normally shows all of the inputs.

Wes Bos

edgeless let's get into And if they refuse it, then you have to retry it. So has two limits on it. How many requests per

Guest 2

It's one of those days. I don't know what's going on, man.

Topic 6 01:14

Computer issues

Guest 2

or the pound signs, and it would just write pound signs instead of making a heading. And no matter what I could do, I could not get it to do a heading. And that's like, Man, that's par for the course. I'm I'm ready to to be that What a great time.

Guest 2

gift of the guy tossing over his desk here. I'm I'm ready to to talk about tech, but I'm mad at my tech right now.

Topic 7 04:01

Consuming rate limited APIs

Wes Bos

rid. From a paginated API endpoint. My current approach involves a while loop with a map loops and time out, which looks messy and triggers ESLint warnings.

Topic 8 04:55

OpenAI API rate limits

Wes Bos

Rid. The other way you can sort of do that is just try the request.

Wes Bos

this is kind of where you're at with how much ready. How do you approach these types of things?

Wes Bos

per hour. And the kind of frustrating thing about it is that they give you overseas, and it was really nice to sort of get back into it. And you mean since since COVID, right? Ready. Yeah, yeah, since COVID, so

Topic 9 00:20

Rate limiting, enums, authentication

Wes Bos

enums or rid. What's with the enam hate as of late? Welcome specifically when when you want to retrieve all products

Share

Empowering developers for over 286200333536 milliseconds!