Howdy y'all!
Phew, I don't know about you, but this has been a week and I am looking forward to having more chill times. Anyway, let's learn.
Was this forwarded to you? You can subscribe here!
Simplify Lazy Loading With Intersection Observer's ScrollMargin
So, you want to push a web platform feature?
Find the oldest line in your repo
Open-Closed Principle in React: Building Extensible Components
This week ended up being way busier than I expected it to be, but I did get to enjoy some Chicago Restaurant Week food and got hyped about the Pebble Watch coming back (I still have my old one)! PLUS I actually did blog this week, about Git rebase specifically.
Also, I'll be speaking at TheJam.dev virtual (free!) conference coming up in a couple of weeks, you should join us!
I admit, the latest news coming out of the U.S. has been really hard to deal with. I hope you and your loved ones are safe, happy, and healthy, and not too stressed by it all. Act locally and build your community!
No sponsor this week!
But, did you know that you can join a very fun and techy Discord community via my Patreon? You should. We've been going for 5+ years, have a code of conduct and mods, and plenty of memes to go around!
Last week, I had you find anagrams in strings! Awesome work Ten, David, Muhammad, Brett, Ricardo, Kyle, Amine, Sreetam, Neha, Winnie, Shreya, Alison, Peter, Kriszti, and Gajendra!
This week's question:
Write a function that evaluates a postfix expression (also known as Reverse Polish Notation) and returns the result. The expression will contain single-digit integers and the operators +
, -
, *
, and /
. You can assume the input is always a valid expression!
Examples:
evaluatePostfix('12+')
> 3
evaluatePostfix('56+7*')
> 77
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
Cheetos Other Hand Font (video)
87 Pixel Art Masterpieces: Pappas Pärlor’s Perler Bead Street Takeover
Keykobo Motosuko Lake on the Sin65
Taking A $15 Casio F91W 5,000 Meters Underwater
Why can't you have 12 jobs?
Dozen work!
That's all for now, folks! Have a great week. Be safe, make good choices, and don't get too bogged down by the news!
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