2024-07-15

The Ju52 cocktail

How to make a Ju52 cocktail:

In a tall glass with NO ice:

1 part coffee liquor (e.g. KahlĂșa)

1 part cream liquor (e.g. Bailey's)

1 part orange liquor (e g. Grand Marnier)

2 parts cold milk.

The special guy that I am, I had to go invent my own cocktail. As its name betrays, it is very similar to B52. In fact, it is just B52 with cold milk instead of ice. The replacement of ice with cold milk brings the following benefits:

2024-07-01

On preferred pronouns

It is becoming customary in western societies to ask people in various settings to state their preferred pronouns. It started among younger people of the particularly woke persuasion, and it is spreading everywhere. When I find myself in such a setting, I do of course go along, because doing otherwise would be awkward, but I hope that it is only a fad which will eventually go away. While waiting to see how it pans out, let me describe a few issues I have with it.

2024-06-07

How to organize a Visual Studio Solution

Visual Studio is a capricious product, and its "Solution" subsystem is especially capricious. When you look at what options are available you might think you have a great degree of freedom to structure things the way you want, but as you will inevitably (and painfully) find out later, many things have to be done in precisely one, entirely undocumented way, or else there will be pain of the worst kind: Visual Studio will malfunction either without any error message, or with error messages that are completely unhelpful for locating and fixing the problem.

Here is a list of things I have (painfully) found out over the years.

2024-05-31

Problem Severity Calculation Formula

The Mike Nakis formula for calculating the severity of a problem:

S = I × G × T

Where:

  • S is the severity of the problem.
  • I is the impact of the problem.
  • G is the geographic pervasiveness of the problem.
  • T is the temporal pervasiveness of the problem.

Thus:

Simplification of triple-choice prompts to dual-choice

I have a lot to say about the modern trend in graphical user interface design which aims to achieve an impossibly clean look at the expense of usability, but this is going to be the subject of another blog post. In this post, I want to talk about simplifying the user interface when the simplification is clearly a win, both from a usability point of view and, incidentally, from an aesthetics point of view. Specifically, I want to show how a yes/no/cancel prompt can be reduced to just a yes/cancel prompt.

2024-05-16

Buienalarm vs. Buienradar


So, today I had the chance to observe an example of the relative accuracy of buienalarm.nl vs. buienradar.nl

2024-04-01

Audit Testing

Abstract

An automated software testing technique is presented which spares us from having to stipulate our expectations in test code, and from having to go fixing test code each time our expectations change.

2024-03-29

Artificial Code Coverage

Abstract

In this paper I put forth the proposition that contrary to popular belief, 100% code coverage can be a very advantageous thing to have, and I discuss a technique for achieving it without excessive effort.

2024-03-07

The most important quality of software

What is the most important quality of software?

Correctness, they say.

And what is the second most important quality of software?

Readability, they say.

That is right, but only in theory.

2024-01-28

Types of dependencies

The term "dependency" is used very often in software engineering, but depending on context, it may mean slightly different things. To avoid confusion, here are the different meanings of the term, and their explanations.