#Loqisnarfed: tantek left you a message 2 hours, 23 minutes ago: ICYMI - looks like I found a bug with Bridgy Publish's support of longer tweets when there's a photo included: https://chat.indieweb.org/dev/2017-11-18/1510993441166000 I couldn't find an issue on this in particular, should I file a new one?
#sknebelseems that they don't believe that off-silo comments are that important, so they are kinda negative on that aspect. or did you mean something else?
#ZegnatI think you may get that feel because it feels a bit like a fluff piece with carefully placed SEO links.
#ZegnatE.g. they say “the IndieWeb movement feels something important was lost with the decline of comments and conversations between bloggers and publishers, each with their own domain.” But they never point out what the important thing that was lost is: control of the content, less content loss when websites go down.
#ZegnatProbably never were interested in going into anything.
#aaronpkalso the hyperlinks to their hosting solutions
#aaronpkdoesn't seem super negative to me overall tho
marcthiele, snarfed and davidmead joined the channel
#ZegnatYep, not negative, just ... shallow? It isn’t really an article that explains any of the tech. It is just a post. I guess a way to keep your corporate blog going?
davidmead joined the channel
#ZegnatInteresting that an escort firm can write a better blog post about Webmentions than a hosting company ;)
#grantcodesaaronpk: Hmm think the paging looks good. In your examples it looks like you have 2 values for both `after` and `before` separated by a semi colon or do your post uids have a semi colon?
#grantcodesAlso I assume the number of 10 per page is changable? Seems quite low for a default to me
tantek joined the channel
#aaronpkgrantcodes: the cursor values are opaque to the client so it's not important what my examples represent ;-)
#aaronpkyeah 10 is probably low but I also dont' think that needs to be defined by the spec
#grantcodesYeah don't know if this is meant to be a techical but if it said `&after=post100&before90` or something more readable it would make more sense to me
#grantcodesMight be a good idea to have a set default just so there is more consistency accross readers?
#tantekjoining late, but did someone collect examples of such query params?
#aaronpkI could update the example to use sequential numeric IDs, but it's also meant to be opaque to clients so that clients don't make assumptions about the values
#tantekthese other rando formats are only because webdevs couldn't figure out how to re-use the existing HTML "API"s
#aaronpktoo bad that's really hard to write code against
#tantekonly if the HTML produced is crap, which would be the same problem if the XML produced is crap, or the JSON produced is crap, or the YAML etc
#tantekproducing well formed HTML, even XML-valid HTML, is no harder than producing valid XML
#aaronpkproducing well formed JSON is way easier tho
#tantekand yet they go to all this duplicate effor to do so (a whole another format), instead of doing the significantly *less* incremental work of producing higher quality HTML
#aaronpkanyway this is not really a useful debate, this ship sailed a long time ago
#tantekMediaWiki in particular never had much of a semantic HTML cuture
#tantekxml is deprecated, and maybe their JSON output will be deprecated in another 10 years for whatever new dev-centric format is fashionable in the next 5 years
#tantekseems like people are slowly learning that lesson - I see more and more of them
#tantekexcept in cases where the service has nearly no datetime knowledge, or crappy knowledge thereof, like Google Searches
#aaronpkgrantcodes: i'm hesitant to recommend any specific default page size cause I feel like it might be dependent on the context. but maybe I could use 20 in the examples just to sort of set the baseline?
#tantekit's also well established in database API cultures of 25+ years and more. pre-web
#tantekbut if you've got dates, might as well expose them
#grantcodesaaronpk: yep I think 20 is a better example number. And for the cursors I'm no expert but is it not more useful to use uids just in case your data is sorted by something other than date? (not a hugely likely scenario). In the example I would remove the semicolons just so it's more obvious it's a random id
#aaronpkthose are actually the strings I use in Monocle, it's actually two timestamps that I use to sort. date added to the channel and also published date.
#aaronpkbut the nice thing is it's implementation specific so you don't need to know that :)
#aaronparecki.comedited /Microsub-spec (-9) "/* Example Paging Workflow */ update example to 20 per page, and remove colon so cursors are just a hex string" (view diff)
#aaronpkanother question, should servers be expected to support a "limit" or "count" query param so the client can decide how many results it wants per request?
marcthiele joined the channel
#tantekhex string? why not NewBase60 string? (they are URL safe by design :D )
#aaronpkheh, dechex() was just sitting right there
#aaronpklet's see what it looks like with newbase60
#tantekI happen to like chex, why is there a function to remove it?
#grantcodesI would say a count/limit param would be useful, but it would probably need to be limited. I know the WordPress API has a max of 100 for example
#aaronpkyeah i'd expect each server would set its own upper limit
#grantcodesIn that case it would need to handle requests for more than its upper limit but return less posts than were requested
#aaronpkyeah, it'd be able to tell if there was more data from the paging keys
#aaronpkso if you request 1000 items but the server maxes out at 100 at a time, it would return 100 items and a "after" cursor to get the next 100
#grantcodesYeah that makes sense. The only issue is I can totally imagine people writing a for 1 to 1000 loop and thinking it works fine on with their microsub server but breaking with other servers that won't return 1000 posts. But I might be trying to idiotproof it too much ?
#[miklb]do not underestimate the ingenuity of idiots
#aaronpkheh yeah, if you're doing for i = 1 to 1000 instead of a foreach then I don't really want to get in your way of shooting yourself in the foot
#grantcodesMaybe in the spec it would be good to say the server must support a count from 1 to 100 (as an example) but may support more if they want
#aaronpki'm kind of inclined to specify as little as possible about things that don't actually affect interop
#aaronpkso if a server wants to return only one item at a time, as long as it supports the paging parameters a client will be able to deal with it without any different code than a server that supports 100 at a time
#grantcodesThe thing I dont like about that is different experiences for users in the same client.
#grantcodesIf it supports a count you know all the users of a client will see x posts at a time
#aaronpkI was imagining clients working more like slack clients where it just keeps loading history of a channel seamlessly just might do it different numbers of chunks at a time
#aaronpkThe client doesn't have to actually present paged data
#aaronpkI think it'd be reasonable to recommend a server supports page sizes of like 20-100 but clients should be able to handle whatever comes back and ultimately can't make assumptions about the server anyway
#grantcodesyeah the client make assumptions anyway if it is at the end of the dataset
#KartikPrabhuaaronpk: why "before" and "after" in the micro-sub pagination with explanation to "newer" and "older"? Why not use "newer" and "older" directly as property names?
#aaronpk"newer" and "older" only make sense for pagination of things that have timestamps, whereas "before/after" can refer to positions in a list, not implying timestamp ordering
#KartikPrabhuaah, then the explanation might need tweaking
#aaronpk!tell grantcodes I just finished up enough of Monocle that it should be a functional prototype! I've added you to the beta so you can log in to it! https://monocle.p3k.io/dashboard
#Loqiaaronpk has 90 karma in this channel (1477 overall)
marcthiele joined the channel
#grantcodesaaronpk: awesome! I'll start playing with it next week
#Loqigrantcodes: aaronpk left you a message 11 minutes ago: I just finished up enough of Monocle that it should be a functional prototype! I've added you to the beta so you can log in to it! https://monocle.p3k.io/dashboard