Howdy y'all,
I hope you're staying safe and healthy with folks you care about this season. This was a really intense week for a lot of people, including myself, and it's times like these where I'm grateful for the little things that make us happy. Let's learn!
Was this forwarded to you? You can subscribe here!
Generating Random Mazes with JavaScript
JavaScript's ??=
Operator: Default Values Made Simple
Debugging Microservices & Distributed Systems
A Friendly Introduction to Container Queries
Sooo, elephant in the room, the U.S. Presidential election happened this week. The results were not what I wanted, and I don't really want to talk about how sad I am about it. I hope that if the results are also not what you wanted either, you're doing okay. "Okay" is such a... flimsy word to use, and it's really hard to come up with another one. But I genuinely, really hope that you are doing okay, and have a community that you can lean on for support, and you can be that support for others.
...besides that, I've now been at GitHub for two months, I reflected on falling asleep in a driverless car, I've been really enjoying Bluesky as a social network, and I've been cuddling my 18-month-old who has recently learned how to count to five in English, Spanish, and Korean, which is very exciting.
Curious about which authorization model is best for your app? The answer is probably "all of them."
Join our webinar, How Google Handles Authorization at Scale, for a deep dive into Google Zanzibar, and why its Relationship-based approach to authorization has become so popular. Plus, a technical comparison of Google's approach with Oso's Authorization as a Service, highlighting the similarities and key differences. Walk away with the tools you need to make an informed decision about which approach meets your app's permissions needs!
Last week, I had you group anagrams! This one was really fun. Awesome work Alisa, Andreas, Muhammad, Yacine, Ten, Leyan, Mac, Yacine, Anton, Kyle, Miguel, Andrew, Ashish, Alison, Jeremias, Ricardo, Charles, Amine, Chase, John, and Jess!
This week's question:
Given a list of integers representing the heights of buildings, return the maximum number of buildings that can be seen when looking from the left. A building can see another building if it is taller than all the buildings to its left. The height of the tallest building is included in the count.
Examples:
seeBuildingsLeft([1,2,3,4,5])
5
seeBuildingsLeft([5,4,3,2,1])
1
seeBuildingsLeft([3,7,8,3,6,1])
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)
1 Dataset. 100 Visualizations.
Massive ocean discovered beneath the Earth's crust containing more water than on the surface
Tiili-46 hand-built keyboard
Wikimedia Pictures of the Year
I tried taking some high resolution photos of local farmland, but they all turned out a bit grainy!
That's all for now, folks! Have a great week. Be safe, make good choices, and support your local news!
Special thanks to IceSloth, Ezell, SebastiΓ‘n, Ben, Kinetic Labs, Faisal, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | twitter | patreon | twitch | codepen | mastodon