Some Facebook network stats
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
(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
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 [...]