June 8, 2022

Combining remote working and office presence

Hybrid working is not perfect, everyone in the office works great and everyone at home works great, but mixed into one meeting is not ideal. One day per week in the office SITUATION; One is required to be in the office every Thursday. Potential compromise The following shows a pattern where one is physically absent for 2 Thursdays per month, denoted as #. Cycle of 28 days: w | t t | f mo. Read more

February 25, 2022

Disable Soundcore Life Q30 transparency touch control

While being a decent headphone, the touch control on the right ear cup cannot be disabled. This ‘feature’ or bug should be able to be disabled via the app since it is activated constantly when wearing it around my neck. Luckily it only takes 2 minutes and a screw driver to disable this bug. The outer cap can be taken off by putting your nails under the edge and pulling it Then we unscrew 4 screws Get the speaker off Poke the cable named touch, making it disconnect/broken Done! Read more

October 9, 2021

Germany disincentivizes expats from vaccination

Last week I was working in Germany and learned from someone that he carried around with him his paper Covid certificate all the time. He worked in Germany, had his Covid pass from the German health institute (Robert Koch) and his phone was in German, but still he was unable to install the German CovPass app. His use case made some people around him even more hesitant to take the vaccine. Read more

October 9, 2021

Horeca krijgt alle gegevens bij het scannen van de Covid QR

Wanneer men de Nederlandse app gebruikt om de QR code te scannen ziet men minimale informatie. Maar wanneer de app uit Belgie, Ireland of Italie gebruikt wordt krijg je veel meer te zien. En wallet apps slaan zelfs alle gevens direct op, waardoor degene die scant bij een voordeur automatisch een lijst bijhoudt van iedereen die er is geweest. Het controleren van de scanner heeft weinig zin, gezien het kinderlijk eenvoudig is om een app te maken die officieel lijkt maar wel alles direct opslaat. Read more

April 1, 2021

Using Webpack as browserify

My initial setup was bundling everything together into one javascript bundle, however, I wanted to lower the building time and get faster feedback loops. For this I am using shimming and EcmaScript 6 modules. Shimming npm packages using webpack The default way (by webpack) of accessing modules (global variable), wasn’t my cup of tea, the current approach is inspired by this. We first create the shim: import * as mod from 'yamljs' if (! Read more

March 30, 2021

Tax advantage of a freelancer

In this blog I will show you how to increase your spending power by 2.4 times as a freelancer. Note that this only applies to goods that you need for your business, like a phone, laptop etc. Or you can be creative; a friend of mine wanted a camera drone and bought it on his business. He makes one video per year for a customer besides using it for all his vacations. Read more

March 23, 2021

Export csv from Google sheets

For a PoC, I wanted to use Google sheets as a data store for rendering charts. Trying to share a sheet via ‘Publish to the web’ as a csv did not work, since it’ll redirect you to an HTML page first, which makes it unusuable for automated systems. Searching for a solution lead to someone who shared how to get the xlsx exported, which helped me find out how to get it as csv. Read more

March 15, 2021

Microk8s cert-manager issue

After migrating my server, microk8s had been updated, as well as cert-manager. This gave some errors: "msg"="propagation check failed" "error"="wrong status code '404', expected '200'" Initially I thought the issue was between a version mismatch, but when my nginx based service wasn’t working either I found: kubectl logs -n ingress nginx-ingress-microk8s-controller-*|grep annotation I0315 15:33:07.280902 6 store.go:363] ignoring add for ingress REDACTED based on annotation kubernetes.io/ingress.class with value I0315 15:39:55.955968 6 store. Read more

February 6, 2021

Calculating hashes in Python without Python

The law of the instrument tells us that we might not use the best tool for the job. In this post we show an example where Python is not the tool for the job. We created a simple script which adds the hash of a file in the filename, enable you to detect data degration for cold storage. Note that I only use Unix systems (Linux, Android and Chromebook). When creating the following script using Python, you would likely first read the file into memory and then calculate a hash, as seen in the following script: Read more

January 13, 2021

Analytical approach to career switching

The conventional road to a vocation is through an education. In this post I try to show an alternative way of pivoting to a different career without going back to school/university. Personally I had my fair share of pivoting early on. My education started with mechatronics, since I liked creating stuff as a kid and doing mechanics and electronics combined seemed like a good fit. After this education I was able to create machines, but to control them required software, which made me study computer engineering. Read more

Blog by lent.ink