818 karma · joined April 26, 2008
Please offer any feedback you might have.
<code> var score = byId('score_' + item); var newscore = parseInt(score.innerHTML) + (v[0] == 'up' ? 1 : -1); score.innerHTML = newscore + (newscore == 1 ? ' point' : ' points');
// hide arrows
byId('up_' + item).style.visibility = 'hidden';
byId('down_' + item).style.visibility = 'hidden';
// ping server
var ping = new Image();
ping.src = node.href;
</code>Be careful to not overdo it by having balance between hacking (analytical) and dreaming (creative), lest you get burned-out, in which case concentration becomes impossible.
my 2cents
MapReduce implementations have to take into account locality, i.e., the dataNodes have to be rack-aware for optimal I/O speed. Therefore, if their dataNodes are actually just cpu cores reading/writing blocks to S3 (other racks) then they are effectively getting kicked in the face.
http://www.alistapart.com/ http://www.smashingmagazine.com/ http://psd.tutsplus.com/