August 2007
M T W T F S S
« Jun   Nov »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Some Facebook network stats

16:11 on Thu 2007-08-30 by Leons Petrazickis Facebook

I’m part of three Facebook networks, and I’ve been keeping track of their size since May of this year. Toronto has gone from 600k people in May to 800k people in September. That’s 32% of the municipality or 16% of the metropolitan area, which is an impressive proportion. University of Toronto has been stable at [...]

Array access and virtual memory

21:14 on Tue 2007-08-28 by Leons Petrazickis Architecture

(This applies to Java and C, but the code is given in Python for readability.) Is it faster to iterate over multiple separate arrays (tuples) of simple variables? for i in range(0, n): phone = phones[i]; # … email = emails[i]; Or over a single array of complex variables? for i in range(0, n): phone [...]

Creating Start Menu shortcuts with Javascript

17:17 on Tue 2007-08-14 by Leons Petrazickis Javascript, Windows

While preparing the installer for the Web 2.0 Starter Toolkit for IBM DB2, I had to set up Start Menu shortcuts. The way to do that is to work through the Windows Scripting Host (WSH). The WSH supports two built-in languages – VBScript and Jscript – and a theoretical number of third-party alternatives. VBScript is [...]