A while ago I was monitoring a containerized application, and noticed an odd pattern in the graph for memory usage. The memory usage would climb steadily until reaching the memory limit set on the container and then precipitously drop to zero. This pattern would repeat as long as the application...
A generally accepted practice for writing software is leaving comments. These comments will hopefully be helpful to the next person that reads through the code. My overall goal when I comment code is to either describe the purpose of a method/class/file or the reasoning behind a decision that was made...
I ran into an odd scenario recently where I was working on SQL files to generate data via a C# program I had written. The simple solution was to have the
dotnet watch run command watch for changes in the SQL files. The only problem was that the...
Something has always bothered me about deploying something that I haven’t tested locally. A big manifestation of this is my blog. Since my blog is currently hosted on GitHub Pages, I needed Jekyll and all of its dependencies. Since those aren’t things I typically have installed, so I decided...
When I start a project, I like to follow a few steps to speed things along later. The first is to get the basic project compiling successfully and the next step is to set up the automated build and deployment infrastructure (bonus points if the build/release can be put into...
Recently, I have been working my way through the Gang of Four’s Design Pattern Book and looking deeper into patterns that I can apply in my day to day work. One pattern that isn’t in the book is the Specification pattern. After looking into the Specification pattern, I really...
A few days ago, I started seeing some odd failures in one of my Azure DevOps Pipeline YAML builds. The error was:
/azure-pipelines.yml (Line: 1, Col: 1): Unexpected value 'name'
The beginning of the file looked like:
name: $(Build.BuildId) pool: Default trigger: - master...
Let’s talk Docker! Docker is a container platform that allows developers to control the environment to which their application is deployed. This is great for a few reasons, the first is there are no more issues of “it works on my machine” since the container image you are testing against...
User Stories are chunks of desired behavior of a software system. - Martin Fowler (1)
The user story is a basic building block of most Agile-based systems. Over the years, I have noticed some patterns and anti-patterns that have emerged in the user stories that my teams...
I found myself needing to switch from a Windows environment to a Linux environment. During that process, one thing became very apparent: This sucks!
I needed a solution that would allow me to switch environments seamlessly.
Docker has been touted as the solution for many issues. Most of...