Engine of a Mini Seven racing Mini
Photo: Copyright © 2009 Eelke Blok

Quick tip: generating a hash salt for Drupal 8

Drupal 8 will actively complain when your site does not have a hash_salt configured, which usually gets generated when installing the site. (The complaint, mind you, might be fairly obscure; your site might just say "The website encountered an unexpected error. Please try again later." Depending on your error reporting settings, the message might be a bit more helpful). If, for example, you "install" a site by copying over a database and files, you will not have this.

Preparing your Drupal 8.3 site with Media for Drupal 8.4

If you have the Media module for Drupal 8 installed (not a requirement to use media with Drupal 8, so this post may not apply to you), you need to remove it before you can upgrade to the latest core version (8.4). Unfortunately, there are a few gotchas involved with the process. This blog post is about getting rid of the old contrib Media module, so the site can be updated to Drupal 8.4 in a subsequent step. This is based on my personal experience. YMMV, as they say.

Code Review Etiquette

Another good one for the responsible coder. Code reviews are a tricky thing. They can improve software quality tremendously; two know more than one, obviously. However, it is all too easy to invoke bad feelings in the reviewee (if you think, "They should just grow thicker skin, it's not personal", this is especially for you).

Dangerous (and embarrassing) bug in macOS High Sierra

Yesterday, a dangerous - and quite embarrassing - bug was uncovered in macOS High Sierra. It is possible to authenticate with the user "root" and no password in situations where the OS asks for an administrative account. Apparently, there is also a way to do so when you have access to the system using a guest account, which adds insult to injury, because this is a default feature of the OS that many people will have enabled (I don't, but that's mostly because I don't like the extra login option on the login screen - but when you think about it, it makes sense from a security...