Weblogs


Hardware choices

2020-04-26

I had been holding off on buying a bunch of things and in the past six months have finally gotten around buying them. Some out of necessity, some out of opportunity, some out of ... well, just because. This post describes what I was looking for, my d...


Tenko Retro

2020-03-15

About three years ago I started writing on what ended up becoming Tenko. A JavaScript parser written in JavaScript. I had written a JS parser before; ZeParser. That was only for the old version of JS; "ES5". Since I wanted to write tooling based on "...


Ménière

2019-11-13

I was diagnosed with Ménière's disease over ten years ago. While I was initially told this was my new permanent state of being, that turned out to be almost correct and the problem went away after a few months. It did return later, with a frequency...


Pack token types in 32bit

2019-09-29

I've been writing a JS parser for over two years now. In this particular post I want to highlight a bit packing trick I'm applying to a core data structure of the parser as a whole: the token type. In general, the way a parser works is that it doe...


Xcode my js1k demo

2019-03-07

I submitted my js1k demo just now. It's called "Xcode - a CoreWars engine" and implements RedCode, a minimal instruction set to play CoreWars. CoreWars is a game from 1984 (when what you can render in a JS1k now wouldn't even render with a seven stor...


import/export in browser AND node

2018-10-03

I had a parser project with three main files that I wanted to turn into an html repl. This was initially a nodejs project and so I needed to make things work in the browser now, too. I decided to try experimentally supported es-modules which uses the...


Hearthstone draw simulator

2018-08-12

As you may or may not have noticed I like playing Hearthstone. I'll spare you the details. One thing I've been wanting to do for a while now is to create a simulator where you can simulate certain conditions. One in particular is drawing odds. And th...


Parsing `async` is hard

2018-07-07

I recently tweeted about a particular case that's troublesome to parsing. I don't think my tweet properly conveyed the problem with that snippet so I wanted to try and explain it in a blog post. As you may or may not know I've been working on the ...


Sunsetting qFox

2018-06-12

I've decided to deprecate my "qFox" nickname. That wasn't an easy choice, mind you, just one that made the most sense. I've inadvertently created somewhat of a brand of "kuvos" leading to most people only knowing "qfox" from my website (and not under...


Feels like 7 months

2018-06-12

A year ago I got home in my temporary apartment in a city I had only visited a couple of times that was soon to be my permanent residence. Soon in the order of a few months, but still, quite permanent. The event was a small deja vu for me, which is a...