Go - Reading from Standard Input Provided by User

I’m working through the “greet” challenge by rwxrob. It is amazing how such a relatively simple and small challenge can lead down to so many rabbit holes. The program should take input from the user and print it out. I worked through the challenge together with Rob in his video but I’m going to talk (write) myself through these functions to fully understand what’s going on. We have the following function in main.go: ...

March 26, 2023 Â· Mischa van den Burg

Application Insights: Telemetry Sampling

Telemetry is the collection of measurements or other data at remote points, and transmitting that data to a receiver for monitoring. Sampling is used to reduce telemetry traffic and costs for storage and data in Application Insights. For small and medium sized applications sampling is generally not necessary. Advantages of sampling: Throttling data when the application suddenly sends a high volume of telemetry in a short time This saves costs! Keeping a pricing tier quota Reduce network traffic from telemetry collection Three different kinds of sampling: ...

January 3, 2023 Â· Mischa van den Burg

Pipelines: Continuous Monitoring

This term can be confusing. Initially I thought it meant monitoring of the pipelines themselves. However, in the context of Azure Release Pipelines, continuous monitoring refers to something else. Continuous monitoring leverages metrics from other services such as Application Insights. You can set up release gates based on these metrics. For example, you can set up a release gate to roll back the deployment if an alert is being fired for high CPU usage in the application. ...

January 3, 2023 Â· Mischa van den Burg

Distributed Tracing

Debugging is done using call stacks in monolithic applications. Nowadays it is more common to deploy an application using a microservices architecture. Microservices make it easier to update certain parts of the application, and allow for more frequent deployments. Using microservices does have a disadvantage: you cannot use the local call stack for debugging, because calls are sent to different microservices. Distributed tracing is an implementation of the call stack in the cloud. It is usually implemented by adding an agent, SDK, or library to the service. In Azure you can enable distributed tracing via Application Insights through auto-instrumentation or SDKs. ...

January 3, 2023 Â· Mischa van den Burg

What is a SDK?

A software development kit (SDK) is a set of tools provided by the manufacturer of (usually) a hardware platform, operating system (OS), or programming language. SDKs contain all the tools you need to get started. They typically contain a compiler, a debugger and an API. But they can also contain documentation and testing tools.

January 3, 2023 Â· Mischa van den Burg

How This Blog is Created, Written and Hosted

As I alluded to in my article about Obsidian, I am very fond of editing my text in neovim. Naturally, if you want to edit in neovim, you need to have your text as local files. I keep all of my personal notes in markdown. Previously I was using WordPress, but the editing and writing experience became torture which I could not endure any longer. I looked for a different solution that would allow me to edit my files locally instead of in the browser. ...

January 3, 2023 Â· Mischa van den Burg

What Are Containers?

When you learn about DevOps, you will come across the concept of a container early on. This is a “Mischa Explains” article where I attempt to explain a concept in my own words as simply as possible. I use the Feynman technique and pretend to explain it to a 12-year-old. Virtualization To understand containers, we need to understand virtualization. Virtualization is the process of creating “fake computers” or “virtual computers” on a physical computer. ...

January 1, 2023 Â· Mischa van den Burg

Tokens and Identity on the Internet

Introduction Have you ever thought about your identity on the internet? How does LinkedIn know it is you when you log in to LinkedIn? And when you allow LinkedIn to post to your Twitter, how does LinkedIn access your account and not your kindergarten teacher’s account? This is a “Mischa Explains” article where I attempt to explain a concept in my own words as simply as possible. I use the Feynman technique and pretend to explain it to a 12-year-old. ...

December 18, 2022 Â· Mischa van den Burg