Hey friends!
I hope you had a nice week. Mine was productive, which felt good! Let's learn.
Was this forwarded to you? You can subscribe here!
How I Migrated from WordPress to Astro
How to build a copy code snippet button and why it matters
Beware the faux bold (and how to fix it)
"A calculator app? Anyone could make that."
I got a lot done this week!
I still have some things that I wished I got done, but... ya know, you win some, you lose some!
No sponsor! Be free from capitalism!
...But also it'd be cool if your company would be down to sponsor, because though this newsletter is free to read, it's not free to make!
There's some info here if you wanna pass it along to decision-makers in your org!
Last week, I had you figure out NFL uniform numbers! Awesome work Muhammad, Nwosa, Ricardo, Neha, Ten, Tim, Saleh, and Pat!
This week's question:
Given an array of attack damages and a shield capacity for a spaceship, return the index when cumulative damage exceeds the shield. Return -1 if shield survives.
Example:
> findShieldBreak([10, 20, 30, 40], 50)
> 2
> findShieldBreak([1, 2, 3, 4], 20)
> -1
> findShieldBreak([50], 30)
> 0
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
I built an Omni-Directional Ball-Wheeled Bike (video)
Microsoft Study Finds AI Makes Human Cognition "Atrophied and Unprepared"
The hardest working font in Manhattan
Protozoa Strata keyboard with mixed switches
Want to hear my construction joke?
Sorry, it's still being worked on.
That's all for now, folks! Have a great week. Be safe, make good choices, and don't procrastinate!
Special thanks to IceSloth, Ezell, Sebastián, Ben, Kinetic Labs, Faisal, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | twitter | patreon | twitch | codepen | mastodon