Dominic Farolino
@domfarolino.com
250 followers 38 following 13 posts
Google Chrome engineer trying to simplify the web platform. https://domfarolino.com
Posts Media Videos Starter Packs
domfarolino.com
📢 We're finally looking to ship Observables in Chrome!! It's been a long time coming—many thanks to all in the community for the great feedback and help along the way!!

Especially @benlesh.bsky.social, @keithamus.social, @domenic.me, @jordan.har.band & more! 🙏

groups.google.com/a/chromium.o...
domfarolino.com
Maybe it's possible that the `display:none` setter script can run after this microtask (i.e., the decision to lazy load) runs tho?

We could make the test more explicit by creating the image in script, and setting `display: none` synchronously after creation. Then add it to the DOM.
domfarolino.com
I don't think it's flaky bc the decision to lazyload (html.spec.whatwg.org#updating-the...) is made *after* this microtask (html.spec.whatwg.org#updating-the...) runs during loading. And I think the script where we set `display:none` always runs before this decision is made. Does that make sense?
HTML Standard
html.spec.whatwg.org
Reposted by Dominic Farolino
digitaltransient.bsky.social
Escape from event listener callback hell! 🌋

Observables are nearly here!

el.when('mousemove')
.takeUntil(document.on('mouseup'))
.subscribe({next: e => … });

Clean: takeUntil handles cleanup
Declarative & concise
Efficient: No event handling after mouse released

tinyurl.com/yc3rxxtz
GitHub - WICG/observable: Observable API proposal
Observable API proposal. Contribute to WICG/observable development by creating an account on GitHub.
tinyurl.com
domfarolino.com
We're shipping the new `Node#moveBefore()` API in Chrome 133! Read more in our latest blog post: developer.chrome.com/blog/movebef...

Huge thx to @nomster.bsky.social for help bringing this to life, frameworks that helped test it, and the spec ecosystem for working with us to get it standardized!
domfarolino.com
From what?!! Any obvious event that could've led to that?
Reposted by Dominic Farolino
domenic.me
Observables are to event subscriptions as promises are to callbacks: first-class objects you can transform, pass around, and build on top of. @domfarolino.com and @benlesh.bsky.social are looking to make them a standard part of the web platform, and I'm optimistic about their chances!
GitHub - domfarolino/observable: Observable API proposal
Observable API proposal. Contribute to domfarolino/observable development by creating an account on GitHub.
github.com
domfarolino.com
Do you think it’s a defense mechanism so they can preemptively avoid getting “called out” for using AI art (some see it as cheating), or more so people are trying to subtly flash that they’re on the new trend of using AI art?
domfarolino.com
Ooh Substack allows you claim your subdomain as a Bluesky handle via some auto DNS magic which is pretty cool!
domfarolino.com
If you know what an API is but you've never heard of an *ABI*, fear no more! Check out this post I just wrote; it explains the difference in a super easy-to-follow way: https://dom.substack.com/p/apis-abis-and-shared-libraries
Reposted by Dominic Farolino
rowan.fyi
🍪⏳ Big milestone on the way to deprecating third-party cookies as we gear up to ship multiple Privacy Sandbox APIs in Chrome 115! We've got APIs, enrolling sites, Chrome testing modes *and* 1% third-party cookie deprecation from 2024 ⤵
https://developer.chrome.com/blog/shipping-privacy-sandbox/
developer.chrome.com
domfarolino.com
Tuscanini’s in Boston/Cambridge is fantastic.
domfarolino.com
Through some wrangling & persistence I was able to secure dom.substack.com and I'll be starting a new low-traffic technical blog kinda thing. I have some drafts about event-driven programming, TikTok & the Web Platform, and tricky binary compatibility stuff. Feel free to sign up!
domfarolino.com
This makes me fearful of using what little Japanese I do know anywhere ever lmao
domfarolino.com
I always forget which of my repos have gh-pages enabled, so I built a tiny app that shows you (+ for the people you follow). You can find some cool, forgotten-about projects with it, give it a shot!

https://gh-pages.glitch.me/