#dev 2019-05-11

2019-05-11 UTC
#
kisik21
So... is there something close to a canonical syntax for indieweb/micropub-extensions#4 (aka Query for Post List) filters? I'm definitely gonna need it for my project and I really want to have something that will be useful outside of my code, meaning at least one other implementation (preferably client) supports it.
#
kisik21
Please !tell me if you have an answer and I'm disconnecting for now because I need some sleep
[xavierroy], [chrisaldrich], gRegorLove_, BenLubar_, strugee, [Rose], [tantek], [aaronpk], [sebsel], cowglow, sonniesedge, Guest74108, grantcodes[m], plindner[m], astrojuanlu[m], jgmac1106[m], zoglesby, voss[m], Rixon, myfreeweb, ketudb[m], jamietanna|wwwjv, [jgmac1106], [frank], [Ignacio] and [jeremycherfas] joined the channel
#
@pardel
Great first presentation at @indiewebcamp from @aaronpk on webmentions. Thank you! Blogpost on topic: https://aaronparecki.com/2018/06/30/11/your-first-webmention #indieweb #webmentions
(twitter.com/_/status/1127156066498772997)
KartikPrabhu, Webrocker, [xavierroy], leg, [Rose], kisik21, gxt, mblaney and chimo joined the channel
#
sebsel
Zegnat++ for the notes on the private posts UI session
#
Loqi
Zegnat has 45 karma in this channel over the last year (147 in all channels)
#
sebsel
They just appeared during the session
#
sebsel
as we where talking
#
sebsel
it was magical
#
Zegnat
Same with the URL one before that ;)
#
Zegnat
I am just paying it forward, someone else did the same in Berlin (though embarrassed to say I forgot who!)
[tantek] joined the channel
#
[Rose]
JackJamieson for Vouch
#
[Rose]
Jackjamison++
#
Loqi
Jackjamison has 1 karma over the last year
#
[Rose]
JackJamieson++
#
Loqi
JackJamieson has 1 karma in this channel over the last year (9 in all channels)
mblaney left the channel
#
@mxbck
↩️ Bummed that I can't go myself this year. I've sent @matuzo to represent for Vienna ;) But yeah, maybe this could be helpful for you: https://github.com/maxboeck/eleventy-webmentions
(twitter.com/_/status/1127207807055540224)
snarfed, gxt, [voss], [Rose] and [jeremycherfas] joined the channel
#
kisik21
Good morning IndieWeb
#
Zegnat
Hiya kisik21!
#
kisik21
yea I'm here
#
kisik21
a lot has happened in my life
#
kisik21
so ya girl tries to chill out a bit by trying to code
#
kisik21
and I'm still stuck at filtering the ?q=source query
#
kisik21
because I'm not sure if we have something close to accepted syntax for that
#
kisik21
Ugh I dream of showing all of my notes about this to you people but I can't post them anywhere since my blog is down!!!
#
kisik21
I even drew a cute scheme of how the various parts interact
gRegorLove joined the channel
#
jacky
ooh kisik21 those feels </3
#
Zegnat
That feeling whenever your blog is down! … I might spent hack day tomorrow working on that problem on my end
#
jacky
I've opted to keep a "local" test copy of my site just for this (largely for big breaking changes)
[grantcodes] joined the channel
#
[grantcodes]
kisik21: re micropub query filters I think Eddie and I probably have the most experimental features implemented and think they are documented in that GitHub thread
#
kisik21
and nobody else?
#
kisik21
@grantcodes: so basically whichever implementation I choose becomes canonical because my implementation will act as a tie breaker?
#
jacky
I'm aiming to add some over the coming weeks
#
jacky
kisik21: eh, I think it's more of a numbers game
#
jacky
whichever implementation has the higher # of people implementing it
#
kisik21
I'm a little bit confused over post types though. I want my implementation to be post-type agnostic because it bitten me in the butt in my previous engine. It severely restricted what I can post because supporting new stuff was requiring me to add new post types and I want to get rid of it
#
kisik21
because it makes for overly long permalinks
#
kisik21
i mean, why make it /notes/1029343224, where you can make it /p/2Gax1?
#
kisik21
(I also wanted to adopt newbase60 for permalinks, contracting the Unix timestamp of the post as the default slug)
#
Zegnat
There was an entire session on URL design today in Düsseldorf
#
Zegnat
What is URLs How?
#
Loqi
It looks like we don't have a page for "URLs How" yet. Would you like to create it? (Or just say "URLs How is ____", a sentence describing the term)
#
kisik21
Oh gods I missed it?!!
#
kisik21
Seriously?
#
kisik21
Should've attended that
#
[grantcodes]
Don't think there are any conflicting implementations yet, just some with extra queries
#
Zegnat
You can already watch it, kisik21
#
Zegnat
All sessions from before lunch are on YouTube and linked from the session grid on https://indieweb.org/2019/D%C3%BCsseldorf/Schedule
#
Zegnat
Which I just realised I am not linking to in the right way because I was copy pasting wiki templates. Argh
#
kisik21
grantcodes: I like your implementation by the way, it is infinitely extensible and I like it
#
kisik21
so I guess I'll steal it
#
[grantcodes]
Ha yeah go for it.
[Rose] and [eddie] joined the channel
#
[eddie]
!tell kisik21,grantcodes also Micro.blog supports *some* Micropub query filters so that’s pretty big
#
Loqi
Ok, I'll tell them that when I see them next
#
vilhalmer
hello hello
#
vilhalmer
it has been a while
#
vilhalmer
I'm finally implementing activitypub, and I'm wondering if anyone has experience with http signatures as used by mastodon's implementation; specifically any guidelines on how to verify that the key given in the signature should actually be trusted
#
vilhalmer
I'm validating the signatures successfully but that doesn't necessarily imply they came from the right person at all
#
kisik21
Should all GET requests to Micropub endpoints require a token? Maybe there's something I missed?
#
Loqi
kisik21: [eddie] left you a message 6 minutes ago: also Micro.blog supports *some* Micropub query filters so that’s pretty big
#
vilhalmer
(the obvious one would be verifying that the key is on the same domain that the message originated from, but this may not always be true afaict)
#
kisik21
eddie: where are these documented exactly? I mean, which ones are supported?
#
aaronpk
vilhalmer: you might try asking in #social on the W3C irc server, there's a lot more people there who have implemented it
#
vilhalmer
thanks, I'll check it out
[calumryan], [tantek] and KartikPrabhu joined the channel
#
[Rose]
Do media endpoints have different auth keys to micropub? I'm getting {"error":"forbidden","error_description":"User is not permitted to upload files"}
#
kisik21
Your token probably lacks a "media" scope. Check your Micropub/media endpoint documentation for details on scopes...
#
kisik21
Rose: oops forgot to mention
#
[Rose]
No worries for forgetting to mention. And good point! But in this case I have all the scopes.
#
[Rose]
It definitely has a media scope, just triple checked.
#
kisik21
Rose: which software are you using?
#
Loqi
[manton] Support for q=source (and editing and deleting posts) has been deployed on Micro.blog. It uses the MF2-style JSON as described on the wiki for the response. Thanks y'all!
#
[eddie]
Essentially it doesn’t filter posts currently, it just responds with a paginated list of posts
#
kisik21
nonono, I asked about filtering!
#
kisik21
Sad that micro.blog doesn't do filtering
#
[eddie]
Ohhhh I missed that!
#
[eddie]
Yeah filtering is still HIGHLY experimental and there is no consensus
#
[eddie]
post-type is pretty commonly accepted among the few that even have Micropub Post List Query, but again any of that can change based on lack of implementations. Feel free to experiment on your site and provide your input on #4!
#
kisik21
Ok then! Will do!
#
[eddie]
kisik21 also about your “post type” confusion mentioned above. You’re right it’s not good to have your system heavily based on post types.
#
[eddie]
BUT for post type filtering, the idea is using the Post Type Discovery to determine the ‘current’ type of any post
#
[eddie]
So a post can start as a note and convert to an article if it is updated with a name
#
[eddie]
What is PTD?
#
Loqi
Post Type Discovery specifies an algorithm for consuming code to determine the type of a post by its content properties and their values rather than an explicit “post type” property, thus better matched to modern post creation UIs that allow combining text, media, etc in a variety of ways without burdening users with any notion of what kind of post they are creating https://indieweb.org/PTD
#
[eddie]
That is how we can refer to post types while remaining flexible posts
#
kisik21
Why do we even need post types? It's the content that matters. One may wrap a presentation around post types maybe, but is there anything else?
#
Zegnat
Not really. It is more a conventon than anything else. A way to say “a post with properties X and Y can be called Z”
#
[tantek]
kisik21, right, no system should actually require explicit post types. They're mostly there for interop with pre-existing systems that are dependent on explicit post types in their data model.
#
[tantek]
it's the content *and* UI that matters, and that UI can depend on any combination of properties that makes sense
#
aaronpk
kisik21: I also moved away from a post type based storage to a generic storage where I can style different properties of posts appropriately
[calumryan] and KartikPrabhu joined the channel
#
jacky
so yo
#
jacky
I'm thinking about some interactions with my social reader (more in planning re-implementation)
#
jacky
if I wanted to response to a post in the reader, I think I'd want to opt for a bit of parsing to insure the intended action occurs. like I don't know if it's safe to assume everyone has implemented salmention or what not
#
jacky
like if I see Bobby liking a post of Carol, I'm essentially looking at Carol's post
#
jacky
(my reader would parse out the underlying post something like how Twitter does here: https://i.imgur.com/eU57A4F.png)
KartikPrabhu joined the channel
#
jacky
might be interesting for microsub clients as prior art: https://blog.feedly.com/mute-filters/