Sept. 2, 2024, 12:30 a.m.

🧭 "To lead people, walk behind them." - Lao Tzu

rendezvous with cassidoo

Hey friends!

It's a new month! Time to sleep, you can wake me up when September ends.

Was this forwarded to you? You can subscribe here!


Web links of the week

Building a breakout element with container units

JS Dates Are About to Be Fixed

The secret inside One Million Checkboxes

Making a simple React microphone component


Something that interested me this week

This was such a busy week for me!

  • I finished taking some voice lessons, which was a really cool non-tech experience to have.
  • I was on the Maintainable Software Podcast recently, and you can listen to the episode here!
  • I finished some contract work (I'll blog about that soon)!
  • I taught a productivity workshop for DiscoLink Club!

Sponsor

Indie devs and small teams: You should probably be using Fly.io!

With Fly.io, you can do a LOT without a dedicated platform team. It's secure and has really, really cool features.

Fly.io has machines that let you scale up infinitely (and cost-effectively), scale to zero, and can do responsive job queues and Step Functions-style orchestration!

It also has replay, which is awesome for testing patterns and replaying requests!

Here’s $50 in Fly.io credits. Start shipping today!


Interview question of the week

Last week, I had you find substrings! There was actually a typo in the example and I fixed it in the archive. Some of y'all have eagle eyes and the typo didn't faze you, awesome job Tawseef, Ricardo, Adrianna, Muhammad, John, Cheyenne, and Ten!

This week's question:

You are given an array of strings representing a collection of shoes. Each shoe is labeled with its type ("L" for left or "R" for right) and its size. Determine the maximum number of matching pairs of shoes that can be formed.

Example:

> maxPairs(["L-10", "R-10", "L-11", "R-10", "L-10", "R-11"])
> 3

> maxPairs(["L-10", "L-11", "L-12", "L-13"])
> 0

> maxPairs(["L-8", "L-8", "L-8", "R-8"])
> 1

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

This question is brought to you by Nike! Step up your game with Nike's special sale – epic deals await! Snag up to an extra 20% off on select styles for athletes of all ages. Whether you're getting outside, working from home, or headed back to school, do it with Nike! Don't miss your chance to dress like a pro without breaking the bank. Fresh kicks, performance gear, and cool apparel for the whole family.


Cool things from around the internet

Ultra high-resolution image of The Night Watch

Screen apnea: What happens to our breath when we type, tap, scroll

How Our Longest Nerve Orchestrates the Mind-Body Connection

Waves 60 Keyboard


Joke

What is a witch's favorite subject in school?

Spelling!


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


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

You just read issue #368 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