On Friday, October 22, 2010 I conducted a scientific experiment: if one URL shortener can make a URL shorter, then fifteen URL shorteners can make it reaaaally short. The results were quite as you’d expect: the resulting link was longer than source, and browsers would go into convolutions trying to resolve the chain of shortened […]
Category: Nerd
Wanna do new JavaScript + React?
Here’s the “easiest” way to get started with the latest version of JavaScript (so much new stuff in es2105!) and the most popular kid (for this week, at least) in the JS framework playground: React. This approach uses the wonderful new JSPM package manager… so if you’re not willing to place your bet on this […]
Announcing JS.scala v0.1
I’m pleased to announce the initial releas of JS.scala. JS.scala compiles JavaScript source code to Scala source code, allowing you to write your web application entirely in JavaScript! Finally, the expressive power of JavaScript available on the JVM via Scala (some call it “the bytecode of the JVM bytecode”). How does it work? Well, given […]
Oculus Rift Reddit Internet Explorer
Recently both Firefox and Chrome released VR-enabled version of their browsers. Just as Lawnmower Man predicted. I decided to test them out with the Rift, by hacking together “Mr Speaker’s Internet Explorer” (or the repo): It loads any ImgUr images in a sub, and finds related subs mentioned in the “about” info.
“let” is the new “with”. But good.
The ES2015’s let and const keywords give us better (actually useful!) control over variable scope. We can use this to write code in a more terse, cleaner manner.
Mac service: open iTerm at selection path
Opening the current folder or file path in iTerm is something I want to do a lot. The second time I ever wanted to do this I decided I should automate it. The 10,000th time I wanted to do this, I actually did automate it. Here is an applescripted automator service to open the current […]
(Nearly) Getting Started with ClojureScript
UPDATE: Holy cow, they fixed the docs! Sooo, I don’t know if it was directly related to this rant, but the quick-start docs now rock! So go forth and ClojureScript! So you’ve decided to do your next pet-project in ClojureScript because Rich Hickey is awesome and the Web is awesome, therefore, Clojure on the Web […]
CHIMP-8: a lil’ CHIP-8 VM
And now for something completely different… a full implementation of a CHIP-8 interpreter, complete with “sound” (via the Web Audio API). But why? Well, it all started when I fell over a link to an article about Another World, and ended many hours later with the complete (as I can be bothered making it) CHIMP-8 […]
Selling Swift: what a fool believes
Ok, Apple comes out with a brand new programming language. Creating a new programming language is the absolute surest way to invite a hurricane of internet pain from coders worried they’ve bet on the wrong horse. Generally they’ll try to shout at the horse until it dies – mostly with nasty tweets. Yet somehow Apple […]