Plurrrr

a tumblelog
week 24, 2019

Finding the version number of VirtualBox Guest Additions

On a Linux VirtualBox guest use:

modinfo vboxguest

to find the version (and more info) of the Guest Additions installed.

Lessons learned from rewriting code

The reason that the old code might look messy to us and that it has to be rewritten from scratch isn’t actually because of the code but rather of a cardinal, fundamental law of programming:

It’s harder to read code than to write it.

Source: Lessons learned from rewriting code in my 10+ years as a developer by Huseyin Polat Yuruk.

Children of Time: a good read

In the afternoon I finished Adrian Tchaikovsky's Children of Time. The story reminded me quite a bit of A Deepness in the Sky, a science fiction novel by American writer Vernor Vinge. If you have read his Zone of Thought series you most likely will enjoy Children of Time and vice versa.

The Zone of Thought series consists of the following books:

Children of Ruin

In the evening I started in Children of Ruin by Adrian Tchaikovsky, the sequel to Children of Time.

How to Design for the Web in 2019

Let's break down and go through the most important design principles of designing for the modern web in 2019.

Source: How to Design for the Web in 2019 an article by Casper Beyer.

The surprising benefits of talking to strangers

Most people spend part of every day surrounded by strangers, whether on their daily commute, sitting in a park or cafe, or visiting the supermarket.

Yet many of us remain in self-imposed isolation, believing that reaching out to a stranger would make you both feel uncomfortable.

These beliefs may be unwarranted. In fact, our research suggests we may often underestimate the positive impact of connecting with others for both our own and others' wellbeing.

Source: The surprising benefits of talking to strangers.

IP address of the first network interface on MacOS

To get the IP address of the first network interface on MacOS use:

ipconfig getifaddr en0

Disable screenshot drop shadows on MacOS

To disable screenshot drop shadows on MacOS use:

defaults write \
   com.apple.screencapture \
   disable-shadow -bool TRUE
killall SystemUIServer

Replace TRUE with FALSE to revert back to the default.

Night owls: Simple sleep tweaks boost wellbeing

Tweaking sleeping habits can shift people's body clocks and improve their wellbeing, say scientists in the UK and Australia.

In the evening I read Night owls: Simple sleep tweaks boost wellbeing by James Gallagher on the BBC website. While not an extreme night owl I would like to shift my body clock an hour or so.

Archive