#dev 2024-09-22

2024-09-22 UTC
[schmarty], troojg and [tantek] joined the channel
#
pcarrier[d]
my CSS game is ramping up. just wrote `a:hover:has(>picture:only-child)`
#
pcarrier[d]
Super Saiyan! `a:hover:has(>:is(picture, video, iframe):only-child)`
jonnybarnes, ttybitnik and oodani joined the channel
#
pcarrier[d]
Sadly text nodes don't count so this will make me have to insert spans 😦
[KevinMarks] joined the channel
#
[KevinMarks]
There's a feud in the HTML5 spec about how to markup scripts iirc - there's a argument for dl which is presentational, and one for <cite><q> iirc
doesnm joined the channel
troojg, __DuBPiRaTe__ and [qubyte] joined the channel
#
[qubyte]
Has is such a game changer. I use it to position ruby text for furigana based on a class on the body:
#
[qubyte]
```body:has(.furigana-position option[value="over"]:checked) {
#
[qubyte]
ruby-position: over;
#
[qubyte]
-webkit-ruby-position: before;
#
[qubyte]
(similar for under and off)
#
[snarfed]
[tantek] I have bad news, you and a few other web BF users got hit by a weird bug that ended up wiping your old posts
#
[snarfed]
(from the fediverse and Bluesky)
#
[snarfed]
rare untested code path. lesson learned, even when something seems like it doesn't need a test, or it's harder to test, eg UI...write tests anyway
#
[snarfed]
tests++
#
Loqi
tests has 3 karma in this channel over the last year (6 in all channels)
#
[snarfed]
I can search for your posts on a fediverse instance, and they then show up again and get attached to your profile, eg https://indieweb.social/@[email protected]
#
[snarfed]
still looking at exactly what/how I can repair
#
[snarfed]
(no other regulars here got hit afaict)
#
Loqi
[preview] Tantek Γ‡elik
#
[tantek]
No worries [snarfed]! It's "just" distribution right? And for old posts they've already been seen and scrolled off
#
[tantek]
I suppose there's some loss from showing up in rarer tag search results but hey happy to be part of helping things work better
#
[snarfed]
agreed! in some sense yeah the distribution channels are imperfect lossy caches
#
[snarfed]
tests++ can't do that enough
#
Loqi
tests has 4 karma in this channel over the last year (7 in all channels)
#
[snarfed]
unrelated, just saw "technorati for source code repos" proposed in a chat elsewhere πŸ˜† πŸ€”
#
capjamesg[d]
[snarfed] What would that mean?
#
capjamesg[d]
I'm sure there are some fascinating studies you could do on dependency graphs now I think about it.
#
capjamesg[d]
I wonder if GitHub exposes the data in their Dependencies feature via their API.
#
[snarfed]
all their basic repo and language-specific dependency data is in BigQuery
#
[snarfed]
(and I have no clue what it means but I'm sure we could invent something πŸ€ͺ)
CRISPR and sp1ff joined the channel