How to fix the pain of modifying Kotlin nested data classes

When Kotlin arrived a few years ago one of the selling points was immutability: In object-oriented and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created. https://en.wikipedia.org/wiki/Immutable_object This is very cool! Value objects are such a huge help when it comes to reasoning about code, safety and avoiding weird subtle misbehaviours due to “things…

On intermittent fasting

Lately I’m having a lot of chats about intermittent fasting and I think it’s a good time to write down my whole experience. As I kid I was slim, super slim, a tiny skinny kid. Then puberty hit me like a train and I started to gain weight. I tried to put some training in…

Mic and Cam off by default in Google Meet

A couple of weeks ago I was in an important company meeting. Everybody was quiet and listening to the CEO, everybody was focused on the slide deck the CEO was presenting and everybody had their mic and cam turned off. Well, everybody, but me 🤦‍♂️ While I was watching the stream, my Google account session…

Open Chrome bookmark in a new tab

Web bookmarks are part of our tech life since 1993, sort-of. They usually come in a couple of shapes: they live in a menu, or they live in a bar. I’m mostly for the bookmark bar arrangement. Something like this: The usage is simple as a click: you click it, the website opens in the…