#dev 2022-10-07

2022-10-07 UTC
sebbu2 and jacky joined the channel
#
[KevinMarks]1
Another way to preview a link https://www.kevinmarks.com/mentionquote.html
#
Loqi
Mentions as quotes 2015-05-22
jacky and aos joined the channel
#
[tantek]4
[KevinMarks] note that link has been in the source comments of auto_url_summary for quite some time 🙂 https://github.com/tantek/cassis/blob/master/cassis-lab.php#L125 so yes, I agree, that's a good way to extend the functionality of auto_url_summary
ao3 joined the channel
#
[KevinMarks]1
There's probably a case for supporting the chrome syntax too
#
[tantek]4
nah, just like I don't need to support all new gTLDs 😛
#
[tantek]4
CASSIS is a bit opinionated 😉
#
[tantek]4
angelo, to further answer your question, auto_url_summary generates text that can be appended to "↳ In reply to "
#
[tantek]4
I should document that
#
Loqi
I agree
#
gRegor
Loqi should document that
#
[tantek]4
I agree
[jgarber] and gxt joined the channel
#
[tantek]4
!tell angelo, how's this for minimal context documentation of what auto_url_summary returns? https://github.com/tantek/cassis/blob/master/cassis-lab.php#L55 is that enough to be clear or any further questions/clarifications?
#
[tantek]4
!tell angelo how is this for minimal context documentation of what auto_url_summary returns? https://github.com/tantek/cassis/blob/master/cassis-lab.php#L55 is that enough to be clear or any further questions/clarifications?
#
Loqi
Ok, I'll tell them that when I see them next
sebbu2, gRegorLove_, geoffo, [jeremycherfas], gxt, ilyag and mro joined the channel
#
capjamesg
[tantek] What are your thoughts on using https://indieweb.org/CC0 for libraries?
#
capjamesg
angelo raised this idea yesterday. I chose MIT for indieweb-utils as I wanted a permissive license, but at the time I hadn't considered CC0.
#
[Jamie_Tanna]
Capjamesg beware its not OSI approved so not officially Open Source, which may lead to some folks not wanting to contribute / being more cautious
#
[Jamie_Tanna]
Also if you do end up relicensing, you need explicit permission of all the copyright holders (ie everyone who's contributed) to relicense it!
#
[tantek]4
how is CC0 not OSI approved? it's basically an international version of "public domain"
#
[tantek]4
jamietanna, that latter statement I believe is untrue. CC0 contributions are not undoable
#
[tantek]4
I'm a fan of using CC0 if you are really ok with anyone cut & pasting for any reason without any credit.
#
[Jamie_Tanna]
Hmm interesting, so can't even relicense as its now CC0 forever?
mro joined the channel
#
[tantek]4
I hadn't seen the 2012 discussions sknebel. That's interesting and too bad.
#
sknebel
0BSD is one that has gotten OSI-approval: https://opensource.org/licenses/0BSD
#
sknebel
that said I'm not sure how many people really have a problem with cc0
#
[tantek]4
it sounds like it wasn't that CC0 was rejected but rather than no conclusion was reached, no consensus
mro joined the channel
#
[tantek]4
sknebel++ for suggesting 0BSD. nice and short
#
Loqi
sknebel has 10 karma in this channel over the last year (30 in all channels)
mro, tetov-irc, tbbrown, gRegorLove_, barnaby and [snarfed] joined the channel
#
[snarfed]
fwiw all of my open source projects are public domain/CC0
mro joined the channel
#
@jh3yy
CSS Tip! ✨ You could use :has() combined with sibling combinators and other things to build a working 3D CSS Connect 4 🤓 .col:has([row=p-1]:checked) + ... .col:has([row=p-1]:checked) ~ .result { --win: 1; --winner: var(--p); } Demo link below! 👇 https://twitter.com/jh3yy/status/1578158670562865152/video/1
(twitter.com/_/status/1578158670562865152)
angelo_, geoffo and gRegorLove__ joined the channel
#
[tantek]4
Yeah :has has A LOT of power
tbbrown, mro and geoffo joined the channel
#
Loqi
angelo_: [tantek]4 left you a message 14 hours, 20 minutes ago: how is this for minimal context documentation of what auto_url_summary returns? https://github.com/tantek/cassis/blob/master/cassis-lab.php#L55 is that enough to be clear or any further questions/clarifications?
#
capjamesg
Thank you!
mro, gRegorLove_, gRegorLove__, jonnybarnes, tbbrown and geoffo joined the channel
#
angelo_
tantek yes those clarifications helped give me the context i needed. capjamesg here's what i've had for reply contexts in indieweb.rocks: https://ragt.ag/code/indieweb.rocks/files/indieweb_rocks/templates/site.html#L323 which is a richer rendering than provided in the summary templates we discussed yesterday.. i do not want to have to maintain the list of regexes myself. i do not want to have
#
angelo_
to search them. i DO want to be able to write my own summaries. that's the ergonomics i need and `custom_templates` isn't adequate.
#
angelo_
i'd like to collaborate on a JSON list of URL mappings and have a simple python search function, both CC0
#
angelo_
here's a list i started manually keeping that accounts for probably 90% of the rel=me's in the wild
#
Loqi
Angelo Gladding
#
angelo_
in the *IndieWeb* wild
#
angelo_
snarfed does bridgy have any lists like this?
#
capjamesg
angelo_ what is the purpose of that rel=me dict?
#
angelo_
a) generate a textual summary of a silo's profile page and b) return the username
angelo joined the channel
#
capjamesg
Ah, I see!
#
capjamesg
This is useful!
#
angelo
capjamesg the four Trues at the top of that dict denote silos that support the reciprocal rel=me
#
capjamesg
Ah sourcehut supports it! Nice!
geoffo joined the channel
#
angelo
i plan to make a similar list of silo /post/ permalink templates when i start crawling posts.
#
angelo
or are these url_patterns?
#
capjamesg
If you'd be willing this would be a great list to maintain in IndieWeb utils for broader use.
#
capjamesg
With an accompanying function in similar style to the one we defined yesterday.
#
capjamesg
I'd say they are more patterns.
#
capjamesg
But it's semantics.
#
angelo
they're url_summaries
#
capjamesg
Is there any reason the regex is in a list?
#
capjamesg
Will there be scenarios where there is more than one pattern?
#
angelo
see foursquare
#
capjamesg
Oh I see.
#
capjamesg
Got it!
#
angelo
yes i think this map should be available in library form but it only makes sense to attach it to code licensed cc0 (or equivalent)
#
capjamesg
We discussed this a bit in the scrollback today.
geoffo and gRegor joined the channel
#
angelo
i saw. having data files tied to the project complicates things further
geoffo, [timothy_chambe], tetov-irc, KartikPrabhu and tbbrown joined the channel