July 22, 2024, 1:11 a.m.

๐Ÿ’™ "You are only as beautiful as the many beautiful things you do for others without expectation." - Janelle Monae

rendezvous with cassidoo

Hey friends!

I hope your week was a good one. I spent a lot of time working on some fun personal projects and seeing friends and family. Anyway, onwards!

Was this forwarded to you? You can subscribe here!


Web links of the week

Get The Screen Width & Height Without JavaScript

Utility First CSS Isnโ€™t Inline Styles (video)

How I fell in love with Astro

Build a retro gaming app โ€” Web Dev Challenge S1E2 (video)


Something that interested me this week

I'm gonna not talk about the wild political landscape in the U.S. right now because everyone is. But ya know, make sure you're registered to vote.

Anyway, I went to my first Code & Coffee meetup this week, and it was delightful! It's rare to have the opportunity to meet up with fellow tech folks that aren't already in your circles, and it was really nice to get to know some new people.

I have about 4 or 5 side projects in the works right now, coding-related, keyboard-related, just-for-fun, and I'm definitely trying to focus and actually finish one this week. We'll see if I have anything to share in the next issue, ha!


Sponsor

GenAI for self-service DevOps

Join Amazon Web Services (AWS) and DevOps Institute for this webinar on strategies, services, and generative AI-powered AWS Marketplace tools that enable developers to build faster, deploy continuously, and use cloud resources at scale.


Interview question of the week

Last week, I had you find an increasing subsequence. There were some clever answers, awesome work Miguel, Muhammad, Gu, Josh, Etienne, Amine, Kriszti, Charles, Claude, Ricardo, Saad, Ten, Mazen, Sreetam, John, and
epochDVKHN
!

This week's question:

Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.

Example:

> wordBreak("leetcode", ["leet", "code"])
> true

> wordBreak("catsandog", ["cat", "cats", "and", "sand", "dog"])
> false
// Although "cat", "cats", "and", and "dog" are in the dictionary, the string does not have a valid segmentation where all parts are in the dictionary.

> wordBreak("aaaaaaaa", ["aa", "aaa"])
> true
// "aaaaaaaa" can be segmented in multiple ways such as "aa aa aa aa" or "aaa aa aaa" where "aa" and "aaa" are in the dictionary.

(you can submit your answers by replying to this email with a link to your solution, or share on LinkedIn, Twitter, Mastodon, or Bluesky)


Cool things from around the internet

Public toilets are vanishing and thatโ€™s a civic catastrophe

Friendship and Social Fitness

Green Ergo with GMK Blot

Type in Morse code by repeatedly slamming your laptop shut


Joke

What do you call a biscuit that is more intelligent than you?

A smart cookie!


That's all for now, folks! Have a great week. Be safe, make good choices, and speak your mind!


Special thanks to IceSloth, Ezell, Sebastiรกn, Ben, Kinetic Labs, and Faisal for supporting my Patreon and this newsletter!



cassidoo


website | blog | github | twitter | patreon | twitch | codepen | mastodon | bluesky

You just read issue #362 of rendezvous with cassidoo. You can also browse the full archives of this newsletter.

Share on Twitter Share on LinkedIn Share on Hacker News Share on Reddit Share via email
GitHub Website LinkedIn