Chipmunk in ASM.JS

I'm not sold on emscripten. Its a cool idea, and its impressive that it works at all, but its output seems really stupid. For example, take this C function: cpFloat cpMomentForCircle(cpFloat m, cpFloat r1, cpFloat r2, cpVect offset) { return m*(0.5f*(r1*r1 + r2*r2) + cpvlengthsq(offset)); } This…

KeyKitten: Gravatar for keys!

One of the reasons crypto isn't used more is usability. To use PGP there's like 6 scary steps you have to go through. First you have to install gpg, then make your keys (which requires typing some scary stuff and choosing your cypher..!?). Then you have to add your key…

Dreams, cleverness and the gallows

Last night I dreamed that I was on death row, slowly taken out toward the gallows. I hadn't really done anything wrong. Suddenly my execution was just sort of about to happen. Everyone thought I must have some clever plan to escape - so most of my dream was taken…

ChipmunkJS and Emscripten

I've finally gotten around to compiling Chipmunk to JS using Emscripten to see what happens. It works great. As a baseline, here's the first benchmark running in C: Time(a) = 1451.45 ms (benchmark - SimpleTerrainCircles_1000) The same benchmarks running with chipmunkjs in node 0.10.12 (v8: 3.…

Privacy and trust: Pick one.

How do you prove your identity on the internet? Well, the standard PGP model is a web of trust. I present you with my certificate, which is signed by all these other people. How do you know I didn't just make all these people up? Well, their certificates are signed…

XMPP in Wave in a box

From the wave in a box mailing list: On Tue, Jun 11, 2013 at 4:08 PM, Dave wave@glark.co.uk wrote: Protobuffs in XMPP might not be the most elegant wire protocol, but they're both proven,…