news
today's howtos
-
Ronalds Vilciņš ☛ Prevent Scroll Chaining With overscroll-behavior
A scrollable list reaches its last item, but the next wheel movement sends the page behind it scrolling. That hand-off is called scroll chaining. overscroll-behavior lets a scroll container prevent it at its boundary.
-
Raymond Camden ☛ TIL - Postman and OAuth
Of course not. So what follows is something that probably most of you already know, but that I was really excited to discover today so if at least one person gets excited about this as well, then my job is done.
As most folks are aware, to call an API with oAuth protection that needs to turn a client id and secret into a token, you normally hit a specific endpoint for that operation, get that token, and then use it in your next call. What I didn't know is that Postman has great built-in support to do this for you. For my needs, I'm hitting Battle.net's APIs to build something fun for my new WOW Forever character. Their getting started docs show you how to do the credential to token operation and then use the token in a protected call.
-
Dan Q ☛ Dynamic Sorting in Pure CSS
I've talked before about how it's possible to filter a set of elements, in response to user requests, using only HTML + CSS. But did you know that you can also sort a set of elements. And it's pretty easy!
-
Maury ☛ A bit about email
This forced the MTA and MUA distinction: if the recipient's server isn't up when the email is set, the sending MTA will save the message and re-attempt delivery later. This way, short outages don't cause bounced mail. Since the mail client is an interactive program the user runs, a separate message store is needed to keep the email until it can be read.
Most MTAs are configured to continue retrying a message for five days, usually with exponential backoff: mine will wait 5 minutes after the first failure, and increase the interval to one hour during prolonged outages.