#dev 2020-01-24

2020-01-24 UTC
jjuran, lalilulelo and jeremycherfas joined the channel
#
@steveivy
Finished #webmention discovery in #goldfrog, all 23 discovery tests on https://webmention.rocks pass. :) (monkinetic txt-45b17fa)
(twitter.com/_/status/1220530389858414595)
lalilulelo, hold_on_fixing_l, jjuran, gRegorLove and KartikPrabhu joined the channel
#
GWG
Trying to think of how a site can delegate IndieAuth to a secondary site. Do I have to implement relmeauth?
#
jacky
I can see relmeauth being used
#
GWG
Trying to think of other ways. The scenario being one on the list I have of requests. Someone wants to have two WordPress sites, and use a single token and authentication endpoint. And I tie the endpoints into the install.
#
jacky
ooh that feels like a smell
#
jacky
like sharing _one_ token across two installs?
#
GWG
Token endpoint, not token
#
@chrisbiscardi
↩️ Nothing, comments are awful and have a mostly negative impact. Sometimes I use Webmentions at most, which basically shows twitter discussion. I built gatsby-plugin-webmentions for this
(twitter.com/_/status/1220570829622169601)
#
@chrisbiscardi
↩️ pull off webmentions you mean? The great thing about it is that if there are none, you can just *not show the section*.
(twitter.com/_/status/1220572015871975424)
[snarfed], [tantek] and [Michael_Beckwit joined the channel
#
Ruxton
GWG: what gets in the way of just setting the token endpoint to the other site? isn't that how people delegate to indieauth.com ?
#
GWG
Ruxton, it currently returns the URL of the user you logged in with, which is on a different domain.
#
GWG
So, I need to think about how it validates it is allowed to represent that URL
#
Ruxton
ahh yeah that makes sense, fun fun
#
GWG
I have to turn a local only endpoint into one that can be used remotely
KartikPrabhu, cweiske, [tantek], gRegorLove, [Marlin_Forbes], krychu, gxt and simons joined the channel; dee`1 left the channel
#
GWG
This will also allow autoauth...
#
GWG
Wait...
[tantek] joined the channel
#
[tantek]
Oh dear, Gandi.net criticism
#
[tantek]
what is gandi
#
[tantek]
(thread)
#
Loqi
It looks like we don't have a page for "gandi" yet. Would you like to create it? (Or just say "gandi is ____", a sentence describing the term)
#
@andreaganduglia
So you have lost out data and distrupt our services and now it's our job recover from backups? Are snapshots available? @gandi_net @gandibar @gandinoc https://pbs.twimg.com/media/EN1BKh2WkAI4Y4O.jpg
(twitter.com/_/status/1215199147701231616)
#
GWG
But in autoauth, the me parameter cannot change...hmmm..
#
[tantek]
personal-domain << More criticism (see whole reply-context thread up) of Gandi.net poor handling of snapshot backups and how they responded: https://twitter.com/andreaganduglia/status/1215290652742823936
#
@andreaganduglia
@StephanGandi @gandi_net @gandibar @gandinoc @champitoad You wrote in clear words that snapshots are backups. Today we find out that you keep backups on the same data filer (don't do that it's an industry wide knowledge). I have my data backups, but without snapshots I have to face the manually reinstall of all my VPS on that filer. https://pbs.twimg.com/media/EN2UZ6TX4AAMe-H.png
(twitter.com/_/status/1215290652742823936)
#
Loqi
ok, I added "More criticism (see whole reply-context thread up) of Gandi.net poor handling of snapshot backups and how they responded: https://twitter.com/andreaganduglia/status/1215290652742823936" to the "See Also" section of /personal-domain https://indieweb.org/wiki/index.php?diff=68009&oldid=68008
#
[tantek]
TBH that's enough for me to not recommend them for any webhosting, and if that's how their customer service works, it makes me question sending anyone to them for DNS registration too
#
[tantek]
Anyone here using Gandi for their personal domain(s)?
[calumryan], mattl and [Rose] joined the channel
#
[Rose]
I use them via Route53 for one domain.
#
[Rose]
But I do just mean the DNS part, hosting for that is done on Amazon S3.
simons, [LewisCowles], [jgmac1106], swentel, krychu, [schmarty], superkuh, [Marlin_Forbes], [Rose] and KartikPrabhu joined the channel
#
aaronpk
I've registered some domains there but tbh I didn't even know they had hosting services
#
wink
I had one at gandi, until a few months ago. I loved their old DNS interface, the new one was meh.
#
@sarah_edo
All I want for Christmas is to see only the tweets from people I follow, and nothing more
(twitter.com/_/status/1220570131178196994)
#
jeremycherfas
I used to have everything at Gandi, but over the past few years I moved away for just such reasons (except that they never lost my snapshots).
#
[tantek]
what is business model
#
Loqi
business models are ways to offer indieweb products and or services that users pay for both for their own benefit, and in support an open indie web https://indieweb.org/business-model
#
Loqi
ok, I added "https://twitter.com/sarah_edo/status/1220592167971782656 for https://twitter.com/sarah_edo/status/1220570131178196994" to the "See Also" section of /business-models https://indieweb.org/wiki/index.php?diff=68028&oldid=63591
jimpick, [KevinMarks] and [schmarty] joined the channel
#
Loqi
[Jamie Tanna] #IndieWeb folks using Indigenous for Android (https://indigenous.realize.be/) or at least allowing a Geo URI (geo:51.501476,-0.140634) on their #Micropub endpoint - do you attempt to remap that longitude / latitude ref to a place, or do you currently...
#
swentel
jamietanna[m], I currently don't do much it yet, I just store it. I do use the q=geo query option to get suggestions for places though
#
aaronpk
jamietanna[m]: i have, i would say, a lot of experience with this, and trying to do any sort of automatic venue detection is going to be mildly successful at best, and only in the most ideal circumstances
#
swentel
jamietanna[m], but in the future, the idea is to have a map with all checkins/geocaches/other post kinds and put markers on them
#
jamietanna[m]
Swentel thanks, good to know 🙃
#
aaronpk
if you live in a low-density area where venues are spaced out 50-100 meters, then it's pretty straightforward to map a lat/lng to a place. but as soon as you get into cities, it falls apart very quickly
#
aaronpk
the location reported by phones isn't always super accurate, so the dot might show you across the street. not to mention buildings with multiple floors.
#
jamietanna[m]
That makes sense. I seem to remember Quill allows checking into an actual place for that reason?
#
aaronpk
no i dont have any checkin interface in quill
#
aaronpk
but other micropub apps do!
#
swentel
it makes me wonder if should keep looking for ways to render markers on a map or not
#
swentel
(for the tracker in indigenous)
#
swentel
tried using atlas, but usually don't see an actual map
#
swentel
but even then, if the map would render, it probably won't really render nicely say, following the streets I walked :)
#
aaronpk
what do you mean you don't see a map?
#
swentel
aaronpk, e.g. http://atlas.p3k.io/assets/sample-map.png you see the marker and then the streets here. Why I try, I often see nothing.
#
swentel
not sure because that's I'm located in belgium hehe
#
swentel
*if that's
#
swentel
*if that's because
#
swentel
djee, my typing is horrible today
#
aaronpk
you could try a different base map
#
aaronpk
I know that one works in some places outside the US but map data is one of those things that varies wildly due to licensing and stuff
[LewisCowles] joined the channel
#
aaronpk
If by "nothing" you mean like not even a blank image of the size requested, that might be a bug, so file an issue with a sample url that causes it
#
swentel
aaronpk, oh, no, so, I see the marker (or the path when passing multiple markers), and an image, just no streets etc
#
swentel
but I'm going to experiment with the Here SDK for android
#
swentel
it allows for quite some requests in the free tier
#
swentel
and I'm guessing not many people actually use the tracker at the moment :)
#
aaronpk
probably better to use either the built in maps on android or a real SDK for it anyway
#
swentel
I should update /trip as Indigenous can post that now
#
swentel
and drupal understands it
#
aaronpk
Oh wow
#
swentel
aaronpk, see https://twitter.com/swentel/status/1211734731391406081 (it has a screenshot of the path too coming from atlas) :)
#
@swentel
First experiment using a minimal GPS tracker in Indigenous: track your itinerary and post it as a trip to your micropub endpoint. Next up is adding better default intervals depending on type and a nicer preview of the trip itself (tips welcome). #indieweb #location https://pbs.twimg.com/media/ENDyTzrXkAAxD4I.jpg
(twitter.com/_/status/1211734731391406081)
#
aaronpk
oh "map data not available"
#
aaronpk
Yeah if you try different tiles it'll probably work. There's a handful of them defined with short url parameters in atlas
#
swentel
I'll try
#
swentel
it's been fun writing this part already
#
swentel
added screenshot on the indigenous page too
#
swentel
I've been thinking to maybe contact Eddie too to get the iOS version going again, but I first need to get my hands on a Mac ;)
myfreeweb, [snarfed] and [jgmac1106] joined the channel
#
[jgmac1106]
swentel my goal would be if I have tracker active I could pin a post or photo (syndicate) to the tracker, I know trackbook wants to stay so simple and will never allow pinning
#
[jgmac1106]
So currently I have to do this manually after the fact by finding time and/or gps coordinates of a post and picture and then add to gpx after.....only did it once...too much
gRegorLove joined the channel
#
[snarfed]
is finally adding a "closed to new users" warning to https://twitter-atom.appspot.com/ due to twitter now requiring review for API keys
#
[snarfed]
has been waiting for them to announce that they're turning off old unapproved API keys, including bridgy and granary. head in the sand, mostly. no clue what to do about that yet 😐
#
jacky
ugh I hate that part so much
#
[snarfed]
from https://developer.twitter.com/en/application/rejected : "Thank you for your interest in the Twitter developer platform. Based on our review of your use case, we are unable to approve your developer application at this time...We don’t currently allow you to appeal this decision."
#
[schmarty]
"we are unable"
#
[schmarty]
must be hard for them
#
[schmarty]
haha let me not play that off with sarcasm. that kind of language is infuriating and dismissive.
#
jacky
[schmarty]: _extremely_ so
#
jacky
like no pointers on how to improve
#
jacky
just "gtfo"
#
[snarfed]
easy there, that was just a snippet, there's lots more detail and links to the policies
#
[jgmac1106]
Just poke fun at projectbluesky at that point snarfed...
#
[jgmac1106]
We could document successful wording that has worked for people
#
[jgmac1106]
I assume end is near as well..the review is automated need to learn trigger words
#
[snarfed]
i'm not saying twitter is bad or wrong here. i just expect granary/bridgy aren't the kind of apps they want, and don't comply with their policies, and i don't know if i'll be able to get around that
#
jacky
nah like
#
jacky
if they reject something
#
jacky
there's _def_ a reason
lalilulelo joined the channel
#
jacky
they can include it in on that page since they use js;dr everywhere else
[AlisonW] joined the channel
#
jacky
tbh I hope the issue is just the display requirements lol
#
[snarfed]
eh we'll see. twitter is not the most...effective company, and they added these req'ts literally a year and a half ago, https://blog.twitter.com/developer/en_us/topics/tools/2018/new-developer-requirements-to-protect-our-platform.html , and haven't turned off grandfathered-in apps yet, so who knows
#
[jgmac1106]
You don't think the bots do any kind of language analysis? Also adds difficulty to non native speakers
#
jacky
yeah like I still got some apps whose creds work
#
jacky
just hoping for better
#
[jgmac1106]
I know it took couple tries to get Sadiks app approved for Known... We would get rejected, write different app and apply again
#
[snarfed]
yeah, the API use case for POSSE is very different, and more ok w/them, than backfeed
#
[jgmac1106]
Ohh yeah pulling out and displaying content people shared on Twitter without using their embeds... Privacy... I gave Twitter not snarfed permission...
#
[jgmac1106]
I think with threaderapp it was displaying @ usernames and linking to profiles
strugee joined the channel
#
[KevinMarks]
Right, if you built the thing Sarah Edo was asking for upstream they'd block your api key.
[manton] joined the channel
#
jamietanna[m]
Re the longitude / latitude convo earlier - looks like Jeremy Keith stores it but let's OpenStreetMap translate it https://adactio.com/notes/16345
#
Loqi
[Jeremy Keith] Every day!
#
Loqi
[Jamie Tanna] What are folks using for free/low cost notifications for personal projects? I know https://indigenous.realize.be uses https://pushy.me and until now I've used https://pushbullet.com, but given https://www.jvt.me/mf2/2020/01/yelaf/ I may need to repla...
#
jacky
jamietanna[m]: I've been tempted to set this up by hand using my server's current resources
#
GWG
I use Pushover
sivy joined the channel
#
sivy
ahoy
#
[schmarty]
woohoo, thanks!
#
sivy
/nod
#
[schmarty]
sivy: my incoming webmention handler stores posts in the filesystem as Jekyll- and Hugo- compatible JSON files
#
sivy
json?
#
sivy
this is new to me
#
sivy
I only know markdown+yaml frontmatter
#
sivy
do tell
#
[schmarty]
both Jekyll and Hugo support much more general "data" folder layouts.
#
[schmarty]
in Jekyll under _data/ and Hugo under data/
#
[schmarty]
that's the one!
#
sivy
would love to hear more about your implmentation
#
sivy
did you write your own software, or build on jekyll/hugo?
#
sivy
i like the json idea
#
[schmarty]
i may have gone a liiiittle bit overboard in how i built it, but essentially i store a data file per incoming webmention. the filename is a hash of the URL that sent the webmention, so that also becomes the lookup key under site.data.webmentions.mentions[HASH].
#
[schmarty]
the receiver makes note of the target on my end and i have an index that maps my posts's path to a list of hashes
#
sivy
interesting
#
sivy
do you mix comments/webmentions?
#
sivy
or pure WM
#
[schmarty]
i have some template logic that then renders those by looking up any entries in the webmention index for the current page's path and loading and rendering each one.
#
[schmarty]
i keep them fairly separate as i haven't had native comments on my site in a while.
#
sivy
i’m thinking one mentions file per post
#
[schmarty]
oh and to answer your earlier question - my webmention-catching service is separate from Hugo. the service manages the entries in data/webmention_io/
#
sivy
yeah i don’t have much use for comments
#
[schmarty]
and whenever my site rebuilds, Hugo finds them there as needed.
#
sivy
interesting
#
sivy
how do you sync the data from the FS to github or?
#
[schmarty]
there's more info about my webmention catcher here: https://indieweb.org/Morris
#
superkuh
[schmarty], do you limit file size or aggregate space used any way?
#
superkuh
I also store webmentions to disk but limit each to <8KB and <1GB per day using logrotate and nginx config for message body size.
#
[schmarty]
haha, so, i don't sync or save the incoming webmentions to git at this point. 😅
#
[schmarty]
they just live in the filesystem of the server that my site builder runs on.
#
superkuh
Right, so anyone spamming POST could DoS that box?
#
sivy
ah!
#
jamietanna[m]
Schmarty I'm also using JSON format for my files in `content/` in Hugo - makes it easier to publish indie post types from something automated
#
[schmarty]
superkuh: i only store one copy of any webmention per source URL. so i can get notified about it as many times as they want, but it won't save any new data.
#
sivy
[schmarty]: do you ahve the json file format documented somewhere?
#
jamietanna[m]
GWG interesting, looks OK for pricing - $5/device and 7500 requests a month. Much better than the 100 I get currently with PushBullef
#
superkuh
Ah, okay. That probably mitigates most situations.
#
[schmarty]
superkuh: it could still definitely be abused with do-nothing URL changes.
#
sivy
(happy that Go has nice struct <-> json mappings :)
#
[schmarty]
oh another wrinkle is that i did not want to handle all the webmention verification, so Morris is actually a webhook receiver for webmention.io 😬
#
[schmarty]
that bit could be swapped out if you were doing your own handling.
#
sivy
i think I’m going to write my own receiver/verifier
#
sivy
but I like the json contant idea
#
sivy
got a sample?
#
[schmarty]
sivy: webmention.io sends a "jf2" format payload with some details it was able to intuit about the webmention. aaronpk has a doc'd example somewhere on the site that i'm trying to find now.
#
[schmarty]
heh this is a bit roundabout, but the payload looks like this: https://github.com/aaronpk/webmention.io/blob/master/views/webhooks.erb#L37
#
Loqi
[aaronpk] webmention.io: Easily enable webmentions and pingbacks on any web page
#
[schmarty]
ooh, yes! that .jf2 is the same format.
#
sivy
i wonder if i could use that to find any old webmentions from when i was using wm.io
#
sivy
could be useful
#
sivy
like that format though
#
[schmarty]
sivy: yep! i wrote a script to grab all the mentions that webmention.io knows about my site: https://github.com/martymcguire/morris/blob/master/refresh.php
#
sivy
nice
#
[schmarty]
if i had to do this over again, i've been thinking of ways to make it work in hosted-but-politely-cached build environments like netlify.
#
[schmarty]
i'd probably have the build script run some version of that refresh script, paging back through all mentions until it finds that it's overwriting cached ones. that way a fresh build will get them all, but it won't abuse wm.io by pulling them all every build (😱)
#
jamietanna[m]
<[schmarty] "i'd probably have the build scri"> I gave up doing it statically as I wanted the webmentions to appear as soon as they were received, and my site didn't rebuild that often back then https://www.jvt.me/posts/2019/06/30/client-side-webmentions/
#
Loqi
[Jamie Tanna] Rendering Webmentions using Client Side JavaScript
[LewisCowles], Giske, chrisaldrich and [KevinMarks] joined the channel
#
[KevinMarks]
I made mention.tech return the same format - that's in python so may be a little closer to Go if you want code to look at
#
jamietanna[m]
!tell aaronpk is there anything I can do to help https://github.com/aaronpk/XRay/issues/94 get verified and merged? Would be awesome to start Microsub'ing to all the Meetup.com events I'm part of
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[jamietanna] #94 Add support for parsing MF2 JSON
#
aaronpk
i forgot about that sorry
#
aaronpk
jamietanna[m]: what's the difference between your two test files there? the names don't give me any indication
#
jamietanna[m]
Hey good point, I think it's a bug in the impl, one of them should have a different content-type
#
aaronpk
ah. they both have: application/mf2+json;charset=UTF-8
#
jamietanna[m]
I won't have my laptop until tomorrow evening to fix it if that's OK? Otherwise can edit in GitHub UI
#
aaronpk
what should it be?
#
jamietanna[m]
Also do you have any preference for what to name the files? (happy to move to the PR if preferred)
#
jamietanna[m]
One should be that, the other `application/microformats2+json`
#
aaronpk
ah k. i don't see code that would recognize that one tho
#
jamietanna[m]
Agreed, looks like I need to expand the `if` statement I've added, as tests will then start to fail as it won't match it
#
jamietanna[m]
Cool I'll correct them tomorrow then give you a shout - sorry I didn't spot them before now
#
aaronpk
ok cool!