Hey friends!
Happy November! I hope you're having a good one so far. October flew by and I am ready for Mariah Carey season. Onwards!
Was this forwarded to you? You can subscribe here!
It's 2023, here is why your web design sucks.
The New CSS Math: rem() and mod()
Your website does not need JavaScript
Building out a furniture site from Dribbble
This weekend I played in my first go tournament! If you've been around you know that I really love playing go online, but I rarely get the opportunity to play in person. This was... a humbling experience, to say the least! Of the 5 rounds, I lost 3 games by the thinnest margin (literally the smallest margins you can lose by), and it was so painful. But, I'm really glad I did it! I learned a lot and I can't wait to try out another tournament in the future.
This week's sponsor is Brainstory! Brainstory is a collaborative AI tool to help you think through ideas.
It's not generative AIโit's iterative AI. Brainstory helps you verbally talk out what you're thinking, whether it's a conference talk, a blog post, a bug in your code, a company memo, a character sheet, a side project... anything you need. It helps you flesh out your ideas, faster.
Give Brainstory a try for free at brainstory.ai!
Last week, I had you rearrange some digits. It was a weird one and y'all did great Miguel, 413, Saad, Jonnie, Martin, Andy, Fraol, Neil, Altamish, Don, and Ten!
This week's question:
Given a list of words and a dictionary of letter scores, find the word with the highest score according to the rules: score = word_length * (sum of letter scores in the word)
. If there are multiple words with the same highest score, return the lexicographically smallest one.
Example:
const wordList = ["apple", "banana", "cherry", "date", "fig"];
const letterScores = [...Array(26).keys()].reduce((scores, i) => (scores[String.fromCharCode(97 + i)] = i + 1, scores), {});
// This produces { 'a': 1, 'b': 2, 'c': 3, 'd': 4, ... }
scoreWordGame(wordList, letterScores)
// 'cherry'
Candy Thieves vs Rigged Candy Bowl
Mode Tempo keyboard with Obscura keycaps
Dramatic Discovery of Two Whaleships Lost in Arctic for 144 Years Sheds Light on CTโs Whaling History
Why is the plural form of "house" not "hice"?
Did you hear about the runner who was criticized?
They just took it in stride!
That's all for now, folks! Have a great week. Be safe, make good choices, and keep your cool!
Special thanks to Gabor, IceSloth, Ezell, Sebastiรกn, Ben, and Kinetic Labs for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork | mastodon