Hey friends!
Can you believe it's June already? I can't. I've barely registered that it's 2024. Anyway, let's learn!
Was this forwarded to you? You can subscribe here!
Test clocks: How we made it easier to test Stripe Billing integrations
Old Dogs, new CSS Tricks
Ryan Dahl introduces JSR at DevWorld 2024
How does AI impact my job as a programmer?
This week I got really deep into how time zones are found and used and stored. There's really... limited resources on the "right" way to do this. Which is surprising, for something that affects everyone. I was thinking about including some time zone checkers in a little side project of mine, and it was such a rabbit hole!
So, I guess that being said, if you know of a relatively simple way for a user to type in a city and programmatically get its time zone, I am all ears. There's a lot of very specific APIs you can buy access to, or you can geocode the city and then get the time zone, or you could just straight up download the Time Zone database, but... there has to be a better way, right??
No sponsor this week, play Jumblie and share if your company is hiring!
Last week, I had you implement a delayed task executor! Awesome work Ten, Amine, Mazen, and John!
This week's question:
Write a function that takes an array of integers and returns a new array containing only the even numbers, and sorted.
Example:
> onlyEvens([1, 2, 3, 4, 5, 2])
> [2, 2, 4]
> onlyEvens([7, 8, 1, 0, 2, 5])
> [0, 2, 8]
> onlyEvens([11, 13, 15])
> []
(you can submit your answers by replying to this email with a link to your solution, or share on LinkedIn, Twitter, Mastodon, or Bluesky)
How Actors Remember Their Lines
Close.city - Find walkable neighborhoods
Engineering for Slow Internet
The Great Wave - Black Kohaku R2 with custom weight, GMK Shashin + GMK Sumi
What do you call an alligator in a vest?
An in-vest-igator!
That's all for now, folks! Have a great week. Be safe, make good choices, and go to a museum!
Special thanks to IceSloth, Ezell, SebastiΓ‘n, Ben, Kinetic Labs, and Faisal for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | twitter | patreon | twitch | codepen | mastodon | bluesky