Hey friends!
I hope your week was a good one! I’m kind of mind-blown that my kid is 4 weeks old already. This month has been the most brain-bending time of my life, by far. Anyway, let’s leearn!
Was this forwarded to you? You can subscribe here!
JS private class fields considered harmful
How to Debug Browser Redirects
The Safest Way To Hide Your API Keys When Using React
The new .zip TLD is going to cause some problems
Because my schedule is not really my own these days, taking care of my lil baby, I’ve been figuring out how to approach… everything differently. I blogged about this, but long story short: I’m trying to celebrate little things more.
I’m also, in general, just consuming things differently. Before, I’d be on a computer most of the day and could do things at my own pace (and would lean towards reading everything rather than videos or podcasts). Now, I am very much offline taking care of everything, so the things I want to learn/hear about have to be more “async” (for lack of a better term). If y’all have podcast and video recommendations that are shorter (like 15-20 minutes max, or at least easy to pause and pick up again later), I’d love to add them to my queue of background content!
Are you an engineer?
Do you ever finish your workday and feel tired and burned out?
Want to feel refreshed and happy instead?
If you got 3/3 YES’s on this little quiz, then come join me in Centered. It’s a desktop app that gives you great music, Pomodoro timers, task management and me (and others!) as your fun Coach.
Join me and thousands of other developers using it! Try Centered today for free, or get Centered Pro for 20% off using code FREAKINNERDS20
.
Last week, I had you determine if the binary representation of a number was a palindrome. Funky one, eh? Great job Saad, Alfonso, Simon, Bánn, Jonnie, Ashish, Muhammad, Ángel, Amine, Danielle, Ten, Chase, Miguel, Mamush, Joe, Austin, Kyle, Daniel, Andrew, Sreetam, and Josef!
This week’s question:
Given a string, calculate the score that it would get in a game of Scrabble. For extra credit, try verifying if the string is a valid word, or take into account premium squares!
Scoring and example:
1 point: E, A, I, O, N, R, T, L, S, U
2 points: D, G
3 points: B, C, M, P
4 points: F, H, V, W, Y
5 points: K
8 points: J, X
10 points: Q, Z
> scrabbleScore('FIZZBUZZ')
> 49
Avian keyboard with White on Black keycaps
Is infinity an odd or even number?
What do historians lose with the decline of local news?
The Rise of the Fork
A car full of toupees was stolen…
Police are combing the area for clues!
That’s all for now, folks! Have a great week. Be safe, make good choices, and check in on your friends!
Special thanks to Gabor, IceSloth, Josh, Conor, Ezell, Ximena, Sebastián, Ben, Sema, Kinetic Labs, Vadim, Bailey, and Carmina for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork | mastodon