#dev 2022-10-13

2022-10-13 UTC
geoffo, jacky, epoch, [jeremycherfas], wagle, mro, lanodan and gxt joined the channel
#
capjamesg
How often are the JSON keys of the indieauth-metadata endpoint going to change?
#
@ArnaudLigny
↩️ Jette un œil au compte de @nhoizey : il cross-poste ses tweets sur son site Web + intégrations des webmentions.
(twitter.com/_/status/1580513180291211268)
Pyroxtheythem[m], jordemort, AramZ-S[m], h4kor[m], kandr3s[m] and barnaby joined the channel
#
@nezirzahirovic
A Ruby gem for sending Webmention notifications. (from 28/05/2020) #ruby #rubyonrails #code #programming #blog #developer #programmer #coding https://www.rubyonrails.ba/single/a-ruby-gem-for-sending-webmention-notifications
(twitter.com/_/status/1580556557355724806)
mpardalos[m], AramZS, [KevinMarks] and neceve joined the channel
#
AramZ-S[m]
capjamesg Hey, did you open source your hovercard.js stuff individually or is it just in your blog's GitHub? You didn't link but I'd be interested in looking at the code and potentially adapting it to my own use.
strugee joined the channel
geoffo joined the channel
#
capjamesg
Let me know if you have any questions!
mpardalos[m], geoffo, chenghiz_, [dshanske], GWG and barnaby joined the channel
#
capjamesg
Is Salmention still relevant?
#
[tantek]
The use-cases certainly are! And no one has proposed another way of solving them
#
capjamesg
GWG You wouldn't happen to know this: "How often are the JSON keys of the indieauth-metadata endpoint going to change?"
#
capjamesg
I built an object in IndieWeb Utils that carries all of the values in the spec.
#
capjamesg
The object only contains items in the spec and doesn't support arbitrary values.
#
capjamesg
I wondered if this would be an issue for implementors.
#
capjamesg
I can expose a public interface to just return the indieauth-metadata contents I suppose, too.
#
barnaby
IMO it’s always worth letting the library consumer get the raw data in cases like this
lagash joined the channel
#
barnaby
the keys are based on the OAuth server metadata spec https://www.rfc-editor.org/rfc/rfc8414 so I’d imagine the existing ones not likely to change very often, but there could be new ones
#
capjamesg
The issue is new keys would require an additional release to add.
#
capjamesg
Which is why I wonder if this is a rare case where the library should return the raw data like you said barnaby.
#
barnaby
it’s probably at least worth going through the list of keys and supporting any which seem like they might be relevant to indieauth at some point https://www.rfc-editor.org/rfc/rfc8414#section-2
#
barnaby
perhaps, or in addition to parsed/validated values
#
capjamesg
As a developer would you prefer the raw data or an object barnaby?
#
barnaby
capjamesg: briefly glancing through that code, I’d add a “raw_server_metadata” key to the indieauthendpoints dataclass and put the raw values there in case people want to look for them
#
barnaby
that way users get the luxury of named, type-hinted values for things we expect, but can always access the raw data if they need it
#
@ton_zylstra
↩️ wrt to posting RSS to http://micro.blog and not seeing the resulting interaction: http://micro.blog does webmentions, meaning my blogposts get pingbacks when someone on http://micro.blog responds to it there. My replies go back there too with webmention.
(twitter.com/_/status/1580594377084108806)
#
[tantek]
what is GruberVille?
#
Loqi
It looks like we don't have a page for "GruberVille" yet. Would you like to create it? (Or just say "GruberVille is ____", a sentence describing the term)
#
GWG
They could theoretically change anytime.. but the existing ones won't... just new things could be added
#
aaronpk
oh boy, Laravel is on version 9 now, and Meetable is on 7. wonder if I should spend a day upgrading now so it doesn't get too far out of date
#
aaronpk
my own website is on an even older version of Laravel and i'm a bit terrified to even attempt to update it :-/
jacky joined the channel
#
barnaby
I’ve never used laravel, is it usually a pain to upgrade to new versions?
#
aaronpk
you have to carefully read the release notes because they keep changing how various internal things work
#
aaronpk
but they do provide good notes https://laravel.com/docs/9.x/upgrade
#
aaronpk
i also think they went through a rough transition from 5 to 6 but things have been smoother now
#
barnaby
wow those are some thorough upgrade docs
jjuran joined the channel
#
[marksuth]
I’ve gone through the process of upgrading a number of Laravel sites recently, the jump from 7 to 9 isn’t that painful, I think there was 1 or 2 lines that needing adjusting in serviceproviders where things had been replaced but otherwise it was fairly smooth
#
barnaby
aaronpk: is it easy for you to set up a duplicate of your site on a subdomain to try the migration there?
gRegor joined the channel
#
aaronpk
yeah i have a local dev copy of the site
geoffo joined the channel
#
gRegor
Interesting, Patreon apparently 403's Internet Archive requests for posts, even if it's a public post.
#
sknebel
do other archives like archive.ph work?
#
gRegor
tries
#
gRegor
"#3009 in queue."
#
gRegor
grabs a coffee :)
#
[manton]
I didn’t know about archive.ph… Love the Internet Archive but that’s great to have some other folks doing this. Wonder how big they can scale?
#
gRegor
I thought there were a couple but looks like they're aliases of archive.ph (archive.today and archive.is)
#
[manton]
Kind of inspires me to make my archiver more available… Currently only used for Micro.blog bookmarks but I always wanted to open it up. With limits. I can’t be the Internet Archive. 🙂
jonnybarnes joined the channel
#
[tantek]
what is indie archive
#
Loqi
IndieArchive is a project to collaboratively grow an archival copy of pages replied to (possibly also mentioned) in indie web posts https://indieweb.org/indie-archive
#
[tantek]
[manton] ^ you might be interested in that, in the Indie but not trying to be Internet Archive way
#
[manton]
Thanks. I should probably add a few notes to that wiki page about what I’m doing too.
#
[manton]
Internet Archive will always be the gold standard of nearly everything, but I like the idea of several (or more) smaller archives.
[benatwork] joined the channel
#
[tantek]
agreed. smaller, perhaps more focused archives can help fill the holes
#
[tantek]
capjamesg, you were asking about salmentions. The recent screenshot uploaded by gRegor actually shows a visualization of a few salmentions: https://indieweb.org/File:Twitter-replies-heart-by-author-2022-10-13.png
#
[tantek]
those ":white_heart: by author" reactions are 2nd order, that is they are in-reply to comments which are then in-reply to the top level post. Displaying that 2nd order response on a permalink of the original post demonstrates a clear use-case for salmentions (webmentions being propagated further upstream as it were)
#
capjamesg
[tantek] Today is the day I think I finally got my head around Salmentions.
#
capjamesg
The concept previously would not register in my mind.
#
capjamesg
I was wondering if indieweb-utils could do anything here but it seems pretty implementation specific?
#
[snarfed]
yup, implementation specific. eg we tried to do it in Bridgy but couldn't ever really figure out what exactly to do. https://github.com/snarfed/bridgy/issues/458
#
Loqi
[voxpelli] #458 figure out how to interoperate with salmentions
#
capjamesg
I see the use case.
#
capjamesg
But a difficult problem :D
#
aaronpk
initial upgrade of meetable to laravel 9 went smooth. i suspect there may be some issues with the more obscure features though
#
angelo
capjamesg get_post(permalink, upstream=1) that gets the post at permalink but also recursively fetches responses `upstream` levels deep and collapses all of the interesting bits into a dict
#
capjamesg
Upstream as in the post to which a reply is replying?
#
capjamesg
angelo That feels like a great function to have.
#
angelo
upstream to imply salmentions (salmon swimming upstream)
#
capjamesg
But wait.
#
capjamesg
Is that bottom up or top down?
#
capjamesg
Ah that's clever.
#
capjamesg
I get it now!
#
capjamesg
So send a webmention from R1 (R = reply) to R2, then R2 to R3, etc.?
#
capjamesg
That's the Salmention sending part.
#
capjamesg
Then parsing would be getting all the upstream info into a dictionary?
#
angelo
hm the like of the reply here would trigger a mention to the reply which would trigger a mention to the original post.. that'd be the upstream part. i suppose this reverse discovery would be downstream.
#
angelo
maybe just use `depth=1`.. so the original author here would need to only fetch the reply (which would have the like on it). however a reader that's fetching the original post would have to fetch one level deeper `depth=2`.
[fluffy], sebbu2 and neceve joined the channel