💜 "Technology is cool, but you've got to use it as opposed to letting it use you." - Prince
Hellloooo my friends!
I hope you had a good week! Mine was my first week back from vacation, and my brain is still catching up. Let's get into the goodies.
Was this forwarded to you? You can subscribe here!
Web links of the week
Moving away from Tailwind, and learning to structure my CSS
On Rendering the Sky, Sunsets, and Planets
Preserving DOM Changes Across Live Reloads
33 JavaScript Concepts
Something that interested me this week
I mentioned that I got back to work this week after vacation, and I kid you not, exactly an hour into being at my desk, I got a stye in my eye and a canker sore. I think I'm allergic to Slack.
Anyway, I rapidly pumped out some videos before my eye blew up, including this recap of the trip, talking about how we traveled with toddlers, this newsletter recap (in case you didn't know, I've been recapping this newsletter every week in video form, if you wanna consume it that way or hear my thoughts on the links I share here), this episode of The Download, and this livestream about vibe coding, from the perspective of Millennials and Gen Xers! I also had my episode of Adventures in DevOps come out, which was a fun one. Phew.
I ended up not streaming on my various channels (Twitch and YouTube, if you aren't subscribed yet) because by the time I hit my usual Thursday streaming day... my eye was a monster. But it's nearly healed now, thank goodness. Remove your makeup and wash your pillowcases, people! And be wary of toddlers.
Sponsor
No sponsor this week!
...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!
Or, if you'd like to help support my work individually, you can use Patreon or GitHub Sponsors (both of which get you access to a very fun Discord group)!
Interview question of the week
Last week, I had you bounce an object around an array! Great job Amine, Toni, Ten, David, and the devs over in the Ruby Users Forum!
This week's question:
Given a string s consisting of letters, convert each character to its opposite case that is, change every lowercase letter to uppercase, and every uppercase letter to lowercase. Bonus: add an "alternate" parameter that converts the whole string to AlTeRnAtE cAsE!
Examples:
let alternating = true
toggleChar("Hello, world!")
> "hELLO, WORLD!"
toggleChar("HeheHeheHEheheHeH")
> "hEHEhEHEheHEHEhEh"
toggleChar("This will be alternated", alternating)
> "ThIs WiLl Be AlTeRnAtEd"
(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
How diamonds are made?
A big thank you to cassidoo
Wallace & Gromit 24/7 LIVE Stream (video)
We've made the world too complicated
Joke
Why did the knife dress up in a suit?
Because it wanted to look sharp!
That's all for now, folks! Have a great week. Be safe, make good choices, and clear off your desk!
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