Social media etiquette with the help of AI

There are many both really awesome and really horrible stories about how the internet is shaping our lives in the 21st century.

Social media despite its cool aspects also provide us with at least two problems:

  • The harsh tone often found in debates.
  • The amount of (useless) content.

Both problems have made me more or less quit social media, but I am hopeful that AI will be able to counter the harsh tone.

Read more...

A very small PDF for testing

For testing, I often find myself prioritizing having small data sets because I find they are easier to comprehend. Also, the small size helps emphasize what is being tested when data isn’t filled with many irrelevant data points.

Today I needed a PDF for testing. Following the same principles, I sought out “the smallest (valid) PDF” and ended up on StackOverflow.

Read more...

Constructing dummy JSON Web Token (JWT) using ClojureScript

JWT seems broadly used around the internet for all kinds of services and I wanted to use it for a service of my own.

To increase testing speed while interacting with the backend, I wanted to be able to rapidly create new JWTs to see the effect of different payload structures.

Read more...

Writing an app for Google Cloud Run using ClojureScript

As part of a project I needed to handle webhooks from Hubspot (a CRM), and since the implementation turned out nicely, I thought it would be worth blogging about.

The reason why the app ended up in Cloud Run and written ClojureScript was to avoid the hard coupling to the main application.

All the code is available on GitHub.

Read more...

A recurring core.async pattern

I’ve found myself using Clojure core.async in a very specific way on several occasions, and I thought it might be worth sharing.

Read more...