#dev 2022-02-28

2022-02-28 UTC
kimberlyhirsh[d] joined the channel
#
[tantek]
Cool. Any composite streams? And any particular reasoning for your choices?
#
GWG
I custom coded a few composite streams, but not the firehose one I wanted. I had a little trouble because the main feed is so hard to relocate from the default location, and I didn't pursue it too much
#
GWG
Here are the custom ones I put in...
#
GWG
'food' gives you both eat and drink, but I did that for someone else as I don't post either
#
GWG
'reaction' gives one bookmark, repost, like, and favorite...even though I haven't done favorite since IWC NYC 2014, I never removed the code
#
GWG
media gives watch, read, listen, and play
jacky, darkkirb, justAstache and angelo joined the channel
#
capjamesg[d]
GWG I have a composite feed on my home page that shows my most recent notes and articles.
#
capjamesg[d]
I publish an "all" feed that contains the contents of the home page in Atom, JSON, and jf2.
#
capjamesg[d]
I also have separate feeds for my likes and bookmarks.
mro joined the channel
#
[tantek]
I suppose we could document these on the composite stream page
#
[tantek]
what is a composite stream
#
Loqi
A composite stream is a stream that interleaves multiple types of posts, such as notes and articles https://indieweb.org/composite_stream
#
[tantek]
capjamesg[d], GWG, want to add yourselves and what you wrote above in subsections in https://indieweb.org/composite_stream#IndieWeb_Examples ?
mro joined the channel
#
jeremycherfas
Another excellent aspect of WithKnown is the ability to offer any collection of post types as a feed.
#
[tantek]
capjamesg[d] do you remember when you first published your composite stream (i.e. had more than one "type" of post in it) ?
#
capjamesg[d]
Not off the top of my head. Probably in December.
#
[tantek]
you can put a coarse date like that 2021-12
#
[tantek]
[jeremycherfas] I wonder how useful that Known actually is (what use-case(s) is it solving?), in contrast to approaching a paradox of choice UX problems, and maintenance of such a feature over time.
#
[tantek]
that Known *feature
#
jeremycherfas
One use-case, for me: I can create a feed for syndication to micro.blog that does not include, for example, simple Likes. I see no point cluttering up micro.blog with those.
#
jeremycherfas
Maintenance over time is another problem entirely :(
jarkad joined the channel
#
[tantek]
[jeremycherfas] indeed, for similar (lowering clutter) reasons, my Atom feed has no responses (including likes)
#
[tantek]
and my micro.blog syndicates from my Atom feed
jamietanna joined the channel
#
jamietanna
!tell jacky there's https://tokens-pls.herokuapp.com which does PKCE :)
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
jamietanna: jacky left you a message 1 week, 3 days ago: noticing that you have a scope of 'notify' - how do you implement that? UnifiedPush? MQTT?
jarkad joined the channel
#
jamietanna
jacky ah I've not yet done it as an arbitrary "send a request here and notify me of an arbitrary thing", but I do have Pushover set up for push notifications, and that sends me notifications if i.e. I get a webmention
jarkad, jarkad1, jarkad2, mro, kloenk, tetov-irc and jacky joined the channel
#
jacky
jamietanna: ahh nice
#
Loqi
jacky: jamietanna left you a message 3 hours, 49 minutes ago: there's https://tokens-pls.herokuapp.com which does PKCE :)
Ramon[d], Asaf_Agranat[d], mro, jacky, [tw2113_Slack_], angelo and justAstache joined the channel; epoch left the channel
#
GWG
Added to composite stream
#
GWG
[tantek]: Does /oldest or /random count as a composite stream?
#
GWG
I have a lot of hidden ones, since the URL is a database query.
#
GWG
I added ordinal dates, which I think no one notices is hidden on my site.
#
[tantek]
composite is about the nature of different things being included. time order (or lack thereof) is an orthogonal aspect
#
[tantek]
so yes, if your /oldest or /random streams (potentially) have multiple types of posts then they'd count as composite
Seb[d] joined the channel
#
[tantek]
that said, (switching to #indieweb-dev from #indieweb re: Tumblr & IndieWeb adoption), Tumblr adopting of Webmention will paint a bigger target and likely require stepping various Allowlist / moderation / nicknamescache / Vouch efforts to make Webmentions "work smoothly" (i.e. to not have to moderate every single interaction the way WordPress often does), and still block bad actors
#
[tantek]
part of the reasons I haven't pushed for Webmention in WordPress core is, there's kind of an expectation / responsibility to demonstrate in a plugin that Webmentions *can* "work smoothly", which is not the case right now (it's still too awkward to setup, moderate etc.)
#
[tantek]
[fluffy] ^
#
[fluffy]
I was trying to avoid going into actual dev topics on the #indieweb channel 🙂
#
[fluffy]
I was alluding to ActivityPub as a movement as opposed to a protocol/platform but of course context collapse is a problem.
#
[fluffy]
But yeah there’s definitely some rough edges on Webmention that need to be addressed. There’s a reason I don’t actually use webmention.js as a primary interaction mode on my site, despite most of my comments etc. coming in via webmentions via bridgy
#
[fluffy]
Some of it could be fixed by improvements to webmention.js, some of it could be addressed with things like salmention, but much of it I feel is hugely difficult in terms of community expectations and also the sharp corners of protocol when it comes to things like private entries.
#
[fluffy]
As it is, it’s unfortunate that a lot of responses to my private entries come in the form of public mentions on Mastodon (again via bridgy). I don’t know why it’s so much easier for people to reply on Mastodon than to post a comment on my own friggin’ site, when Mastodon doesn’t even see the actual page content or even the title.
#
[tantek]
On that last point, I'm guessing because they're already scrolling on their Mastodon mobile app?
#
[fluffy]
Maybe, I dunno.
#
[fluffy]
To actually read the entry they have to click through, sign in, discover whether they even have access to it (because everyone sees that there is *a* restricted entry but not whether they themselves can see it, because that’s the piecemeal world we’re in right now), then read it on my site, and then for them to go back to Mastodon to respond there feels weird.
#
[tantek]
ok yeah that does seem quite weird
#
sknebel
I guess "you can comment on a site" is not actually something many people even consider?
#
[fluffy]
at least nobody posts anything detailed in public, but that’s the thing I worry about with webmentions on private posts.
#
[fluffy]
Like even in a perfect world where we’re all using TicketAuth-enabled feed readers for content discovery, posting a public Webmention to a private entry is a huge problem.
#
sknebel
very much a reader/post-UI thing, yes
#
[fluffy]
But then all the machinery to make private webmentions work is also still very theoretical
#
[fluffy]
since like webmention endpoints and so on need to be TicketAuth-aware and opted in to the user’s permissions
#
sknebel
e.g. any post-ui that at least does some preview of a post can notice "crap, no access"
#
[fluffy]
as much as I like webmention.io I would not trust it to be connected to my TicketAuth credential store
#
sknebel
and loudly tell you
#
sknebel
yeah, that integration goes deeper
#
[tantek]
maybe "posting on Mastodon" means they have a greater sense of owning their words, like they have a permalink that they think they control of their comment, as opposed to commenting directly on your site?
#
[fluffy]
yeah for the TicketAuth case my entries all have additions that make it clear that the entry is restricted
#
[fluffy]
I doubt that’s it at all
#
[fluffy]
Let me try to dig up an example of these public mentions to private posts, they aren’t very common but they do happen
#
GWG
[fluffy]: aaronpk seemed to have another idea other than Ticket Auth I've been waiting for him to write up
#
[fluffy]
oh no not another one
#
[fluffy]
What’s wrong with TicketAuth?
barnaby joined the channel
#
sknebel
which looked very AutoAuth-y to me
#
GWG
[fluffy]: I like the idea of Ticket Auth too
#
GWG
I'm waiting for aa
#
GWG
for aaronpk to explain his thought before I have an opinion
#
GWG
I like the simplicity of ticket auth and the flip in responsibility to the publisher
#
sknebel
(going back to UI: e.g. if you put a link in quill for reply-to it tries to load the title etc to show you a small preview. it should probably also show a big warning if it gets an auth-related 4xx error)
#
[fluffy]
yeah ticketauth is a very good fit for how Publ works, which is why it was so easy for me to add support to it in Publ. and I really like its overall design.
#
[fluffy]
since in Publ-land, auth tokens are granted based on a user identity, and content filters are based on the user identity. I’m not granting access to a resource directly.
#
[fluffy]
meanwhile, the only bridgy responses I’ve found to private items so far have been likes, rather than replies, but I’m pretty sure I’ve gotten replies in the past. Nothing substantive, at least.
#
GWG
[fluffy]: Maybe after a few other things I'll work on the infrastructure to support private posts, I only built consuming other people's private stuff
#
[fluffy]
Yeah for me I built the private stuff first because that was a hugely important thing for me to have in Publ
#
[fluffy]
and I decided early on that if I was going to have privacy features I was gonna do them right
#
[fluffy]
or at least less half-assed 🙂
#
[fluffy]
My original prototype for this stuff was a bunch of godawful hacks I’d put into my Movable Type templates back in the day, where it integrated iwth my phpBB forum to let people log in through that and I could add folks to a “private posts” group. it was awful to maintain, but it gave me a good idea of how things could work.
#
[fluffy]
anyway, gotta get back to work now.
#
GWG
[fluffy]: Ditto.
#
sknebel
captured the above UI idea in an issue for quill at least. not sure right nw where else to capture it more generally for other implementers
#
sknebel
oh, thats also especially relevant with UIs that allow editing and submitting a preview as I think jacky and schmarty were discussing recently
#
sknebel
a reader UI could easily leak accidentially there
#
sknebel
hm, in microsub it doesnt even know right now something is private
#
[fluffy]
yeah it’d be good to at least have as an implementation note for micropub
#
[tantek]
JS << Great flowchart explaining why the "Everyone has JS" assertion from modern webdevs is often false for a variety of reasons: https://kryogenix.org/code/browser/everyonehasjs.html
#
Loqi
ok, I added "Great flowchart explaining why the "Everyone has JS" assertion from modern webdevs is often false for a variety of reasons: https://kryogenix.org/code/browser/everyonehasjs.html" to the "See Also" section of /JavaScript https://indieweb.org/wiki/index.php?diff=79815&oldid=78095
Bbn joined the channel
#
superkuh
[tantek]++
#
Loqi
[tantek] has 26 karma in this channel over the last year (77 in all channels)
tetov-irc joined the channel