UPDATE: With some serious modification to the server end point, Luke Morton was able to achieve a single open event that fires message events as responses are received via a “push” from the server: https://gist.github.com/1002722. By modifying the original example’s PHP end point, Luke’s approach was to omit the closing PHP tag (ensures that no […]

Tagged:

I originally wrote this as a comment on Mozilla’s “Aurora 6 Is Here” article – but I’m impatient and couldn’t wait for the comment to be moderated. Also, I haven’t posted in a while and figured Bob the Rooster would appreciate it. Glad to see support for the EventSource API has made it to Firefox. […]

Tagged:

One of the more common architectural tasks when designing a web based system that you expect to scale horizontally is deciding how to handle and store sessions. This is because each front end server is running its own PHP install and their session data is stored locally on the disk instead of being shared between […]

Tagged:

No Comply – a WebGL, Audio-API Demo: click here to watch this demo. Over the past few months I have been working with Mozilla’s Audio API Team to create a WebGL/Audio API Demo for the release of Firefox 4. We wanted to create something a little different for this demo so we enlisted the help […]

Tagged:

I had some free time on the train back up from Buttercamp this weekend, and got to work on a demo for a HTML5 rotoscoping tool that I’ve been kicking around in my head: View Live Demo (in Chrome) → The tool is very basic; it lets the user draw over each frame of the […]

Tagged:

When you pull from a remote repository, the number of new files listed can sometimes cause conflict messages to get scrolled off the screen. Not very convenient. You can use the following command to get a quick list of conflicts from Git: git ls-files -u

Tagged:

Augmented Reality: using JSARToolkit with WebGL & HTML5 Video Last week I spent some time running tests and generally familiarizing myself with the JSARToolkit code. I also built a JavaScript wrapper for the library to make it easier to use. JSARToolkit is a JavaScript library converted from FLARToolkit (Flash), and is developed for tracking AR […]

Tagged:

Something I have never known how to do in Linux, is rename a directory full of files. (Crazy right?!) Fortunately for a noob like msyelf, Sam Bisbee does know how to do this, and showed me today. In the following example, I am renaming a directory of files with no file-extension, and moving them to […]

Tagged:

I am very proud to announce that Popcorn.js hit 0.2 today. The Popcorn.js team has been working hard to deliver a stable, documented and unit tested JavaScript toolbelt for working with HTML5 <video>. Popcorn.js 0.2 rethinks Popcorn.js 0.1 as an event system for HTML5 <video> with an API, a plugin system, and strong adherence to […]

Tagged:

I’ve recently been working on an update to JavaScript Debug, which has me doing a lot of cross-browser testing, and I noticed a few “interesting quirks” with try…catch in Internet Explorer 6-8 that I couldn’t find documented anywhere. The Backstory Since the primary goal of JavaScript Debug is to normalize the console cross-browser, I’ve been […]

Tagged: