TDD implies higher quality code

I don’t mean just fewer errors, although that is definitely a happy side effect of TDD. I mean that the code is easier to read, maintain and has fewer leaky abstractions.

Scaling Gitlab runners

Gitlab documents a method for auto-scaling a gitlab-runner. But what if you are not able to apply Docker Machine concepts to your cluster, or don’t need autoscaling and are content to scale manually? Read on for my solution to simple, manual scaling of Gitlab runners in a Docker swarm.

Charting the multiport black box parameters of linear, time invariant electrical networks

This tutorial gives an overview of multiport black-box model theory and how it relates to commonly used parameters of linear, time invariant electrical networks. Expressions are also derived for the conversions between the various multiport parameters.

Combining principles; Theorem 3

When each of the \( M \) branch networks and source resistances are identical there is an equivalence between the multiport combiner with source resistance below and the single branch network also shown below, comprised of an effective source resistance \( R_{e} \), a scaled branch network \( \mathbf{Y_{e}} \) and the original trunk network \( \mathbf{Z_{t}} \).

Ideal combining network

Effective equivalent single source combining network

Combining principles; Theorem 2

A combining network driven by multiple voltage sources as shown in the figure of Theorem 1 is equivalent to the same network driven by a single voltage source as shown below.

Single source equivalent network