#dev 2019-04-13

2019-04-13 UTC
iasai joined the channel
#
aaronpk
img tags in content took me a few weeks to sort out in my consuming code, it was not fun. please don't :)
#
jacky
I'm a bit inspired from #-meta and https://twitter.com/_/status/1116874932464574464 to look more into vouch
#
@tiffany
The pitch of sites like http://micro.blog and IndieWeb (and bless them) is that you can still have the interaction of social sites. Ugh. Nope. Pitch me your blocking/safety/privacy solutions.
(twitter.com/_/status/1116874932464574464)
#
jacky
I think I might go as far as to show a little indicator if a reply has been vouched for
#
aaronpk
i noticed twitter started doing something like that. in a reply thread, there's a special indicator next to people you follow now.
#
jacky
semantic cues like that help
#
jacky
think I might walk a bit and think on this one
[eddie] joined the channel
#
aaronpk
Vouch basically lets your network grow by one degree at a time, so is quite limiting and definitely not something everyone will want
#
aaronpk
i think that's documented in the criticism section on the page already?
#
aaronpk
for some people that's absolutely a feature tho :)
#
jacky
Right. I can see this as something you can opt-in globally or put on a post-by-post basis
#
aaronpk
ooh per post is a thought
#
jacky
right now (mistakingly lol), I have all of my webmentions stuck in pending so I have to go through and approve them all
#
jacky
pending_approval that is to be shown
#
jacky
ah that's tangential actually
#
jacky
One thing in Vouch that I found interesting is that it only allows for one URL (it looks like?)
#
jacky
I think I might make my implementation support multiple ones
#
jacky
it's like carrying multiple forms of ID :)
#
jacky
I was thinking at first someone might want to check something like https://indieweb.org/chat-names for a reference
#
jacky
hm actually if you know who you're sending to then you should send the most optimal URL for a vouch
#
GWG
It is figuring out who to Vouch for you that is the challenge
#
jacky
lol talk about folding social problems into software
#
jacky
this is why I wanted to have multiple vouch URIs, to give them a chance to prove themselves
#
jacky
like they might not be on the chat names but possibly listed on https://xn--sr8hvo.ws/directory
#
jacky
this is more or less "hey, my h-card's on this site that you _might_ trust!"
#
jacky
a bit like a phonebook
#
[tantek]
jacky++ yes to multiple vouch URLs - can you add that as an issue / feature request? https://github.com/indieweb/vouch/issues one of my colleagues Martin Thompson also asked for that while ago but I forgot to capture it at the time
#
Loqi
jacky has 12 karma in this channel over the last year (53 in all channels)
#
[tantek]
aaronpk re: why, as I understand it, from a protocol perspective it makes sense and provides flexibility for fallbacks or preferentially checking caches, or checking combinations of vouches to give folks an internal "score" etc.
iasai, KartikPrabhu, [tantek], [Rose], swentel, [Ignacio], seblog, leg, ingoogni, jimpick, calumryan and [kevinmarks] joined the channel
#
[kevinmarks]
And rel-me gives a way to bind multiple urls too - could comment from another linked site
ingoogni joined the channel
#
GWG
Morning
#
Loqi
good morning!
[stefp], [eddie], ingoogni, [Rose] and [chrisaldrich] joined the channel
#
Zegnat
!tell jacky re: class for mf2 putting people off, there as a whole discussion about this in Berlin https://indieweb.org/2018/Berlin/microformatssanscss (https://github.com/microformats/microformats2-parsing/issues/43)
#
Loqi
Ok, I'll tell them that when I see them next
[stefp], [kevinmarks], dougbeal|mb1, [dougbeal], tw2113 and [Rose] joined the channel
#
@kvhxz
↩️ What about micropub, webmentions, and sites like Mastodon or TinyLetter? Would those ever be good alternatives to IG or Twitter? They're "open web" or whatever.
(twitter.com/_/status/1117105850466725890)
[dougbeal], klez, realtime, seblog and KartikPrabhu joined the channel
#
GWG
How do you tell an Indieauth endpoint what sort of application you are so it can choose an expiry length for tokens?
#
GWG
I am still thinking about expiring tokens, but trying to figure out how to decide how long
#
aaronpk
the server gets to decide at the end of the day. the client can't rely on any particular lifetime of tokens
#
aaronpk
the app already identifies itself with the client_id so if the server wants to make up specific rules per client then it can
leg joined the channel
#
GWG
I was more brainstorming on how I might do that
#
GWG
I was reading your book
#
GWG
Also now that I fixed dougbeal's bug, may go back to webmentions first
#
sknebel
!tell jacky re mf2-json as feeds: I think wordpress has an experimental plugin for that - librarywise, I'd expect it on a layer above the parsers (e.g. IMHO parsers shouldn't do unexpected HTTP requests)
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
sknebel, we have an experimental plugin for publishing it
#
GWG
Consuming isn't experimental
#
sknebel
re Indieauth, the client_id could be a partial answer for old clients with refresh tokens? if a client hasn't made use of it for lets say five logins, prompt the user if a longer-lasting token should be issued instead?
#
GWG
I intend to keep the option of issuing non expiring tokens manually
#
GWG
But not in the auth flow
#
GWG
I actually update the metadata on a token with last used date
#
GWG
I was going to start with auto expiring tokens that hadn't been used in x number of days
#
GWG
But Cron is a pain
#
jacky
sknebel: that makes sense
#
Loqi
jacky: Zegnat left you a message 3 hours, 59 minutes ago: re: class for mf2 putting people off, there as a whole discussion about this in Berlin https://indieweb.org/2018/Berlin/microformatssanscss (https://github.com/microformats/microformats2-parsing/issues/43)
#
Loqi
jacky: sknebel left you a message 6 minutes ago: re mf2-json as feeds: I think wordpress has an experimental plugin for that - librarywise, I'd expect it on a layer above the parsers (e.g. IMHO parsers shouldn't do unexpected HTTP requests)
#
jacky
Zegnat: that page is super helpful, thank you!
#
GWG
Webmentions doesn't use the php-mf2 library. Trying to figure out what code I can eliminate by having it
#
sknebel
really the only non-microformats thing it does is rel= discovery
#
GWG
Yes, but the next step is merging in the mf2 code that is currently a separate plugin
#
GWG
Starting small
krychu joined the channel
#
sknebel
jacky: I suspect indienews is unhappy about the lack of a name property on your post
#
jacky
hmm that's fixable
#
sknebel
also, your bookmark h-cite says that the title of the *post* is "fluffy" (p-name)
#
sknebel
although it's a bit surprising it shows the content despite there being a bookmark title marked up - that might be a bug, or at least unintended
[tantek] joined the channel
#
jacky
lots to fi
#
Loqi
ok, I added "https://twitter.com/jennschiffer/status/1117093332377845761" to the "See Also" section of /silo-quits https://indieweb.org/wiki/index.php?diff=59227&oldid=58663
chrisaldrich and jackjamieson joined the channel
#
jacky
I think I mentioned this before but something like requestbin.net or httpbin.org would be nice for mf2+html
#
jacky
is mentioning this to field feedback
[stefp] joined the channel
#
gRegorLove
Are you working on a parser?
#
aaronpk
jacky: what do you mean? something you can post data to? i don't quite understand
BenLubar joined the channel
#
jacky
aaronpk: nah more like `GET` requests
#
jacky
gRegorLove: something that'll use a parser
BenLubar joined the channel
#
jacky
like making sure that when I like a post, MF2 is pulled correctly
BenLubar joined the channel
#
jacky
I _could_ mock the network calls _completely_ but right now, I'm building mocks from actual network calls
#
jacky
(recording the HTTP requests)
#
aaronpk
huh i don't think i understand still
#
aaronpk
requestbin.net and httpbin.org look like two completely different things to me so which one do you want?
#
jacky
ah you're right, I've used the former like the latter tbh
#
jacky
something more like the latter
#
aaronpk
ah you're looking for something that will return sample mf2 HTML pages?
#
jacky
needs to work on his dev talk
#
aaronpk
yeah the closest we have is a pile of test data from the mf2 test suite but that isn't necessarily organized well for what you're looking for
#
aaronpk
i've been meaning to work on that. i have some of it in webmention.rocks already but i want to pull it out as its own thing
#
jacky
well that repo has a good basis
#
jacky
I might tinker with it next week
[dougbeal], [Rose] and [kimberlyhirsh] joined the channel