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
Category: programming
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
Easily convert Github repos into Maven dependencies on the fly
TL;DR: JitPack converts Github repos to Maven repositories in near real time. Publishing dependencies to Maven central is hard and I don't care what everybody else says. Every time I need to publish a new release of one of my OSS projects I know I'll waste at least half a day. I wish it was … Continue reading Easily convert Github repos into Maven dependencies on the fly
Skype and VLC cannot use v4l2loopback video device
I'm playing around with using DSLR cameras as webcams with gphoto (CLI to cameras over USB) and v4l2loopback (dummy video devices), which works with OBS but neither Skype nor VLC which will either show a black image or fail with an error message. Running VLC in verbose mode and digging a bit around showed that … Continue reading Skype and VLC cannot use v4l2loopback video device
Function pointers in Java
Overview The last post about reactive programming introduced an experimental library which, among other things, implements method references (aka function pointers) for Java. If Java allowed for such a syntax, I could imagine a succinct example: class TestClass{ int add(int a, int b){ return a + b; } public void test(){ FunctionPointer fp = TestClass.add; … Continue reading Function pointers in Java