Hey friends!
Assuming all has gone well since I hit the "schedule" button on this issue... I just gave birth! Ahh! Baby! But there's still stuff to leeeearn!
Was this forwarded to you? You can subscribe here!
Creating CSS Theme Variables from a JS file
What Does It Really Mean For A Site To Be Keyboard Navigable
CSS color-mix() Demo
Hiding elements that require JavaScript without JavaScript
I... just had a baby!! So this is gonna be short because I've now got a brand-spankin'-new kid to keep alive. As I write this, before actually giving birth, I'm nervous and excited. A friend of mine asked the (very nerdy) question, "if your baby were a React component what would it be?" and I said, "whatever it is, I am ready to unmount it," because oh my word, these final days of pregnancy are HARD. So, onwards and upwards to some sleepless nights, but with a little less physical strain (we hope), ha!
Boost team morale and encourage peer-to-peer praising, directly on Slack!
Sparkles is an app for Slack that makes awarding kudos fun. Simply add "++" next to your co-worker's Slack handle, and Sparkles will award them a sparkle!
Sparkles have no intrinsic value, but it’s a fun way to give kudos. As the numbers tally up, users can be proud of how many sparkles they have accumulated.
Who on your team deserves a Sparkle today? Get started and learn more at sparklesapp.com!
Last week, I had you calculate ingredient amounts for a recipe! I got as many submissions as I could pre-baby so if I missed ya, sorry about that! That being said, really great job Neha, Leyan, Ten, Miguel, Muhammad, Emeka, Dave, Andrew, Chase, Austin, David, Kyle, Elke, Chris, Kracekumar, Ross, Nick, and John!
This week's question:
Given an array of characters chars
, compress it such that consecutive duplicate characters are replaced with the character followed by the count of duplicates. If the count is 1
, omit it.
Examples:
> compress(["a", "b", "b", "b", "c"])
> ["a", "b", "3", "c"]
> compress(["a", "a", "b", "b", "c", "c", "c"])
> ["a", "2", "b", "2", "c", "3"]
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
This blog is hosted on a Nintendo Wii
What async communication behaviors lead to better outcomes for software engineers?
Hypertext TV
BAYS60 by Deadline Studio keyboard with doys.dat.1 keycaps
A dad washes his car with his son.
After a while, the son says, "why can't you just use a sponge?"
That's all for now, folks! Have a great week. Be safe, make good choices, and give yourself some grace!
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