Category: Coding
-
Mac OS: xcrun: error: invalid active developer path
While watching one of the Microsoft Build 2021 sessions, I ran into the following error message while trying to clone a project from Github using the git clone command line on my Mac. The entire error message is below: Thankfully, the fix for this is pretty straightforward, install the Xcode toolkit! I had done this…
-
How to (efficiently) update millions of records in a SQL table
You need to update one or more columns in a table with millions of records with data from another table, what’s a good way of going this with low risk and in an optimized way? One of my favorite ways of dealing with millions of records in a table is processing inserts, deletes, or updates…
-
Enabling software engineering teams for success.
Software development is hard, and it isn’t always the programming language or the framework you use, it’s the people who work on it. People are an essential part of a team; everything can be easily changed and fixed, but you need to make sure people work well together to achieve effective communication and a great…
-
Must-have VS Code Settings for Web Development
Last week I wrote about must-have VS Code extensions for web development. This time, I’m writing about the recommended settings to make sure these extensions and VS Code work correctly. VS Code is an excellent tool for writing software, and when you install the right extensions, it can be very powerful. However, if these extensions and…
-
Must-have VS Code Extensions for Web Development
The VS Code editor is such a pleasure to work with; it is my code editor of choice when working with light C# projects or any other languages such as JavaScript or Ruby on Rails. Below are my must-have extensions for anyone doing web development. There are many more magnificent extensions, but I feel like…
-
How to host a static website on Amazon’s AWS with SSL using S3, Certificate Manager, CloudFront, and Route53
So you have a static website and need to host it somewhere, there are many places to host your site but since you also want your site to have a security certificate, and you want all of this at a reasonable price, your options are limited. Last year, I tried Azure Storage to host a…
-
Failed to authenticate HTTPS connection. Conflicting certificates for localhost when using Visual Studio for Mac
Lately, I have been trying Visual Studio for Mac as this version of Visual Studio has evolved significantly. However, something I noticed is that since I don’t use it often, the local SSL certificates created by dotnet in the Mac get a bit screwy. There is a possibility that you might end up with a…
-
Moving a project from Bitbucket to Github
Both Bitbucket and Github are excellent choices to store your code; this isn’t a post about which one is best. Instead, the goal of this post is to document the steps I followed to move one of my projects from Bitbucket to Github, and what I did to wire up Github to Azure to automate…
-
Ideal Workspace for Developers
Before becoming a software developer, I had no clue what this job required or what did a developer did through the day. Many years later, I have a pretty good idea about the workload and can share some advice on what the ideal workspace for someone that writes code is. First of all, let’s get…
-
Parallelism. Using Parallel.For and ConcurrentBag.
Parallelism refers to the technique of running multiple calculations at the same time to speed up a computer program. Historically, this has been a complicated thing to write requiring a developer to do complicated coding including low-level manipulation of threads and locks. A program will generally run faster if you allow it to execute multiple…