#dev 2018-11-01

2018-11-01 UTC
eli_oat, KartikPrabhu, [wiobyrne], jeremycherfas, [jgmac1106], renem and [tantek] joined the channel
#
@MozDevNet
IndieAuth is a decentralized login protocol that enables users of your software to log in to other apps. Read more about how Dweb is changing auth: https://hacks.mozilla.org/2018/10/dweb-identity-for-the-decentralized-web-with-indieauth/
(twitter.com/_/status/1057875385541685248)
cweiske, [frank], [schmarty], [tonz] and [kevinmarks] joined the channel
#
Loqi
[Jeremy Cherfas] Tried to Like this post, but neither Quill nor Omnibear seem able to do so. I wonder whether that is because there is a hashtag in the title? This post may help me find out.
#
aaronpk
what error did you get from quill?
#
jeremycherfas
Something went wrong!
#
jeremycherfas
Your Micropub endpoint indicated that something went wrong creating the post.
#
jeremycherfas
Not very helpful, but then, that's Known.
#
aaronpk
ah k yeah
#
jeremycherfas
Omnibear's error 2was the same, of course. And to be honest, I'm in catching up mode so rather than open Omnibear's debugger, I just thought maybe it was the hashtag in the title and did a little experiment.
#
petermolnar
wth. "We found a potential security vulnerability in one of your dependencies." - github on my repositories o.O
[Vincent], [tantek] and [jgmac1106] joined the channel
#
[jgmac1106]
[jeremycherfas] might be similar to my error. One sec
#
aaronpk
deathrow1: here's selfauth (PHP) https://github.com/Inklings-io/selfauth
#
Loqi
[Inklings-io] selfauth: self-hosted auth_endpoint using simple login mechanism
#
[jgmac1106]
Nope just a syndication error. I can still publsh
#
aaronpk
and the wiki page for it https://indieweb.org/selfauth
#
[jgmac1106]
[aaronpk] if I am using static pages on my domain can I follow that to still indielogin?
#
aaronpk
you need some server-side code for that to work, but that code doesn't have to be on your same domain.
[kevinmarks] joined the channel
#
[jgmac1106]
Okay, thx. Not sure if it is something I will do this weekend... But will need to do soon
#
aaronpk
deathrow1: and the node.js one for reference https://glitch.com/~befitting-price
#
sknebel
now that PHP versions have progressed further, selfauth really should be updated to use slightly more saner crypto
#
aaronpk
I forget what selfauth's policy is on supported php versions
[tonz], jgmac1106, rMdes and [schmarty] joined the channel
#
[schmarty]
hopes befitting-price doesn't get cloned too many times as-is.
#
[schmarty]
i think it needs to be ported again
#
sknebel
aaronpk: not entirely fix, but we tried to cover as much as possible. I wouldn't go 7.x yet, but "no older than 5.4 or 5.6" is probably an acceptable level by now
#
aaronpk
oh I agree completely, i'd even personally go back no farther than 5.6, but that's kind of a personal preference of whoever is writing the software
#
sknebel
right, and there we have a bunch of stuff available we currently don't use
#
jgmac1106
can someone check does he have two h-cards in his side widget? I see h-card nested at top and with p-name
#
@jgmac1106
I need to try gRSShopper I am currently using a microsub reader (can subscribe to atom/json/rss) hosted on Aperture and then using the Indigenous app on Android. I will record a quick demo later. It is super cool. #el30 (http://quickthoughts.jgregorymcverry.com/s/1s3Wta)
(twitter.com/_/status/1057977224736006144)
[jgmac1106], [kevinmarks], [tantek] and [tonz] joined the channel
#
[tonz]
[jgmac1106] I see 1 h-card in the side bar, and there’s a second h-card underneath the posting. However that 2nd h-card als had a u-uid. So there are 2 claiming to be authorative.
#
[tonz]
He uses Sempress theme, I do too, and I decided to remove the uid / h-card references from the author byline as parsers saw 16 authorative h-cards on my front page. I changed that in the Sempress functions.php file in sempress_posted_on (created a child theme to do that)
snarfed, eli_oat, [schmarty], rMdes and [eddie] joined the channel
#
[eddie]
I don’t really enjoy maintaining database but MAN do I love querying them!
#
[eddie]
I feel like I’ve just learned how to program all over again using a dynamic JavaScript backend with posts queryable in my SQLite cache after trying to figure out how to stretch Jekyll and static files into some type of abomination to what it was designed for the last 2 years
#
[eddie]
I do enjoy it just being a cache though, because I don’t have to stress that much about the database design
#
[eddie]
Because I have a “rebuild cache” command that will literally just drop all the tables and rebuild everything in less than 60 seconds
#
[eddie]
It’s also nice because I can add “convenience” data in the database since it’s disposable. So I have a post_type field that is just a string field but it allows me to super easily grab all the posts of a specific type
#
[eddie]
it uses post-type discovery on a post whenever it is updated so that field always stays accurate, even if I change properties of a post and it’s type changes
[Vincent] joined the channel
#
[Vincent]
wow nice!
#
[Vincent]
I’m trying to decide if I ditch Jekyll and move to eleventy. Jekyll is not built for speed and my Webmentions server is Node. So I would rather work in 1 language than 2 if I can
KartikPrabhu joined the channel
#
[eddie]
Yeah, it’s tough because Jekyll is nice for static things and for simple small sites but as soon as you start wanting to filter or collect your posts in anyway, I found my jekyll really started getting bogged down.
#
petermolnar
"Jekyll is not build for speed" - no, it builds speed ;)
#
petermolnar
but I'm aware of the reuild-everything approach of jekyll
sebsel and [kevinmarks] joined the channel
#
[kevinmarks]
Try Hugo?
[jgmac1106] joined the channel
#
[jgmac1106]
[tonz] can you let [pfefferle] know how you did that in the WordPress channel or just do a PR?
#
[eddie]
hahaha I forgot when I was first testing my cache I was just using 2018 data to be safe. I just had it cache all my posts in the sqlite db now! It went from like 200kb to 2.5mb lol
#
Loqi
rofl
#
[jgmac1106]
[tonz], I will also test using SemPress without the h-card plugin...maybe it comes with a native u-uid h-card embedded in post and the h-card widget injects another
snarfed joined the channel
#
[eddie]
[cleverdevil] *sigh* Another Apple Rejection
#
[eddie]
They don’t like how I am offloading IndieAuth to the indiepaper.io website. I have to port my IndieAuth library code from Indigenous to Indiepaper
#
[eddie]
Which is something I wanted to do anyway, just didn’t want it to hold up the iOS app
#
sknebel
that's at least actionable feedback
#
[eddie]
It is definitely progress lol slow, but progress
snarfed1 and [cleverdevil] joined the channel
#
[cleverdevil]
Thanks for handling this [eddie] 🙂
#
[cleverdevil]
Let me know if/how I can help.
#
[eddie]
lol my pleasure! Thankfully moving the IndieAuth code from Indigenous into a library is something I’ve been needing to do for awhile
#
[eddie]
and it’ll benefit the community as a whole so at least something good comes out of this rejection
#
jacky
heard moving code from Indigenous to a library
#
jacky
remembers that [eddie] is talking iOS and :sobs:
#
[eddie]
haha 🙂
[manton] joined the channel
#
[manton]
[eddie] Does the new iOS app work with Micro.blog's Indiepaper support, by the way? If you haven't tested it, I'd love to try a TestFlight build.
#
[cleverdevil]
It should work just fine, [manton].
#
[cleverdevil]
But, it would be good to test to be sure.
#
[manton]
Cool. Happy to help test if you need it. (Also, sorry to hear about the rejections... App Store review can be a very frustrating process sometimes.)
#
aaronpk
Wow I'm surprised they care about doing auth that way
#
[manton]
I don't know the details, but I think opening a web browser to do anything gets extra attention, to make sure you aren't linking to accept payment outside the store, etc.
#
[manton]
If possible, I recommend adding a special account for Apple to auth with and provide instructions in the review notes to make it easy for them. That's what we do for Micro.blog.
#
aaronpk
Oh yeah
#
[cleverdevil]
All that work implementing IndieAuth on the indiepaper.io website for naught!
KartikPrabhu, [kevinmarks], calumryan, eli_oat and [eddie] joined the channel
#
[eddie]
Haha yeah, [manton] nailed it. They want me to use the in app browser to do the authentication, not open safari. But then the cookies are limited to the domain you request cookie support for, which means you have to know the user’s domain in advance, which then means you have to detect the authorization endpoint in the app
#
[eddie]
Yeah, I have a test micropub endpoint that is essentially a Micropub blackhole 🙂 You enter the url and it authenticates through indieauth and asks for a password that I provide Apple, and then it provides a test Microsub and Micropub endpoint. The Microsub endpoint follows a couple rss feeds and the Micropub endpoint just returns 200 to all micropub requests haha
#
[eddie]
[manton] The Apple rejections are actually at the TestFlight level, but I can either add you as an internal tester on the app if you are interested in testing Micro.blog sooner rather than later, or just let you know once I fix their concerns and re-submit
[cleverdevil] joined the channel
#
[cleverdevil]
Its all up on GitHub, too, and pretty easy to build 🙂
#
[eddie]
That too! lol
[manton] joined the channel
#
[manton]
Oh cool, I'll just build it then.
#
[cleverdevil]
(In hindsight, should have named the repo Indiepaper-Apple)
#
[cleverdevil]
Hmm... was thinking the other day that it might be fun to create a global Indieweb nicknames database service.
#
[cleverdevil]
IndieAuth with it, and then you can register your identities across platforms.
#
[cleverdevil]
Offer a nice searchable web UI and a minimal API.
#
[cleverdevil]
Is this a good idea? Bad idea?
snarfed joined the channel
#
snarfed
[cleverdevil]: my first instinct is, i'd like to see a survey of all of the silo APIs that let you search for users by web site/domain
#
snarfed
if it's enough of them, don't bother with storing anything yourself, just fan out requests to those APIs
#
[cleverdevil]
Ah, instead of making a registry, just have a service that can go out and query all around instead.
#
[cleverdevil]
Thing is: I'd like to be able to search backwards, too.
#
[cleverdevil]
From Twitter to domain, for example.
#
snarfed
that's easier, just a profile lookup
#
[cleverdevil]
But, that'd work too, actually.
#
[cleverdevil]
Good point.
#
snarfed
(if you store your own copy of all of this data, you then have to try to keep it in sync with all of the silos, which is a horrible tar pit)
#
snarfed
alternatively for domain => silo, just fetch the domain and look at rel-mes
#
[cleverdevil]
I wonder if I could just have it be that you always put in a domain.
#
[cleverdevil]
And it gives you the proper mappings for all of the rel-me links.
#
[cleverdevil]
(Including rewriting your post for syndication).
#
snarfed
at which point it's arguably just a little sugar on top of an mf2 parser
#
[cleverdevil]
That's precisely what it would be.
#
snarfed
ah, the rewriting, sure, that kind of wants CMS integration
#
[cleverdevil]
My goal would just to be to make that easier.
#
snarfed
but that gets very CMS specific. hard to do as a service. memories of https://snarfed.org/2015-11-29_keep-bridgy-publish-dumb
#
[cleverdevil]
Simply have the CMS send the content up to a service, and then get back a JSON structure for syndication to everywhere.
#
[cleverdevil]
Then, the CMS can decide what to do with it.
#
[cleverdevil]
Still, this seems increasingly like it may just belong in the CMS itself./
#
snarfed
maybe! hard to outsource CMS features to services and keep UX decent though
#
[cleverdevil]
Not a service...
#
[cleverdevil]
I guess I may just be avoiding writing PHP so I can get this in Known, haha.
#
sknebel
write a language that compiles to PHP, then write it in that language :P
#
[cleverdevil]
I have visions of writing something like "@{snarfed.org} Hello, there." and then having Known magically do the right thing for Twitter, Micro.blog, and microformats.
#
Loqi
[cleverdevil] has 39 karma in this channel over the last year (74 in all channels)
[jgmac1106] and snarfed joined the channel
#
gRegorLove_
sknebel++ lol
#
Loqi
sknebel has 25 karma in this channel over the last year (77 in all channels)
#
[jgmac1106]
I think [aaronpk] keeps a nick database or is playing with one. I was talking about the IndieWeb phone book as well, was wondering if you could just scrap the h-card of different users wiki pages...and if they had a u-url to a social service, or some way like you said to syndicate your h-card to a directory anyone could query
#
[jgmac1106]
[cleverdevil] you make the plugin I would be the second to install it
#
gRegorLove_
What is nicknames cache?
#
Loqi
A nicknames cache is a way indieweb sites store information about people to improve the user experience of the site owner referring, mention, and/or linking to those people https://indieweb.org/nicknames-cache
KartikPrabhu and snarfed joined the channel
#
aaronpk
Working on it
sebsel and [Vincent] joined the channel
#
[Vincent]
It feels like I would want to define my own nickname in my h-card. If it doesn’t exist, then fall back to my name for what is used. People have different handles/nicknames on various social networks that might be old, they would rather not be referred by.
[kevinmarks] joined the channel
#
[kevinmarks]
you can with p-nickname; for other social networks it would be in their h-card or in their url structure
[sebsel] joined the channel
#
[sebsel]
[Vincent] I see nicknames more as personal to the owner of the nicknames-cache. It’s what I like to call people, my own way of quickly typing their name
#
[Vincent]
[kevinmarks] thanks, somehow that one slipped me by
[cleverdevil] joined the channel
#
[cleverdevil]
So, that's not what I mean by nicknames.
#
[cleverdevil]
I mean "give me a map of a domain name to that user on other services and how to @-mention them on that platform"
#
[kevinmarks]
you mean autocomplete over your addressbook?
#
[Vincent]
[sebsel] that’s an interesting issue you have raised there. Who gets to decide what people are called if its “your” site.
#
[cleverdevil]
I want to be able to @-mention a domain name, and then when syndicating to target platforms, transforming the content to match the expected output.
#
[cleverdevil]
So, I could write "Hello, @{snarfed.org}" and syndicate to Twitter, and it would translate that to "[snarfed]" (or whatever appropriate).
#
sknebel
lol, the Slack-IRC bridge turned that @ into brackets :D
#
[cleverdevil]
Autocomplete would *also* be nice.
#
[kevinmarks]
as part of the social graph API at google (RIP) which crawled rel=me and rel=friend and FOAF, we also built https://github.com/webjay/sgNodeMapper which understood how to map between uid and nicknames and url for various social networks
#
Loqi
[webjay] sgNodeMapper: "The Social Graph Node Mapper is a community project to build a portable library to map social networking sites' URLs to and from a new canonical form (sgn:// URLs)." The project was originally hosted on Google Code.
#
gRegorLove
There's people's preferred nicknames, which they can advertise, then there's private, personal nicknames you might store for your own usage, e.g. "mom"
#
gRegorLove
There was recent talk of that, though I don't see it on /nicknames-cache
#
sknebel
I think the latter are also sometimes called "pet names", I think someone mentioned that in the SocialCG discussions a few times
#
[kevinmarks]
so you'd still need to map those to something on your local site
#
[sebsel]
I like the “mom” example!
#
[cleverdevil]
My thinking is that I'd write to the domain name, and then behind the scenes, my site would fetch the domain, parse for an h-card, and magically do the right thing.
#
[cleverdevil]
But, having an additional layer on top where I can define my own nicknames for certain domains would be nice too, I suppose.
#
gRegorLove
Ah right, pet names was the term
snarfed joined the channel
#
sknebel
what is pet name?
#
Loqi
It looks like we don't have a page for "pet name" yet. Would you like to create it? (Or just say "pet name is ____", a sentence describing the term)
#
[kevinmarks]
but you wouldn't want 'mom' or 'boo' or 'petal' showing up in your own post, woudl you?
#
sknebel
yes, it's internal
#
sknebel
hm, mostly spelled as one word actually
#
[kevinmarks]
so you still need a petname to local public name mapping as well as remote silo @'s
#
sknebel
although that could be just the "normal" name from the h-card, not a nick
#
[kevinmarks]
so an autocomplete across several of them could work
#
[kevinmarks]
noterlive has something a bit liek that
#
[kevinmarks]
as it pulls twitter nick, text name and URL
#
[kevinmarks]
makes buttons for each person
#
[kevinmarks]
and publishes one to twitter and the others to the HTML
#
[cleverdevil]
On my site, I'd likely always render it as an <a href="domain">Nickname</a>
#
sknebel
what is petname?
#
Loqi
It looks like we don't have a page for "petname" yet. Would you like to create it? (Or just say "petname is ____", a sentence describing the term)
#
[cleverdevil]
(Oh, I mean Pet Name, not Nickname)
#
sknebel
A petname is a local, typically private, nickname for a user, similar to how the entries in a phone's telephone book have user-defined names, e.g. "Mom".
#
GWG
sknebel, we could have a session on it
#
sknebel
nickname caches and related? sounds like an idea.
KartikPrabhu joined the channel
#
GWG
I have always wanted to add a contact list into my website that acted as a nicknames cache and if I added a carddav integration, it could sync to my phone
#
[kevinmarks]
If you want code for the autocomplete part, https://leaverou.github.io/awesomplete/ is great
#
sebsel
GWG yeah! And then let it fetch h-cards to keep the contactinfo up to date. Then people can update their own info in my phone's contactbook
#
sebsel
aka then my phone always knows Zegnat current weight
#
gRegorLove
"syncing Zegnat's h-card... your contactbook storage is now full"
KartikPrabhu, renem, snarfed, [tantek] and [kevinmarks] joined the channel