Thursday, 20 April 2017

Some good "Statistics for programmers" resources - Julia Evans

Some good "Statistics for programmers" resources - Julia Evans: "One of the biggest problems with tests like the chi-squared test is that they make a lot of assumptions about how your data was generated. Usually they assume that your data is normally distributed. Not everything follows a normal distribution!

So – can I figure out if my change really made my code faster or not without having to make a bunch of assumptions?

It turns out the answer is “yes”, and that there’s a whole subfield of statistics devoted making less assumptions (“nonparametric statistics”). And even better – that subfield is actually easier to use than regular statistics."



'via Blog this'

Wednesday, 12 April 2017

Web: How to be best friend with the HTTP Cache ? | Blog Eleven Labs

How to be best friend with the HTTP Cache ? | Blog Eleven Labs: "Your application may have the best performance possible, you will always be limited by your physical machines – even if this is no longer true in the cloud (with an unlimited budget) – Consequently you must make friends with the cache.


Based on the experience that I have been able to accumulate on the subject and the numerous traps into which I have fallen, I will try to give you the best solutions for the use of the different caches."



'via Blog this'

TypeScript at Slack – Several People Are Coding

TypeScript at Slack – Several People Are Coding: "We decided to use Microsoft’s TypeScript, which combines static type analysis with a compiler. Modern JavaScript is valid TypeScript, meaning that one can use TypeScript without changing a single line of code. This allowed us to use “gradual typing” by enabling the compiler and the static analysis early, without suspending work on critical bug fixes or new features.
In practice, switching the analysis and the compiler on without changing code means that TypeScript will immediately attempt to understand your code"



'via Blog this'

Monday, 10 April 2017

Web: A Comprehensive Guide To HTTP/2 Server Push – Smashing Magazine

A Comprehensive Guide To HTTP/2 Server Push – Smashing Magazine: "Aside from solving common HTTP/1 performance problems (e.g., head of line blocking and uncompressed headers), HTTP/2 also gives us server push! Server push allows you to send site assets to the user before they’ve even asked for them. It’s an elegant way to achieve the performance benefits of HTTP/1 optimization practices such as inlining, but without the drawbacks that come with that practice.
In this article, you’ll learn all about server push, from how it works to the problems it solves. You’ll also learn how to use it, how to tell if it’s working, and its impact on performance. Let’s begin!"



'via Blog this'