Great idea... I don't mind paying for good games, but what i do mind is games that try to squeeze as much money out of you for just playing it, which fits your definition of bullshit games. So unlockable DLC and…
> The price is defined primarily by how much you ask for and what you can offer in return. I couldn't agree more. I know a lot of developers that have the mentality to just accept what they are offered without…
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…
For me it was trying to index a huge folder containing images, you can use project settings to exclude some folders with the folder_exclude_patterns setting.
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…
but how would you deal with async data fetches then? I want to have the same routing and data fetching logic both on the client and on the server, and for that I would need to have stores that are independent for…
Great idea... I don't mind paying for good games, but what i do mind is games that try to squeeze as much money out of you for just playing it, which fits your definition of bullshit games. So unlockable DLC and…
> The price is defined primarily by how much you ask for and what you can offer in return. I couldn't agree more. I know a lot of developers that have the mentality to just accept what they are offered without…
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…
For me it was trying to index a huge folder containing images, you can use project settings to exclude some folders with the folder_exclude_patterns setting.
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…
but how would you deal with async data fetches then? I want to have the same routing and data fetching logic both on the client and on the server, and for that I would need to have stores that are independent for…