#dev 2018-08-26

2018-08-26 UTC
wagle joined the channel
#
vilhalmer
is rel=me intended to be validated recursively, or is checking just a single back-and-forth relationship sufficient?
#
vilhalmer
put another way, is a->b, b->c, c->a valid?
#
KartikPrabhu
vilhalmer: a 2-way link is suffcient for most things we have encountered
#
vilhalmer
good, I can avoid solving the halting problem :)
#
KartikPrabhu
ultimately it depends on the consumers. Indieauth only does a a <-> b verification
#
KartikPrabhu
vilhalmer: yup ;)
#
KartikPrabhu
if rel=me helps solve the halting problem don't let me stop you
#
vilhalmer
I'm going to have to save that for another weekend
#
KartikPrabhu
good. sounds like a really long weekend
[kevinmarks] joined the channel
#
[kevinmarks]
If a <=> b<=>c then that is legitimate. Any non bidirectional ones are unverified claims
#
[kevinmarks]
A lot of sites only allow one link, so having a star configuration makes sense
#
Loqi
[vilhalmer] rel-me-verifier: Detects all rel=me links on the current page and verifies the existence of a cyclical linkage. Adds a visual marker to indicate the result of the verification.
#
vilhalmer
aaronpk++ for providing an interesting layout to test that on
#
Loqi
aaronpk has 105 karma in this channel over the last year (314 in all channels)
#
aaronpk
oh gosh haha
#
vilhalmer
css is an adventure every time
#
GWG
Without Indieauth.com, what is using rel me?
#
vilhalmer
I just think it's neat
#
vilhalmer
was talking to one of my friends about it in the context of verifying identity on mastodon instances and was inspired to go looking for something like this
#
vilhalmer
I wonder if it makes sense to make this two-stage: resolve direct backlinks first, then for any that failed, see if they link back to any of the ones that succeeded
#
vilhalmer
then you don't get into potentially infinite cycles, but can still validate a much larger chunk of the links
renem joined the channel
#
GWG
I have to build that rel me nicknames cache idea someday
iasai, gRegorLove, snarfed and KartikPrabhu joined the channel
[eddie] joined the channel
#
[eddie]
!tell miklb the phrase “login with your website” needs to be fixed. Entering the Aperture url is the correct course of action. We’ve been incrementing the updates to the language on that page, but it can still use clarification and improvement. Feel free to provide feedback 🙂
#
Loqi
Ok, I'll tell them that when I see them next
lklklk joined the channel
AngeloGladding joined the channel
#
Zegnat
!tell miklb re: indiepaper, it is a little special. You probably want it to talk to your microsub endpoint, but that’s not how it actually works. It just works by submitting posts to a micropub endpoint. It just happens to be the case that Aperture also advertises a private micropub endpoint.
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
!tell vilhalmer Oh, I’m really tickled by the idea of two-stage rel-me checking. Falling back to “does the page link back to a different already verified URL?”
#
Loqi
Ok, I'll tell them that when I see them next
AngeloGladding, barpthewire and [kevinmarks] joined the channel
#
[kevinmarks]
@vilhamer what's the bets way to run that? do you want to package it as an extension?
#
Zegnat
Current code by vilhalmer seems to depend on the GreaseMonkey HTTP function, can’t run as an extension straight up
#
Zegnat
I should compare the code with my rel-me extension code, see what the differences are
#
Loqi
it is probable
#
sknebel
vilhalmer might have missed yours exists
#
Zegnat
!tell vilhalmer If you are interested in an earlier try to do rel-me verification in pure JS: https://github.com/Zegnat/verify-me-locally
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Zegnat] verify-me-locally: A spin-off of @kevinmarks’ verify-me without external dependencies.
koddsson joined the channel
#
GWG
Good day all
Ragnor29 joined the channel
#
Zegnat
Hi GWG!
#
GWG
Zegnat: How's the research?
#
Zegnat
On pause as I am concentrating on some around the house stuff this weekend.
#
Zegnat
But it looks like WAM is going to be the thing for IndieAuth no matter what more the survey turns up ;)
#
GWG
Around the house stuff? Are you connecting your home to your website?
#
Zegnat
Ha, no. More like trying to solve questions such as “why did the guest house lose electricity?”
#
Zegnat
I don’t think we are ready for internet-connected-homes
#
GWG
That is a -chat topic probably, but I ave many thoughts on that
#
GWG
Still waiting for aaronpk to give his apartment a URL
#
Zegnat
I do have a (Facebook Page) URL for the property
#
Zegnat
Dev wise, I am looking at some ways to generate nice graphs of my weight
KevinMarks, loicm and deathrow1 joined the channel
#
vilhalmer
Zegnat: I did indeed miss yours entirely, looks like the biggest difference is packaging
#
Loqi
vilhalmer: Zegnat left you a message 5 hours, 9 minutes ago: Oh, I’m really tickled by the idea of two-stage rel-me checking. Falling back to “does the page link back to a different already verified URL?”
#
Loqi
vilhalmer: Zegnat left you a message 1 hour, 41 minutes ago: If you are interested in an earlier try to do rel-me verification in pure JS: https://github.com/Zegnat/verify-me-locally
#
vilhalmer
userscript is slightly less user-friendly but I didn't want to deal with extensionifying it
#
vilhalmer
yours flows a little nicer due to having actual async tools
#
vilhalmer
I'm really annoyed that I had to fall back to GET instead of HEAD for checking the backlinks, but sometimes HEAD just gets stuck in readyState 1 for no apparent reason
#
Zegnat
I haven’t noticed that. I am only using HEAD, I believe
#
vilhalmer
it might be a tampermonkey bug
#
vilhalmer
but yeah I definitely want to give the two-stage thing a try
KevinMarks joined the channel
#
vilhalmer
KevinMarks: also, I kinda stole your svgs for expediency (tweaked slightly), I'm happy to switch them out if you want me to
#
sknebel
oh hey, keybase has rel=me markup, didn't notice that before
#
vilhalmer
sknebel: I love that it does, because the rel-me link between that and my homepage is extra assurance that the pgp key link I have to keybase is valid
#
vilhalmer
I have to write this yet again for qutebrowser at some point
#
vilhalmer
oh I guess it does support GM
[manton] joined the channel
#
[manton]
[aaronpk] I'm experimenting with ActivityPub and comparing some implementations. Are you including your posts in the outbox? I can't seem to find them, so wondering if you're providing posts to Mastodon another way when someone views your profile.
#
aaronpk
mastodon doesn't fetch anything from the outbox, it's entirely based on a push model, where you deliver your posts to the inboxes of your friends
#
aaronpk
I implemented as little of activitypub as I could in order to get things to show up right in mastodon, and found that I didn't need to implement an outbox at all
#
[manton]
So there's no way to tell it about "older" posts?
#
aaronpk
you kind of have to throw out all your assumptions of how microblogging and blogs work when dealing with activitypub/mastodon
miklb_ joined the channel
#
aaronpk
They tend to think in terms of message passing rather than here is a link with some posts on it
#
[manton]
Not surprising. I really don't like ActivityPub or JSON+LD. Always skeptical of complicated formats that try to solve all problems, but maybe we're stuck with it.
#
aaronpk
I don't think we're stuck wth it yet
#
aaronpk
There's a rogue effort to develop a simpler version of activitypub which may end up working out. Certainly has a lot of vocal supporters of the project so far
#
aaronpk
Ignore JSON+LD as long as you possibly can. Thankfully I was able to treat everything as plain JSON so far
#
[manton]
I'm still torn on full ActivityPub support in Micro.blog. I'm leaning toward providing it as an option (maybe you can opt-out if you don't want it) since it would let people consolidate their accounts to a single instance (Micro.blog) and could automatically support custom domains, e.g. following manton@manton.org from Mastodon. The trade-off is having to bring along some of the Mastodon baggage that I don't love.
#
[manton]
Feedback welcome. For now I'm implementing it as an experiment, since it's hard to judge whether it's a good thing until it's working.
#
aaronpk
another thing worth keeping in mind is that there is a not insignificant community there who will give you a *lot* of pushback for shipping a closed source commercial product that participates in the "fediverse"
#
sknebel
afaik you'd be the first activitypub site with custom domains
#
Loqi
[Write.as] By the way, Write.as is built and funded entirely by me, @matt. My goals of building an ethical service that respects people and lasts more than 5 years can't be accomplished with VC money, which is why I'll never take it.I've written a lot about thi...
[kevinmarks] joined the channel
#
[kevinmarks]
Is activitypub capable of following a 301, or would you have to move the private key between instances?
#
aaronpk
[kevinmarks]: from what I gather, account portability does not work at all right now
#
vilhalmer
yeah, there is no way to move an account
#
vilhalmer
it's on gargron's todo list
#
sknebel
[kevinmarks]: 301 for what?
#
vilhalmer
so all the concern about portability is kind of moot
#
vilhalmer
I'm trying to build a set of tools that produce a passable activitypub stream from a mostly static site
#
vilhalmer
e.g., you push up to a git remote that serves the site and it uses a hook to generate an activitypub object
#
vilhalmer
but there's no daemon running
#
aaronpk
vilhalmer: something has to deliver to all your followers' inboxes tho, how are you going to handle that?
#
[manton]
Pushback against closed source doesn't bother me. Good platforms need a mix of open source and commercial software. Twitter would look very different if not for Twitterrific, Tweetbot, Tweetie, etc.
#
vilhalmer
it'll have to kick off a script to do that as well once the object is generated
#
vilhalmer
I haven't gotten there yet, focused on converting mf2 -> activitypub first
#
vilhalmer
which works
#
[kevinmarks]
It's issue #177, now 2 years old. Maybe I'll write a new, more constrained one.
#
aaronpk
[manton]: I completely agree, it just sounds very frustrating to get that kind of pushback
#
vilhalmer
I'm annoyed to find out that mastodon ignores the outbox since that's the part I can do at the moment
#
aaronpk
mastodon basically also implemented as little of activitypub as it could in order to make things work. the spec says a *lot* of things, but in reality very little of it is actually implemented.
#
Loqi
[Gargron] Sadly there's nothing in the OStatus protocol currently that's like "go follow my new account instead of this one". Best I can offer is migrating content (but reblogs/favs would not come along) and who you were following.
#
vilhalmer
I'm not sure that activitypub has any more to say about it either, other than it would follow a redirect afaik
#
[kevinmarks]
(we explicitly addressed this in websub)
#
[manton]
[aaronpk] Sorry for the naive question, but just so I'm sure I understand... You accept POSTS to your outbox and keep track of new followers yourself, then when you have a new post you send it to all your followers instances?
#
vilhalmer
you'd also need a mechanism for your followers instances to notice the redirect and start querying that explicitly which I don't think is standardized
#
vilhalmer
so that when the original inevitably goes away, they keep getting your posts
#
vilhalmer
querying/recognizing as you/whatever
[aaronpk] joined the channel
#
[aaronpk]
When someone follows me, the send a POST to my inbox. Then when I want to send followers my newest post, I loop through all their inboxes and send my post to each
#
vilhalmer
are you doing any of the shared inbox stuff yet?
#
[manton]
Hmm, I thought the spec said the POST goes to the outbox for follow requests.
#
vilhalmer
I think only you can post to your outbox (from a client)
#
[manton]
Anyway, thanks, that's enough for me to know I'm on the right track.
#
[manton]
@vilhalmer Got it, thanks.
#
vilhalmer
I'm not even going to bother implementing an outbox for the moment
#
vilhalmer
I don't care about having official AP client support when I can already publish to my site
snarfed joined the channel
#
vilhalmer
I may have to have a stub endpoint to comply with the spec?
#
[manton]
I also wonder if most clients use the Mastodon REST API vs. ActivityPub directly. I just assumed the former.
#
vilhalmer
probably the former yeah
#
vilhalmer
if I was to implement any client support it would probably be micropub
#
snarfed
vilhalmer: re "focused on converting mf2 -> activitypub", i assume you've seen https://granary.io/ and https://fed.brid.gy/ ?
#
[manton]
Micropub is much, much easier to implement than ActivityPub. Night and day.
#
vilhalmer
snarfed: yep, I'm rolling my own to learn about all the formats but might eventually get tired of that
#
snarfed
cool sgtm
#
vilhalmer
mf2 -> ap was actually pretty trivial, I think it took about two hours not counting spec reading time
#
vilhalmer
at least to get enough of the data for mastodon to theoretically ingest it
#
snarfed
do you mean mf2 -> as2? since mf2 is a data format, ap is a protocol
#
vilhalmer
yeah, as2
#
snarfed
got it. yeah that's pretty straightforward.
#
snarfed
webmention <-> AP was...much more work
#
vilhalmer
heh, I haven't even begun to tackle webmention
#
vilhalmer
I don't know if I'm going to worry about trying to follow people with AP either, might just say screw it and subscribe to mastodon's atom feeds
#
vilhalmer
have a button somewhere to generate an in-reply-to document
#
snarfed
yup! lots of good existing examples for that - readers, browser extensions, bookmarklets
#
vilhalmer
I should have started on indieweb stuff a long time ago, I love working on it
#
vilhalmer
lots of good examples of "do one thing well" in protocol format
#
vilhalmer
pats Loqi
#
snarfed
unrelated: fyi all, we've moved the wordpress micropub github repo from my username to the indieweb org! https://github.com/indieweb/wordpress-micropub . i wasn't really using it or working on it, so it needed a better home and set of maintainers. thanks GWG for taking it over and driving the upcoming 2.0 release!
#
Loqi
[indieweb] wordpress-micropub: A Micropub Endpoint plugin for WordPress
#
Loqi
GWG has 37 karma in this channel over the last year (153 in all channels)
snarfed joined the channel
#
@TiffanyW_412
Added Reading Time and share buttons to posts as well as a call to action on each post to support the blog. Also trying to add webmentions but it's slow going right now. https://tiffanywhite.tech/what-are-props/#%F0%9F%91%A9%F0%9F%8F%BE%E2%80%8D%F0%9F%92%BB
(twitter.com/_/status/1033749854143557632)
#
sknebel
heh, percent-encoded complex emoji
#
Loqi
[kevinmarks] #8465 Support 301 redirection for account migration
#
@pstuifzand
This afternoon I wrote a Microsub reader. CORS is a problem with this. I can enable it on the Microsub server to make it work. Do I need another backend to make it work? https://p83.nl/p/892
(twitter.com/_/status/1033766715749003266)
#
@pstuifzand
The new Microsub client can be found on GitHub. It may need some adjustments, but it will work if your Indieauth and Microsub endpoints support CORS. https://p83.nl/p/893
(twitter.com/_/status/1033767083690151937)
miklb, tantek__ and wagle joined the channel
#
tantek__
catches up on scrollback/logs here
#
tantek__
projects << https://github.com/redecentralize/alternative-internet <- worth adding all the above projects (plus each of the [[building blocks]] formats and protocols, e.g. [[Webmention]] is already listed) to this repo
#
Loqi
ok, I added "https://github.com/redecentralize/alternative-internet <- worth adding all the above projects (plus each of the [[building blocks]] formats and protocols, e.g. [[Webmention]] is already listed) to this repo" to the "See Also" section of /projects https://indieweb.org/wiki/index.php?diff=51334&oldid=51238
#
Loqi
[redecentralize] alternative-internet: A collection of interesting new networks and tech aiming at decentralisation (in some form).
ludovicchabant joined the channel
#
tantek__
welcome vilhalmer! this is a good summary: https://chat.indieweb.org/dev/2018-08-26/1535299744431500 of the indieweb 'building blocks' approach in contrast to others's "stack" or "platform" approach
#
Loqi
[vilhalmer] lots of good examples of "do one thing well" in protocol format
#
tantek__
vilhalmer++
#
Loqi
vilhalmer has 1 karma over the last year
#
vilhalmer
thanks! I will give that a read
#
vilhalmer
oh, nvm I see, I thought you were linking me to a previous conversation :D
#
vilhalmer
I am too deep in javascript callbacks I have forgotten how to read english
ludovicchabant joined the channel
#
tantek__
yes I was quoting you :D
[pfefferle] and snarfed joined the channel
#
GWG
!tell snarfed Do you still want to review PRs?
#
Loqi
Ok, I'll tell them that when I see them next
renem and snarfed joined the channel
#
GWG
snarfed, I have mixed feelings
snarfed joined the channel
#
GWG
Who will push me to code better?
snarfed joined the channel
#
tantek__
GWG we all push each other to code better :)
#
GWG
tantek, who will review my PRs? I am better for it
#
GWG
And I think I ask pfefferle too often
#
snarfed
GWG: don't worry about asking whom, how much, etc
#
Loqi
snarfed: GWG left you a message 26 minutes ago: Do you still want to review PRs?
#
snarfed
just work and ask and if people have problems they'll push back
#
GWG
snarfed, I wrote you a tribute and posted it via Micropub
#
snarfed
tribute! oh wow. thank you!
#
Loqi
[David Shanske] Ryan Barrett, who created the Micropub endpoint for WordPress, has turned the project over to the Indieweb repository as he has not been using it or actively working on it. I have been actively working on a major set of changes for it over the last t...
#
snarfed
and i'm happy to still be involved in the wp micropub plugin after the move to the indieweb org (and 2.0)...but yes, let's definitely spread reviews, etc out to other people who actually use it and work on it, and who actually know wordpress, since i'm not really any of those :P
#
snarfed
aww warm fuzzies!
#
GWG
snarfed++
#
Loqi
snarfed has 68 karma in this channel over the last year (124 in all channels)
#
GWG
I need to get swentel to add location
#
snarfed
btw GWG https://wordpress.org/support/plugin/micropub is another good place to look for any final fixes before cutting the 2.0 release
#
GWG
That's metbril. Has been in here
#
GWG
I have a list of fixes for language issues
#
GWG
By the way, I need to do i18n for Micropub
#
snarfed
whoa, ambitious. sure! sounds like a good 2.1 feature
#
snarfed
(the hardest part of i18n is not coding but getting high quality translations)
#
GWG
snarfed, if you set it up, then WordPress has a tool for the translation
#
GWG
Where people can submit
#
snarfed
right...but again the hard part is actually finding and vetting the translations (translators) themselves
#
snarfed
ie it's not a technical problem :P
#
snarfed
...which is fine! just takes time and effort
#
GWG
I have pfefferle for German
[kim_landwehr], [kevinmarks], [pfefferle], snarfed and [tantek] joined the channel
#
snarfed
current status: debugging mastodon interop in bridgy fed. sigh. https://github.com/snarfed/bridgy-fed/issues/29
#
Loqi
[snarfed] #29 401 "Public key not found" on propagating webmention into Mastodon
#
aaronpk
hey the good news is mastodon now actually tells you the problem instead of just returning a blank 401
#
snarfed
hey good point
#
aaronpk
which is what was happening when I was testing my integration
#
snarfed
i still have to guess that the public key they're missing is for HTTP Sig, and not something else...but yes, an improvement
#
sknebel
Of there's distinct error messages one can at least search the source codebase for it and guess more context from that
#
snarfed
definitely
KevinMarks joined the channel
#
vilhalmer
tested fairly extensively by opening random sites from the wiki Users namespace, but I'm sure there are a few issues yet
KartikPrabhu joined the channel
#
vilhalmer
my keybase profile is a good instance of the second stage being useful
snarfed, KevinMarks and AngeloGladding joined the channel