2,298 karma · joined September 7, 2010
Founder of ToDesktop: https://www.todesktop.com
dave[@]todesktop.com
[ my public key: https://keybase.io/davej; my proof: https://keybase.io/davej/sigs/FM5YHbUxtgUBcbAxTsHEUoJ99YV2rd9JbFNBjoZ3JBw ]
The usual disclaimers of "profile it first" and "YMMV" apply, but it's useful to be aware of potential low hanging fruit when JS performance is critical to your application.
[0] http://www.sublimetext.com/~jps/animated_gifs_the_hard_way.h...
By the way, I believe it uses the `outline` CSS property as opposed to `border` (border changes layout, outline doesn't).
~34KB json string (1st run):
sync: total time (blocking): 0.412ms
async: blocking time: 1.822ms
async: total time: 3.943ms
➜ str.length
34527
~34KB json string (10th run): sync: total time (blocking): 0.569ms
async: blocking time: 0.438ms
async: total time: 2.336ms
~112KB json string (1st run): sync: total time (blocking): 1.217ms
async: blocking time: 1.036ms
async: total time: 4.818ms
➜ str.length
114745
~112KB json string (10th run): sync: total time (blocking): 1.658ms
async: blocking time: 0.683ms
async: total time: 4.444ms
Could do with some proper benchmarking by someone who knows more about benchmarking this stuff for real-world usage (i.e.. not me). By the way the 2nd - 10th run results were pretty similar, the amount of time that async function was blocking gradually decreased as it was run more often (I ran the ~34KB tests first).Pao was in the Reddit community's firing line long before Victoria was fired, they were looking for a reason to pounce.
My point is that we don't really know why she was fired (and why should we?). If Victoria wants to come forward and explain what happened then we can discuss the merits, until then it's speculation.
For good reason, it is not public information who fired Victoria or why. I doubt it was a one-person decision though.
MyComponent.annotations = [
new angular.Component({
selector: 'my-component'
}),
new angular.View({
template: '<div></div>'
})
];This is something that I've thought about for some time, I posted a question about this a number of years ago on Reddit: http://www.reddit.com/r/Physics/comments/g287k/quantum_indet...
function constructor(spec) {
let {member} = spec,
{other} = other_constructor(spec),
method = function () {
// accesses member, other, method, spec
};
return Object.freeze({
method,
other,
});
}The majority of the value in the Etsy platform comes from their vendors and community. If they didn't have vendors then the site wouldn't be so successful. Etsy are ensuring that their vendors are invested in the site with them and less likely to jump ship to a competing platform.
UPC only makes a small amount of bandwidth available on the 'Wi Free' (UPC's version of Xfinity) network, seems to be about 2.5mbps down and 0.5mbps up. In my country (Ireland), the minimum package you need to get 'Wi-Free' is 120mbps down, so It's not really worth the effort for an extra 1% bandwidth.