Hello friends!
I hope you had a great week! Mine was full of highs and lows, but one of the big highs was a release we did at work! Anyway, let’s boogie.
Static Site Comments: A Jamstack How-To
A regular expression surprise in JavaScript
1 line of code
useEncapsulation
I mentioned in the intro that we had a big release at work this week! It’s an auto-installing plugin for enabling the Node-y features of Next.js automatically on Netlify. This is something our team has been working on for a while, and I’m really pleased to have it out there for devs to work (and play) with! If you want, you can check out the plugin, contribute, or file an issue!
This week’s sponsor is Mux!
If you’ve ever tried to do anything with video programmatically, you’ve seen the darkness. Acronyms that represent other acronyms, delivery best practices that change faster than JavaScript frameworks, and amazing tools… that come with decades of cruft and complexity. Video dominates Internet bandwidth and, for a lot of companies, engineering sprints.
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.
Thanks Mux!!
Last week, I had you get a row from Pascal’s Triangle! Tons of cool approaches to this one, nice work Leslie, Jonathan, Taylor, David, Luciano, Dhanush, Patrick, Sreetam, Aditya, Sam, Leyan, Jay, Noj, Gerhard, Rubén, Jihchi, Steve, Max, Ten, Carlo, and Elliot!
This week’s question:
You’re given two integer arrays (n
and m
), and an integer k
. Using the digits from n
and m
, return the largest number you can of length k
.
Example:
n = [3,4,6,5] m = [9,0,2,5,8,3] k = 5 $ maxNum(n, m, k) $ 98655
Note: The original message here had a typo where the answer said 98653
!
The Discovery that Transformed Pi
RAMA U80 keyboard with KAT Blanks
Daily news podcasts are “punching well above their weight” with audiences
Animated Knots
I built a model of the Space Needle and my husband asked, “is it to scale?” And I said, “no, it’s to look at.”
That’s all for now, folks! Have a great week. Be safe, make good choices, and vacuum your floors sometime this week!
Special thanks to Gabor, Stephen, Shell, IceSloth, Luna, Emad, and Alaska for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | codepen | twitch