Some hatch mechanics 📐🔨

I am often a DIY’er and I have a really heavy hatch (32 kg) at home that I want to open automatically with an electric actuator. Something like the hatch in the image below. You can buy these actuators for 50 to 100 euros online: but which one do I need? or: What is the minimal and maximal length (and stroke) that I need? What is the force the actuator should be able to push?...

<span title='2023-01-20 11:37:35 +0100 +0100'>January 20, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;385 words&nbsp;·&nbsp;Joost

Collecting stickers 📷

My local supermarket runs a campaign where you can collect stickers for a photo album 📔 with historic pictures of our pitoresk town. For every 10 euros you get a package of 4 stickers and in total there are 229 unique stickers. My question is: How many stickers including doubles do you need to get a full album? 💁 This is known as the Coupon collector’s problem (a variant of the birthday problem)....

<span title='2023-01-01 11:37:35 +0100 +0100'>January 1, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;321 words&nbsp;·&nbsp;Joost

Skiing in the Alps

While skiing in the Swiss Alps last winter, I got into a discussion about speed. Following my engineering knowledge, your skiing speed does not depend on your own mass. Without the intention to offend anyone, skiing is basically a form of falling at an angle. We can build a model based on Newton’s second law where acceleration times mass is equal to the resultant force. We can see that mass ($m$) will drop out of the equation:...

<span title='2022-09-23 11:37:35 +0100 +0100'>September 23, 2022</span>&nbsp;·&nbsp;5 min&nbsp;·&nbsp;907 words&nbsp;·&nbsp;Joost

Overview of Spark configurations

Find myself looking for an overview too often. So let’s create a rough overview of common used config for Spark. As a start, create a Spark Session with default config: from pyspark.sql import SparkSession spark = SparkSession.builder \ .master(SPARK_MASTER) \ .appname("app name") \ .getOrCreate() The Spark Context represents the connection to the cluster; communicaties with lower-level API’s and RDDs. Some resource settings on the driver: ... .config("spark.driver.memory", "8g") ... .config("spark.cores.max", "4") ....

<span title='2021-11-08 01:26:43 +0000 UTC'>November 8, 2021</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;431 words&nbsp;·&nbsp;Joost

Local development on Rancher Desktop

Through Hackernews I found out about the recent release of Rancher Desktop and I was curious if this would be a good alternative to Docker desktop for the develop of web applications on my local machine. I don’t really have a problem with Docker desktop, just good to try something new every now and then and it is open-source. Running some containers really gets some steam out of my Mac so hopefully it has some improvement there....

<span title='2021-10-16 04:07:47 +0000 UTC'>October 16, 2021</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;349 words&nbsp;·&nbsp;Joost