I hope your week was a fun one. Mine was packed with podcasts, a couple events, and meetings. Onwards!
Web links of the week
How to Use Websockets With Your Vue Projects
Announcing Vite 2.0
Web Frameworks: Why You Don’t Always Need Them
Something that interested me this week
This past week I was on the Contentful livestream! We live-coded up a birthday card with Next.js, Contentful, and Netlify. It was pretty fun, and you can check out the repo here!
This week’s sponsor is Mux!
Mux is the API to video that changes that. Instead of spending your time learning an entirely new vocabulary, you can just think about Video and how you want to use it. What Stripe did for payments and Twilio did for telephony, Mux does for video.
Take any video file or live stream and make it play beautifully at scale on any device, powered by magical-feeling features like automatic thumbnails, animated gifs, and data-driven encoding decisions. Spend your time building the experience and application that people want, not drudging through ffmpeg documentation.
Interview question of the week
Last week, I had you return possible sentences with a given string and dictionary. Awesome work Leyan, Ashleigh, Elliot, Luciano, Leslie, Brendon, Stefi, Steve, Christos, Alex, Chia, Ten, and Ivana!
This week’s question:
Given a string
str containing only the characters
y, change it into a string such that there are no matching adjacent characters. You’re allowed to delete zero or more characters in the string. Find the minimum number of required deletions.
$ 2 // str becomes ‘xyxy’
$ 4 // str becomes ‘y’
Cool things from around the internet
When The Prison Banned Board Games, We Played Chess In Our Minds
Scotland names its snow plows and their titles for 2021 are still amazing
HEX 3.C with GMK Botanical
Inside the Cryptocurrency Casino
I went to a zoo and there was a baguette in a cage.
The keeper said it was bread in captivity!
That’s all for now, folks! Have a great week. Be safe, make good choices, and stay warm!
Special thanks to Gabor, Stephen, Shell, IceSloth, Luna, and Emad for supporting my Patreon and this newsletter!
website | twitter | patreon | github | codepen | twitch