It seems like you're comparing current conversion rates vs. past conversion rates.. Did you try AB testing this side by side? It's not necessarily only the effect of image optimisation, could be just organic growth of…
I think this actually wasn't an arbitrary choice, but a result of the algorithm.. e.g. factors are displayed as clusters ordered in a circle (factors of 2 is a circle with groups of 2, factors of 3 is a circle of groups…
Very cool visualization... I wonder how they get their data?
you could probably combine this with the font-face trick to target different letters
you could combine this with ::first-letter and custom selectors for each item of interest to get more specific data from targeted page elements... If there was a way to target n-th letter in css, you could also get the…
Chrome devtools sort selectors by specificity by default and you can quickly see what order the selectors / properties were applied in and what overrided what. Most of the !important uses I've seen are more due to "Why…
> as they seem not fully aware of the standard order of conflict resolution I'd say it's the other way around - a lot of usages of !important are due to lack of understanding of CSS specificity, usually as a symptom of…
There' a user switcher button in the top right corner, you can have multiple browser sessions with seperate histories / cookies (e.g. work / personal)
Right, with lots of elements, React still needs to render and diff each component which for a lot of elements causes a lot of garbage and diffing work. ShouldComponentUpdate / PureRenderMixin avoids this altogether when…
PureRenderMixin is basically shouldComponentUpdate with a shallow comparison of previous/next props and state, but the big win is avoiding render and diff for the component, so returning false would be about the same as…
PureRenderMixin would defenitely help here, even to the point where it's comparable with the js solution. Even though keys help here, render is still called for every image every time and then diffed. He'd have to…
I think modern browsers prevent cross-requests to local subnets so this may mitigate CSRF
Ah ok. At first glance it looked like he was putting together something like an url.
It's way better to use [values].join('') here... It's probably faster and it coerces all values to string. If the first couple of results were numbers or booleans, they would be summed: > true + 10 + " result" 11 result…
Javascript has "semicolon insertion". It tries to parse a newline with no semicolon as continuing the current expression, if it can't, it inserts a semicolon. It's a 'feature' that's caused too many bugs and is a…
Jshint catches this with 2 warnings: missing semicolon and expected assingment or function call. In Sublime text 3, you can have inline warnings and as-you-type linting with the sublimelinter jshint plugin:…
I love this quote in the comments: > when you have REPL you are TDD’ing in a different way as opposed to constructing persistent unit-test classes that could potentially form a layer of cement. Lately I've been using…
Wow, that was exactly what happened to me... Everything is so sharp and square here.
Sorry, which library do you mean? The OP is a javascript library.. I just wanted to point out that regex is much faster in javascript than doing things 'by hand'.
> you'll want to replace them with code written in the native language Probably not true for Javascript (and other scripted languages) - matching regex uses native and highly optimized regex lib, which will usually be…
This is kind of disappointing.. I thought it would actually compile or something. Is it even possible with that BMP header? Only writing some text as a bitmap isn't very impressive when the pixels are stored directly as…
- dispatching and listening to actions. you need to pack your action with a magic string and a param object then unpack the params again in every listener. It's easy to forget what the params names are and its hard to…
Anyone tried doing isomorphic (server/client) flux? Most implementations rely on the flux stores being singletons which can't work for multiple requests on the server. The only one that's isomorphic is yahoo's but that…
I upgraded because of SublimeLinter plugins (inline error checking for js, jsx, ruby, php etc.) only available on ST3. ST3 seems pretty stable for regular use.
seems like lodash now has lazy evaluation as well when using the _(obj).method() syntax: http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...
It seems like you're comparing current conversion rates vs. past conversion rates.. Did you try AB testing this side by side? It's not necessarily only the effect of image optimisation, could be just organic growth of…
I think this actually wasn't an arbitrary choice, but a result of the algorithm.. e.g. factors are displayed as clusters ordered in a circle (factors of 2 is a circle with groups of 2, factors of 3 is a circle of groups…
Very cool visualization... I wonder how they get their data?
you could probably combine this with the font-face trick to target different letters
you could combine this with ::first-letter and custom selectors for each item of interest to get more specific data from targeted page elements... If there was a way to target n-th letter in css, you could also get the…
Chrome devtools sort selectors by specificity by default and you can quickly see what order the selectors / properties were applied in and what overrided what. Most of the !important uses I've seen are more due to "Why…
> as they seem not fully aware of the standard order of conflict resolution I'd say it's the other way around - a lot of usages of !important are due to lack of understanding of CSS specificity, usually as a symptom of…
There' a user switcher button in the top right corner, you can have multiple browser sessions with seperate histories / cookies (e.g. work / personal)
Right, with lots of elements, React still needs to render and diff each component which for a lot of elements causes a lot of garbage and diffing work. ShouldComponentUpdate / PureRenderMixin avoids this altogether when…
PureRenderMixin is basically shouldComponentUpdate with a shallow comparison of previous/next props and state, but the big win is avoiding render and diff for the component, so returning false would be about the same as…
PureRenderMixin would defenitely help here, even to the point where it's comparable with the js solution. Even though keys help here, render is still called for every image every time and then diffed. He'd have to…
I think modern browsers prevent cross-requests to local subnets so this may mitigate CSRF
Ah ok. At first glance it looked like he was putting together something like an url.
It's way better to use [values].join('') here... It's probably faster and it coerces all values to string. If the first couple of results were numbers or booleans, they would be summed: > true + 10 + " result" 11 result…
Javascript has "semicolon insertion". It tries to parse a newline with no semicolon as continuing the current expression, if it can't, it inserts a semicolon. It's a 'feature' that's caused too many bugs and is a…
Jshint catches this with 2 warnings: missing semicolon and expected assingment or function call. In Sublime text 3, you can have inline warnings and as-you-type linting with the sublimelinter jshint plugin:…
I love this quote in the comments: > when you have REPL you are TDD’ing in a different way as opposed to constructing persistent unit-test classes that could potentially form a layer of cement. Lately I've been using…
Wow, that was exactly what happened to me... Everything is so sharp and square here.
Sorry, which library do you mean? The OP is a javascript library.. I just wanted to point out that regex is much faster in javascript than doing things 'by hand'.
> you'll want to replace them with code written in the native language Probably not true for Javascript (and other scripted languages) - matching regex uses native and highly optimized regex lib, which will usually be…
This is kind of disappointing.. I thought it would actually compile or something. Is it even possible with that BMP header? Only writing some text as a bitmap isn't very impressive when the pixels are stored directly as…
- dispatching and listening to actions. you need to pack your action with a magic string and a param object then unpack the params again in every listener. It's easy to forget what the params names are and its hard to…
Anyone tried doing isomorphic (server/client) flux? Most implementations rely on the flux stores being singletons which can't work for multiple requests on the server. The only one that's isomorphic is yahoo's but that…
I upgraded because of SublimeLinter plugins (inline error checking for js, jsx, ruby, php etc.) only available on ST3. ST3 seems pretty stable for regular use.
seems like lodash now has lazy evaluation as well when using the _(obj).method() syntax: http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...