Nov. 13, 2023, 12:43 a.m.

๐ŸŒ” "Mellow doesn't always make for a good story, but it makes for a good life." - Anne Hathaway

rendezvous with cassidoo

Wassssap!

How are y'all doing? I hope you had a good one. I have a bit of a cold but besides that, I'm happy with things. Anyway, let's boogie!

Was this forwarded to you? You can subscribe here!


Web links of the week

Writing Components That Work In Any Frontend Framework
Why Signals Are Better Than React Hooks
React Server Components, without a framework?
Minimalist Affordances: Making the right tradeoffs


Something that interested me this week

I've been slowly but surely working through my to-do list this week. It's a small thing, but I've been so swamped lately that I just haven't had time! Little things like cleaning, emails, holiday decorations, donating clothes, doing laundry, that sort of thing.

When I do my task tracking, I use an app I built called todometer for getting everything down and The Sukha for "flow state" style working. I've talked about both a bunch in this newsletter before, but I'm saying it again, they're super useful!


Sponsor

This week's sponsor is Brainstory! Brainstory is a collaborative AI tool to help you think through ideas.

It's not generative AIโ€”it's iterative AI. Brainstory helps you verbally talk out what you're thinking, whether it's a conference talk, a blog post, a bug in your code, a company memo, a character sheet, a side project... anything you need. Then, it makes it easy for anyone to walkthrough your thoughts and give you pointed feedback. Everyone gets to think smarter, not harder.

Give Brainstory a try for free at brainstory.ai!


Interview question of the week

Last week, I had you score words. Awesome work Varenya, Saad, Josh, Jonnie, Muhammad, Ten, Josh, Max, Miguel, Ann, Neil, Will, Martin, Jan-Magnus, 413, Karthick, Frances, and Chase!

This week's question:
Given a list of tasks, where each task has a duration, and a limited amount of available time to work, write a function to return the tasks that can be completed within the given time, without re-ordering the original list of tasks. Try to maximize the number of tasks that can be completed!

Example:

const tasks = [
  { name: 'Task 1', duration: 4 },
  { name: 'Task 2', duration: 2 },
  { name: 'Task 3', duration: 7 },
  { name: 'Task 4', duration: 5 },
  { name: 'Task 5', duration: 1 },
  { name: 'Task 6', duration: 3 }
];

const timeToWork = 6;

> doTasks(tasks, timeToWork)
> ['Task 2', 'Task 5', 'Task 6']

Cool things from around the internet

things that aren't doing the thing
Spain lives in flats: why we have built our cities vertically
Fossil Full Size keyboard with MT3 2048
Why the Human Brain Perceives Small Numbers Better


Joke

The shovel was a ground-breaking invention.


That's all for now, folks! Have a great week. Be safe, make good choices, and eat well!

Special thanks to Gabor, IceSloth, Ezell, Sebastiรกn, Ben, and Kinetic Labs for supporting my Patreon and this newsletter!

cassidoo

website | twitter | patreon | github | twitch | codepen | polywork | mastodon

You just read issue #326 of rendezvous with cassidoo. You can also browse the full archives of this newsletter.

Share on Twitter Share on LinkedIn Share on Hacker News Share on Reddit Share via email
GitHub Website LinkedIn