Hey friends!
I hope you had a wonderful week! Mine was absolutely packed with friends and family visiting in town, and it was really fun.
Also, on this Mother’s Day, I’d like to say hi to my own mother who reads this every week even though she doesn’t always know what I’m talking about: Thank you Mama! I love you!
Was this forwarded to you? You can subscribe here!
The Story of Concurrent React
We’re all living on it. But what exactly is The Edge?
Porting Zelda Classic to the Web
Can you use a WebP file as an Open Graph Protocol image?
This week, a Q&A that I did with some awesome folks over at GitHub went live! It’s all about technical teaching, and there’s some fun insights (not just from me)! Check it out here.
I also spoke at All Day Hey! this week! It was super fun, and until the talk recording is online, my slides are here.
And finally, we released V2 of last year’s April Fools’ Day prank with Stack Overflow, The Key! Version 2 is hotswappable AND has an RGB case! We sold out almost immediately. Hopefully this means it can come back soon. Nearly all of the proceeds go towards digitalundivided, a non-profit focused on helping Latina and Black women entrepreneurs! You can read more about it in The Verge and CNET!
Stytch is building your all-in-one platform for passwordless auth. We make it easy for you to embed passwordless solutions into your websites and apps for better security, better conversion rates, and a better end user experience.
With our APIs and SDKs, you can quickly set up secure, low-friction authentication and authorization with magic links, OAuth, biometrics, one-time passcodes, session management, and more.
Check out our super-smooth products and docs here.
Last week, I had you make a simple autocomplete function. I loved all of the creativity in the solutions! Great job Leyan, Amine, Divyansh, Will, Stef, Matteo, Vishwa, Joseph, Giancarlo, Ivana, Laurent, Les, Will, Rafael, Steven, Dan, Don, Ten, and Conor!
This week’s question:
You went on a vacation with friends. Each of you paid for certain meals on the trip for the group. Write a function that determines who owes money to whom so that everyone pays equally.
Example:
let receipts = [
{ name: 'Ximena', paid: 45 },
{ name: 'Clara', paid: 130 },
{ name: 'Ximena', paid: 100 },
{ name: 'Cassidy', paid: 140 },
{ name: 'Cassidy', paid: 76 },
{ name: 'Clara', paid: 29 },
{ name: 'Ximena', paid: 20 },
]
$ whoOwes(receipts)
$ 'Clara owes Cassidy $21, Ximena owes Cassidy $15'
The many gifts of awkward silence
The quest to explore Colombia’s untouched jungle
Pranks Destroy Scam Callers
I used this as my computer for a month
Two fish are in a tank. One turns to the other and says, “okay, you man the guns. I’ll drive.”
That’s all for now, folks! Have a great week. Be safe, make good choices, and stretch your wrists and hands!
Special thanks to Gabor, Stephen, IceSloth, Alaska, Josh, Conor, Ezell, Pedro, Karthic, Ximena, Paige, Zev, SebastiΓ‘n, Ben, and Sema for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork