Wassaaap!
Hello from Singapore! I was here for the first time this week for a family wedding and it's been awesome. Anyway, the internet awaits!
Was this forwarded to you? You can subscribe here!
Action Web Components Which Span the Server-Client Divide
Terminal colours are tricky
ESLint now officially supports linting of JSON and Markdown
Bundling Past, Present, and Future (video)
It's been really cool being in Singapore for the first time this week! I tried out hawker markets (I really loved chili crab and the chicken and rice), exploring various malls to navigate the city via air conditioning, and saw amazing views. It's been a fast trip (I'm writing this from the airport), but really wonderful.
Outside of traveling, I wrote about the future of my game, Jumblie!
Also: a lot of you got my newsletter in spam last week! Sorry about that, I'm not sure what happened. To prevent that in the future, add this email to your contacts with your email provider!
MongoDB 8.0 launched this week, and it's better, faster, more secure, and more durable than ever!
It's got:
MongoDB is a document database, and MongoDB 8.0 meets the needs of modern apps that have things like unstructured data and AI components. AI is integrated through vector search, with a fully managed platform.
Last week, I had you write your own split()
function. Great job David, Amine, Claude, Ashish, Chase, Ricardo, John, Kyle, and Ten!
This week's question:
Given a list of ingredients needed for a recipe, represented as strings, and a list of ingredients you have in your pantry, write a function to return the minimum number of additional ingredients you need to buy to make the recipe. If you want to do some extra credit, add expiration dates to the pantry items, and only account for food that isn't expired.
Example:
Input:
recipe = ["eggs", "flour", "sugar", "butter"]
pantry = ["sugar", "butter", "milk"]
Output:
2
(you can submit your answers by replying to this email with a link to your solution, or share on LinkedIn, Twitter, Mastodon, or Bluesky)
Locus with GMK CYL ZX
Is the World Really Running Out of Sand?
NASA: Capillary Cup
The more sophisticated AI models get, the more likely they are to lie
Why was Pavlov's beard so soft?
Because he conditioned it!
That's all for now, folks! Have a great week. Be safe, make good choices, and travel when you can!
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