Jiayu's Blog

Blog subtitle

A compact representation of the SUTDĀ logo

I've always been a fan of geometric patterns. When I was younger I used to draw Sierpinski triangles in class after a classmate (hi Marken) introduced them to me. I was fascinated by how hexagons tessellated after playing and designing maps for The Battle for Wesnoth, an open-source, turn-based strategy game which plays out on a hex grid.

An alternative GitHub Gist viewer

GitHub Gists are extremely handy for sharing self-contained chunks of information like code snippets, short scripts and even complete articles. However, I recently found myself working behind a corporate proxy which blocked access to gists, probably because of data loss prevention concerns.

Fantasy Premier League SQLite dataset

Recently, I downloaded some data from the FPL website and ingested it into a SQLite database so it could be queried and explored with SQL and potentially exported to other formats such as CSV afterwards. Here are some things you can do with it:

Benford's law and Reddit

Benford's law is the observation that in many numerical datasets, the distribution of leading digits is not uniform—the first digit of any number in the dataset is much more likely to be a 1 than a 9 (30.1% vs 4.6% for numbers in base-10).

WhatsApp spoilers

On Reddit or other forums, you'll often come across spoiler tags which may look a bit like this. They're used to discuss spoilers while protecting other readers who do not wish to be spoiled by requiring them to actively interact with the spoiler tag to view its contents.

My new blog

One year ago In June last year, I started a blog on Medium and wrote my first post on the highly public Lee family feud over their family home which was taking place around that time. It was something I decided to write on a whim that day, after a friend showed me the news that morning.