Dominic Farolino's Avatar

Dominic Farolino

@domfarolino.com

Google Chrome engineer trying to simplify the web platform. https://domfarolino.com

286
Followers
38
Following
13
Posts
02.05.2023
Joined
Posts Following

Latest posts by Dominic Farolino @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...

21.02.2025 21:41 πŸ‘ 117 πŸ” 24 πŸ’¬ 4 πŸ“Œ 6

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.

14.02.2025 21:35 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
HTML Standard

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?

14.02.2025 21:33 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
GitHub - WICG/observable: Observable API proposal Observable API proposal. Contribute to WICG/observable development by creating an account on GitHub.

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

28.01.2025 22:14 πŸ‘ 12 πŸ” 5 πŸ’¬ 1 πŸ“Œ 0

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!

21.01.2025 21:17 πŸ‘ 34 πŸ” 10 πŸ’¬ 2 πŸ“Œ 1

From what?!! Any obvious event that could've led to that?

28.07.2023 18:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
GitHub - domfarolino/observable: Observable API proposal Observable API proposal. Contribute to domfarolino/observable development by creating an account on GitHub.

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!

28.07.2023 14:29 πŸ‘ 5 πŸ” 1 πŸ’¬ 1 πŸ“Œ 1

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?

26.05.2023 01:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Ooh Substack allows you claim your subdomain as a Bluesky handle via some auto DNS magic which is pretty cool!

25.05.2023 22:58 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

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

25.05.2023 19:10 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸͺ⏳ 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/

18.05.2023 13:46 πŸ‘ 2 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

Too real

16.05.2023 13:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Tuscanini’s in Boston/Cambridge is fantastic.

11.05.2023 19:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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!

09.05.2023 21:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This makes me fearful of using what little Japanese I do know anywhere ever lmao

04.05.2023 12:10 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

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/

03.05.2023 12:05 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0