December 2008
3 posts
Random thoughts
Scenario: You have 5000 people using your web site every day. Question: whats cheaper for you: smart servers and dummy terminals, or a dumb server and smart clients? Which one uses javascript more? Put those 3.8Ghz web browsers to work for you, code javascript.
Dec 4th
snippit library
now available here. go ahead and bookmark, updates will be auto-applied in the future as they roll out.
Dec 4th
4 tags
finding square roots
here is an interesting example function for javascript. while not needed, it serves to demonstrate the procedure using javascript. function sqrt(number){ var guess = 2, old=0; for(var step=0;step<128;step++){ old = guess; guess = (guess + (number/guess)) / 2; if(old===guess){break;} } return guess; }
Dec 4th