Hey friends!
I hope you had a good week. I personally had a busy one. I'm working with Sara Vieira on a tech event to benefit Ukraine, more news on that coming soon!
Before we continue: Next week is this newsletter's FIVE year anniversary! We'll have a ton of giveaways and goodies for everyone here. If you wouldn't mind sharing this with a friend or two, I'd really appreciate it!
Was this forwarded to you? You can subscribe here!
Intent to ship React 18
Implementing JavaScript Delay for Cookie Consent Banner
How do design systems improve developer efficiency?
Celebrating amazing open source innovation from Ukraine
I caught up on a lot of technical content this week! One of the folks that I really enjoy learning from is Alexander Obenauer. He's been doing research on the future of personal computing and I genuinely have enjoyed reading his articles over time.
I also played a bunch with the Midjourney AI bot this week! Here's some of the images that I've made so far with it (and their descriptions used for them)!
Stytch is building your all-in-one platform for passwordless auth. We make it easy for you to embed passwordless solutions into your websites and apps for better security, better conversion rates, and a better end user experience.
With our APIs and SDKs, you can quickly set up secure, low-friction authentication and authorization with magic links, OAuth, biometrics, one-time passcodes, session management, and more.
Check out our super-smooth products and docs here.
Last week, I had you find the smallest time interval in a list of times. It was really fun seeing some of the discussions around this one! Great job Gabor, Claude, Will, Ten, Andrew, Leyan, Stephen, Rafael, Dave, Dan, Will, Les, Giovanni, Rui, Giancarlo, Dan, Matt, Ivana, and Dan!
This week's question:
Given a string that represents items as asterisks (*
) and compartment walls as pipes (|
), a start index, and an end index, return the number of items in a closed compartment.
Example:
let str = '|**|*|*'
> containedItems(str, 0, 5)
> 2
> containedItems(str, 0, 6)
> 3
> containedItems(str, 1, 7)
> 1
Extra credit: What if you had multiple pairs of start and end indices? You can do it in O(n) time!
Should I Open Source my Company?
Rama U80-A with MT3 Extended 2048
Why We Use "lol" So Much
What I Learned During My Three Days Offline
I tried to fight an octopus and lost because it was well-armed.
That's all for now, folks! Have a great week. Be safe, make good choices, and stretch your back and neck after work!
Special thanks to Gabor, Stephen, IceSloth, Alaska, Josh, Conor, Ezell, Pedro, Karthic, Ximena, Paige, Zev, Sebastián, and Ben for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork