π "Innovation comes out of great human ingenuity and very personal passions." - Megan Smith
Hola friends!
I hope you had a great week! Mine was fun and busy. I got to go to a keyboard convention and hang out with friends and family, which is a really great way to spend time. Let's learn!
Was this forwarded to you? You can subscribe here!
Web links of the week
A Front-end developer's guide to the hybrid mobile app development landscape
If You are Asking for Human Attention, Demonstrate Human Effort
When React parent components need to know their children
Nobody clicks your share buttons
Something that interested me this week
The most fun thing I did this week was go to KeyCon! KeyCon is an annual mechanical keyboard convention, and I had an absolute blast giving a talk and playing with keyboards amongst fellow keyboard enthusiasts. I blogged about the experience if you want to read more!
Sponsor
Your computer should be a tool that gets out of your way
WorkbenchΒ is Caligra's Linux-based Operating System for people who build things. An environment designed for deep focus, without notifications or bloat.
It ships on ourΒ c100 Developer Terminal,Β and it's free to download.
Interview question of the week
Last week, I had you place cards in a mini solitaire game! Nice play Thulasi, Ten, David, Paul, Shreya, Amine, and the lovely folks in the Ruby Users Forum!
This week's question:
Given an input positive integer n (from 1 to your language's limit, inclusively), return the maximum number of distinct positive integers that sum to n.
Examples:
> maxDistinctCount(5)
> 2
// 2 + 3 = 5, or 1 + 4 = 5
maxDistinctCount(8)
> 3
// 1 + 2 + 5 = 8
maxDistinctCount(15)
> 5
// 1 + 2 + 3 + 4 + 5 = 15
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
Cool things from around the internet
Avian Visitors
Buttons are broken, so I tried reinventing them. (video)
Searchable Attenborough
How The Heck Do Traffic Lights Work?
Joke
What do you get if you put a duck in a cement mixer?
Quacks in the pavement!
That's all for now, folks! Have a great week. Be safe, make good choices, and stop putting off your laundry!
Special thanks to Ben, Kinetic Labs, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | youtube | twitch | twitter | patreon | codepen | mastodon