๐ "Until you're ready to look foolish, you'll never have the possibility of being great." - Cher
Wassaaaap!
I hope you had a good week! I started watching the k-drama Queen of Tears and it's pretty much all I can think about. Onwards!
Was this forwarded to you? You can subscribe here!
Web links of the week
Data Fetching Patterns in Single-Page Applications
Let's hang! An intro to CSS Anchor Positioning with basic examples
How Deep is Your DOM?
The Last Tech Podcast: Rizรจl Scarlett
Something that interested me this week
I asked last week about time zones and had so many responses from y'all, which can be summed up as: run away! So... I'm not sure what I'm going to do there. But I greatly appreciate the help, heh.
On an entirely different note, but an exciting + random one... I met Joan Cusack?? For some context, she owns a store in Chicago! I went in to browse, and she was just stocking shelves and she struck up a conversation asking me about my baby (who was with me and was a great little wingwoman)! I fully geeked out and tried to play it cool as I told her I loved her movies. She was so kind and it made my weekend!
Also, last thing, Jumblie just hit its 250th puzzle!! Thanks y'all for playing!
Sponsor
This week's issue is sponsored by Typesense!
Typesense is the open-source alternative to Algolia with a smaller learning curve than Elasticsearch!
With Typesense, you get:
- Effortless Integration: Enjoy simple setup, integration, and operation. Built in C++ for speedy (<50ms) search results.
- Rich Features: Out-of-the-box typo tolerance, tunable ranking, dynamic sorting, faceting, filtering, and more.
- Advanced Capabilities: Federated and geo search, vector and semantic/hybrid search, ensuring comprehensive search functionality.
- Developer-Friendly Tools: Scoped API keys, JOINs, synonyms, and curation, all crafted to elevate your projects.
Star the Typesense GitHub repo and give it a try!
Interview question of the week
Last week, I had you return sorted, even numbers! Y'all did this one in some funky ways and languages, I loved it. Awesome job Patrick, Clifford, Miguel, Muhammad, Altamish, Andy, Dayo, John, Danny, Alison, Dale, Sean, Azeez, Ross, Simon, Ricardo, Warren, Amine, Mazen, Stefan, Ten, and Dan!
This week's question:
Write a function that takes an array of integers and a target sum, and returns all unique quadruplets [a, b, c, d] in the array such that a + b + c + d = target. If it's impossible, return an empty array.
Example:
> fourSum([1, 0, -1, 0, -2, 2], 0)
> [[-2, -1, 1, 2], [-2, 0, 0, 2], [-1, 0, 0, 1]]
> fourSum([], 0)
> []
> fourSum([1, -2, -5, -4, -3, 3, 3, 5], -11)
> [[-5, -4, -3, 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)
Cool things from around the internet
Zoom75 with PBTfans Retro 100
Kaizen
Designing a Lego orrery
What we do โ and donโt โ know about how misinformation spreads online
Joke
How does a scientist freshen their breath?
With experi-mints!
That's all for now, folks! Have a great week. Be safe, make good choices, and get rid of things that don't spark joy!
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