Weblogs


A new GSSParser

2015-08-27 17:15:10

I love writing parsers. So when a new client asked me to write a CSS and GSS parser in JavaScript I jumped right in. I've had enough experience with CSS to figure that a CSS parser shouldn't take me that much time. GSS on the other hand I had no expe...


Convert double quoted strings

2015-08-25 23:31:01

to single quoted strings in JS source code, generically. For a project I wanted to convert double quoted strings in the JavaScript source code, containing a whole bunch of tests, such that they were all single quoted strings. For consistency and beca...


ffmpeg for streamers

2015-08-20 00:22:01

Recording a screencast is fairly trivial these days. You get any of the recording software packages out there, turn on a mic, maybe even a camera, and you start jabbering about the topic at hand. But then what? If everything is fine just push that vi...


Game of Thrones Book

2015-08-06 01:58:08

(No spoilers!) When I first heard of GoT I was excited. I had seen the intro, heard the mass buzz, and pegged it for a show where "something" battled "something else" and the theme was mad technological gimmicks. Mechanical machines, whether or not s...


Logitech MX Master rocks

2015-04-11 19:26:02

I got a Logitech MX Master last week and it's been a real pleasure from the start. Especially with after my bad experience with the Razer Mamba, the Master is a bliss. I guess it's been a pure coincidence that I'm even at this point. The Master was o...


Razer Mamba Sucks

2015-04-01 09:48:54

The Razer Mamba is a 120 eur wireless mouse. I think it's fair to say that it's far and beyond into the expensive range of mice. But that's alright, I can spot that. I've been using this old default fuji mouse that I don't even know where I got it fr...


Input polling

2015-03-31 11:13:17

So I'm building a canvas game. Actually I've been working on this thing for most of last year before being side tracked, again, to something else. Ok I digress. In this canvas game there's obviously an fps setting, which determines at how many frames...


Achievement unlocked

2015-03-29 17:51:26

Let's talk achievements. In particular Steam achievements. They are like badges. Whenever you achieve a certain programmer designed action in a game, you can unlock an achievement. A game can have anywhere between zero and over a hundred of such achi...


Matrix learning toy

2015-03-22 14:59:54

I've always been pretty good at math. Not like a genius or anything, but I get it and I can work with it, you know? Unfortunately I've not been that good at paying attention or spending time on homework. I didn't attend a particularly difficult level...


JS1k community award

2015-03-16 20:26:48

People have asked before to allow everyone to vote on their favorite demo. The problem with that is that it's very difficult to get voting systems right. People are bound to try and game the system. Regardless of how I feel about that, I just don't w...