#dev 2019-01-30

2019-01-30 UTC
snarfed, benwerd, benwerd_, [jgmac1106], eli_oat, nloadhol1, [schmarty], snarfed1, [asuh], KartikPrabhu, [tantek], [xavierroy], [Vincent], ichoquo0Aigh9ie, petermolnar, petermolnar_, iasai, rubenverborgh, jeremych_, [Rose] and cweiske joined the channel; mblaney and petermolnar left the channel
#
cweiske
grantcodes[m], if the micropub helper git repo had tags, then github would list them properly under "releases": https://github.com/grantcodes/micropub/releases
#
Zegnat
[metbril], probably late to the party, but if you look at https://tokens.indieauth.com/ is has an example token verification that shows the client_id you would get back
#
Zegnat
did wonder about sending a User-Agent string from micropub clients
#
Zegnat
The problem is with the spoofability, and if someone starts sending it I worry people will start to depend on it
#
Zegnat
(depend on it for the wrong thing, that is)
jgmac1106, [Vincent], benwerd, swentel, swentie, [kevinmarks] and [jgmac1106] joined the channel
#
@frankmeeuwsen
↩️ @tjarko Monocle heeft het maar heel "opinionated". Via microsub en webmentions. Meer proof of concept dan consumentenproduct
(twitter.com/_/status/1090583317647372288)
cweiske, eli_oat and [kevinmarks] joined the channel
#
@jgmac1106
More than proof of concept: https://indieweb.org/reader#Social Readers I think microsub readers now used by many and has 1,000s of sources AND gigs and gigs of feeds. What I like I just have to use semantic HTML in my sites rather than doing everything twice for a… https://quickthoughts.jgregorymcverry.com/2019/01/30/more-than-proof-of-concept-readersocial-readers
(twitter.com/_/status/1090607910923706374)
eli_oat, dougbeal|mb1, nloadholtes, benwerd, [tantek], jgmac1106, [jgmac1106], barpthewire, snarfed and [schmarty] joined the channel
#
[schmarty]
got thinking this morning about a combo micropub endpoint and client that pulls together lots of disparate clients to get new things done.
#
[schmarty]
e.g. i like posting notes, articles, and photos with quill, but the event poster isn't what i want. also i'd like to use kapowski more for reaction GIF posts.
[eddie] joined the channel
#
[eddie]
I don't quite understand why the endpoint and client should be combined?
#
[schmarty]
oh yeah - so you don't have to sign in to each client manually
#
[schmarty]
you sign into this meta-client that keeps track of your micropub endpoint and token
#
[schmarty]
and the meta-client lives on the web, so it can set up new micropub endpoints for you, and handle its own auth.
#
[eddie]
hmmm interesting
#
[schmarty]
an example use would be you're viewing a post you like in your browser. you hit a bookmarklet that takes you to the meta-client's reply page. there are options on there for what kind of reply, including GIF. clicking GIF takes you to Kapowski, and you're already logged in and have the reply URL populated.
#
[schmarty]
in the background, the meta-client had set up an endpoint and identity for you, done the indieauth dance for Kapowski, and forwarded you there already logged in (might be challenging!)
#
[schmarty]
when you post, Kapowski actually submits it back to the meta-client's micropub endpoint, which then forwards it on to your site's micropub endpoint.
#
Zegnat
Logging you in through a forward is hard. Usually that will include some sort of token exchange so Kapowski (and all other clients) needs special support for that
#
[schmarty]
i haven't walked through it step by step but i feel like the meta-client could make this pretty transparent to the user with a handful of redirects.
#
Zegnat
The forwarder idea is really nice, as it means the user will have to issue less tokens so the trust is kept small.
#
[schmarty]
e.g. the meta-client sets up a different "me" page for you for each client, including its own auth and token endpoints, as well as a micropub endpoint..
#
Zegnat
Honestly all the meta endpoint needs to be able to do is open Kapowski in such a way that it tells Kaposki to submit to endpoint A and use token X. You don’t actually need to do IndieAuth
#
Zegnat
Where A will be hosted by the meta endpoint, and X could be a one-time token issued by the meta client
#
[schmarty]
Zegnat: true! but Kapowski already implements IndieAuth, so in theory this would require no changes to the "upstream" micropub client.
#
[schmarty]
but that's a great point - quill supports passing some kind of session info directly (including micropub endpoint and token), so perhaps that could be standardized.
[tantek] joined the channel
#
Zegnat
Don’t get me wrong, you can also definitely make an IndieAuth endpoint that involves no user interaction (I think I have code for that floating somewhere). I don’t know what would be more natural to standardise on
#
[eddie]
ohhh I gotcha schmarty! That makes more sense now
#
[eddie]
Yeah, that's very interesting
#
[schmarty]
from a UX/UI perspective it will probably be a weird experience and feel brittle, but i think it could make a pretty great browser extension or feature for Together or Monocle.
nloadholtes_ joined the channel
#
Zegnat
client.example.com?me=urltodiscoverendpoints vs client.example.com?mpendpoint=url&token=xxx
#
Zegnat
Are the two basic ways I could immediately think of for making it work
#
Zegnat
The first case could have the client skip the first step of asking for your URL, and immediately send you to your indieauth endpoint. (And in the case of the meta-client, it can provide an endpoint that does not require user interaction at all.)
#
[schmarty]
zegnat++ ooh neat
#
Loqi
zegnat has 58 karma in this channel over the last year (165 in all channels)
#
Zegnat
Hmm. I should update that. The listed limitation has actually been patched :D
#
[jgmac1106]
having an actual kapowski.com now and the important influence Baside High has had on the community going to get funnly confusing
#
[schmarty]
[jgmac1106] it was fun while it lasted. i need to drop those and find a new naming scheme.
benwerd, nloadholtes and nloadholtes_ joined the channel
#
Zegnat
Hmm. I wonder why Solid/WebID requires a PersonalProfileDocument. I must still not be grasping RDF right
#
Zegnat
Did anyone else go down that hole yet?
benwerd joined the channel
#
Zegnat
feels like he should get petermolnar in on this
nloadholtes joined the channel
#
[eddie]
I haven't read up on it much, but it does seem closer to IndieWeb than Mastodon, so I think it is something to read up more on to be able to better compare contrast with IndieWeb tech
#
[eddie]
I've saved a couple articles on it in my reader to try to get a better understanding of it
#
Zegnat
Like IndieWeb they seem to be going the building-blocks route of having different specs for different things
benwerd joined the channel
#
Zegnat
But they are very RDF heavy, which I have not often been able to wrap my head around
#
[eddie]
I don't understand a lot of it, but I'm vaguely familiar because of when I was starting to build Mastodon/ActivityPub into my website before offloading to Bridgy Fe
#
[eddie]
with Mastodon/ActivityPub I had to create an Actor object and stuff and Solid seems to be taking a very similar approach there
#
[eddie]
Because I think solid is using ActivityStreams for some of the stuff from the look of it.
#
[eddie]
🤷‍♂️
#
[eddie]
It'll be interesting to see.
#
[jgmac1106]
I tried to capture some history here: http://bookmarks.jgregorymcverry.com/ though need to ask [tantek] and [kevinmarks] where all the old w3c listservs are archived, has to be a trasure trove of history
benwerd and eli_oat joined the channel
#
[tantek]
[jgmac1106] history -> meta
#
Zegnat
[eddie]: if any of those posts explain why I should wrap my Person in a PersonalProfileDocument, let me know ;)
#
[jgmac1106]
ha ha, but a post explaining h-card vs a PersonalProfileDocument would be a wonderful post so someone technical like zegnat or [eddie] to write
#
[eddie]
Zegnat Sounds good, I'll definitely keep an eye out for that! 😆
#
[jgmac1106]
especially in terms of size but I think zegnat you demonstarted that petermolnar was curling hte incorrect url?
#
[eddie]
I would be interested to see the size different of Zegnat's h-card vs the same data as a Solid Person 😆
#
[eddie]
That would be a good test
#
[jgmac1106]
ooh that would be a great learning exercise
#
[tantek]
[jgmac1106] that's a great post, in particular for teaching empathy towards new creatives, new developers
#
[tantek]
That screenshot looks like it's from an Apple][ though!
benwerd joined the channel
#
[jgmac1106]
yeah I should fix that
#
Zegnat
I was just going to see if I could on-the-fly transform my h-card into turtle and then claim to have one of the biggest Solid WebIDs... But that means learning what stuff would look like in RDF
#
[eddie]
😆 nice
#
[jgmac1106]
<link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link><link>stuff</link> I think is how you do it
#
Zegnat
I usually think of https://vanderven.se/martijn/ = h-card = me. But it looks like RDF says https://vanderven.se/martijn/ = PersonalProfileDocument which will contain https://vanderven.se/martijn/#someid = Person = me
#
Loqi
Martijn van der Ven
#
Zegnat
Extra level of nesting, but I haven’t yet found the reason why they would want that
#
[eddie]
I think that's from ActivityStream
#
[tantek]
what is extra level of nesting?
#
Loqi
It looks like we don't have a page for "extra level of nesting" yet. Would you like to create it? (Or just say "extra level of nesting is ____", a sentence describing the term)
#
[eddie]
Mastodon does the same thing
#
Zegnat
Most Solid URLs I can find always link straight to the Person object (e.g. #i or #card behind the links). So why not have the Person as the top level object?
#
[tantek]
extra level of nesting is /architecture_astronomy
#
[eddie]
I think it's so that you can have multiple objects at the same url
#
[eddie]
which is understandable, but I think there should be a way to have a url just have a default
#
Zegnat
As I understand Turtle you can always have as many objects within one file as you want. It is just that they set documentURL = PersonalProfileDocument and documentURL#someid = Person
#
[eddie]
I tend to shy away from that, but some people find it useful
#
[eddie]
Yeah, seems like you're further along than me!
#
[tantek]
eddie, right, we solved the edge case with adding markup, instead of making everyone add an extra layer of abstraction
#
[eddie]
tantek Correct
#
[eddie]
That's the issue, defaults
#
Zegnat
Turtle, WebID, FOAF, I got all the specs open [eddie] ;)
#
[eddie]
how mf2 has simple h-cards and based on the structure it can make assumptions
#
[tantek]
this is a common antipattern in CS architectures, adding extra layers just to solve edge cases, extra layers which burden everyone, and thus hurt the common case
#
[eddie]
tantek++
#
Loqi
tantek has 24 karma in this channel over the last year (79 in all channels)
#
Zegnat
wonders if Solid has any validators
#
Zegnat
The problem is I cannot find the edge case documented anywhere either, [tantek] :(
#
[tantek]
Zegnat, that lack of documentation for the extraneous layers in things like RDF was one of the motivations behind the culture of documentation we have at microformats and indieweb
#
Zegnat
But of course I may just be misunderstanding RDF documents. Always a posibility
#
[tantek]
if you can't show your work, you don't have a proof
eli_oat joined the channel
#
[tantek]
it's likely lost in some mailing list somewhere
#
Zegnat
Wondering if there is an RDF or Solid IRC channel somewhere. Will have to have a look when I get home.
#
Zegnat
Was just doing some leisure spec reading on the train :P
benwerd joined the channel
#
[eddie]
The one really nice thing is because Solid PODs do seem very similar to the IndieWeb's approach (of separating UI and data storage), if Solid takes off enough to have some decent UIs, we can totally build some bridges to be able to use their UIs for our stuff.
#
[eddie]
If they had some really nice readers, you just build a Microsub server / POD conversion layer and we have more readers available
#
Zegnat
Hmm. Alright. So the Person object *is* me, and because an HTTP URL is not a person but a web document, they decided 2 URLs would be required. One for the person, and one for the document.
#
[eddie]
Zegnat++
#
Loqi
Zegnat has 59 karma in this channel over the last year (166 in all channels)
#
Zegnat
Still feels weird to me. But I guess that is because I am so used to the indieweb way of homepage=me
#
[eddie]
Yeah, seems strange. I wouldn't say wrong, just strange from our perspective
#
[eddie]
Definitely seems like there is some tech fat there, though that could be trimmed off
#
[eddie]
kevinmarks++
#
Loqi
kevinmarks has 10 karma in this channel over the last year (31 in all channels)
[kevinmarks] joined the channel
#
[kevinmarks]
Are you often mistaken for a web document, zegnat?
#
[tantek]
Zegnat, you have stumbled upon the infamous HTTP Range 14. I'm sory
#
[eddie]
Zegnat, they use gitter for conversation
#
[tantek]
what is gitter
#
Loqi
Gitter is a silo chat provider used by some open-source projects and often linked to from README files on GitHub https://indieweb.org/Gitter
#
[eddie]
Ohhhh sure enough, HTTP Range 14 IS what's going on with the WebID stuff
#
[jgmac1106]
poor Bob, Alice hated the look of his webpage but she liked the looks of him so she needs two links for Bob??...tell Alice Bib will design his page any way he wants
#
[kevinmarks]
What is http range 14?
#
Loqi
HTTPRange-14 is a honeypot for architecture astronauts https://indieweb.org/HTTP_Range_14
#
[eddie]
Zegnat: https://irc.gitter.im/ you can connect through IRC
#
[eddie]
lol oh my, jgmac1106
#
[kevinmarks]
RDF << HTTPRange-14
#
[jgmac1106]
may use this paragraph in lesson in how not to write for understanding: FOAF describes the world using simple ideas inspired by the Web. In FOAF descriptions, there are only various kinds of things and links, which we call properties. The types of the things we talk about in FOAF are called classes. FOAF is therefore defined as a dictionary of terms, each of which is either a class or a property. Other projects alongside FOAF provide other s
#
[jgmac1106]
and properties, many of which are linked with those defined in FOAF.
#
[jgmac1106]
"there are only various kinds of things"---is basically saying there is everything. I know this isn'
#
[jgmac1106]
't #dev but love the ambiguity in that sentence
[schmarty], dougbeal|imac and jgmac1106 joined the channel
#
[tantek]
[jgmac1106] it's definitely good to keep in mind for how *not* write abstract definitions
[davidmead] joined the channel
#
[davidmead]
zegnat - i just went through (I think) the inrupt/solid sign up myself. It’s a little “all over the shop” as we Brits say.
#
[davidmead]
I still don’t know if I’ve actually logged in or signed up as there are buttons to do both after completing it
#
[tantek]
davidmead this is why Web Sign-in sticks with a single button
#
[davidmead]
tantek yeah. some of this feels like an already solved problem
#
[tantek]
davidmead, pretty much all of it is. It's generally NIH on top of beating the RDF horse.
#
[tantek]
this is what happens when you 1 ignore the broader set of work in an area, 2 don't bother to document your own work
#
[davidmead]
reminds me a little of early online banking - fancy homepage, but when you try to do something in your account it’s all early 90's HTML and mystery meat nav & labels placed by backend devs
#
[davidmead]
wondering if they’re looking for a UX person 😉
#
[tantek]
we can likely all use incrementally better UX 🙂
#
Zegnat
Hmm. So I could allow conneg on vanderven.se/martijn/ and if you want turtle I could offer a 303 redirect to vanderven.se/martijn/allthewaydown.ttl which will be a PersonalProfileDocument. That way Solid tools *should* accept https://vanderven.se/martijn/ as my WebID?
#
Loqi
Martijn van der Ven
#
Zegnat
Place your bets now on whether you think any RDF tools will understand that
#
[schmarty]
zegnat: it feels like you're on the verge of developing a fork bomb for profile resolution. 👍
#
[eddie]
lol Zegnat that sounds like it definitely SHOULD work. But I'm gonna but absolutely it will blow up on 60% of the tools you try it with
#
[eddie]
Really, Zegnat you just needs to research new web technologies so you can edge case them
#
Zegnat
That’s a job I would jump on. But it doesn’t feel like a lot of people will pay me for it :D
#
[eddie]
You never know
#
[eddie]
some migh
#
[eddie]
might*
#
Zegnat
I am going to let this idea simmer a bit and maybe return with a proof-of-concept tomorrow.
#
Zegnat
Lets see if I can bridge IndieWeb and Solid. I will probably need to write a microformats2 namespace. Hmm.
#
Zegnat
rhiaro (ping?) did you ever end up publishing an mf2 rdf schema?
eli_oat and snarfed joined the channel
#
snarfed
the Google+ API "brownout" is kind of fascinating. bridgy started seeing a small number of API calls 404 today.
#
snarfed
HttpError 404 when requesting https://www.googleapis.com/plus/v1/people/me/activities/public?alt=json&maxResults=50 returned "Google+ APIs will be shut down on March 7, 2019. This includes Google+ Sign-in. This will be a progressive shutdown, with intermittent failures starting as early as January 28, 2019. Learn more at http://developers.google.com/+/api-shutdown"
#
[schmarty]
yeah i don't think i have seen that before
#
snarfed
i've definitely seen it with internal services at a few places before
#
snarfed
but yeah still interesting
#
[tantek]
they should include lyrics from "Daisy" in those 404 or 500 pages
#
@jgmac1106
@ThinkPrivacyIO Great post on social media alternatives. I am happy that webmentions and new social readers are going to allow me to create my social network from my own website. http://opensource.com should do a round up post on what is new in… https://quickthoughts.jgregorymcverry.com/2019/01/30/thinkprivacyio-great-post-on-social-media-alternatives
(twitter.com/_/status/1090695399625629696)
#
[jgmac1106]
@zegnat check in with [benwerd] I know his goal for Known was to support both JSON-LD and mf2 but the JSON-LD may not have gone much past what is required Single Sign On for LTI
#
Zegnat
It’ll depend on what standards Known wanted to support. I am going to dive into this RDF stuff a little more first
[davidmead] joined the channel
#
[davidmead]
thought i had solved OYG not posting my photos into Known by disabling a couple of plugins (Bit.ly link shortener and Chrome). When I did that I got a photo to post from the OYG dashboard. Re-enabled the Bit.ly plugin and it failed, but disabling that again didn’t let me post anymore
#
[davidmead]
this seems a very strange bug
leg joined the channel
#
@jgmac1106
↩️ plus over 1.4 million webmentions sent being powered by microformats as well, and if you count all of the Mastodon users (since every instance includes mf2) the number of use cases seems to be at a high point and growing and not a low point. (https://quickthoughts.jgregorymcverry.com/s/1G0f5B)
(twitter.com/_/status/1090700453283799040)
[kevinmarks] joined the channel
#
[kevinmarks]
I've seen that brown out thing before - maybe when twitter changed apis?
nloadhol1 and snarfed joined the channel
jgmac1106 and [tantek] joined the channel
#
[tantek]
ch ch ch changes?
[schmarty] joined the channel
#
[schmarty]
from jekyll to hugo!
[manton] joined the channel
#
[manton]
Thanks!
#
[schmarty]
having recently that for my own site, i imagine it was a good chunk of work!
#
[manton]
I also added categories support to the Micropub endpoint, which has been fun to work on.
#
[manton]
Yep, lots of work but I'm really excited about what is possible now.
#
[schmarty]
manton++ this is really good stuff
#
Loqi
manton has 24 karma in this channel over the last year (59 in all channels)
#
aaronpk
Whoa! You rewrote everything for Hugo?
#
aaronpk
is it like a million times faster now?
#
[manton]
[aaronpk] Yes, it's much faster. The things that are still slow are my fault and I can fix them. 🙂
#
[tantek]
manton++ great job
#
Loqi
manton has 25 karma in this channel over the last year (60 in all channels)
#
aaronpk
That's great! Must have been a lot of work
[jgmac1106] joined the channel
#
aaronpk
what is PWA?
#
Loqi
Progressive Web App (PWA) is a web site that a client can progressively enhance into a standalone app that's comparable with a native app https://indieweb.org/PWA
#
Loqi
ok, I added "https://twitter.com/mhartington/status/1089292031548145666" to the "See Also" section of /Progressive_Web_App https://indieweb.org/wiki/index.php?diff=56022&oldid=46886
#
[schmarty]
Um that is pretty exciting
#
aaronpk
the Teacup PWA i wrote in nurnberg has been super useful already
#
[schmarty]
aaronpk: did you check out any of the meta-micropub client talk earlier?
#
[tantek]
Does this mean offline reading is coming to Monocle?
#
aaronpk
loollll
#
aaronpk
that's gonna be so much work but it would be cool
#
[tantek]
one can dream
#
[tantek]
I have heard from many folks (ahem benwerd ahem) that that's the key use-case for them, same reason they listen to podcasts on commutes / subway etc.
#
[tantek]
pretty sure you could get benwerd to switch readers if you added offline reading support
#
aaronpk
i feel like most of the time i open my reader is when i also want to interact with the posts
#
aaronpk
so i would need to also buffer the favs/replies created while offline and push them up later
#
[tantek]
sure, you should be able to like/respond to posts while offline as well 🙂
#
[tantek]
yessssss
#
aaronpk
(not to mention the read status too)
#
[tantek]
gmail sorta supports this now
#
snarfed
offline first PWAs! reminds me of the design in https://snarfed.org/posting-to-the-indieweb-from-your-phone (from before most of our reader work)
#
aaronpk
it would be *so cool* though
#
[tantek]
I've noticed while my wifi is flakey that I can still reply and archive emails
#
[schmarty]
I have been hitting this a bunch since I started riding the subway more
#
aaronpk
yeah gmail is really good about it
#
aaronpk
haha yeah NYC does that to you