#dev 2022-12-21

2022-12-21 UTC
#
[snarfed]2
[jamietanna] short term, I'm happy to unfollow someone manually on your BF account if you want, just let me know
nedzadhrnjica and vladimyr joined the channel
#
[tantek]
^ ultimate manual until it hurts 😂
#
barnaby
manual until specified
#
[tantek]
manual until prototyped
#
[tantek]
The 410 of the original follow post isn’t great but is doable is Bridgy maintains state
#
[tantek]
if* Bridgy maintains state
#
[tantek]
Which is perhaps a reason against using that method
#
[tantek]
Long term stateless protocols are more robust and more web-like
#
barnaby
stateless unfollowing would only be possible with an explicit “unfollow” post type, which seems a little mean
#
barnaby
my preference would be for listing followed people on a single page, blogroll style, and then periodically syncing that with the current state which bridgy has to maintain anyway
#
barnaby
but I’m not a big fan of explicitly listing who I follow anyway. I’d prefer to manage it via whether or not I subscribe to them
#
IWDiscordRelay
<j​acky#7226> I was beginning to type "it's weird that we _do_ have a concept of a Follow and Block" but then I remember /reacji, /like et al lol
#
barnaby
eh, reactions and likes are direct reactions to a post which someone might want to display
#
IWDiscordRelay
<j​acky#7226> I guess I consider them also a class of reactionary posts (something only used to indicate a change in state or to minimally engage with some _other_ content) which makes me _less_ hesitant against them being publicly listed
#
barnaby
a follow or unfollow isn’t really a reaction IMO, it’s either application state stored in posts for some reason, or a notification to someone that you followed them
#
IWDiscordRelay
<j​acky#7226> I agree, barnaby, with the displaying aspect but that "might" is carrying that sentence 😉
#
barnaby
yeah, sure ;)
#
IWDiscordRelay
<j​acky#7226> so I only push on that b/c we don't have a lot of mechanisms to use follow posts (or blocks, etc) in the IndieWeb. Like I can see such posts being a way to enable vouching (in a way) or even enable a way to define an audience (both of which I am personally looking to try out - whenever time permits)
#
barnaby
afaik before mastodon and bridgy fed, we didn’t have many indiweb examples of people explicitly listing who they followed or not, and doing so has mostly been motivated by BF and mastodon
#
barnaby
well, listing follows has a long history in blogrolls, I’m talking more about having explicit follow-of posts
#
IWDiscordRelay
<j​acky#7226> Yeah outside of things like blogrolls IIRC (which felt more _specific_ and less personal than a follow)
#
IWDiscordRelay
<j​acky#7226> yeah
#
IWDiscordRelay
<j​acky#7226> frankly if/when I _do_ make such posts, they'll _never_ be public
#
IWDiscordRelay
<j​acky#7226> I don't think they need to be
#
barnaby
yep, and weren’t really used as notifications to the followee, although a webmention from a blogroll page would do that just fine
#
barnaby
my old reader prototype could parse a page for h-cards and follow everyone listed there, which I used briefly, but only experimentally
#
barnaby
yeah when I end up implementing follow-of posts it’ll be hidden and used only for subscribing to fediverse people via BF
#
barnaby
and all one one page, as fortunately BF supports that!
#
IWDiscordRelay
<j​acky#7226> yeah that's also how I'd like to do it
#
IWDiscordRelay
<j​acky#7226> I know they're underused here but I'm def interested in leaning more into including fragments in resources
#
IWDiscordRelay
<j​acky#7226> (and moving more reactionary things to live as items in a separate feed)
geoffo joined the channel
#
[schmarty]
snarfed and barnaby (at least) brought it up in here some days ago, but activitypub does unfollows as an "Undo" of the original follow activity. could that be a thing?
#
gRegor
My follow posts for BF have been /unlisted, though I do kind of like having that history of when I followed people. I could probably parse those posts and build a dynamic "following" page too, though my BF user page works ok for that now.
#
[tantek]
barnaby, agreed about an explicit “unfollow” post type seems mean if made public. I actually would appreciate a personal log of who I followed/unfollowed/refollowed so my own system could let me know if/when I wanted to unfollow someone, how long have I been following them.
#
[tantek]
or vice versa, if I try to follow someone I previous unfollowed, it could tell me that I'd done so (and ideally with a note why at the moment of unfollowing)
[eddie] joined the channel
#
[eddie]
I do like that “undo”-ing a follow-post isn’t as bad as an “unfollow”. I think the 410 is attempting that. However, as we’ve discussed that breaks with fragments.
#
[eddie]
That seems like the only two options to “undo” something would be an mf2 addition or another parameter of the webmention. Not sure if there is any previous art around that?
#
[tantek]
the blogroll example is an interesting one, as when they were public, any changes were bound to the weight of inciting drama
#
[snarfed]2
barnaby and jacky are right. the native indieweb usage here is to follow and unfollow inside your social reader, without need for posts and wms across sites
#
[snarfed]2
And arguably our only mature patterns for those right now are public, which is even more awkward for follow/unfollow
#
[schmarty]
yeah. i've been feelin' the friction of adding a mastodon account to aperture and then the bonus action of making a follow post so they know about it. :}
#
[snarfed]2
So maybe we need proprietary follow/unfollow UX in BF etc
#
[snarfed]2
Oh wait [schmarty] that's what BF's user feeds are for, just follow your feed once and you're done
#
[schmarty]
snarfed: i want to be a little more discriminating about where different folks posts end up in my reader 😏
#
[snarfed]2
(er, add it to aperture once)
#
[snarfed]2
Ahh ok
#
[snarfed]2
Hmm then why follow people in BF at all?
Nuve joined the channel
#
[schmarty]
social etiquette mostly. "hi, hello, i am following you! 👋 "
#
[snarfed]2
Ah sure
#
gRegor
I'm only using the feed BF generates to subscribe in my reader. Bonus is only have to do the follow post, then they'll start appearing.
#
gRegor
ah, just saw snarfed already mentioned that
#
gRegor
I could definitely see wanting to change that as I follow more people. Only 25 so far.
#
[schmarty]
part of why i'm not following BF feed is i'm anxious about the velocity of mastodon posts vs my reading habits. putting folks into different channels is helping for now.
#
aaronpk
Heh the way my following works is when I follow someone I have to choose which aperture channel their posts will show up in. It's actually really nice
#
[schmarty]
that's how i'm doin' it!
Seirdy_ joined the channel
#
aaronpk
Highly recommended!
#
[snarfed]2
GWG, I fixed the Bridgy Micropub bug where it was only posting the title, without link. thanks again for reporting!
#
GWG
[snarfed]2: I honestly thought it was me
geoffo, mro and gRegor joined the channel
#
[KevinMarks]
My previous mastodon follows (by using the mf2 on their profile page) all failed as they switched to 4.0
tiim, barnaby, jjuran, M0x3b0b[m], ash[m], walkah, starrwulfe[m], BrandonRozek, benatkin, cambridgeport90[, AramZ-S[m], vladimyr, Seirdy_ and M3bob[m] joined the channel
#
[KevinMarks]
Hm, indiekit looks like it might suit me, I'll give that s try
[Serena], lqdev[m], kandr3s, gerben, mambang[m] and ben_thatmustbeme joined the channel
#
@ljquintanilla
New Post: "Accept Webmentions using F#, Azure Functions, and RSS" Here's my contribution to this year's F# Advent. Thanks to @sergey_tihon for organizing it. #fsharp #FsAdvent #webmentions #indieweb https://www.luisquintanilla.me/posts/receive-webmentions-fsharp-az-functions-fsadvent/
(twitter.com/_/status/1605557905817604096)
#
@sergey_tihon
"Accept Webmentions using F#, Azure Functions, and RSS Introduction" by @ljquintanilla for #FsAdvent #fsharp
(twitter.com/_/status/1605558672184135680)
#
lqdev[m]
Hi folks. I want to add this post and accompanying library to the gift calendar. Is it just a matter of updating the wiki page?
#
lqdev[m]
Great. Thanks.
#
aaronpk
hey why didn't micro.blog get a mention here https://axbom.com/fediverse/
#
aaronpk
oh it's there it's just tiny and the logo only
#
aaronpk
not super helpful
#
[jacky]
very not
#
[jacky]
and I wonder if it's because of the number of things on that leaf
#
[jacky]
_or_ if it's paid
#
[jacky]
(which isn't a requirement but hey)
#
[jacky]
I'm starting to think I should split up the Rust IndieWeb library into smaller ones
#
[jacky]
like one specifically for IndieAuth, Micropub, etc
#
[jacky]
there's some stuff that's shared but that's easy to put into a 'util' lib (or a more specific one, I kinda _hate_ the utility practice because you always gotta rummage in it to see if it has what you need)
#
barnaby
yeah, the tradeoff between “lots of single-function libraries” and “one awkward utils library” is tricky to navigate
#
[jacky]
Yeah fortunately things like the rel-parser can live on its own
#
[schmarty]
there are a lot of little algorithms for IndieAuth, Micropub, etc. that benefit from being utilities 😅
#
[jacky]
but there's def a _little_ overlap (mainly out of laziness of implementing a jf2 parser/serialization tool) between some stuff
#
[jacky]
[schmarty], barnaby: agreed!
#
barnaby
for functions which are small and well-tested enough, I tend to just copy/paste them between projects which are isolated enough to not need to depend on each other
#
barnaby
but that tends to only work out for the really small (i.e. <10 line) functions
#
barnaby
and the ones which are mostly just patching functionality or usability holes in the standard library
#
Seirdy_
jacky: I'd go further and say that WebSub and MicroPub should be separate, with WS being a dependency of MP (if it isn't already).
#
Seirdy_
anybody know of a good webfinger implementation that generates the json from microformats?
#
[tantek]
Yep, Brody Fed
#
[tantek]
Lol autocorrect
#
[tantek]
What is Bridgy Fed
#
Loqi
Bridgy Fed connects IndieWeb sites with Mastodon and the fediverse https://indieweb.org/Bridgy_Fed
#
[tantek]
^ there’s code for taking mf2 and generating wf json in there
geoffo joined the channel
#
@miklb
Interrupting this strike to say I think Dan’s the perfect person to distill these concepts back to the broader web community. I think he’d make the perfect gateway drug to webmentions.
(twitter.com/_/status/1605589849762832385)
[manton] joined the channel
#
[manton]
[aaronpk] Did you ever figure out the Mastodon link verification? I’m starting to wonder if Mastodon expects actor URLs like /@username or something.
#
aaronpk
i tried with my actor URL as /@aaronpk and /aaronpk
#
aaronpk
FYI i just updated an actual mastodon profile with a verified link, and then looked at what my instance received as the Update, and there is also nothing in there that indicates one of the links is verified
#
aaronpk
so it's definitely each mastodon instance doing the verification itself
vilhalmer and mro joined the channel
#
barnaby
what is a media proxy?
#
Loqi
It looks like we don't have a page for "media proxy" yet. Would you like to create it? (Or just say "media proxy is ____", a sentence describing the term)
#
[snarfed]2
media proxy is /image_proxy
#
[snarfed]2
and /video_proxy
#
barnaby
hmm sounds like redirecting /media_proxy -> /proxy disambiguation page could be useful then, thanks [snarfed]2
#
[schmarty]
love me some media proxies
#
barnaby
I will be making one soon and want to review prior art to avoid making the easily-avoidable mistakes I suspect might happen when trying to re-serve external content
#
barnaby
at a glance it doesn’t look like there’s an open source PHP media proxy yet, so maybe that’ll be the next taproot component I can easily open source
#
[schmarty]
yaaaaaaaaaaaaaas
#
[schmarty]
micropub media endpoint w/ proxy support is on my personal roadmap
#
barnaby
interesting, I had always seen the media proxy as something to use when displaying external data — how would it be integrated with a micropub media endpoint?
#
barnaby
because I already have one of those ;) https://github.com/Taproot/micropub-adapter
#
aaronpk
i use one for showing my own photos
#
[schmarty]
i don't know that they need to be tightly integrated but i use them together for my own photos and videos
#
Loqi
[preview] [Taproot] micropub-adapter: The easiest way to add micropub support to existing or new applications.
#
barnaby
ah okay, makes sense
#
barnaby
do you make some internal distinction between internal and external media, or does it all end up in one big homogenous heap?
#
barnaby
and do you have a mixture caching and permanent storage of external content depending on the use case, or does everything get permanently stored?
#
barnaby
*mixture of caching
#
[manton]
[aaronpk] Thanks. Makes sense that each instance would do its own check. Shrug, I’ll revisit this at some point.
mro and gRegor joined the channel
#
[jacky]
I would use a media proxy to do things like image processing that I don't wanna do in my own Micropub server
#
[snarfed]2
Bridgy Micropub question! normal Bridgy Publish, ie interactively or via webmention, posts full contents of notes, but just title (p-name) and link for articles
#
[snarfed]2
Bridgy Publish's Micropub interface, on the other hand, posts the full content property that it gets, regardless of whether post type discovery says it's a note or an article (ie a name property is included)
#
[tantek]
Micropub is a higher-fidelity more explicit protocol so that makes sense
#
[tantek]
whereas Webmention is *not* intended as a publishing protocol 😂
#
[snarfed]2
yeah I'm definitely mixed on abusing it as a trigger
#
[tantek]
though to some extent, sending a webmention for a reply is a form of "hey if you want, you could publish this as a comment on your post"
#
[snarfed]2
yeah true
#
[tantek]
which we should probably make more explicit
#
[snarfed]2
I originally liked that decision for the Micropub interface, but I'm reconsidering now, due to the UX inconsistency. for example, GWG recently switched his WordPress plugin(s) to use the Micropub interface, and this means that they'll now behave differently. I suspect that will be an unpleasant surprise for those plugins' users
#
[tantek]
the point is with webmention, the recipient *may* publish *something*. it's not explicit at all what the expectation is, whether just name/summary or cropped content or full content
#
[snarfed]2
true!
#
[snarfed]2
^ maybe this is more just an issue for GWG and the WP plugins 🤷
#
[tantek]
whereas with Micropub, the receiving server is very much expected to treat the client request with precise fidelity
#
[snarfed]2
when possible. Micropub to silos is necessarily lossy
#
[tantek]
[snarfed] IMO it is up the that WP Plugin to maintain UX consistency when changing a backend implementation detail
#
[snarfed]2
very true! cc GWG
#
[tantek]
so that's worth filing a bug on that WordPress plugin
#
[snarfed]2
I didn't follow why it switched at all, other than just trying something new, but I probably missed something
#
[tantek]
agreed that Micropub to silos can be lossy, however, I believe that is the responsibility of the Micropub client to clearly communicate to the user (the limitations of the "server" (silo) that they are posting to
#
aaronpk
micropub to silos is also an overloading of micropub
#
[snarfed]2
absolutely, to both
#
aaronpk
silopub provides a micropub interface to twitter for example
#
aaronpk
micropub to your site to twitter is lossy because it's actually your site syndicating to twitter, not the micropub request resulting in a tweet directly
#
[snarfed]2
Bridgy Publish's Micropub actually does the latter
#
[snarfed]2
it's lossy because Twitter doesn't support all mf2 properties, eg p-name
mro joined the channel
#
[tantek]
micropub to your site to twitter is not "micropub to silos". your site fully owns the responsibility there and that has nothing to do with micropub IMO
#
[tantek]
TIL: F#
#
barnaby
ooh, very nice webmention flow diagram in that post
#
[tantek]
and Luis built the webmention sender during last year's F# Advent so I'm going back in time to add that to 2021 😄
#
GWG
[snarfed]2: I expected I'd have to handle the backlink in content and such... but I just need to know how.
[aciccarello] joined the channel
#
GWG
When I put the link into content and it didn't appear, I was surprised.
#
GWG
[snarfed]2: My goal is to have it work identically
#
GWG
Or better because of Microformats support being iffy
#
[snarfed]2
ahhh that was the motiviation for switching to Micropub
#
[snarfed]2
ok!
#
[snarfed]2
so if you want it to work the same, you'll want to recreate the "only title/link for articles" logic in your plugin
#
[snarfed]2
the easiest way to do that is, if the WP post has a title, don't include the content property in the BP Micropub request
#
[snarfed]2
if the WP post doesn't have a title, include the content property
#
[snarfed]2
sorry for the trouble! this is because BP Micropub itself behaves differently, ie posts different things, than BP webmention and interactive. I'll document that better
#
[snarfed]2
or, actually, send "[title] - [link]" as the content
[marksuth] joined the channel
#
GWG
[snarfed]2: I did sent [title] - [link] as the content... that's when I called for you the other night
#
GWG
My UI for this may also be too minimalist
#
[snarfed]2
Hmm true, I think you did send that, let me look
#
[snarfed]2
ah right, this was the bug I fixed. ok, if you're manually sending "[title] - [link]" as the Micropub content, instead of the post's content itself, then you should be fine
#
GWG
[snarfed]2: Great. Will fix
#
[snarfed]2
ok, I've updated docs in https://brid.gy/about#micropub and https://brid.gy/about#microformats. thanks again for your patience GWG!
#
GWG
[snarfed]2: Shouldn't I be saying that to you?
#
[snarfed]2
lol sure
#
GWG
[snarfed]2++
#
Loqi
[snarfed]2 has 1 karma over the last year
#
GWG
[snarfed]++
#
Loqi
[snarfed] has 54 karma in this channel over the last year (99 in all channels)
#
GWG
All [snarfed]'s get props
#
[tantek]
snarfed++ for timely docs updates!
#
Loqi
snarfed has 55 karma in this channel over the last year (100 in all channels)
#
[snarfed]2
thanks all! also filed https://github.com/w3c/webmention/issues/113
#
Loqi
[preview] [snarfed] #113 Consider allowing caching endpoint discovery
mro joined the channel
#
capjamesg
GitHub has a seasonal grid!!!
#
capjamesg
[snarfed]++ for hitting 100 karma!
#
Loqi
[snarfed] has 56 karma in this channel over the last year (101 in all channels)
#
lqdev[m]
<[tantek]> "and Luis built the webmention..." <- Thanks!
lqdev joined the channel
#
capjamesg
I don't know if this can go on the gift calendar [tantek]?
#
Loqi
[preview] [capjamesg] seasonal.js: Change an emoji on your website for different seasonal events.
tiim joined the channel
#
[tantek]
lqdev++ thanks and welcome!
#
Loqi
lqdev has 1 karma over the last year
#
lqdev[m]
Does this count as a gift too? I learned all the ways NOT to own your links using Azure CDN 😄 https://www.luisquintanilla.me/feed/azure-cdn-regex-url-redirect/
#
Loqi
[preview] lqdev
#
[snarfed]2
capjamesg where is GitHub's seasonal grid? I'm not seeing it
#
IWDiscordRelay
<c​apjamesg#4492>
[James_Van_Dyne] joined the channel
#
[tantek]
What are holidays
#
Loqi
It looks like we don't have a page for "holidays" yet. Would you like to create it? (Or just say "holidays is ____", a sentence describing the term)
#
[tantek]
What is a holiday
#
Loqi
A holiday theme is a temporary custom CSS or other change in a website typically meant to visually indicate the celebration of a holiday or special occasion https://indieweb.org/holiday
#
[tantek]
holidays is /holiday
#
[tantek]
Also where are the emojicons for /holiday on that Loqi reply?
#
aaronpk
oh i think i check for string length because some of the icons on pages are actually URLs
#
[tantek]
capjamesg, ooh haven’t seen that GH blue holiday theme before. Can you upload that screenshot to the wiki and add it to: https://indieweb.org/holiday_theme.
#
[tantek]
aaronpk maybe check for ^http instead to exclude?
#
aaronpk
maybe but that also seems a bit risky
#
[tantek]
Or cap it at 3 emoji, bc counting number of emojis is no big deal right? 🤡
#
aaronpk
i have a whole library for that
#
[tantek]
Same with a function yeah
[Fresno] joined the channel