Fail tests instead of crash on Debug.Assert failures
The Debug.Assert(bool) method is a very old API that allows your program to test your assumptions at runtime, but in a way that only impacts performance of debug builds. The…
Read up on .NET news, tips, cautions... and other areas of technological interest.
The Debug.Assert(bool) method is a very old API that allows your program to test your assumptions at runtime, but in a way that only impacts performance of debug builds. The…
I’ve been honored to work on the MessagePack-CSharp library since at least 2019. I’ve learned a lot from its founder in the process. We shared a lot of values, and…
I was sold a lie. Dvorak isn’t superior. Sure, it relies on the same reasoning that keeps the U.S. on the old British measuring system instead of switching to the…
I had a computer with a 1TB NVMe storage device. It wasn’t enough, so I bought a 4TB NVMe device on Amazon Prime Day. I already had an NVMe enclosure…
As you work in your local clone of a git repo, you tend to create lots of topic branches. These will often get merged online via pull requests, leaving the…
Azure Pipelines does what it can to prevent accidental logging of secrets. As long as you tell it a particular value is a secret (through marking a variable as a…
Azure Pipelines and GitHub Actions offer generous compute time for OSS repos PR and CI builds. But when your repo is private, the economics change dramatically. For Azure Pipelines as…
In C# programming, magic strings often get a bad reputation. They are seen as a code smell, something to be avoided. The advent of nameof(x) in C# gave us a…
Most folks will just buy and hold a cryptocurrency (often referred to as HODLing), waiting for someone else to drive the price up so they can make money. When the…
My recently released Nerdbank.Zcash library is available on nuget.org and makes the Zcash cryptocurrency accessible to .NET apps. This library exposes all the APIs necessary to generate seed phrases and…