Hey friends!
I hope you had a great week! Happy Valentine’s Day, President’s Day, and of course Black History Month. Let’s surf!
A Better Way to Structure React Projects
My 12 Favorite VSCode Extensions
Tackling TypeScript
Exploring the Complexities of Width and Height in CSS
This week I learned how to rip out carpet! My husband and I are working to replace some flooring and had never done it before. Several YouTube tutorials later, we got to work! It was tiring, but satisfying to see the empty floor when we finished. Sometimes when your work is all coding/digital, it’s nice to do something tangible.
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 make a ProductList class with a couple methods. I loved seeing all of the new folks (and regulars, of course) joining in! Great job Nicolas, Ale, Leslie, Elliot, Anna, Amy, Vinicius, TamĂ¡s, Timotius, David, Ashleigh, Ilya, Dhanush, Artem, Jens, Eduardo, Vishwa, Sarabadu, Leyan, Vanessa, Jonathan, Michael, HalĂ, Alex, Damilare, Jake, Ten, Alisa, Matheus, Namrata, Alexandre, James, Ale, Clov, Ivana, Kyle, Steve, CiarĂ¡n, Brendon, and Nelo!
This week’s question:
Given a string str
and a dictionary dict
containing a list of non-empty words, add spaces in str
to construct a “sentence” where each word is a valid word in dict
. Return all possible sentences. You are allowed to reuse the words in dict
.
Example:
str = "penpineapplepenapple" dict = ["apple", "pen", "applepen", "pine", "pineapple"] $ makeSentence(str, dict) $ [ "pen pine apple pen apple", "pen pineapple pen apple", "pen pine applepen apple" ]
Same Energy
voice65 - build / soundtest
I’m Controlling Your Cursor
NASA Invites You to Share Thrill of Mars Perseverance Rover Landing
My love for you is like diarrhea… I just can’t hold it in!
(use this on your loved ones, I’m sure they’ll be touched)
That’s all for now, folks! Have a great week. Be safe, make good choices, and Happy Valentine’s Day!
Special thanks to Gabor, Stephen, Shell, IceSloth, Luna, and Emad for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | codepen | twitch