HOWAMI: a command line tool

It's good to be reminded that you're shit. Today Fabrice Bellard released jslinux - a 32 bit CPU emulator which loads a fully-functional linux kernel: including Emacs, and a C compiler. Holy Poopsmith.

Seeing as I now had a JavaScript-powered coding environment handy - and being inspired by Fabrice's unrelenting productivity - I decided code up a command line utility I've been intending to make for quite some time: howami.

Read on for more »

“Products”

Xcode4's product menu item. With frowny face.

There's no room for hacking and learning with Apple. You don't dare waste their time working on projects... from now on you work on products and products only.

If you aren't incentivizing and monetizing your down-time then you don't deserve to be using Apple's next-level code enabler, Xresource4.

Read on for more »

JavaScript has a lisp

It's been a while since Slashdot was my regular hang out - so perhaps the demographic has swung radically - but I was amused (and a little bit incredulous) to see a stack of mis-informed javascript hate in the comments of an article talking about Harmony (TC39), the proposed next version of ECMAScript.

In the last few years or so, JavaScript has come out of the closet and revealed itself as a powerful (though, like any good hero, slightly-flawed) functional language. Many people still haven't taken to it and choose to continue writing in an OOP style that they were told was good and enterprise-y. That's not a bad thing - that C/C#/Java coders can force JavaScript to behave mostly-but-not-exactly like their familiar ol' imperative friends is testament to it's flexibility: JavaScript can easily pretend to be imperative, because it can do anything.

Read on for more »

Mr Speaker as a test case

"Code so good, you'll base your unit tests on it - that's my promise to you!". At least that's how I'm going to look at it. I was hunting up some info on QtWebKit (the Qt port of WebKit, obviously) and I noticed a new version had just been released. To my surprise I noticed a few references to my Parcycle canvas demo, including screen shots!

Canvas radial gradient fixes
Blur filter performance

Ha ha! Before and after pics featuring my particle madness. Made me giggle. Ok, back to it...

My very own botnet

Yesterday had me basking in the internet glory of #1-on-Hacker-News. "This fame will last forever", I pronounced confidently. Alas, like all fleeting glory - it was fleeting. Thankfully, I've come up with a plan to ensure perpetual future success: I turn my fleeting glory into my very own Hacker News botnet!

All I've to do is smuggle some code into the guts of the main file of the bookmarklet. The hordes of Hacker News user who are now hopelessly addicted to the script will unknowingly run this every two minutes! It's not like anyone's going to be watching my commits... But what should I add? How 'bout this...

Read on for more »