Jan 19, 2019

3 months in Cambodia, but a lifetime's worth of growth

I have neglected writing for a while, but it’s time to check in and talk. I’d like to apologise – we’ve been in Phnom Penh, Cambodia now for three months and I haven’t written this sooner. But it has been three months. Three months full of highs and lows.

Jan 5, 2019

So you're in Malta, what should you do while you're here?

Malta is not a big country – it’s only 316km2, and it holds the 10th position on the list of the smallest countries in the world. But it is dense – though its nowhere near Macau or Monaco in that respect, there are 1510 people per square kilometre (Macau, the top of the list of most dense population territories, just for reference, is 20164).

Dec 30, 2018

It has now been 2 weeks on the road as a digital nomad

We left Amsterdam on the 15th of December, and today is the 28th. Only 16 days ago, my friends and colleagues in Netherlands threw me a going away party where we toured the Amsterdam Light Festival by boat and ate amazing Alegrian food near Westergasfabriek. That is two weeks now that we’ve been homeless and two weeks before we arrive in our first semi-permanent residence in Phnom Penh, Cambodia.

Oct 21, 2018

Synthwave is the perfect travel music

My train was approaching Leiden Central Station as the engulfing blackness of the South Holland countryside gave way to the lights of the town. The trees and straight-banked irrigation canals punctuated the farmlands, green by day, black and shapeless by the night’s eye behind me – broken up by the occasional middle-of-nowhere village. The red brick of the buildings, with accents of solid colours occupying the spaces between those bricks in variations of rectangles, stretched on both sides of the tracks as the empty streets and squares rested after a day’s use. Quiet, alone, basking in the night’s stillness, like me.

Sep 10, 2018

I am setting out on a journey (to nowhere in particular)

“We call it a ‘monkey wedding’ in South Africa,” said Dave, as all the people in our office looked out of our big window at the golden sunshine in a blue sky reflecting off the falling nails of raindrops outside. This is Amsterdam in September, where the weather dries and wets you at the same time, and makes about as much sense as monkeys getting married.

Sep 10, 2018

Let Postgres generate thouse updated_at timestamps for you

Various ORMs (like Rails’ ActiveRecord, Sequelize, etc) offer you the option of adding timestamps for the moment a record is created and updated. The created stamp is easy to do by simply giving it a default value of NOW(), but an updated_at stamp needs to change every time the row does.

Sep 10, 2018

3 tips on building a modern embedded widget

Working for one client, I had to write a widget that would JustWork™ in clients’ websites, adapting to their colour schemes and not interfering in their own scripts. It’s actually not that hard when you identify the requirements of what you’re doing! I thought I’d share my learnings with the community.

Sep 10, 2018

How to use events for DOM complete

These days in the age of <script> tags getting the async and defer attributes, you might want to include a .js file on your site, and then use its methods inline or in another script file.