BrowserQuest – a massively multiplayer HTML5 (WebSocket + Canvas) game experiment ? Mozilla Hacks – the Web developer blog

March 27th, 2012

Demo of a MMORPG done in HTML5 and JavaScript. Source available on GitHub.

BrowserQuest – a massively multiplayer HTML5 (WebSocket + Canvas) game experiment ? Mozilla Hacks – the Web developer blog

Font Awesome, the iconic font designed for use with Twitter Bootstrap

March 23rd, 2012

An iconic font designed for use with Twitter Bootstrap

Font Awesome, the iconic font designed for use with Twitter Bootstrap

Run Node.js as a Service on Ubuntu

March 22nd, 2012

How to make an upstart script to run nodejs programs as daemons with start/stop/reload/status capabilities.

Run Node.js as a Service on Ubuntu

Here comes the flood

March 22nd, 2012

[blackbirdpie url=”http://twitter.com/dougal/statuses/182864685106868224″]

Dealing with UTF in node.js

March 14th, 2012

In case you’ve never heard of it, I wrote a little Twitter friend/follower cross-reference tool a few years ago. Basically, I was wondering which of the people I followed on Twitter also followed me back, who didn’t follow back, who followed me that I didn’t follow back, and all the permutations around those ideas. After a couple of days of hacking, Twitual was born.

One of the main problems with Twitual, however, is that the data gathering and analysis is linear. When you submit a Twitter username, the server has to fetch all of the friends, fetch all of the followers, and do all of the set calculations before it can send a single thing back to your browser. Due to the way the Twitter API works, it may have to make many HTTP calls to the Twitter servers. It can be slow, and you’re left with a browser that appears to be frozen, with nothing happening, until it finally updates the page all at once.

For a long time, I’ve wanted to rewrite Twitual to be more dynamic, and give more friendly feedback while it’s working. So some time ago, I started toying around with rewriting things using nodejs instead of PHP. My early experiements were promising. I used socket.io for real-time client/server updates, found a good Twitter API library for node, and threw together a quick prototype. But after playing with it for a bit, I kept seeing occasional failures where the server side just seemed to stop working, along with a mysterious error in my browser’s JavaScript console.

Read the rest of this entry »

Zenoss Community – Open Source Network Monitoring and Systems Management

March 13th, 2012

Open source network/system/application monitoring system.

Zenoss Community – Open Source Network Monitoring and Systems Management

Welcome to Jenkins CI! | Jenkins CI

March 12th, 2012

Open source continuous integration server

Welcome to Jenkins CI! | Jenkins CI

Twitter API Console | Learn, test, and debug the Twitter API

March 12th, 2012

Interactive Twitter API tester (and other APIs, too)

Twitter API Console | Learn, test, and debug the Twitter API

Tinycon – Favicon Alert Bubbles

March 11th, 2012

I must find a use for this. Update notifications for your site’s favicon. Falls back to a title update in browsers that don’t support it.

Tinycon – Favicon Alert Bubbles