I hope your week was a good one. I admit mine was challenging, but I’m glad to be in your inbox today. Let’s surf.
Was this forwarded to you? You can subscribe here!
This week was one of the more personally challenging ones for me. I don’t want to get into it so I will leave it at: hug your loved ones. If you care about someone, tell them, and call them!
Outside of that, my Scrabble keycap set is making a return! Folks who have been around here for a while know that I designed this keycap set back in 2017, sold it in early 2018, and I’ve been trying to make it come back. I’m really excited to have it back with refreshed fonts and colors, and it’ll be sold soon.
This week’s sponsor is Netlify!
Netlify is the most popular way to build, deploy and scale modern web applications. Millions of developers love Netlify for its powerful, yet simple workflows that make it easy to integrate their choice of tools and collaborate with their team to deliver the best experiences, faster.
Do you work on websites and web apps? Take the Jamstack Community Survey!
This annual survey helps us as web community understand what the tools and common practices are in the ecosystem. Share your feedback on Web3, programming languages, and web frameworks.
We’ll be sharing this year’s results with the community for free online, and at our Jamstack Conference later this year.
Speaking of Jamstack Conf - we will be live Nov 7-8, 2022 in San Francisco and online. Register now to attend!
Last week, I had you find the number of one digits given a number. This one was so interesting and subtly challenging, I loved seeing all of the solutions! Hristiyan wrote a really cool blog post here about how to solve it. And for the solvers, great work Sreetam, Aodhan, Will, Ryan, Eric, Muhammad, Kelvin, Garth, Saad, Ten, June, Vanessa, Chuan, Sophie, Zamar, Jagadish, Ciarán, Will, Theodore, Philip, Lucien, Chase, Gülşah, Leyan, Andrew, Mo, Ryan, Clov, Sofi, Don, Samu, Karla, Kyle, and Lucia!
This week’s question:
Given a list, swap every two adjacent nodes. Something to think about: How would your code change if this were a linked list, versus an array?
> swapPairs([1,2,3,4]) > [2,1,4,3] > swapPairs() > 
Did you hear about the claustrophobic astronaut?
They just needed a little space!
That’s all for now, folks! Have a great week. Be safe, make good choices, and thank you for being here!
Special thanks to Gabor, Stephen, IceSloth, Alaska, Josh, Conor, Ezell, Karthic, Ximena, Paige, Zev, Sebastián, Ben, Sema, Kinetic Labs, and Vadim for supporting my Patreon and this newsletter!
website | twitter | patreon | github | twitch | codepen | polywork