#dev 2017-09-02

2017-09-02 UTC
#
aaronpk
oo i think i got it
#
tantek.com
edited /spam (+313) "/* Spam Detection */ Recognizing auto-generated spam text"
(view diff)
#
aaronpk
now i just need to find a real example
#
aaronpk
aha! yessss
#
aaronpk
one of my own replies to myself
#
aaronpk
oh nice, marty's comments do it
#
aaronpk
well good, at least my code wasn't super broken this whole time. a lot of these old webmentions are matched up already
snarfed joined the channel
#
aaronparecki.com
edited /deduplication (+386) "/* IndieWeb Examples */"
(view diff)
#
aaronpk
okay well that's live
snarfed joined the channel
#
snarfed
aaronpk++ cool!
#
Loqi
aaronpk has 73 karma in this channel (1420 overall)
KartikPrabhu joined the channel
#
manton.org
edited /Homebrew_Website_Club (-34) "/* Austin */"
(view diff)
[manton] joined the channel
#
gregorlove.com
edited /Homebrew_Website_Club (-62) "move Bellingham to past"
(view diff)
eli_oat, snarfed, sebsel, EmreSokullu and EmreSoku_ joined the channel
#
coderuse.faith
created /User:Coderuse.faith (+797) "New blog coderuse.faith"
(view diff)
davidmead and jeremycherfas joined the channel
#
jeremycherfas
Hell IndieWeb devs
#
jeremycherfas
I mean hello
#
jeremycherfas
!tell zegnat Hi Martijn. Can you try and help me understand whether I am better trying to POST direct to an endpoint in withknown or via Quill or another micropub client?
#
Loqi
Ok, I'll tell them that when I see them next
snarfed and davidmead joined the channel
#
snarfed
i'd like to publicly thank everyone here who was in any way involved with the decision to use domains (and SSL) for identity assertion in webmention, relmeauth/indieauth, oauth2, etc
#
snarfed
...as opposed to e.g. salmon's public key crypto, which i've been debugging for interop for the last n days, and i'm ready to throw out a window
#
snarfed
(to be fair, activitypub went the same way and dropped the crypto too, thankfully)
#
aaronpk
snarfed++ lol
#
Loqi
snarfed has 10 karma in this channel (296 overall)
#
aaronpk
ActivityPub is working on adding back signatures right now :-/
#
aaronpk
Gargron is in the middle of implementing that for Mastodon
#
snarfed
AAARRRGHH goddammit
#
petermolnar
snarfed and it's also UK-friendly this way, we can completely drop the crypto \o/ /s
#
snarfed
yeah mastodon's current activitypub state threw me for a loop for a min, it happily accepts inbox POSTs and does nothing with them
#
petermolnar
but true, domains are good
#
snarfed
so much for preferring activitypub if available
#
petermolnar
the user@domain of the email is still far the best in my opinion, although xyz.abc.com subdomains work as well
#
snarfed
yeah that's still an open question for me too. if i'm https://snarfed.org/, and i don't have anything like u-nickname in my h-card...and i use my site to talk to someone over ostatus/activitypub...what's my username @snarfed.org?
#
Loqi
Ryan Barrett
#
snarfed
go back to sleep loqi
[miklb] joined the channel
#
aaronpk
I've always thought aaronpk@aaronpk.com was awkward, even for email addresses
#
snarfed
yup. ideally it'd be @aaronpk.com, ie blank username, but mastodon at least doesn't allow that
#
snarfed
options: -@, _@, aaronpk@, aaronpk.com@, me@, ...?
#
aaronpk
For email I use parecki.com
#
snarfed
sure. still, i need an algorithm that takes a site and representative h-card and returns an ostatus2/activitypub address
#
snarfed
maybe if no u-nickname, take h-card name, tokenize on whitespace, lowercase first token. so you'd be aaron@aaronpk.com
#
snarfed
a little too magical surprise for my taste though
#
aaronpk
I think clients expect the username part to be somewhat unique and make the username more visible than the domain, so that does seem reasonable
#
aaronpk
mastodon I think displays only the username if it's on the same domain as your server for example
#
snarfed
right, but these will all be "remote" users, so the ostatus2 sites should display domain more
#
snarfed
guess i'll research all the display styles
#
snarfed
i'm kinda tempted to find a whitespace char that they'll all accept and not trim, so it visibly renders as just @domain
#
snarfed
...probably a bad idea :P
tantek joined the channel
#
Loqi
hehe
[kevinmarks] joined the channel
#
[kevinmarks]
?@domain.com
#
[kevinmarks]
?@domain.com
snarfed joined the channel
#
snarfed
[kevinmarks]: ooh i like it, thanks for the idea
#
snarfed
at least assuming all major fedsocnet implementations support emoji usernames
#
snarfed
did we ever settle on an indieweb emoji? ?? ?? ???
#
Zegnat
!tell snarfed Wikipedia has you covered, it has a table of blank Unicode chars that aren’t classified as whitespace on https://en.wikipedia.org/wiki/Whitespace_character
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Zegnat: jeremycherfas left you a message 3 hours, 47 minutes ago: Hi Martijn. Can you try and help me understand whether I am better trying to POST direct to an endpoint in withknown or via Quill or another micropub client?
#
Zegnat
!tell jeremycherfas, you know me, I am always happy to talk you through something
#
Loqi
Ok, I'll tell them that when I see them next
KartikPrabhu and [tantek] joined the channel
#
[tantek]
snarfed re ostatus2/AP compat or is only mastodon that requires a non-blank username@?
#
[tantek]
!tell snarfed AFAIK AP does *not* require username@ identities. Just URLs are ok. So this is a legacy ostatus/mastodon compat issue
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
!tell snarfed therefore you could pick a single obv company-only arbitrary username that no-one would reasonably actually want for themselves, e.g. ostatuscompatusername@aaronpk(.)com
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
!tell snarfed or you could use it as an opportunity to market the fact that on the IndieWeb we are masters and in control of our own domains, e.g. masterofmyowndomain@aaronpk(.)com
#
Loqi
Ok, I'll tell them that when I see them next
tantek, [miklb], [tantek], davidmead and snarfed joined the channel
#
bear
hmm, ronkyuu is failing for test 23 on webmention rocks - the one with a redirected webmention page relative url
#
bear
oh, this is fun - so the target to send the webmention to isn't the path given but the path returned if redirected
#
bear
ponders life as a sheep herder
#
snarfed
better than yak shaver
#
Loqi
snarfed: Zegnat left you a message 5 hours, 20 minutes ago: Wikipedia has you covered, it has a table of blank Unicode chars that aren’t classified as whitespace on https://en.wikipedia.org/wiki/Whitespace_character
#
Loqi
snarfed: [tantek] left you a message 3 hours, 1 minute ago: AFAIK AP does *not* require username@ identities. Just URLs are ok. So this is a legacy ostatus/mastodon compat issue
#
Loqi
snarfed: [tantek] left you a message 2 hours, 59 minutes ago: therefore you could pick a single obv company-only arbitrary username that no-one would reasonably actually want for themselves, e.g. ostatuscompatusername@aaronpk(.)com
#
Loqi
snarfed: [tantek] left you a message 2 hours, 58 minutes ago: or you could use it as an opportunity to market the fact that on the IndieWeb we are masters and in control of our own domains, e.g. masterofmyowndomain@aaronpk(.)com
#
bear
yea, I just need to see if this is a change in ronkyuu or in the code that does the send mention
#
KartikPrabhu
bear: I think the python requests lib has a way to get the final redirected path
#
bear
yep, the redirect history
#
bear
but for this the given target url is not the same root path as the redirected url
#
bear
it discovers it just fine: webmention endpoint discovery: 200 [https://webmention.rocks/test/23/webmention-endpoint/OViQGJvsOUCD0WWgpsBv]
#
bear
yikes - this really breaks things
#
bear
the target url now changes based on this being a redirect with a relative url
#
bear
before the target url was always the link as found in the source
#
bear
wonder why this was added
#
bear
oh - i'm thinking about this from the wrong side
#
aaronpk
It's meant to simulate when someone moves their URLs around
#
bear
yea, I just had the aha moment
#
bear
it's when I discover if the target url is valid, I need to use the final url in the redirect history
#
bear
for the target url, not the original
#
bear
had to work my head back into this world - i've been out of it for a while
#
aaronpk
You shouldn't have to change the target URL. That will still be the original URL you link to in your post
#
bear
wait
#
bear
then why am I seeing a 404 for the webmention POST
#
bear
': u'https://webmention.rocks/test/23/page'} debug: POST returned 404
#
Loqi
[Webmention Rocks!] Discovery Test #23
#
aaronpk
Did you resolve the redirect relative to the correct URL?
#
bear
for what, discovery or sending the webmention
#
bear
it's was resolved for the discovery as it found the custom endpoint webmention.rocks creates
snarfed joined the channel
#
bear
no, I wasn't resolving the redirects for the target url - guess I'm old school ops type that has my web server handling all redirects
eli_oat and [miklb] joined the channel