Hey friends!
I hope you've been well! I had such a busy week, I admit it was kind of a blur for me. Let's surf!
Was this forwarded to you? You can subscribe here!
A case for abandoning web analytics
Patterns for Reactivity with Modern Vanilla JavaScript
Calling an imported API at runtime in Astro
The invisible problem: Text editing on mobile
I spoke at CodeWord Conf this past week! It was a really cool event. It's rare to see events that are specifically around technical content and content creation, like this one. I genuinely enjoyed all the talks, so much so that I'll be rewatching the recordings!
JSON Web Tokens (JWTs) are Not Safe.
In this book, we go into JWTs, their perceived benefits, and actual dangers. We'll also discuss battle-tested solutions to replace them. We'll explore:
Finally, you'll also learn how to use Redis + JWT! Another common approach to managing user sessions.
Last week, I had you build a staircase!
This week's question:
Using the PokéAPI (or your own local setup) write a function that takes in a Pokémon type
, and returns what that type is weak against, and strong against. Here is the listing of types and here's an example JSON for the fighting
type!
Example:
> typeMatchup('fighting')
> "Weak against flying, psychic, and fairy. Strong against normal, rock, steel, ice, and dark."
> typeMatchup('cassidy')
> "This is not a valid Pokémon type, she's weak against everything."
// You can put whatever you want in this response, heh.
Custom acrylic numpad with typewriter keys
How to Sharpen Scissors Like a Pro at Home
Admiral Grace Hopper Explains the Nanosecond
1912 Rauch & Lang Electric Roadster
I started a new business making large boats in my attic this year... the sails are going through the roof!
That's all for now, folks! Have a great week. Be safe, make good choices, and share this with your friends!
Special thanks to Gabor, IceSloth, Ezell, Ximena, Sebastián, Ben, Sema, Kinetic Labs, Kara, and Carmina for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork | mastodon