2021-04-10

Secure your side project in a vault

Svalbard is a remote island group north of Norway. Its largest island, Spitsbergen, is the home of the Svalbard Global Seed Vault, where anyone can deposit seeds to preserve them even in a case of a global crisis or a regional disaster. Being such a remote place deep underground, you can be almost certain that you can still recover the regional plant varieties no matter what happens outside the vault.

2020-05-03

Path finding using a navmesh

This post covers generating smooth path from a two-dimensional navmesh in Javascript.

2020-05-03

2D Navmesh generation in Javascript

This post covers generation of two-dimensional navmeshes in Javascript with minimal dependencies.

2020-03-29

Airbnb-like marker culling for PostGIS

When placing markers on maps there is a delicate balance between too many markers and too clumsy UX.

2020-03-29

JSON Serialization might be your Rails bottleneck

Rendering JSON or calling to_json is slow in Rails and you may benefit from generating the JSON in the query itself.

2020-01-18

Why Peloton succeeds: the fundamental motivation perspective

Peloton is a company producing exercise bikes and an accompanying subscription service. The idea is clever: bring the concept of personalized, social training to the user’s living room through classes with a real-time motivational instructor. Rather than plodding through rain and darkness to the local gym with loud music and insufficient equipment, just hop on your bike in the morning and train with a true professional. The uniquely effective ability to motivate exercising has surely contributed to the 25% increase in Peloton’s share price since the October ’19 IPO.

2019-07-14

Turning imperative code into declarative using React

With React’s lifecycle hooks many pieces of imperative code can be turned into a safer, declarative version, where most complexity is contained inside a React component.

2019-04-10

Automated personal content page with Jekyll and GitHub Actions

I post blog posts, personal projects and weekly collections of interesting links on this page. Most of the process is automated.