A while back I picked up retro programming as a hobby. When programming for the 8086 DOS platform, Open Watcom is indispensable. It runs on both Linux and Windows, produces DOS binaries, has detailed documentation and a whole arsenal of tools. It's also rather fast and produces performant code. Unfortunately there isn't much documentation about … Continue reading Open Watcom C/C++ Compiler: 16-bit 8086 Optimisations Report
Category: programming
Assigning keyboard shortcuts to VS Code tasks
I like keyboard shortcuts, actually can't get enough of them. After a life time with Eclipse, old habits die hard and I find myself re-discovering this over and over, so it's time I wrote it down. Note to self: how to assign a key combination to a VS code task. Add your task to .vscode/tasks.json, … Continue reading Assigning keyboard shortcuts to VS Code tasks
Testing a Terraform resource deployment
I like to include smoke tests [ST] in my Terraform [TF] deployments just to make sure I didn't overlook anything obvious. One such way is to interact with a resource that invokes other resources, such as an HTTP endpoint that is routed through API gateways, application containers and databases. An easy and portable way to … Continue reading Testing a Terraform resource deployment
Azure: Service API already exists
Update 2023/01/04: I was wrong. Microsoft Support pointed out that each external APIM instances is assigned a globally unique DNS entry and mine was just too generic. Giving the API management resource a unique name for the region it runs in (eg. by appending a random number) solves the issue. I'm writing a Terraform template … Continue reading Azure: Service API already exists
Extracting field with fluentd
While playing around with fluentd the need came up to extract data nested deep into the logging input and add it as a flat field to the output. If you're not familiar with fluentd (I'm not): it's similar to logstash in that it collects logs from a variety of sources, filters, transforms and categorises them … Continue reading Extracting field with fluentd
