60. function arr2num( arr, size ){
for(var i=0, num=0, mult=1, ndims=size.length; i<ndims; i++){
mult*=(i>0) ? size[ndims-i] : 1;
num+=mult*arr[ndims-i-1];
}
return num;
}
The “unflattening” problem
61. Method: Row-major order
In computing, row-major order and column-
major order describe methods for arranging
multidimensional arrays in linear storage such
as memory.
The “unflattening” problem
98. 1. Chainable traversing methods
JSONstat(obj).Dataset(0).Data( {
country : "CA",
year : "2012",
concept : "POP",
age : "34",
sex : "F"
}, false )
[2406.3, 1203.5, 1202.8]
T M F
113. HTTP Verbs
GET
POST Requests that the server stores
the data enclosed in the body of
the request message.
Requests a representation of
the specified resource.
…
132. Credits
“Soma” (blocks’ background)
by Dru! (CC BY-NC)
“Metal movable type”
by Willi Heidelbach (CC BY-SA)
“Portrait” (cubic head)
by Thomas Leth-Olsen (CC BY)
“River in Iceland”
by Kamil Porembiński (CC BY-SA)
“Silicon 0116 6336” (integrated circuit)
by Ross Elliott (CC BY)
“Sterile” (walking girl)
by Lee Nachtigal (CC BY)
“Cubes” (sculpture)
by Alex [Fino] LA (CC BY-SA)
“Railroad”
by Xavier Badosa (CC BY)
“Dartboard”
by Jacob Vance (CC BY-NC)
Icons by Visualpharm.com (Linkware)