Quantcast
Channel: O! Mr Speaker!
Browsing all 11 articles
Browse latest View live

Olive vs OliveDrab

"Name as many of the web 'X11 color set' named colours as you can." should be the new fizz buzz. I think I'd do pretty good, but would always fall down on the "mediums" and "lights". "MediumPapayaWhip?...

View Article


A most useful function

Hot on the heels of my web colors rant, comes this amazing piece of Emacs Lisp I now have in my init file: (defun web-color () (interactive) (let ((cols '("AliceBlue" "AntiqueWhite" "Aqua"...

View Article


Image may be NSFW.
Clik here to view.

Monads for Babies

Monads for Babies is the first in a series that teaches computer science to toddlers. It's only available in digital form at the moment (png format, embedded below), so I suggest `right-click ->...

View Article

And… goodbye JavaScript!

When I de-bloated my piece of the web, I noted that the largest asset I was serving on my blog was a local version of jQuery - coming in at some 70+ kilobytes - that "I still need to insert into the...

View Article

USB Mini Shawarma

Years ago I had a genius idea of making a USB-powered mini shawarma machine that you could have on your desk, and shave off bits of meat during the day. Sometimes I still lay awake at night, wondering...

View Article


Note to self: Math.hypot() still exists

C'mon Mr Speaker, stop re-writing your "distance" function every project... Math.hypot() has been around for ages now! Math.hypot(1,1); // 1.4142135623730951 (So has Math.SQRT2. I also forgot I already...

View Article

Image may be NSFW.
Clik here to view.

Why WebGL colors don’t look like Blender colors

The following is an account of my embarrassing ignorance on color spaces, gamma correction, and pretty-much everything to do with how a computer outputs things to a monitor. Recently I've been kicking...

View Article

Image may be NSFW.
Clik here to view.

NBA Jam, um, tank-mode?

Eight minutes ago I had a flashback. The following is my stream-of-consciousness account of those eight minutes. I refuse to google it to see if it's true, or if I imagined the whole thing. The year...

View Article


Image may be NSFW.
Clik here to view.

Basic-er BASIC

Today I wrote an "eBASIC" code snippet that contained a macro. The macro expansion included another macro that when expanded generated 6502 assembler code - which itself happened to contain a...

View Article


Your Last Ever Computer

I gaze across the calm morning ocean as I sip my coffee. The computer takes a while to boot, and watching the ocean is more relaxing than the torrent of kernel messages that (hopefully) say things are...

View Article

Image may be NSFW.
Clik here to view.

Fire/Escape

Well well well, it's been quite a while! Nice to see you again. Sorry for the delay... I forgot my blog password, and I had to run some errands, the decade just got away from me. Anyway, the password...

View Article
Browsing all 11 articles
Browse latest View live