Ayyy welcome back!
I hope your week was a good one! I feel like February has flown by and I’m still catching my breath. But hey, time flies when you’re having fun. Let’s boogie!
Was this forwarded to you? You can subscribe here!
How to Build a Word Scramble Game with React
Astro Framework: A Practical Guide To Building Faster Websites
The NPM Library Speedrun - 90 minutes to build, CI, and publish
The Missing Semester of Your CS Education
I journal (nearly) every day with a service called Dabble Me and it’s one of my favorite things to use and look back on, and sometimes it will email me saying, “hey, last week you wrote…” or “hey, last year you wrote…” showing me an earlier entry.
This weekend, I got an absolutely wild one that said “3 years ago you wrote…” and it was me gushing about a work trip that I had just started, excitedly talking about the people I was meeting and the food I was trying. The really jarring thing though is that I had no idea that this would be my last work travel trip before the pandemic hit. I was so blissfully unaware about how much life would change not even a month later. It’s really hard to believe it’s been 3 years already. Anyway. It’s too late to think about what life would have been like, and we just have to look forward, be grateful for what we can, and hopeful for what’s to come.
Speaking of being grateful, I absolutely loved having Suz Hinton on The Dev Morning Show (at night) this week, and was so thankful she agreed to join us! Suz is someone from whom I’ve learned a ton over the years, and it was a blast chatting with her about video games, over-engineering, and the stuff she’s working on now.
Testing components isn’t just about making sure they function correctly, but also that they look right, too. However, creating visual test cases for all component states and layouts and more can get tedious.
Chromatic makes life easier by automatically converting Storybook stories into visual tests!
Stories are a declarative way to render different variations of a component, with props and mock data. Plus, you can attach a play function to each story to test component behavior. Chromatic helps you track visual changes and verify component functionality at the same time!
Here’s how it works:
Last week, I had you do some parenthesis balancing! I loved seeing the variety of languages y’all tried out! Awesome job Will, Sreetam, Varun, Miguel, Muhammad, Sebastian, Baudelaire, Saad, Eniola, Ten, Kyle, Alfonso, David, Chris, 413, Leyan, Ángel, Alessandra, Elizabeth, Alvin, Brian, Elizabeth, Nate, Jack, Alberto, Priti, Fernando, Hristiyan, Max, Don, Ben, Chase, Carine, Daniel, and Ivana!
This week’s question:
Given a list of numbers, return all groups of repeating consecutive numbers.
Examples:
> repeatedGroups([1, 2, 2, 4, 5])
[[2, 2]]
> repeatedGroups([1, 1, 0, 0, 8, 4, 4, 4, 3, 2, 1, 9, 9])
[[1, 1], [0, 0], [4, 4, 4], [9, 9]]
We’re using our streets all wrong
RAMA Works U80-A SEQ2 Moon with GMK Fuji
Our Desires are Being Manipulated
Calcul8rs collection
What do you call a teacher who ate too many beans?
A tooter!
That’s all for now, folks! Have a great week. Be safe, make good choices, and throw away the cables you don’t need anymore!
Special thanks to Gabor, IceSloth, Alaska, Josh, Conor, Ezell, Karthic, Ximena, Paige, Zev, Sebastián, Ben, Sema, Kinetic Labs, Vadim, Bailey, Carmina, and Faisal for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork | mastodon