The Hood Internet – One Midnight With You

by Luke Rodgers on January 10, 2012

I suppose eventually I will get tired of M83 mashups, but it hasn’t happened yet.
The Hood Internet – One Midnight With You (Mayer Hawthorne x M83) by hoodinternet

Project Euler problem 9 in one line of Haskell

by Luke Rodgers on December 28, 2011

Problem 9 of Project Euler asks you to find the product of the sole Pythagorean triplet, the sum of whose values is 1000, where a Pythagorean triplet (familiar from elementary school math) is a set of natural numbers  a < (…)

Read the rest of this entry »

HTTP status cats

by Luke Rodgers on December 14, 2011

From Felix Rieseberg, HTTP Status-Katzen.

Hot buttered rye breakfast cocktail

by Luke Rodgers on December 14, 2011

After much experimentation, I have come close to replicating the deliciousness that is the Hot Buttered Rye breakfast cocktail from one of my favourite brunch joints in Brooklyn, Rye.

1 tbsp butter
generous dash of ground cloves
1.5 tsp of molasses
earl grey tea (…)

Read the rest of this entry »

Performance comparison of doubling a number in javascript

by Luke Rodgers on October 8, 2011

Three ways of doubling, inspired by Will it optimize?
Opera 10.6.3 failed to run the tests.

Bug in ckeditor version 3.6.1 revision 7072

by Luke Rodgers on July 15, 2011

Using ckeditor and jquery adapter, and with a textarea that is initialized as a ckeditor instance more than once, once with content, once without, you may encounter a bug in Firefox, p is null.
Go to line 126, change
p.setHtml(”);
to
if (p) { (…)

Read the rest of this entry »

Mis-applications of Gaia theory

by Luke Rodgers on May 31, 2011

I often encounter a sort of frustrating combination of Gaia theory plus bad philosophy of language, which goes something like this:
Earth is not sick, earth has been around for billions of years, and underwent many catastrophes before us, and will (…)

Read the rest of this entry »

Neat, plausible, and wrong

by Luke Rodgers on May 4, 2011

One of my favourite quotations is from H.L. Mencken:
There is always an easy solution to every human problem–neat, plausible, and wrong.
Tom Flanagan amply demonstrates the sort of reasoning at which this barb was aimed in a recent op-ed for The Globe (…)

Read the rest of this entry »