Hola hola!
I hope you had a wonderful week! I had a good one seeing friends and family, which is always refreshing. Let's boogie!
Was this forwarded to you? You can subscribe here!
Styling the HTML details and summary elements
Node just added TypeScript support. What does that mean for Deno?
Tips on extensible and maintainable components
Why we ditched Next.js and never looked back
I gotta say, Daylight Savings Time in the US this weekend fully messed up my brain, especially with a toddler in tow. Whew, whew!
But besides that (literal) rude awakening, it was a good and busy week. I worked a bunch on side projects (which I'm hoping I can share with you/release relatively soon), and played in a whole lot of forts at home with our new Nugget couch (not an ad, but honestly it's been so great with the family, I would totally advertise for them).
💻📲 Let’s go web to native with React
Expo is sponsoring this week, but I’m taking over the ad cause I’m actually building a mobile app with Expo right now, and I genuinely love it. (More on that soon.)
Expo is a React Native framework for building cross platform apps (Bluesky, for example, is built with Expo). Here’s why it’s clicking for me:
If you’ve been thinking about building for mobile, try it with me: expo.dev
Last week, I had you determine prices based on store closing discounts! Ca-ching Ricardo, Jesper, Muhammad, Cat, Amine, Stephen, Sreetam, Tim, Neha, Shreya, Ten, Murtala, Saravana, Saleh, and Abhishek!
This week's question:
Write a function that takes a list of piano keys played in sequence and returns the largest interval (in semitones) between any two consecutive keys. Assume the lowest note is A0, and the highest is C8.
Examples:
> findLargestInterval(['A0', 'C1', 'G1', 'C2'])
> 7
> findLargestInterval(['C4', 'G4', 'C5', 'G3'])
> 17
> findLargestInterval(['E2', 'C3', 'G3', 'C8'])
> 53
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
Growth at all costs is destroying the internet
We broke the coast to coast record (video)
Revenge Font
Moeetech Glitter R2 with Ducky Boba Dye-Sub PBT
Never, ever shout into a colander.
You'll strain your voice!
That's all for now, folks! Have a great week. Be safe, make good choices, and be a weirdo with your weirdo friends!
Special thanks to IceSloth, Ezell, Sebastián, Ben, Kinetic Labs, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | twitter | patreon | twitch | codepen | mastodon