#dev 2022-12-16

2022-12-16 UTC
neceve, vilhalmer, geoffo, nsh, gxt__ and [jgarber] joined the channel
#
GWG
[snarfed]2: Does Micropub for Bridgy Publish support json encoded, or just form encoded posts? I'm writing my code
btrem left the channel
#
[snarfed]2
GWG both!
#
GWG
Okay, that saves time
[benatwork]1, [timothy_chambe], [jgarber] and neceve joined the channel
#
Loqi
[preview] [trwnh] #359 ActivityPub specification claims support for plain JSON (non-LD-aware) parsing, but does not actually
mro and [jamietanna] joined the channel
#
[jamietanna]
@btrem that Python error is likely because `docker-compose` is written in Python. Unfortunately don't have a recommendation for a good read for a beginner/refresher on Docker tho
neceve, gxt__, tiim, barnaby and [jeremycherfas] joined the channel
#
@taufiqz
↩️ I've been thinking about going back to running a self-hosted blog of some sort, and then encouraging others to follow via RSS (or I syndicate my content back to Twitter). And maybe enabling Webmentions for peer-to-peer comments.
(twitter.com/_/status/1603710459282001921)
#
[tantek]
Since there’s plenty of AP chat here and folks building tools & services, this seems like reasonable framing: https://twit.social/@chrisshaw/109521729362323949
#
Loqi
[preview] [Chris Shaw] @chrisaldrich @leo yes, that would be interesting to expand upon. #indieweb seems protocol driven whereas #fediverse is people driven.Over time, the people of the fediverse will require richer protocols, and no doubt some of the indieweb ideas will ...
#
[tantek]
↩️ Odd that wasn’t the link I thought it was in the thread
#
[tantek]
^ ironically indieweb did gather people first, protocols second. Do we need to make that more explicit somewhere?
#
[tantek]
This is the framing by Leo intended: https://twit.social/@leo/109513750228980761
#
Loqi
[preview] [Chief TWiT :twit:] @chrisshaw Indeeed ActivityPub is a part of the indieweb https://indieweb.org/ActivityPub
[Michelle_Moore], neceve, gxt__ and geoffo joined the channel
#
aaronpk
Thinking I should write a script to download the reply context from any old tweets I've replied to today
#
aaronpk
my new tweets grab it automatically but the tweets I imported from the last version of my website didn't include it
neceve joined the channel
#
[jacky]
how do you plan on doing that? I've been musing about checking if I have any stored MF2 for externally referenced URLs from twitter (which might end up polling bridgy or xray)
neceve joined the channel
#
aaronpk
The reply context is stored in the post file, so the "in-reply-to" is either a url or an object. So pretty easy to check all the posts for twitter URLs
#
[KevinMarks]
That perception may be that because we have more than one protocol we talk about them, whereas fediverse is more of a monoculture
neceve joined the channel
#
barnaby
[jacky], aaronpk: I’ve been doing exactly that as part of my site rewrite, using xray+granary so I also end up with an archived copy of the HTML+mf2 which I can cache and reparse if necessary
neceve joined the channel
#
barnaby
I haven’t been downloading the media for old tweets, but I did add media downloading as part of my liked tweet archiving tool
geoffo and neceve joined the channel
#
[jacky]
I need to get on this before the whole thing goes (or more people deactivate)
#
barnaby
[jacky]: happy to send you my PHP snippet if it’s useful. I didn’t package it up into something worth sharing but it’s fairly straightfoward
#
[jacky]
!tell angelo this layout of your page is _nice_ https://indieweb.org/Canopy#short-hashes
#
Loqi
Ok, I'll tell them that when I see them next
#
[jacky]
er not specifically short hashes but the whole thing
#
[jacky]
but I am curious about that (hence my copy-paste fumble, lol)
#
@Mappletons
Joining the @FrontendHorse crew for their holiday stream to talk about the IndieWeb and WebMentions in ~30 mins Lots of great folks in the lineup! Come watch and help raise funds for Doctors Without Borders.
(twitter.com/_/status/1603808573313544193)
#
Loqi
Ok, I'll tell them that when I see them next
#
barnaby
!tell angelo agreed with [jacky], very nice wiki page, but jfyi I’m getting an HSTS expired cert error in firefox when trying to view https://lahacker.net/
#
[jacky]
it _might_ be the older version of angelogladding.net (or .com)
#
[jacky]
wait no /
#
[jacky]
there we go 🙂
#
barnaby
it’s linked from the aforementioned nice wiki page, so maybe it needs updating there
#
Loqi
[preview] Angelo Gladding
gRegor and neceve joined the channel
#
[jacky]
anyone using Django for their site? could use passkeys for auth https://github.com/mkalioby/django-passkeys
#
[jacky]
might be available for conventional Flask apps as well
#
Loqi
[preview] [mkalioby] django-passkeys: Django Authentication Backend Using Passkeys
neceve joined the channel
#
[schmarty]
oh yeah, nice! https://www.twitch.tv/TrostCodes right now talking webmentions
#
[schmarty]
oop short segment, haha. great stream happening today, tho!
neceve joined the channel
#
[jacky]
soon we'll have more traction
#
[jacky]
oh poo they don't have any webmention endpoints in that HTML!! travesty 😛
btrem and geoffo joined the channel
#
[tantek]
I'm thinking of replacing my webaction fallback links (which currently go to Twitter actions) with similar UX as Mastodon has for non-logged in users (instructions on how to copy paste a URL from a text field into your own posting UI to find it/favorite/reply)
#
[tantek]
I don't know that I want to encourage fallback behavior of going to Twitter to reply to my posts any more.
#
[tantek]
Curious if anyone else has done this for responses (similar UX as Mastodon has for non-logged in users)
#
[snarfed]2
[tantek]++
#
Loqi
[tantek] has 20 karma in this channel over the last year (72 in all channels)
#
btrem
[jamietanna] I was thinking the same thing, that my docker error was because docker was written in Python. But according to Wikipedia (which is all-knowing), it is written in Go. There was an update of docker this am, but no change. In the meantime, I figured out a way around it, using `docker run` instead of `docker-compose up`. $DEITY knows what the difference is.
#
btrem
Someday, I'll learn docker properly. (Or some other way to develop website without the bother of configuring/running Apache.)
neceve joined the channel
#
aaronpk
ok on a more dev topic, why did I get a bridgy fed webmention from a post that's on an actual mastodon server??
#
aaronpk
(for some reason my duplicate/syndicated checker didn't catch it but that's a different problem)
#
[snarfed]2
aaronpk lol, link?
#
Loqi
[preview] [Aaron Parecki] Let's see if I get banned for linking to my own website, which you can also follow from Mastodon. https://aaronparecki.com/@aaronpk
#
Loqi
[preview] [Nelson Minar] @aaronpk I don't think Mastodon is going to ban you for posting to Mastodon. (Are you auto-copying tweets? I gave up doing that, the social contexts are too different.)
#
[snarfed]2
interesting! I'll look, but I expect the answer is because it's promiscuous, like Bridgy classic
#
aaronpk
how would it have been made aware of the post?
#
[snarfed]2
I follow that account
#
[snarfed]2
the trigger was shared inbox delivery of the Create for that post
#
aaronpk
ok so i sent it to the bridgy fed inbox, then what happened?
#
[snarfed]2
tech.lgbt sent it, yes. BF then does OPD, extracts targets, and tries to send wms to them
#
[snarfed]2
I could definitely limit it to only send wms to active BF users, but I kind of like the promiscuity
#
aaronpk
wait, why does BF do anything in response to getting an activitypub create? i thought the trigger was it getting a webmention
#
[snarfed]2
which maybe still seems culturally ok since it's not doing anything firehose or instance-wide
#
[snarfed]2
it does both directions, wm => AP and AP => wm
#
aaronpk
oh right this is so BF users can get AP replies as webmentions
#
[snarfed]2
yup
#
[snarfed]2
BF users and OPD friends :trollface:
#
aaronpk
so the "right" thing to do is only send webmentions to registered BF websites
#
[snarfed]2
I mean, maybe?
#
[snarfed]2
kind of a product choice, promiscuous vs narrow
#
aaronpk
ok how about "optimized" thing
#
[snarfed]2
fwiw Bridgy is still squarely promiscuous
#
aaronpk
ooh i think my duplicate checker thingy didn't catch this because there's no u-syndication property
#
[snarfed]2
oh I see you do inbound from AP too, so you might eventually want to de-dupe
#
[snarfed]2
right
#
aaronpk
my deduping works when i get a webmention from someone's website and also a bridgy webmention of the url
#
[snarfed]2
sure
#
[snarfed]2
I do like that they're promiscuous in general, but I'm open to discussion!
#
aaronpk
i *think* there's enough info in here for me to dedupe it properly
#
[snarfed]2
eg with https://github.com/snarfed/hackermention (global wms for Reddit, Hacker News, etc), I cut it short after a while due to this kind of feedback, and never started on global Mastodon wms
#
[snarfed]2
yeah the u-urls are the same here right? should be enough
#
Loqi
[preview] [snarfed] hackermention: Universal webmention backfeed for silos like Reddit, Hacker News, and more.
#
aaronpk
i normally scope responses to the domain, and don't let domains override each other or claim posts on other domains for deduping purposes
#
[snarfed]2
yeah fair
#
[snarfed]2
you are a bit more careful and strict there than most of us, which is great precedent for the community
#
aaronpk
i guess the question is whether there is any benefit to BF behaving this way? like does it mean people might discover content they wouldn't have otherwise? or is it always just extra noise
#
[schmarty]
aaronpk: from main channel - when you say your site handles liking toots automatically, how do you mean? does it do some discovery that "this is a toot" to engage the AP process?
#
aaronpk
yep! and same for twitter
#
[schmarty]
oh wait your site syndicates everything to AP, right.
#
aaronpk
so when i create a post, and if it's a like, my site goes to discover the URL I liked, and if it's a twitter URL it uses the twitter API to like it, and if it finds activitypub info, it send it out that way
geoffo joined the channel
#
aaronpk
that's not part of the flow that sends all my home page posts out to my AP followers
#
[schmarty]
oh that's interesting.
#
aaronpk
now that i say this out loud, i think this means I am sending only one update for the like, only to the original post, not to all my followers. is that what mastodon does too?
#
[snarfed]2
afaik no, Update delivery is the same as Creates
#
[snarfed]2
all the federated instances need them
#
aaronpk
er, lowercase update, not Update
#
aaronpk
but yeah should i be sending out all my likes to all my AP followers??
#
[schmarty]
my mention-sending has very little logic. to correctly have a like go to a mastodon/AP post I have to put the fed.brid.gy syndication link in the post.
#
[snarfed]2
aaronpk oh no, likes just go to the original post
#
[snarfed]2
btw re the benefit of BF's promiscuity, I don't really see it as discovery, it's aggregating responses back to the original poster, same as Bridgy classic
#
[snarfed]2
it's just a small halo out to a few more people than just strictly those who have signed up
#
aaronpk
it just seems weird that BF is involved with this interaction of mine because neither me or nelson are BF users
#
[snarfed]2
true! I definitely understand the surprise. hopefully at least it makes sense why it happened now, even if it was more serendipity than intentional
#
aaronpk
i guess the other thing that bothers me about it is that my website does speak activitypub, and so does mastodon, so BF isn't actually adding anything here.
#
aaronpk
that's different with bridgy's promiscuous twitter delivery since twitter doesn't send webmentions at all
#
[snarfed]2
true! you're in a very small set of power users whose web site also speaks AP natively
geoffo joined the channel
#
[snarfed]2
although I guess micro.blog is now technically a similar, much bigger group
#
[snarfed]2
I guess BF could do webfinger lookup and skip those sites
#
[snarfed]2
regardless, feel free to file an issue if you want!
#
aaronpk
maybe that's the right middle ground
#
aaronpk
actually isn't this true for other bridgy fed users??
#
aaronpk
like, tantek's site technically "speaks AP natively" because it's set up with bridgy fed. and it also receives webmentions.
#
[snarfed]2
yeah, but this is how it receives wms from BF
#
[snarfed]2
ie BF doesn't duplicate wms within itself
#
aaronpk
hmm, so i guess this would only be a problem if there were a second instance of BF running like if someone spun up their own version of it
#
[snarfed]2
hah, right. source URLs would be different, but u-urls would be the same
#
Loqi
[preview] [aaronpk] #348 Don't send webmentions to websites that support ActivityPub
#
[snarfed]2
thanks!
geoffo joined the channel