How to Fix “User is not in the sudoers file” in WSL 2

This morning I was working in WSL 2 and all was well until I tried to install a new utility and was faced with this error. "{USER} is not in the sudoers file" I've never had this issue before with the default user on Ubuntu, so here's how I resolved it. First, open a CMD/PowerShell… Continue reading How to Fix “User is not in the sudoers file” in WSL 2

New Book: C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals

I've spent over a decade using C# and .NET to build everything from native desktop apps to games and web/mobile apps. It's an incredibly powerful and flexible combination that continues to improve in performance, security, and developer experience with the latest release of .NET 7. I'm stoked to begin reading C# 11 and .NET 7… Continue reading New Book: C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals

Preparing an Xcode Project for Programmatic UI with UIKit

If you want to create your UI programmatically in Swift, you'll have to go through a few steps to remove the Main storyboard and references to it. The steps are quite simple, but it can be easy to miss one. Let's get started. Delete Files and Removing References First, delete the Main storyboard and the… Continue reading Preparing an Xcode Project for Programmatic UI with UIKit