The Awl was a great blog. My favorite writer there was John Herrman, who is also one of the few people I "follow" on Twitter (via a Twitter-to-RSS converter): https://twitter.com/jwherrman
@baldur@pkra@davatron5000 Right yeah, for that particular page Virtual Lists are a bad choice. I feel like the concept could be generalized to work well for publishing though.
The main thing I'm concerned about is accessibility. Apparently there's a "feed" pattern defined by the W3C ARIA working group (which Mastodon implements), but I'm not sure how ATs actually use it, or if they do.
@davatron5000@pkra I talked with Domenic Denicola at TPAC and he said there are some proposals floating around for a built-in virtual list in the web platform. All the primitives are there – IntersectionObserver, transforms, scroll listeners, etc. – but everybody is rolling their own (often broken/slow) implementations. It's a shame.
Also thankfully workerize-loader creates a separate worker.js file rather than using a hacky inline Blob URL like some libraries do. (This is less error-prone, and can reduce your main JavaScript bundle size.)
It's kinda like https://github.com/nolanlawson/promise-worker which I wrote a few years ago, but less manual labor involved. The only thing I don't like about it is that it doesn't handle Errors correctly – I have to stringify them because they're uncloneable.
Been playing around with workerize-loader for Webpack, and it's pretty great. Define some functions that return a Promise, and it'll turn it into a web worker: https://github.com/developit/workerize-loader
the fucked up thing about programming is that nobody ever says "it's cool the way you use a for loop there! i like the way you named those variables, those are good names" the only say "why did you do it like that, thats the way a baby would program. youre a baby. and not even one of the babies who can program"
"Trends in digital tech for 2018" by the always-enlightening Peter Gasston.
Mentions the "Closing Social" trend, which those of us here may find particularly relevant: "Sharing on Facebook has been declining for a couple of years".