using AI to build software and how to avoid the race to the average
Using AI to build software can result in a slippery slope towards developing average code.
PLEASE ACCEPT OUR. COOKIE POLICY
I recently when to great pains to upgrade a website to the latest versions of .Net and Bootstrap. However, just before it was about to go live I checked the site's performance using Google Page Speed tools. Sadly page load times had become extremely long.
One of the recommendations was to use the webp format instead of png and jpeg which I was using. During the upgrade I had added a lot of images so switching to this format was therefore a priority.
I didn't know anything about the webp format but I quickly found that you can save Photoshop files in the webp format. Unfortunately, it's not one of the Quick Export formats but you can use Save As to save the Photoshop file itself in that format and then use it directly in a website.
Unfortunately, I have over a hundred images on my site so saving each file individually wasn't something that I wanted to do. Instead I found a .Net library called Six Labors which can save png, jpeg, jpg and bmp files in the webp format. In order to convert my png and jpeg files into webp and load them into Azure I developed an Azure Logic App to take the files from my hard drive and connected it to an Azure function which did the rest.
In most cases the results were fine but some files didn't convert well when exported to webp. Therefore, you should check each image before switching using the webp version.
Using AI to build software can result in a slippery slope towards developing average code.
Using DotNet 8 and Aspire With Azure Container Apps Makes Kubernetes Enabled Apps Incredibly Easy
Moving to a micro-services architecture can sometimes seem daunting due to the amount of technical choices to be made and the amount of planning involved. Often however, the migration can be made in manage-able steps. Here is one classic example.
Fast Endpoints have become very popular with .Net developers recently, but how much faster are they than regular Controller endpoints using .Net 8
GPT4 and other tools have good text summarisation capabilities but only Deep Mind is providing the real breakthroughs.
Managing Infrastructure State can be tricky in the cloud. AZTFY and Terraform can help with management