Posts Tagged ‘Web’

* JavaScript Pub Sub

Posted on April 28th, 2009 by Dave Johnson. Filed under JavaScript, Uncategorized.


I was talking to someone the other day about the observer pattern in JavaScript and I was reminded about this JavaScript method that is part of Complete UI.

nitobi.Event.prototype.subscribeOnce = function(method, context) {
  var guid = null;
  var _this = this;
  var func1 = function() {
    method.apply(context || null, arguments);
    _this.unSubscribe(guid);
  }
  guid = this.subscribe(func1);
  return guid;
}

subscribeOnce is a special sort of event subscription that rather than being being executed every time the event fires, the handler function is only executed once and then automatically unsubscribed from the event. It is obviously most useful for initialization stuff in JavaScript. There is some more info on JavaScript pub sub over on Ajaxian too.

Tags: , , , .



* Web’s Most Visible Vancouverites

Posted on September 30th, 2008 by Dave Johnson. Filed under Nitobi, Web, vancouver.


As a way to procrastinate from more important things at the moment, I thought that I would compile my own numbers about the recently published web’s most 20 visible Vancouverites. Note that they got David Eby’s web address wrong and seem to think that Flickr is a microblogging site. I digress.

It all seems to have created a little ">Vancity ">controversy. So I figured that rather than using some secret equation as NowPublic is using I would just list some of the stats for different people from different web sites such as Google, Twitter, Flickr and so on and readers can draw their own conclusions.

Name Rank Links* Twitter* Flickr* YouTube* LinkedIn*
1 Darren Barefoot 2180 1810 5196 305
2 Tim Bray 3020 2151
3 Boris Mann 761 877 9265 19 418
4 Kris Krug 1060 1314 17694 200 500+
5 Roland Tanglao 1730 1251 39586 286
6 Tom Williams 237 2120
7 Megan Cole 379 173 4845 50 103
8 Rebecca Bollwitt 1730 4729 2784 5 55
9 Arianna Schweber 504 13049
10 Tod Maffin 367 2175 32 8
11 Dick Hardt 159 369 24 1 500+
12 Tris Hussey 124 7303 10799 4 354
13 Alfred Hermida 989 743 203
14 Matthew Good 1530 1024 6
15 Ian Andrew Bell 36 122 1334 500+
16 Travis Smith 340 740
17 Danny Robinson 137 279 94 412
18 Paul Sullivan 3
19 David Beers 1780
20 David Eby 454

Take it with as many grains of salt as you like. It is interesting that some of the people were not that easily discoverable on many of the sites that I checked yet are still considered visible… let along checking Jaiku, FriendFeed, Tumblr, Delicious, Meetup, Upcoming, Dopplr etc

I also decided to check on how Andre and myself fit into those numbers.

- Andre Charland 211 2194 7480 54 348
- Dave Johnson 91 1452 521 2 67

Clearly I am out of my league when it comes to incoming blog links but I hold my own on the Twitter front and at least have some amount of content on each of the sites listed (and more of course). On the other hand, Andre seems to be in the top 25% in each category aside from lagging in the bottom 25% for incoming links to his blog.

Anyhow, food for thought. Damn web socialites ;)
Disclaimer: Darren does online marketing for Nitobi (so I guess it’s partly his fault we don’t have more incoming links ;)). I also couldn’t sleep last night and therefore produced this piece of garbage.

Tags: , , .