Blog
The always-excellent Aza Raskin had a little bit of fun recently – inspired by my recent Processing.js work – to port the popular Context Free Art language to JavaScript, using Canvas. Renamed Algorithm Ink the result is a complete way to programmatically generate elegant pieces of artwork. Aza took the result a step further and […]
Comment ·
Posted: June 11th, 2008
I’ve been chatting with the Free Software Foundation and they’ve posed a tricky question: What is trivial JavaScript? – or – What is not trivial JavaScript? It seems like an especially hard question to answer – especially without using subjective terms. For example I would say that the following are all trivial: Use of inline […]
Comment ·
Posted: June 10th, 2008
A very cool new utility has just been released by Olav Junker Kjær called Mascara which is an ECMAScript 4 to JavaScript translator (written in Python). Using this utility you can begin writing ECMAScript 4 code today, receiving its full benefits (such as IDE integration and compile-time type-checking) while still being able to run the […]
Comment ·
Posted: June 10th, 2008
During the past couple weeks I’ve given a number of talks around the globe. Here’s a quick dump of the talks for those that are interested in them. jQuery (BarCamp Boston) Processing and Processing.js (BarCamp Boston) jQuery (MeshU) Managing the Mozilla Way (Slashdot, ITWorld) jQuery (DrupalCamp Toronto) JavaScript 1.5 to 2.0 – A new talk […]
Comment ·
Posted: June 8th, 2008
A quick snippet that I spotted within the up-and-coming Johnson project (A Ruby/Spidermonkey hybridization.): The above defines a global variable __FILE__ which, when called, returns the file name of the current JavaScript file. It’s defined using a getter in particular so that the proper file name will be determined no matter what file it’s called […]
Comment ·
Posted: June 7th, 2008
I’m currently in the process of touring the globe (I’ve given four talks in two cities, have two talks in two cities left) but I dug up something that should prove to be a lot of fun. Will Larson has gone about revising the classic Tower Defense genre, porting it to the open web using […]
Comment ·
Posted: May 27th, 2008
Recently Eduardo Lundgren pinged me wondering if I had an alternate solution to injecting wbr tags inside a long word. The wbr tag tells the browser where a possible line break can be inserted, should the need arise. (Opera has some problems with rendering them correctly, but it can be rectified using some CSS.) By […]
Comment ·
Posted: May 24th, 2008
It’s been a little while since I last wrote about Cross-Window Messaging in Firefox 3 using postMessage and since that time it’s since a few API updates. Specifically the postMessage API has become much simpler and has stronger security brought into mind. If you’re unfamiliar with postMessage here’s a quick re-cap: It’s a way to […]
Comment ·
Posted: May 22nd, 2008
Next entries » ·
« Previous entries