Notes

Types
Dates
  1. If I have a graph like this, is there a standard mathematical way to identify each strait segment and the formula it is based on?

    A graph composed of a series of strait lines

  2. When you start using an image CDN on a site with oversized JPEGs, without any change to the HTML:

    SpeedCurve test showing a 20 seconds gain in Largest Contentful Paint

    Imagine when there will be accurate srcset/sizes attributes, better formats, etc. 🤯

  3. With JavaScript, how would you compute all sorted permutations of 1 to n elements from a given array?

    For example, with this source [1, 2, 3] and n=2

    How would you get this?

    [[1], [2], [3], [1, 2], [1, 3], [2, 3]];

  4. Filter by year and month to see more notes.