Thomas Steiner (@tomayac)

Now at @tomayac@toot.cafe

The below is an off-site archive of all tweets posted by @tomayac ever

April 17th, 2020

RT @othermaciej: Traditionally, use of the `delete` operator has made JavaScript slow. Now in WebKit, it’s super fast. Learn about all the…

via Echofon

RT @passle_: 🎉 I blogged!

💉 Lessons Learned Building a COVID-19 PWA

I recently contributed to a COVID-19 related app, and here are some o…

via Echofon

@nhoizey @bdc In a production app, you’d probably only load the full-resolution images in the lightbox view. Lazy-loading is quite aggressive, test it with a (simulated) JioPhone 2 (kicks in at the selected image). The bigger problem are the missing dimenpic.twitter.com/uuLHGqGSip

via Twitter Web App in reply to nhoizey

@sergeybedritsky @ChromiumDev @nuxt_js Respectfully, no. This is not the same. See the screenshots. All it took was adding `<meta name=”color-scheme” content=”dark light”>`. pic.twitter.com/k8Wo1MNPkE

via Twitter Web App in reply to sergeybedritsky

🔢 Chrome 83 is out! From a Project Fugu 🐡 side, v83 comes with a new origin trial for the Native File System API, and finally the Barcode Detection API: https://t.co/UrC87kc2u9. It also brings CSS `contain-intrinsic-size` support and the `color-sche

via Twitter Web App

@firt The only reason may be legacy devices that are stuck on old iOS versions. Like iPhone 5 or something (which my parents still use).

via Twitter for iPhone in reply to firt

@nhoizey @bdc It has `loading=”lazy” (https://t.co/NsUY6mHAAQ), so once your gallery grows big, it kicks in.

via Twitter Web App

@TatianaTMac Yes we do. I should have started with “I, too, think…”.

via Twitter for iPhone in reply to TatianaTMac

@firt Hehe, talking of Web App Manifests: music.apple.com/manifest.json. Also worthwhile checking out the `<head>` section of the page. I can’t find a way to use the app in Safari (even deleting the native Music app doesn’t help). Works OK on desktop Chrome.

via Twitter Web App in reply to firt

@firt If the manifest can’t be loaded, you are in trouble anyway. iOS has less of a version fragmentation problem than other OSs *cough*, so (apart from really old devices) there’s an OK high chance the behavior is consistent. Your post raises good points

via Twitter Web App in reply to firt

Creating responsive CSS motion paths: https://t.co/MSosbV2doJ. Pretty neat!

via Twitter Web App

@TatianaTMac I think it makes sense to initially respect `prefers-color-scheme`, but to also allow people to opt-out: https://t.co/Cypl59ryNV.

via Twitter Web App

RT @agektmr: I love https://t.co/UXlzHywllH that lets me write frontend + node server code on the browser, but TIL glitch plugin allows me…

via Echofon

@firt The manifest values take precedence. Honestly the only issue we ran into is the status bar translucent color; I’ve opened https://t.co/cMoMwNk73B for this.

via Echofon

bdc Little weekend project: a simple touch-friendly JS gallery!

Download:
github.com/bendc/gallery

Demo:
cldup.com/NYhJaV-jGy.html pic.twitter.com/yhVRPGOgVU

via Twitter Web App (retweeted on 9:15 AM, Apr 17th, 2020 via Echofon)