Hello from San Francisco!
I'm in town prepping for GitHub Universe, which has been SO busy, but also fun to meet coworkers in person!
Onwards!
Was this forwarded to you? You can subscribe here!
Where web components shine
What docs as code really means
Smarter than 'Ctrl+F': Linking Directly to Web Page Content
Angular's Approach to Partial Hydration
Y'all, getting ready for GitHub Universe has been wildly busy and chaotic, but there's some really cool stuff coming that I can't wait for you to see! You can watch the event for free online if you register. I'll be in the opening keynote if you wanna watch me try out a live demo in front of thousands of people... wish me luck!
Also, I've been much more into Bluesky this week than Twitter. It feels like the tides are turning. Give me a shout there if you have an account!
The sponsor this week has an exciting new AI product launching on Halloween, and... I can't tell you anything more about it. But I'll be tweeting then, so keep an eye out! 👀 🎃
Last week, I had you parse an RSS feed! Y'all did an awesome job with some clever solutions, great work Ashish, Ten, Amine, Muhammad, Kostas, John, Cheyenne, and Ricardo
This week's question:
Implement a round of the game Yahtzee, where 5 dice are randomly rolled, and the function returns what options the user has to score more than 0 points. Extra credit: implement all 13 rounds!
Example:
yahtzeeRound()
> { dice: [2,2,3,3,3],
options: ["twos","threes","full house","three of a kind","chance"]
}
yahtzeeRound()
> { dice: [2,3,4,2,2],
options: ["twos","threes","fours","three of a kind","chance"]
}
yahtzeeRound()
> { dice: [4,3,6,3,5],
options: ["threes","fours","fives","sixes","small straight","chance"]
}
(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 Writer! Introducing Palmyra X 400 by Writer! It’s the AI model with function calling and built-in RAG, making it easier than ever to build powerful apps with just a few lines of code.
With Writer’s full-stack AI platform, you’ll get:
Whether it’s automating workflows or building custom apps fast, Palmyra X 400 has your back.
🚀 Ready to level up your AI game? Start building on Writer AI Studio now!
We’re in the Golden Age of Garbage Clothing
Can we space elevator? (video)
Math Is Still Catching Up to the Mysterious Genius of Srinivasa Ramanujan
Madeline 30% with DSS All Hallows Eve
The rotation of earth really makes my day!
That's all for now, folks! Have a great week. Be safe, make good choices, and take a long nap!
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