Advertisement · 728 × 90

Posts by Dominic Farolino

📢 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...

1 year ago 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.

1 year ago 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?

1 year ago 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

1 year ago 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!

1 year ago 34 10 2 1

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

2 years ago 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!

2 years ago 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?

2 years ago 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!

2 years ago 2 1 0 0
Advertisement
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: dom.substack.com/p/apis-abis-and-shared-l...

2 years ago 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 ⤵
developer.chrome.com/blog/shipping-privacy-sa...

2 years ago 2 3 1 0
Post image

Too real

2 years ago 1 0 0 0

Tuscanini’s in Boston/Cambridge is fantastic.

2 years ago 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!

2 years ago 0 0 0 0

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

2 years ago 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/

2 years ago 0 1 0 0