#dev 2019-06-04

2019-06-04 UTC
KartikPrabhu and chrisaldrich joined the channel
jacky, swentel, KartikPrabhu, cweiske, NinjaTrappeur, gxt and [jgmac1106] joined the channel
#
jamietanna[m]
aaronpk: looking at the sign in with apple example, I see the comment `Save your private key from Apple in a file` does that mean they provide both the public and the private to a dev, rather than going through certificate signing process?
[Ian_Forrester] and [kevinmarks786] joined the channel
#
[kevinmarks786]
One interesting thing in the stuff about entropic
#
[kevinmarks786]
“You sign in with your GitHub account, and any oauth provider is pluggable” - so could use indieauth?
[tantek] joined the channel
#
[tantek]
aaronpk, I figure you already had this thought but wrote it down anyway: https://indieweb.org/Sign_in_with_Apple#handler_for_rel_me_to_email
#
Zegnat
[tantek]: note that aaronpk when testing did not get an email from the auth flow, but a unique ID instead, which could be awkward for rel-me: https://chat.indieweb.org/dev/2019-06-03/1559596452187400
#
Loqi
[aaronpk] it returns a unique ID for me, 001473.fe6f83bf4b8e4590aacbabdcb8598bd0.2039
jeremych_ joined the channel
#
[tantek]
Zegnat that's only if you initiate it without an email - I'm wondering if an app can pre-fill an email that the user wants to sign-in with
#
[tantek]
and that's the email that is discovered by rel=me link to email
#
Zegnat
Oh, interesting idea
#
sebsel
but then it requires publishing an email address again :(
#
sebsel
I guess there is no way around that for rel=me
#
[tantek]
sebsel, nothing requires publishing an email address
#
[tantek]
my point is if the user *chooses* to publish an email address (e.g. already does so, plenty of folks do), *then* it can be used for IndieAuth via Apple sign-in
KartikPrabhu and [grantcodes] joined the channel
#
[grantcodes]
Alrighty, pretty close to having my microsub middleware idea working. I got it to pull posts from channels, parse them and then create its own feed. Was a more complicated flow than I thought. Now I'll see if it actually works
swentel joined the channel
#
[jgmac1106]
grantcodes++
#
Loqi
grantcodes has 21 karma in this channel over the last year (36 in all channels)
#
[jgmac1106]
And at some point Grant Glitch has to monetize...hoping they allow others to monetize... Seems team subscriptions put on hold
#
[jgmac1106]
Grantcodes check with Eddie in #dev he was just talking about something similar
[jeremycherfas], [Ian_Forrester], KartikPrabhu, [xavierroy] and [kevinmarks786] joined the channel
#
aaronpk
jamietanna[m]: yes it's not the same as an ssl cert, it's just a private key and they use this same flow for most of their authentication and signing stuff elsewhere in the platform
[eddie] joined the channel
#
[eddie]
Ohhhhh, Core ML (Machine Learning) 3 that Apple is rolling out, will be able to use on-device machine learning so you can have custom algorithms that stay on the device you control. One I have the basics built into Remark, I think i’m going to have to experiment with that and see if I can get Remark to help provide some on-device channel (in addition to a Microsubs regular channels) that helps surface stuff from your various channels that you
[jgmac1106] and [Rose] joined the channel
#
jamietanna[m]
aaronpk: Interesting, thanks, just wondering because that'll then mean they have access to the private key too
#
aaronpk
Sure but it doesn't really matter for this
#
aaronpk
I think they don't store it since they say you have to download it as soon as it's created and you can never go find it again later
#
aaronpk
so you're trusting that they're not storing it, but that seems like not a huge risk given that the only thing the key is good for is talking to Apple
[schmarty] and [grantcodes] joined the channel
#
[grantcodes]
Ok my microsub middleware *might* now work https://glitch.com/~microsub-middleware Feel free to try / remix
snarfed joined the channel
#
[grantcodes]
The daily publish time will definitely not be correct for now, but should happen once a day fingers crossed
[Zegnat], [Rose] and [tantek] joined the channel
#
[tantek]
I have a long delayed post about rel=me updates from the past year (now 1.5 yrs) that I clearly should have already posted since now there's a need to reference what's new with rel=me
#
[tantek]
Zegnat what have you heard besides Mastodon re: what's new with rel=me ?
KasperNymand, KartikPrabhu, eli_oat, [kimberlyhirsh] and snarfed joined the channel
#
GWG
I am interested in new things I might try with rel me
[kevinmarks786] joined the channel
#
Loqi
ok, I added "https://help.micro.blog/2017/web-site-verification/" to the "See Also" section of /rel-me https://indieweb.org/wiki/index.php?diff=62104&oldid=62102
[frank], [asuh] and snarfed joined the channel
#
@jgmac1106
My #oext355 survival pack: paper and pencil....and then more...best tech ever...then my url and webmentions (https://quickthoughts.jgregorymcverry.com/s/1HXwBf)
(twitter.com/_/status/1135965985683451905)
[fluffy] and [jgmac1106] joined the channel
#
aaronpk
[fluffy] part of the reason that Atom/RSS looks "easier" to parse than mf2 is because it's much more limited in what can be included in the feed. and even then, go look at any mature parsing library and you'll see it's full of quite a mess of stuff to handle all the variations
#
[jgmac1106]
[fluffy] as someone new to much of this stuff I was amazed that all I had to do was put mr2 in HTML and it just worked as a blog in my reader
#
aaronpk
and that's just to publish articles
#
aaronpk
now imagine trying to also include photos, videos, replies, likes, reposts, etc in Atom/RSS, and imagine how much more complicated it would get
#
[fluffy]
That’s fair, but I also find it easier to wrap my head around because I can just look at the file and see what does what.
#
jacky
the file being the feed?
#
aaronpk
you can do that with mf2 for the most part if you ignore the HTML of it and only look at the parsed result
#
jacky
the same can be done for h-feed
#
jacky
in a more familiar (one less "format") layout too
#
aaronpk
when i'm looking at mf2 I don't look at HTML at all, i just run it through a parser and see what the JSON looks like
#
[fluffy]
That’s fair
#
jacky
like if you're already okay with HTML, then h-feed is no different
#
[fluffy]
but like, Atom also provides the concept of images/photos/etc. as “attachments”
#
aaronpk
only in very limited ways and with limited consumer support
#
[fluffy]
One specific thing I dislike about h-feed is that it doesn’t really lend itself well to a template where there’s a “cut” though.
#
[fluffy]
if you subscribe to the h-feed on the summary page you only get the summaries. In my atom feed I can provide full content and also have a feed-specific layout for things like images etc.
#
jacky
that's dependent on the markup of one's h-feed, no?
#
[fluffy]
and I also feel like the atom answer of “just include your images/video/etc. as inline content to the HTML” works fine for the cases I’ve considered.
#
[fluffy]
Well, sure, I could provide a full-content h-feed that formats the same as my atom feed. :)
#
[fluffy]
But I already have the atom feed and it’s already supported by all the feed readers I know.
#
[fluffy]
That said I would liket o add h-feed support into feedparser.py at some point
#
[fluffy]
or, you know, see it added
#
[fluffy]
I guess I’m not *opposed* to mf2, I just feel like it’s another layer of complexity and confusion in an already complex and confused space.
#
[fluffy]
I do try to support it wherever I can of course.
#
[fluffy]
I wonder how hard it’d be to add into SimplePie.
#
aaronpk
most of the hard part of consuming microformats isn't actually related to HTML at all. it's handling the variations in where things like the author appear in the data structure.
#
aaronpk
i've dealt with this a *lot* while writing Aperture
#
aaronpk
for example, here are the instructions on how to determine the author of a post https://indieweb.org/authorship#How_to_determine
#
aaronpk
this is a double edged sword, because while it makes it a little harder for consumers, it offers much more flexibility for publishers. and since there are far more publishers than consuming code, it makes sense to optimize for that.
#
[fluffy]
yeah, and having the validator helps a lot.
#
[fluffy]
One of my long-term projects is to add authentication/friends-only stuff into feeds and while I think I have an okay idea of how to go forward (which we’ve talked about a bunch in the past, actually your responses to my original E2EE proposal are how I started following the whole indieweb scene in the first place!) I’ve definitely focused on the Atom side of things, and I’m not entirely sure how it might work in an mf2 world.
#
[fluffy]
I guess the mf2 approach would be to have the authentication stub be visible in the HTML, maybe hide it using CSS.
#
[fluffy]
or in the case of just doing a single thing to indicate that there’s potential auth content, that would just be a stub entry that appears at the top of the screen and does double-duty.
[tantek] and [schmarty] joined the channel
#
@jackyalcine
↩️ Not going to lie; it’s a bit convoluted but it’s been getting better. I use software that the IndieWeb built around things like Micropub and Microsub - namely Quill, Monocle and Bridgy. Those three together help me reply to silos and what not pretty… https://v2.jacky.wtf/post/d2f3e518-e74c-4e88-9633-6c41a8fd4467
(twitter.com/_/status/1135982197842894849)
chrisaldrich, gRegorLove, leg, [kevinmarks786], [kimberlyhirsh] and snarfed joined the channel
#
[kevinmarks786]
Atom is superficially easier to parse but in practice feedparser covers a multitude of sins. But h-feed does have the summary/content distinction that atom has already. You could hide the full content part with css (or details/summary)
[Rose], [eddie], gRegorLove_ and [grantcodes] joined the channel
#
gRegorLove_
jacky, Do you have a notes stream with the full content? Subscribed to https://v2.jacky.wtf/stream?type=note
#
gRegorLove_
currently
#
jacky
I've been leaning on consumers to fetch content from the individual u-url posts
#
jacky
was also under the assumption that clients would do that
#
jacky
I can patch it to provide the full bit of content tho
#
gRegorLove_
That sounds like a tough problem, like how does the consumer know they're only getting a truncated post?
#
jacky
I think if I remove `name` and only provide `url`; that could be a signal?
#
gRegorLove_
mf2 parsers will always imply `name`
#
jacky
what is h-feed
#
Loqi
h-feed is a microformats2 draft specification with a top level feed object to contain h-entry posts and optionally a common author https://indieweb.org/h-feed
#
jacky
nothing there about partial content
#
gRegorLove_
`u-url u-uid` (canonical url) being different than the feed URL could be a signal, but even then, some h-feeds (mine) include full content, so the extra fetch isn't necessary
#
Loqi
[aaronpk] #70 Expand content of posts from post permalink
#
jacky
interesting
#
gRegorLove
You don't need to change your feed for me, though, I was just wondering if another already existed. :)
#
gRegorLove
Looks like I can subscribe to the Atom for that
#
jacky
but I _will_ make a few changes tho
#
jacky
was working near this at the moment anyhow
snarfed joined the channel
#
jacky
going to patch to show full notes but truncate for articles
#
jacky
is definitely going to retroactively add summaries to a lot of his longer posts
snarfed, [tantek], [grantcodes], [jgmac1106] and [kevinmarks786] joined the channel
#
[kevinmarks786]
Summary versus content is how you clarify
[pfefferle] joined the channel
#
[kevinmarks786]
If the entry has summary but no content that implies the url has more, but maybe we should state that.
#
[kevinmarks786]
It's a little tricky as summary can be there for a media entry.
#
@grantcodes
↩️ Hey David, it's not too well documented but you need IndieAuth setup on your site to login. See https://indieweb.org/IndieAuth for details
(twitter.com/_/status/1136025311441772544)
#
[tantek]
Wait David has been to IWS last year! He knows this! 🙂 [dave]
snarfed and [chrisaldrich] joined the channel
#
GWG
Re the earlier feed issue, I prefer h-feed
snarfed and chrisaldrich joined the channel
#
snarfed
following up from yesterday....it does seem possible to do bare bones backfeed with just ifttt/zapier + granary. kind of interesting.
#
snarfed
could be a good way to try out backfeed for new silos that i have no plans to add to bridgy
#
snarfed
may also need telegraph in some cases...but no code!
#
GWG
Was it KartikPrabhu who only supports an atom feed