September 04, 2021

Developing with Docker, PHP, Apache and MariaDB

Oh Docker…

It took me quite some time before I got on the Docker boat (pun intended), but since last few weeks, I’m totally in. This article describes a way to set up a MAMP development environment with Docker, Apache, PHP and MariaDB (i.e. MySQL).

I was cleaning up my laptop as I had only 6Gb left on my 2013 MacBook Pro. I had both Macports and Homebrew installed… Why? I can’t recall actually. But I found out both use an aweful lot of diskspace. I deleted both and wrote a docker-compose.yml with about 50 SLOC that’s easier to maintain and easy to set up.

more

November 28, 2020

Perlin Noise in JavaScript

Perlin Noise, you’d almost think it’s a punk rock band name. But it’s not! But it is noise, very elegant noise. I learned about Perlin noise back around 2007, when I was teaching at MAD Tech in Groningen, the Netherlands, as tutor computer programming. I taught art students the basic principles of computer programming with the aid of Processing.

After visiting Ken Perlin’s website at NYU, I noticed all his code snippets are written in Java. I hardly know Java… I have not had any formal education in computer science or programming: I learned programming in practice. I can read Java, but I won’t understand all of it. So let’s port Perlin Noise to JavaScript then…!

more

November 11, 2020

Slot machine mathematics in JavaScript

About two years ago I got the idea of creating an online slot machine. The purpose was not to earn any money with it, the goal was to create an online artwork that consists of a slot machine. I got inspired by a work from Jeff Koons called “Three Ball Total Equilibrium Tank”: a glass tank filled with some fluid in which three Spalding basketball balls are floating in total equilibrium. I wanted to have the math correct. This lead me to research how slot machine math actually works, and how I would need to implement this in JavaScript, using React.

more

October 03, 2020

Bullet Journal tips pt. 7 - Collections: a different approach

I love the concept of Collections, I use them a lot. Basically anything that could be grouped around a specific theme, project, verb, etc. ends up in a Collection. But there’s one thing I don’t like about them and that is that they’re mixed in your daily logs.

I want to keep an overview… my index becomes too messy when I have many page number entries for say April, because each April-page is followed by some Collection. I considered this a weak part of the Bullet Journal method.

more

September 13, 2020

Bullet Journal tips pt. 6 - My Weekly Log

Contrary to what Ryder Carroll describes in his book, I’m an big fan of a weekly dashboard. I keep track of several habits and activities on a weekly basis, and I want to have that easy overview of them.

more

August 30, 2020

Bullet Journal tips pt. 4 - Future Log and ICE page

I’m in my 3rd Bullet Journal notebook currently. Together the three Leuchtturm1917 books cover about 20 months at the time of writing. The first two cover about 7 months each. I think, partly due to Covid-19, the third journal will cover a few months more. This means that each one contains less than a year of my life. In comes the need of a proper Future Log.

more

August 28, 2020

Bullet Journal tips pt. 3 - When did I last...

I’ve been browsing Pinterest and Instagram on Bullet Journal tips and trics quite often. I’ve adopted some Collection ideas and started tracking some daily and weekly topics. One of the best ideas that I only started recently is a “When did I last…”.

more