Weeknotes 04/2023
October 03, 2023Weeknotes
Life
Even though it's the end of September/early October, the days are still pretty warm and our little one is hitting playground after playground. He's about to start walking we think. Everywhere he can possibly pull himself up, he does so. Then traverses along the object. Stops to stand by himself and then repeats the whole process. Berlin playgrounds have quite the diverse offering. There's something for all ages. Our favorite playground so far has probably been Weltspielplatz in Treptower Park. It's a little far away for us, but there's so much to do and it's close to the water also.
We also went to an indoor playground called MachMit which is located in a former church. It has two floors. The one downstairs is an interactive exhibition and the floor upstairs is a gigantic climbing labyrinth. Our little one is still too young for most of the installations but he loved the ones he could try already. We can't wait to see how he'll like the climbing installations.
More of the cafés around us are offering pumpkin spice latte (we tried Brammibal's last week). The newest one being Coffea in Ebertystr . It's our go-to café these days. Located neatly between parks and playgrounds with a great lunch offering also. Their PSL is more on the desert-side of things with heavy whipped cream. I prefer the more spicy version of a PSL but I can see how people love these ones also.
Tech stuff
I've been blown away by the Enhance Music tech demo. It's a music service just like SoundCloud (where I worked for 7 years) but as a multi page web app. SoundCloud is built as a gigantic single page app to allow for page navigation while music keeps playing (amongst other reasons like caching etc.). So this tech demo was quite a refreshing and brilliant take on this problem.
Their solution to the whole music in the background problem is to use iframes. Jep, frigging iframes. The page is basically split into two iframes. One is responsible for rendering the music catalogue, the other displays the music player. Each song in the catalogue is an <a />
tag with target='player'
. So the player
iframe will navigate to the requested song and start playing it. The catalogue frame is unaffected. I didn't know that links from one iframe would be able to target another iframe on the same page. So that kind of blew my mind.
This comes with a bunch of advantages like a lot less heavy page weight, faster load times, faster rendering etc. It's an interesting demo and we tried to achieve something similar at SoundCloud (also with iframes) but we were never given the time to execute on those plans. A rewrite of the SoundCloud monolith would have been very complicated and due to the nature of this architectural change, would have probably blocked most other development of the site.
I upgraded to Sonoma, for the sole reason to be able to add websites to the dock. I LOVE that feature. Previously I used Chrome's PWA install dialog to add some websites to my app folder (because Firefox doesn't support this on the desktop, yet). But I'm trying to use Chrome less and less now so I'm happy that Safari has this built-in now. I'm not saying that I'm becoming a Safari user now. Just a couple of apps like Fastmail, Netflix and YouTube music made it in my dock so far.
Work
At work we realized that failing type checks didn't stop the CI for several months now. So, given the size of the project and that amount of people working on it every day, fixing those type errors was no easy undertaking. I volunteered to fix the types for my "department" and got down the one or the other rabbit hole. Sometimes even needing type fixes in dependencies.
Of course, we couldn't re-enable type checks on the CI before they were all fixed, so there were a couple of days were new type errors made it into main
while you thought you were already done with your fixes. Anyhow, I quite liked getting into the nitty gritty of the code base.
On an "unrelated" note, I also enjoyed listening to the "type war" episode of JS Party where they talk about Svelte's decision to ditch TypeScript in favor of JSDoc. And of course they could not not address the elephant in the room that is the controversial way that TypeScript was janked out of turbo.
Side projects
I wanted to continue my blog post on the history of colorbattle 🕹️ , but didn't get to it at all the last two weeks. There is an outline and notes for each of the four rewrites and at what time in my life / career I decided to go for another rewrite. I've been swimming in nostalgia since I wrote up those note, connecting with people that I had not talked to in a long time. If this continues, I might be finished with the blog post at the end of next year 😅
Entertainment
- 📚 I finished reading with
Leviathan Awakens
and watched the responding ending of the season of its TV show to compare the two. In the show, the end of book one and the beginning of book two actually overlap, so the end of book one is actually halfway in the second season. But yeah, it's very close to the book, surprisingly. I might watch the show again. Maybe after reading all the books (that they made seasons for). - 🌐 I loved reading this background story to a YouTube comment: https://markslutsky.substack.com/p/something-good-88-irene
- 🍿 We finished almost all episodes of the final season of Sex Education. It started slow, and not as great as previous seasons. But it got better. You can also feel like they're trying to wrap up the story archs. They don't want to leave you hanging like some other shows did ;)
Video of the week
No song of the week this time since I didn't have time to listen to a lot of new music. But here's one of my favorite clips of the show Toast of London
.