Hey friends!
I don't know about you and your area of the world, but I am very excited for sweata weatha season to be upon us here in Chicago. I hope your week was a good one, let's boogie!
Was this forwarded to you? You can subscribe here!
First look at Astro 5 beta (video)
GitHub trick to find the commit that deleted a file
The āOtherā C in CSS (video)
The continuing tragedy of emoji on the web
This week I admit was kind of rough for me because my 17-month-old has been going through a sleep regression and that means... I don't get to sleep well. But, we're hanging in there!
That being said, at work GitHub released in public beta Copilot Extensions and it's been SUPER cool to play with them. I admit building them is a little confusing since they're pretty new and they don't have a lot of examples yet (I wrote a blog about how to build one that should be published Soonā¢, and these repos are very helpful). I made a voice-powered code extension in less than an hour that was so fun to play with, I literally squealed watching it work. I know I sound like such a shill for my new workplace, but I love working on something that feels like it's changing the game!
Content is one of the most critical parts of the web. CodeWord Conf is a free virtual conference all about the combination of code and content. Things like:
It features amazing speakers from companies like Microsoft, Cloudflare, Netlify, LaunchDarkly, Contentful, Storyblok, Strapi and more. It's happening this Thursday, September 26th from 11am-5pm ET.
Get full details and register at CodeWordConf.com.
Last week, I had you find ways to score in American football! Many Europeans shouted at me and I simply saluted the eagle flying past my window screeching "freedom." Anyway, awesome work Claude, Kyle, Ashish, Max, Ten, Alison, Amine, Ricardo, Varenya, and Muhammad!
This week's question:
You're designing a smart laundry sorting system. You have a list of clothing items, each with a color and a fabric type. Sort these items into the minimum number of loads n
and return n
, where items of the same color can be washed together, and some different fabric types cannot be mixed together. "Normal" fabric types can be mixed with "heavy", but "delicate" cannot be mixed with anything.
Example:
let load1 = [
["red", "normal"],
["blue", "normal"],
["red", "delicate"],
["blue", "heavy"]
]
let load2 = [
["white", "normal"],
["white", "delicate"],
["white", "normal"],
["white", "heavy"]
]
> minLaundryLoads(load1)
> 3 // one delicate red, one normal red, and one with the blues
> minLaundryLoads(load2)
> 2 // one delicate white, one with everything else
(you can submit your answers by replying to this email with a link to your solution, or share on LinkedIn, Twitter, Mastodon, or Bluesky)
Apple Rankings
Stop learning to give feedback. Learn to receive it.
JJW Derivative with GMK CYL Olivia NĀŗ3
How to do mental time travel
What happens to an illegally parked frog?
It gets toad away!
That's all for now, folks! Have a great week. Be safe, make good choices, and eat something that makes you happy!
Special thanks to IceSloth, Ezell, SebastiƔn, Ben, Kinetic Labs, Faisal, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | twitter | patreon | twitch | codepen | mastodon | bluesky