Image
Saturday May 11th
17,094 notesCOOPS VOL. 10 DRUM & BASS
Saturday May 11th
work.it
This is something I use to time and optimise jquery selectors and anything else that might need benchmarking.
var work = (function(){
var _timer,
log = function(what){
return console && console.log ? console.log(what) : what
},
reset = function(){
_timer = +new Date();
},
elapsed = function(){
var e = (+new Date) - _timer;
return e;
},
it = function(fn, times){
reset();
while(times--){
fn()
}
return log(elapsed());
};
return{
reset: reset,
elapsed: elapsed,
it: it
}
})();
work.it(function(){
$('#something').find('.child').find('tbody').find('tr').filter(function () {
return !this.className || (this.className && !this.className.match(/foo|bar/))
}).length
}, 200);
Monday Apr 29th
On Being A Designer And A Developer: Not Quite Unicorn Rare
I think most people think of a hard designer-developer split, as if there is a spectrum with designer on one end and developer on the other.

The more of an engineer you are, the less of a designer you are, and vice versa. Perhaps it is because engineering is more associated with analytical “left brain” thinking and design is seen as a more creative, “right brain” exercise. In reality, this is a false dichotomy, as both designers and developers need to use a combination of divergent and convergent thinking to innovate and problem solve. Both disciplines are more similar than most people (and the internet) make it seem.
(Source: diogenes.squarespace.com)
Monday Apr 29th
