Blog posts index page 3

Stumble upon in May 2024

Midjourney prompt: Two people walking towards each other and bumping into each other. One person is looking down at their smartphone the other person is looking at the sky. Subtle highlight. concept art, oil on canvas painting.

While roaming the internet for information on different topics, I also found a few totally unrelated posts, but interesting nevertheless. I guess that’s what happens when you indulge:
I wonder what else they wrote about?

Read more...

S3 presigned URL generation with Babashka

Midjourney prompt: A cute steampunk rabbit with googles holding a worn feather pen in its paw signing old documents in colourful cloud surroundings. The image is in water color style --ar 2:1 --v 6.0 - Upscaled (Creative)

A while back, I needed to generate presigned URLs for S3 objects in Amazon Web Services. I wanted to use Babashka (Clojure scripting), to avoid my painful friend from the past - Bash.

I looked all the usual places for a Clojure-friendly approach, but even Cognitect’s AWS API did not have any means to presign URLs. Everybody seemed to reluctantly tolerate having to use AWS Java SDK directly for presigning URLs.

— Java interop, oh joy 😣😅

Being forced to use AWS Java SDK would mean a no-go for Babashka. Also, based on how often similar questions pop up, I felt it deserved a better solution.

Read more...

Upload files to SharePoint using Babashka

Midjourney prompt: A long factory pipeline with conveyor bands and pipes automatically delivers into the sky/clouds using a single pipe. The image is using a simple futuristic cartoon style, mainly using green and orange colors.

My team and I were publishing a specific set of files several times weekly and we were obligated to put them on Microsoft SharePoint for non-technical people to be able to find them. After all, it is fair to not assume everyone knows their way around GitHub or how to run small pieces of code.

The tedious file upload to SharePoint was done manually until recently when Babashka came to the rescue and helped leverage our CI/CD pipeline.

Read more...

How to compare JSON files offline

Midjourney prompt: A woman with long hair sitting on the ground alone outside, thoughtfully observing two piles of pebble further away in front of her in a grassy scene. The woman is looking slightly to the side. The style is cartoon. --v 6.0

At work, I needed to compare some huge (almost identical) JSON data structures.

Since the data was potentially sensitive, I wanted to do it offline. Sending data over the wire to one of the myriad of online services was a no-go.

There are probably built-in tools for IDE’s like VS Code, Emacs and the like, but I wanted something I could use on the Linux CLI

Read more...

Who am I

I am many things.

Upon reflecting the following words come to mind: husband, father, son, colleague, friend, philosophical, idealist, perfectionist, patient, empathetic, respectful, forgiving, fair, fearful, stubborn

Read more...