the road less travelled

Hi! I’m C.Y. Wong, and welcome to my slice of the Internet!

This is primarily a record of things I’ve learnt, but maybe you’ll find something that interests you too.

Recent Posts

CSS tips to avoid Javascript

Recently I’ve been building a few web sites without JavaScript where possible, relying instead on modern browser support for CSS.

Here are some things I’ve figured out, including toggling the NavBar burger dropdown, smooth scrolling, showing and hiding modal dialogs with transitions!

Continue reading...

Static domain name resolution for Kubernetes pods

31 Mar 2020k8s

I recently needed to setup a Kubernetes cluster without an external DNS and without Internet access. In the old days, static IPs could be mapped to FQDNs by creating entries in the hosts file, but that won’t work with Kubernetes. With Internet access, the typical solution would be to use a wildcard DNS like or Instead, the workaround is by hardcoding the mapping in the CoreDNS configuration.

Continue reading...

Shortcuts on iPhone home screen

23 Jan 2020iosworkflow

Here’s how I “changed” an app’s home screen icon on iPhone. I’m so OCD that I want my home screen dock icons (the tray at the bottom) to be all of the same colour! Actually, changing an icon is not possible, but creating a new shortcut with an icon of my choice is!

Continue reading...

Fixing Windows 10 100% disk by stopping SysMain

21 Jan 2020opinionwin10

I just spent hours trying to figure out and fix a Windows 10 machine that was taking 100% disk, 100% RAM and about 50% CPU with abolutely nothing running. Of course, I initially blamed the user... then, a misbihaving (hidden, background) app... then, malware / virus... the, a runaway Windows Defender... then, a hard disk / hardware failure... but ultimately discovering the culprit is - drum roll - Microsoft Windows itself! As usual!

Continue reading...