Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:I dunno... (Score 1) 776 776

This differs depending on which browser you're writing for. On my version of Firefox, this is the most efficient:

var array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
var length = array.length;
for (length -= 2; length > -1; length -= 1)
{
array.push(array[length]);
array.splice(length, 1);
}

This is according to http://jsperf.com/js-array-reverse-vs-while-loop/5

Comment Re:That's the police for you (Score 1) 277 277

Find my iPhone will play a tone for 2 minutes at max volume, whether the device is in silent more or not. You can also wipe or put a pass-code on the device remotely. The thief, however, could either disable that feature before you get a chance to use it, or simply turn the device completely off.

Comment Re:I'm not a jock contracts to I'm a jock (Score 3, Insightful) 185 185

Free as in beer: Beer is a physical object. When you get something "Free as in beer", you're literally getting something for free. Free as in speech: Free speech is an ideal. When something is "Free as in speech", it's a freedom that is being granted.

Line Printer paper is strongest at the perforations.

Working...