Hey friends!
I hope your week was swell! I spent a lot of mine in Philadelphia with my team and some family, and I’m glad to be home again. Let’s surf!
Was this forwarded to you? You can subscribe here!
“Stop Writing Dead Programs” by Jack Rusher (Strange Loop 2022)
New patterns for amazing apps
Dracula UI
Breaking into Dev Rel, featuring Tessa Mero
It was a bit of a whirlwind week working in person with some teammates, recording several different podcast episodes, and working on some Hacktoberfest submissions!
It’s been fun playing with open source again. I used to contribute much more often, and it’s something that kind of dropped off my radar in recent times. I’ve only been doing some minor contributions so far, but I’ve got a long list of things I’d love to fix up both in my own software and others I love to use!
Also, once again, The Dev Morning Show (at night) has new episodes every week! Sara Vieira joined us this past week, and this next week my sister Cami will be joining in!
Coding from home is great… but can be lonely. We are not meant to be 🤖s!
Wouldn’t it be great to hear my (Cassidy) chipper voice cheering you on, congratulating you on closing tickets and slapping your wrist when you pick up that phone while you work?
I can see you nodding your head.
Come join me + thousands of other devs in Centered, my favorite desktop co-working app. It has all the things you expect:
✅ Flow Music ✅ Pomodoro Timers ✅ 1:1 Buddy Sessions ✅ Notification Blocking
Try Centered today for free, or get Centered Pro for 20% off using code FREAKINNERDS20
.
p.s. you’ll also find Kent C. Dodds, Kenny Eze, Jason Lengstorf, Lenny Rachitsky, and tons of other voices you may recognize as coaches!
Last week, I had you truncate words! There were some really creative submissions. Really cool job Les, David, Miguel, Dan, José, Robin, Muhammad, Jean-François, Ten, Leyan, Prashant, Ryan, Laurynas, Andrew, Mo, Max, Dan, Thomas, Saad, Chris, Amine, Chase, Dan, Brian, and Cedric!
This week’s question:
Let’s say you have n
doors that start out as closed. With the first pass across the doors, you toggle every door open. With the second pass, you toggle every second door. With the third, every third door, and so on. Write a function that takes in an integer numberOfPasses
, and returns how many doors are open after the number of passes. Thanks Max for inspiring this question!
Example:
let n = 7
let numberOfPasses = 3
> passDoors(n, numberOfPasses)
> 4
// Explanation:
// 0 means open, 1 means closed
// Initial: 1 1 1 1 1 1 1
// Pass 1: 0 0 0 0 0 0 0
// Pass 2: 0 1 0 1 0 1 0
// Pass 3: 0 1 1 1 0 0 0
List of common misconceptions
America - Road Trip Simulator
Owlab Mr. Suit with GMK Nautilus Nightmares
You’re going back to the office. Your boss isn’t.
Why don’t vampires learn from their mistakes?
They can’t self reflect.
That’s all for now, folks! Have a great week. Be safe, make good choices, and be flexible!
Special thanks to Gabor, Stephen, IceSloth, Alaska, Josh, Conor, Ezell, Karthic, Ximena, Paige, Zev, Sebastián, Ben, Sema, Kinetic Labs, Vadim, and Bailey for supporting my Patreon and this newsletter!
cassidoo
website | twitter | patreon | github | twitch | codepen | polywork