Hey y'all,
I hope your week was a good one, and you had a somewhat light work week with the U.S. holiday. Let's learn!
Was this forwarded to you? You can subscribe here!
The Backrooms: CSS Edition
Writing Code Was Never The Bottleneck
An unnecessary but satisfying optimization
glass3d generator
Personally speaking, this was a hard week, my friends. I don't want to get into it so I will leave it at: hug your loved ones. If you care about someone, call them and tell them!
🚀 Meet Flow CI Engine: Fully Managed Mac CI, Reimagined
Tired of wrangling with CI infrastructure for your Apple projects?
Flow CI Engine is a developer-first, fully managed CI platform running on real Mac hardware.
Powered by renewable energy, 100% carbon-neutral, and operated from a Swiss ISO/IEC 27001-certified data center. Benefit from automated scaling, consistent build speed, and a security-first architecture, all without the overhead of managing Macs.
Simple, scalable pricing. Only in Switzerland.
Ready to level up your Mac builds? Learn more & request your invite or see details + pricing.
Last week, I had you find the last non-repeating character in a string. Awesomeeee work Usman, Aren, Winnie, Ten, Muhammad, Neefertiti, Paul, David, Amine, Tarang, Sameer, Ross, Ender, Kriszti, Andrew, SidGod, Ollie, Jake, Kwlio, Neha, Elke, and Austin!
This week's question:
Given an array of fireworks representing a series going off, write a function to find the "grand finale" of the show! A grand finale is defined as the longest subarray where the average size
is at least 5, the minimum velocity
is 3, and the difference between the min and max height
is no more than 10. Return the starting index of the grand finale.
Example:
const fireworks = [
{height: 10, size: 6, velocity: 4},
{height: 13, size: 3, velocity: 2},
{height: 17, size: 6, velocity: 3},
{height: 21, size: 8, velocity: 4},
{height: 19, size: 5, velocity: 3},
{height: 18, size: 4, velocity: 4}
];
> grandFinaleStart(fireworks)
> 2
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
Pockets are a Significant, Untapped Market
DNworks Noodle.zip + Alu Plate + BSUN Jade Rosales + GMK Hooty = Keyboard Typing Test (video)
Wikipedia:WikiProject AI Cleanup/AI catchphrases
How email tracking works behind the scenes
What do you call a fly without wings?
A walk!
That's all for now, folks! Have a great week. Be safe, make good choices, and donate to causes you care about!
Special thanks to Ezell, Ben, Kinetic Labs, and Marta for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | twitter | patreon | twitch | codepen | mastodon