Hey friends!
I hope your week was sweet! At work we had our annual All Hands event, and so I had meetings allllll day long, allllll week long. It was tiring, but also great getting to know my coworkers more. Let's gooo!
Re-Creating the Porky Pig Animation from Looney Tunes in CSS
Tutorial - Create generative social images using SVG
RunJS: A Playground for JavaScript and TypeScript
Are your Anchor Links Accessible?
This past week I made my own URL shortener on my livestream! It was pretty fun and MUCH easier than expected. I implemented it with Netlify redirects. With that, it truly is just adding some to/from URLs in a _redirects
file and... it's done! I also added an npm script from Kent C. Dodds to add formatting and make the process a little quicker.
So, you can go to cass.run/gh to go to my GitHub, cass.run/pat to go to my Patreon, or hey, you can go to cass.run/shortener to see the shortener repo and clone it yourself!
This week's sponsor is Flatfile!
Think of the last time you imported a spreadsheet. Did it work the first time?
Nearly everyone has dealt with formatting messy CSVs or Excel files prior to importing. It's a huge pain!
Worse yet, countless engineers are tasked with building a data parser from scratch, importer, mapping, validation, UI, and all! As enticing as it is to build another data importer compared to core product features, Flatfile has finally made a solution.
Flatfile Portal is the elegant import button, offering an intuitive data import experience. Portal integrates with virtually any application and in minutes can intelligently ingest, validate, and transform incoming spreadsheet data so that it's clean, and ready to use in your backend.
Interested in trying out the elegant import button? Visit get.flatfile.io/cassidoo!
Last week, I had you rotate an n x n array 90 degrees. You know, theoretically y'all who did this could turn your algorithms into a little Tetris game... tempting, huh? Anyway, awesome work Dhanush, Vishwa, Leyan, Luciano, Ale, Gustavo, Leslie, Elliot, Timotius, Taylor, Jonathan, Pozorvlak, Alberto, Kyle, Rafael, Jose, Ivana, Griffin, Ten, and Carlos!
This week's question:
You are given a snapshot of a queue of stocks that have changing prices coming in from a stream. Remove the outdated stocks from the queue.
Example:
$ snapshot = [ { sym: 'GME', cost: 280 }, { sym: 'PYPL', cost: 234 }, { sym: 'AMZN', cost: 3206 }, { sym: 'AMZN', cost: 3213 }, { sym: 'GME', cost: 325 } ] $ stockQueue(snapshot) $ [{ sym: 'PYPL', cost: 234 }, { sym: 'AMZN', cost: 3213 }, { sym: 'GME', cost: 325 }]
Newsletters
How to Make a Leather Pull Tab Card Wallet
This city bans cars every Sunday - and people love it
GMK Botanical x Tokyo60
I did a theatrical performance about puns.
It was a play on words.
That's all for now, folks! Have a great week. Be safe, make good choices, and get your calendar in order!
Special thanks to Gabor, Stephen, Shell, IceSloth, and Luna for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | codepen | twitch