Recently I was creating a new image using a dockerfile and encountered a very strange error during the build: ./my-script.sh: 1: ./my-script.sh: Syntax error: word unexpected The cause of this wasn't obvious and it took me a little bit to understand what was happening. It turned out to be a line ending compatibility issue between … Continue reading Linux Style Line Feeds in Docker Desktop on Windows
Why should I make my Pull Requests small? Just like small change sets make deployments easier and decrease risk, submitting a small set of changes for review in your git pull request (PR) improves code quality, feedback, and understandability. Have you ever gotten a PR assigned to you where changes span a large number of … Continue reading The Art of Small Pull Requests
We used to rely solely on artifact dependencies and finish build triggers in TeamCity to coordinate build chains. This was simple and worked well, but as our builds grew in complexity, this approach began to break down. We started experiencing slow, brittle, and less reliable builds. It was also difficult to ensure that the same … Continue reading Team City: Leverage Snapshot Dependencies
I was recently working on a .NET 4.6 based project that was using EF 6 and nUnit for unit testing. While setting up some integration tests against a local SQL database I was receiving this error: Spatial types and functions are not available for this provider because the assembly 'Microsoft.SqlServer.Types' version 10 or higher could … Continue reading SQL Server Spatial Types and nUnit
I recently gave a presentation on Progressive Web Apps at a local user group. I am really excited about the future of PWA technology! Although these technologies are extremely new, I believe they will be critical for web application development in the near future and will greatly improve the application experience for both users and developers. … Continue reading Presentation on Progressive Web Apps
Angular provides a lot of great tools for testing your application. Unfortunately, this wide array of tools and different methods for testing can be confusing when you first start working with the framework. Having an understanding of how Angular's different testing tools and methods correspond to the traditional levels of automated testing will help you … Continue reading Effective Angular Testing
Ever felt confused when working with Git? Wish that it made more sense and you could leverage it more effectively? For the longest time I didn’t really understand the fundamentals of how Git was storing and tracking changes to my projects. I had a set of commands I would strictly follow every time I wanted … Continue reading Grok Git -Understanding the fundamentals
Why use pull requests for team development? Our team recently modified its development workflow to incorporate a peer review process for all code changes. We decided to do this for a couple of reasons: We wanted to increase the overall quality of our code. We were fairly good about writing tests and not taking short-cuts, … Continue reading Pull Request Etiquette
The other day I was working on an Angular project and noticed that my controller scope had loaded twice. I noticed this phenomenon using Batarang: Tip: Batarang is a great chrome developer tool plugin that helps a lot with debugging your Angular applications. Where in the world did scope.$id=2 come from? The rest of the … Continue reading Why would AngularJS load $scope twice?
Anyone can write code that a computer can understand, it’s much more difficult to write code that other people can understand! Our team is always striving to make our code as easy to understand and intention revealing as possible. Using the new ES6 syntax and features can be a great way to improve your existing … Continue reading Awesome Angular Controllers with ES6: 6 Easy Steps!