Hey friends!
I hope you had a good week! I hit Inbox Zero for the first time in over a year and I'm very excited about it. Thanks for reading this thing that takes you away from that goal.
Onward!
React PDF
ztext
Electron 10.0.0 released
Don't trust default timeouts
This past week I was on Su Lee's podcast! It was so exciting to be invited, I'm a huge fan of her music, and the episode is supposed to come out soon. I highly recommend checking out her songs, "I'll Just Dance" and "I'm Tired" if you want to hear what she's got!
This week's sponsor is Datadog!
Detect issues before they impact your users and minimize downtime with Datadog Synthetic CI/CD testing. Because these tests that run simultaneously rather than sequentially, you can quickly ensure deployments aren't impacting user experience without slowing down your development process.
Catch issues earlier and run safer deployments by starting a free Datadog trial today, and receive a free t-shirt after creating one dashboard!
Last week, I had you count characters in a string. Great work Joel, Waylon, Benjamin, Jay, Ashir, Rafael, Sreetam, Ganz, Lihbr, Rizwan, Kamal, Dimitrij, Kev, Ten, Gabor, Jonsey, Roman, Gustavo, Yash, Matheus, Monica, Tianon, Leslie, Jakob, Will, Kosal, Gonza, Yuetsu, Raffifu, Tom, Jacob, and Matthew!
This week's question:
Given an array of numbers that represent stock prices (where each number is the price for a certain day), find 2 days when you should buy and sell your stock for the highest profit.
Example:
$ stockBuySell([110, 180, 260, 40, 310, 535, 695]) $ "buy on day 4, sell on day 7"
GMK Shoko on Satisfaction 75
How I Memorized Pi to 2,000 digits
Ikea and Lego built the storage boxes of your dreams
Do we really travel through time with the speed of light?
Grapes don't cry when they're crushed. But they do wine!
That's all for now, folks! Have a great week. Be safe, make good choices, and drink water.
Special thanks to Gabor, Stephen, and Hillary for supporting my Patreon and this newsletter!
cassidoo
website |Â twitter | patreon | github |Â codepen | twitch