Thomas Steiner (@tomayac)

Hamburg, Germany

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

April 17th, 2020

othermaciej Traditionally, use of the `delete` operator has made JavaScript slow. Now in WebKit, it’s super fast. Learn about all the details in this insightful post: webkit.org/blog/10298/inl… pic.twitter.com/ffCmq1nCgu

via Twitter Web App (retweeted on 10:09 PM, Apr 17th, 2020 via Echofon)

passle_ 🎉 I blogged!

👉 Lessons Learned Building a COVID-19 PWA

I recently contributed to a COVID-19 related app, and here are some of my learnings, I hope it finds you, maybe gives you some ideas, or helps you in any way ❤️

Stay safe and healthy!

dev.to/thepassle/less…

via Twitter Web App (retweeted on 9:04 PM, Apr 17th, 2020 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: blog.chromium.org/2020/04/chrome…. 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” (github.com/bendc/gallery/…), so once your gallery grows big, it kicks in.

via Twitter Web App in reply to nhoizey

@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: css-tricks.com/create-a-respo…. 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: web.dev/prefers-color-….

via Twitter Web App in reply to TatianaTMac

agektmr I love glitch.com that lets me write frontend + node server code on the browser, but TIL glitch plugin allows me to work from local VSCode in realtime. Amazing 😍
marketplace.visualstudio.com/items?itemName… pic.twitter.com/MRvqvo1Mwb

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

@firt The manifest values take precedence. Honestly the only issue we ran into is the status bar translucent color; I’ve opened bugs.webkit.org/show_bug.cgi?i… for this.

via Echofon in reply to firt

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)

ChromeDevTools In the latest Canary, you can emulate locale in addition to geolocation. Both have been combined into the Location option, which can be found in the Sensors Pane. pic.twitter.com/ehBwute3PM

via TweetDeck (retweeted on 12:51 AM, Apr 17th, 2020 via Echofon)

excalidraw Instead of using internalization libraries, we rolled our own and thanks to @crowdin the whole process of translating Excalidraw has been very low maintenance.

Read more on how we did it.
blog.excalidraw.com/enabling-trans…

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

If you’re in the business of building Web apps—maybe even Progressive Web Apps—for iOS, give PWACompat a try (quoted tweet ⤵️). We now use it i@excalidrawaw, and it’s great! twitter.com/samthor/status…S0

via Echofon

@samthor Judging from the docs, a lot of developers fell into this trap: developer.mozilla.org/en-US/docs/Web…. There’s even a good example vs. bad example section. But why have angle brackets? I *think* the reason for `<…>` are extension relation types that can cotools.ietf.org/html/rfc8288#s…

via Echofon in reply to samthor