Hey friends!
This week felt surprisingly fast for me. I think because my maternity leave ends soon (!), time feels unnecessarily quick, which is very rude. Anyway, let's boogie!
Was this forwarded to you? You can subscribe here!
Getting Creative With shape-outside
A pragmatic guide to modern CSS colours
Code golfing a tiny demo using maths and a pinch of insanity
15 Recent Node.js Features that Replace Popular npm Packages
Vite: The Documentary (video)
I'm reading the book Truly Madly Guilty right now and it's pretty fun! I've enjoyed reading Liane Moriarty's books in the past (Big Little Lies, Nine Perfect Strangers, and a few others), and I like how she turns fairly ordinary lives into something suspenseful in every story I've read of hers. In this one, it's literally a bunch of people in a suburb who know each other, but something happened at a barbecue party! Dun dun dun.
Anyway, the news has been bumming me out lately (to put it quite mildly), and it's fun to get a little mysterious escape. It's early in the book so I don't know what's going to happen, so don't hold it against me if you read it and the ending isn't great. Ha!
AI is changing who builds software. But most AI coding tools ignore enterprise systems, leading to chaos and risk.
Retool is the first AI AppGen platform built for real teams. Developers and domain experts collaborate to build production-ready apps, governed by your standards, powered by your live data.
Thousands of developers trust Retool. Ready for AI-assisted development? Sign up here.
Last week, I had you create a changelog of grouped edits! LGTM Ten, Jihchi, David, Micah, Gavin, and Amine!
This week's question:
Given a CSV string where each row contains a name, age, and city (and values may be quoted, have embedded commas or escaped quotes), write a function that parses the CSV and outputs a formatted list of strings in the form: "Name, age Age, from City"
. Handle quoted fields containing commas and escaped quotes.
Example:
const csv = 'name,age,city\n"Ryu, Mi-yeong",30,"Seoul"\nZoey,24,"Burbank"'
csvToList(csv)
> `
- Ryu, Mi-yeong, age 30, from Seoul
- Zoey, age 24, from Burbank
`
(you can submit your answers by replying to this email with a link to your solution, or share on Bluesky, Twitter, LinkedIn, or Mastodon)
Scientist learns he has won Nobel prize while on digital detox in US mountains
The genius logic of the NATO phonetic alphabet (video)
A cartoonist's review of AI art
TGR x SM Shi (silver) + Alu Plate + HMX Sonja + GMK Soyamilk = Keyboard Typing Test (video)
What kind of dog can tell time?
A watchdog!
That's all for now, folks! Have a great week. Be safe, make good choices, and go to your local library!
Special thanks to Ezell, Ben, Kinetic Labs, Marta, and Flora for supporting my Patreon and this newsletter!
cassidoo
website | blog | github | bluesky | twitter | patreon | twitch | codepen | mastodon