227 karma · joined December 17, 2014
Things like non-conforming caching services made me punt actual suggestions to a later article, as I wasn’t sure how my sense of the RFC interacted with the real world. HTTP Caching Tests seems like a great resource for this, but only includes Fastly out of the big providers, and it seems to be doing okay with Vary. https://cache-tests.fyi/
I mean, do those <meta> tags really suggest someone who’s into SEO? Call me stale but what I really want is validation :-)
“As one of the creative leads on the id software brand team at Pyro in Texas, I worked on the logo, font, packaging and advertising, as well as the global E3 launches, for Quake, Quake 2, 3 and 4, some of the most iconic video game launches in the history of gaming.” http://www.sashashor.com/new-page
May I suggest adding a distinct style for visited links, so it’s easier to keep track?
1. decide if I want to use any of the newer image formats. If so, each needs its own `<source type=''>` in a `<picture>` element, front-loading the most efficient formats. 2. decide if I want to serve different densities for the image.
For specifying densities, width descriptors + `sizes` attribute will always compute to a more useful effective density than density descriptors, if you can get `sizes` in the ballpark of how the image is actually laid out.
For lazily-loaded images, `sizes=auto` will do that for you, when it becomes universally supported.
<picture>
<source srcset='…' sizes='…' type='image/avif'>
<source srcset='…' sizes='…' type='image/webp'>
<img srcset='…' sizes='…'>
</picture>
If this is what you mean, maybe it would be better to include in the article?[1] https://ashleemboyer.com/blog/why-you-should-use-px-units-fo...
It has the `Accept` header as a guide to what image formats the client supports, and with Responsive Image Client Hints[1], it can opt into more info from the client (device pixel ratio, image layout width, viewport width).
Without relying on server features, `<picture>` with `<source type='…'>` is the way to serve images in newer formats without breaking in less capable browsers.
It’s interesting that `image-set()`, the CSS sort-of counterpart to `<picture>`, bakes in the media type along with the resolution in a single syntax [2]. Which you could potentially see happening in `srcset`, but it makes the descriptive/prescriptive boundary a bit blurry, so it would complicate things IMO.
[1]: https://wicg.github.io/responsive-image-client-hints/ [2]: https://developer.mozilla.org/en-US/docs/Web/CSS/image/image...
[1] https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cli... [2] https://wicg.github.io/responsive-image-client-hints/#sec-ch...
In either case, I’d love if you gave it a spin and let me know your thoughts on the functionality, API, and how the docs read in general. Another pair of eyes would be very helpful at this point!
Other than that, it runs the article through Readability to extract just the main content and applies customizable CSS / HTML to it.
I’d love it if you gave it a spin; please let me know if you find anything nasty!
http://3rdfloor.fathom.info/products/all-streets
I tried my hand at drawing every street in the OpenStreetMap dataset for Romania using Node.js for data processing and SVG for drawing the map. I'm pretty happy with the results, and with a bit of optimization I was able to draw similar maps larger datasets like France or Germany.
The code is also on Github: https://github.com/danburzo/every-street