Made a lil custom element that does nothing but keep track of how many times it’s been instantiated. Why? To make sure DOM diffing/targeted updates are happening correctly. #WebComponents #WebPerf
=> More informations about this toot | View the thread
The Chinese are gonna make a whole lotta gen Z-ers into Trumpists. If that’s not foreign interference I don’t know what is.
We are fortunate that President Trump has indicated that he will work with us on a solution to reinstate TikTok once he takes office. Please stay tuned!
=> More informations about this toot | View the thread
“empathetic”‽ these people truly don’t understand what it means to be human.
=> More informations about this toot | View the thread
What’s the Brother laser printer of TVs? Good panels, HDMI and/or DP inputs, maybe an OTA tuner, no smarts.
=> More informations about this toot | View the thread
Hot take: this is a bad rule.
Sometimes I like to be explicit.
Sometimes I don’t remember which order the shorthand’s values go in.
Sometimes the shorthand property’s syntax is hella confusing (looking at you, grid-template
).
Clarity over concision, please. https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/ #css
=> More informations about this toot | View the thread
Shout out to 6-months-ago @konnorrogers for saving me a bunch of confusion and frustration this morning on why autofocus
wasn’t working as I expected with our focus-delegating components.
https://github.com/lit/lit/issues/4662
https://github.com/shoelace-style/shoelace/issues/2000
For now I think I’ll just suggest that folks not rely on declarative auto-focusing of our components and call .focus()
when needed.
=> More informations about this toot | View the thread
How do button #webComponents that wrap a real prevent click events from bubbling up when the button is disabled? Handlers on containers shouldn’t fire, but do.
Adding a capture-phase handler in the component to stop propagation comes to mind, but that doesn’t seem to be what shoelace is doing.
=> More informations about this toot | View the thread
This is why I haven’t updated
https://zeppelin.flights/@sixcolors/113670544198227370
=> More informations about this toot | View the thread
I haven’t seen this written down before, so even though it may seem blindingly obvious once you internalize how layout works, I wrote it down anyway. #CSS #DesignSystems https://noahliebman.net/2024/12/where-size-comes-from/
=> More informations about this toot | View the thread
Should I create an EQ for my desk speakers to boost the highs for when I have a hoodie up
=> More informations about this toot | View the thread
Something that South Korea has that the US does not is a national capital that’s also a megacity. That puts the US at a huge disadvantage when there’s a need to mobilize urgent mass protests.
Distance plus infinitesimal amounts of paid time off make such gatherings a significant burden on Americans.
=> More informations about this toot | View the thread
If Biden is gonna yolo his lame duck, he should at least do something useful like pack the supreme court
=> More informations about this toot | View the thread
This is a really important point. AI’s outrageous use of computational power isn’t a bug; it’s exactly the point. All of the companies trying to hawk AI own the compute infrastructure. That’s what they’re actually selling https://fromjason.xyz/p/notebook/any-technology-indistinguishable-from-magic-is-hiding-something/
=> More informations about this toot | View the thread
Sometimes the distinction between what’s dead simple and what takes a bit of work isn’t obvious to designers. For example, rounding just the right corners here. https://codepen.io/noleli/pen/XJrWyPw
That said, it sure would be nice to have #css pseudo-classes for this. (I get why they’d be circular, but still a bummer.)
=> View attached media | View attached media | View attached media
=> More informations about this toot | View the thread
I don’t have a use case in mind, and this is probably a terrible idea, but it occurred to me that you can use a static EventTarget on a #WebComponent prototype to synchronize a value across all instances of that component. https://codepen.io/noleli/pen/OJKKQLy
=> View attached media | View attached media
=> More informations about this toot | View the thread
Ope, @huffingtonpost is on it /ht @jonathankoren
=> More informations about this toot | View the thread
C’mon, headline writers. “Gaetz Pulls Out” was right there.
=> More informations about this toot | View the thread
I’ve been saying it for years: don’t compile race and ethnicity data. It is extremely easy to weaponize. #jewishParanoia https://projects.noahliebman.net/twitter/289098951011991552/
https://yiff.life/@hyenagirl64/113484204409593169
=> More informations about this toot | View the thread
“The Dems should have appealed more to centrist Republicans”
“The Dems should have had an actually progressive platform”
In a two-party system, the Democrats have the impossible task of appealing to literally everyone who isn’t MAGA. That is way too big of a tent, especially when over half the voters are perfectly willing/happy to vote MAGA.
I’m terrified of the coming Christo-fascist regime, but blaming that on how the Dems positioned themselves or campaigned isn’t a useful exercise.
=> More informations about this toot | View the thread
With the #pixelmator news it seems like a good time to get the word out again about @flyingmeat’s Acorn editor. Been using it for years, and it’s worth every one of the not-very-many pennies https://flyingmeat.com/acorn/
=> More informations about this toot | View the thread
=> This profile with reblog | Go to noleli@mastodon.social account This content has been proxied by September (ba2dc).Proxy Information
text/gemini