Logo Waldemar Muhl
  • Home
  • About
  • Recent Posts
  • Skills
  • Experience
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • AI and ML
    • AI assistants as customer service agents
    • Deepseek Misconceptions
    • Is this AI?
  • Architecture
    • TOGAF
  • Coding
    • Angular Service Worker
    • Big O Notation
    • Class modifiers in C#
    • Delaying Complexity
    • Fluent Validation
    • Implicit Usings
    • Sudoku
      • Part 1
      • Part 2
      • Part 3
    • Unit Tests
      • Unit Testing in C# with FluentAssertions
      • Using Moq to complement your Unit Tests
      • Expanding on Unit Tests with GenFu and ChatGPT
  • Design Patterns
    • Introduction
    • SOLID
      • Single Responsibility
      • Open-Closed
      • Liskov's Substitution
      • Interface Segregation
      • Dependency Inversion
    • Ambassador
    • Blue-Green Deployments
    • Chain of Responsibility
    • Circuit Breaker
    • Claim Check
    • Decorator
    • Importance of Design Patterns
    • Observer
    • Observer Cat
    • Sidecar
    • Singleton
  • Miscellaneous
    • Coding Soundtrack
    • Innovation Amidst Escalating Pressures
    • Live Coding Interviews
    • My new site
    • Navigating the Data Lifecycle
    • Powershell Tips
    • PSA - Storage Sense
    • Real Agile
    • Windows Terminal with Oh My Posh
  • Tech Reviews
    • Airpods Pro 2nd Gen
    • Jetbrains' AI Assistant Review
    • NDepend Code Analysis
  • Tutorials
    • Deploying Hugo to Azure Static Site
Hero Image
C# Fluent Validation

Fluent Validation has been around for a long time and if applied correctly it can seriously enhance your model validation.

  • computerscience
  • programming
Wednesday, March 19, 2025 Read
Hero Image
Angular Service Worker

PWAs have been around for ages and one of their biggest features is local caching done by a service worker. Let’s dive in and see how easy it is to implement one for Angular.

  • computerscience
  • programming
Sunday, March 9, 2025 Read
Hero Image
Delaying Complexity

Architecting a new system can be daunting. One approach to simplifying the process is to delay any complexities until you you can no longer delay it any further. Let’s look at this approach in more detail.

Sunday, February 2, 2025 Read
Hero Image
Solution - Deploying Hugo to Azure Static Site

Deploying your Hugo site to an Azure Static Site from GitHub is pretty straightforward, Azure sets it up for you. But you’ll run into a problem when trying to use a later version of GoLang. Let’s run through the solution.

  • coding
  • hugo
  • azure
  • github
  • solution
Tuesday, August 13, 2024 Read
Hero Image
Class modifiers in C#

It’s often easy to overlook class modifiers when we’re coding in C#. I’ve found myself regularly simply flagging something as public for the sake of convenience. Class modifiers don’t end with public and private though. Let’s dig into some of the class and property modifiers we find in C# 12. Public public is an access modifier that allows access unrestricted. This class can be instanced anywhere, whether it’s inside the same namespace or not.

  • coding
  • computerScience
  • csharp
Monday, April 1, 2024 Read
Hero Image
Expanding on Unit Tests with GenFu and ChatGPT

In this chapter on unit testing, I’m going to discuss Moq and how it can effectively be used to ensure you are unit testing correctly without having to concern yourself (too much) with dependencies further down the chain. In this final (for now) chapter on unit testing, I’ll be showing you how to generate randomised data for our unit tests using GenFu as well as how we can use ChatGPT to write unit tests for us.

  • coding
  • computerScience
  • unitTests
Tuesday, October 31, 2023 Read
Hero Image
Using Moq to complement your Unit Tests

In this chapter on unit testing, I’m going to discuss Moq and how it can effectively be used to ensure you are unit testing correctly without having to concern yourself (too much) with dependencies further down the chain. Sample Project I’ve used the base ASP.NET Code Web API project to start things off and made a few modifications to it, all of which can be found in the repo below:

  • coding
  • computerScience
  • unitTests
Sunday, October 22, 2023 Read
Hero Image
Unit Testing in C# with FluentAssertions

Unit testing should be an essential part of your SDLC, especially when you have multiple contributors to a project. It’s a great way to ensure that your code is still returning the appropriate responses, even after someone else (who might have a different context than you) has tinkered with it. Don’t get me wrong, writing unit tests can be an exercise in tedium but it has saved my behind more times than I care to admit.

  • coding
  • computerScience
  • unitTests
Tuesday, October 10, 2023 Read
Hero Image
Big O Notation

Update 2024-09-05: I have updated this post to contain some coding examples as a way to better describe differing complexities. What is Big O Notation? A mathematical notation we use to describe the time complexity or space complexity of an algorithm. It provides a way to analyse and compare the efficiency of different algorithms by looking at how their performance scales with the input size. In short, it’s a reasonably straightforward way to analyse the efficiencies of algorithms, based purely on instruction sets.

  • computerscience
  • programming
Thursday, July 6, 2023 Read
Hero Image
Sudoku Part 3

Last time, I wrote a fairly simple Sudoku puzzle generator. The only problem was that we had no way of determining solution uniqueness. So for the next part, that’s exactly what I want to do. Feel free to follow along at https://github.com/Wallyza/sudoku. I’ll also be tagging the repo as I go so that what you’re reading is aligned with what you see in the code. Today’s tag is 0.0.2: https://github.com/Wallyza/sudoku/tree/v0.0.2

  • coding
  • sudoku
Tuesday, March 28, 2023 Read
Hero Image
Sudoku Part 2

In the previous part, I outlined what the plan was. In this part, we’ll be stepping into some code. Feel free to follow along at https://github.com/Wallyza/sudoku. I’ll also be tagging the repo as I go so that what you’re reading is aligned with what you see in the code. Today’s tag is 0.0.1: https://github.com/Wallyza/sudoku/tree/v0.0.1 How to run the code I’ve coded it up in .Net 6, I was too lazy to install 7.

  • coding
  • sudoku
Saturday, March 11, 2023 Read
Hero Image
Sudoku Part 1

What is this about I am quite fond of Sudoku as a quick past-time that helps my brain disconnect a bit and refocus. I have apps on my phone and on my PC that I can fire up when I feel like it. Only there is a caveat, there are some variations on Sudoku such as Chess Sudoku and Killer Sudoku and I haven’t really found one app that contains all which means having to pay for multiple apps.

  • coding
  • sudoku
Monday, March 6, 2023 Read
  • ««
  • «
  • 1
  • 2
  • »
  • »»
Navigation
  • About
  • Recent Posts
  • Skills
  • Experience
Contact me:
  • waltiplayer@gmail.com

Toha Theme Logo Toha
© 2024 Copyright Waldemar Muhl.
Powered by Hugo Logo