Hey friends!
I hope your week was a good one. Mine was probably the most tiring week I’ve ever had, if I’m being honest. Newborns are no joke. But hey, at least they’re cute. Let’s learn!
Was this forwarded to you? You can subscribe here!
It’s time to learn oklch color
The JavaScript Equality Table Game
Accessibility vs emojis
Directly Responsible Individuals
Y’all… I had a baby last week, and this is the hardest thing I’ve ever done. I really can’t emphasize it enough. Our new baby girl is the cutest thing, and we love her a ton. But whew. It’s so mind-shattering how much life has changed. Everyone says that it’s the most intense thing you’ll ever experience, but those words don’t really explain it enough. It’s extreme moments of joy and extreme moments of sadness back and forth, all the time. It’s really overwhelming. We’re taking it one day at a time, trying to enjoy as much of it as we can!
I admit, writing this newsletter is something that I thought about pausing while we got settled with the baby. But, it’s provided a really nice sense of normalcy amongst the chaos to be able to work on it throughout the week during naps. Thanks for reading and being here while I try to get a grip on everything.
🦋 Xata is a serverless database built for modern development. 🦋
Your database should be easy to use, not a source of frustration. Xata exposes your data through a high-quality developer experience that includes:
👩💻 Git-like development workflow with preview branches and deep integrations with GitHub, Vercel, and Netlify.
🌐 Always on, highly scalable, Postgres-based database with a generous production grade free tier.
🧰 Tons of additional features, including a powerful full-text search engine, built-in AI, type-safe SDK, and more!
Focus on what matters most, building great products. Get started today!
p.s. If you’re a senior frontend developer looking for a new challenge, check out our open positions – we’re hiring 🦋
Last week, I had you make an integer based on an array, divisible by a given number. It was a funky one and y’all did great, nice job Ángel, Ten, Miguel, Pozorvlak, Amine, Carlo, and Josef!
This week’s question:
Given a non-empty array containing only non-negative integers, return the list with trailing and leading zeroes removed.
Example:
> removeZeroes([0, 0, 0, 3, 1, 4, 1, 5, 9, 0, 0, 0, 0])
> [3, 1, 4, 1, 5, 9]
> removeZeroes([0, 0, 0])
> []
> removeZeroes([8])
> [8]
Impactful Questions to Ask Your Interviewer
Pisa 40% Keyboard
Nobody’s Exactly Sure How Much A Kilogram Is Right Now
Why do ships use “port” and “starboard” instead of “left” and “right?”
Why did the person stare at the carton of orange juice for hours?
Because the label said: “concentrate”!
That’s all for now, folks! Have a great week. Be safe, make good choices, and get rid of your sleep debt!
Special thanks to Gabor, IceSloth, Alaska, Josh, Conor, Ezell, Ximena, Paige, 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