
The horribly horrible horrific horrifying horrid word horror
What’s the difference between “horrible” and “horrifying”? It’s a simple question posed to me by a friend in the process of editing her novel. It

The agonizing necessity of cached calculations
Language support for caching sucks. Despite an ever present need to cache data and calculations most languages require the programmer to do all the work.

Why can’t I get organic salt and vinegar chips?
As a Canadian, eating potato chips is part of my DNA. I was understandably alarmed when I moved to Munich and was greeted with a

What is orthogonality?
The flexibility and usefulness of an API relate directly to its orthogonality. But what does “orthogonal” mean? It’s a term that’s tossed around a lot

Programming won’t be automated, or it already has been
I’m afraid of a robot taking my job. I don’t care about the job part much, I’m afraid of the actual robot. To replace my

The meta-field dilemma: `a.size` or `size(a)`
I can’t decide whether a.size or size(a) is more correct when getting the length of an array. While writing Leaf I have a recurrent feeling

Importing Blender object normal maps with permutations
We used a lot of object normal maps in RadialBlitz. Figuring out how Blender encoded these was part of the challenge. It didn’t seem to

A game of what’d they press? Hit testing in a 2d/3d layout
A simple tap of the screen invokes a staggering amount of calculations. That screen is actually big tree of UI elements, and we need to

The bitwise complement, or not operator, is unsafe
I came upon a problem with bitwise complement (logical not): it isn’t safe. It’s nothing new, but it really registered while implementing the logical operations

Stuffing curves into boxes: calculating the bounds
Now that we’ve drawn beziers and arcs there’s only one piece missing in the vector API. We need to calculate the bounds of the curve:

Rendering an SVG elliptical arc as bezier curves
I needed to draw ellipses and arcs. A vector API just wouldn’t be complete without them. Though opinions seem to differ as Apple’s Core Graphics

Porting Leaf from Linux to OSX
I recently ported Leaf from Linux to OSX. I figured it was about time to start making it cross-platform. The goal is to get it