Thu 03 Nov 2022

Hard user separation with NixOS

If you use the same computer in different contexts, let’s say for work and for your private life, you may wish to install two different operating systems to protect your private life data from mistakes or hacks from your work. For instance a cryptolocker you got from a compromised work email won’t lock out your family photos.

But then you have two different operating systems to manage, and you may consider that it’s not worth the effort and simply use the same operating system for your private life and for work, at the cost of the security you desired.

I offer you a third alternative, a single NixOS managing two securely separated contexts. You choose your context at boot time, and you can configure both context from either of them.

Source: Hard user separation with NixOS, an article by Solène Rapenne.

Good old-fashioned code optimization never goes out of style

Pushing calculation down to a faster implementation is just one way to speed up software. Another way to get faster results is to remove code that is redundant, repetitive, superfluous, needless, or otherwise does unnecessary work. The fastest software, after all, is software that doesn’t run at all.

In short, sometimes all you need is some good old-fashioned speed optimization.

Source: Good old-fashioned code optimization never goes out of style, an article by Itamar Turner-Trauring.

6 Underground (2019)

Six individuals from all around the globe, each the very best at what they do, have been chosen not only for their skill, but for a unique desire to delete their pasts to change the future.

In the evening I watched 6 Underground. I liked the movie, especially the parkour parts. I give it a 7 out of 10.