#dev 2019-10-31

2019-10-31 UTC
jeremycherfas, pierrebocDiscord, myfreeweb1, h2Discord[m], discord[m], CantiTurtleCoinD, benaszabDiscord[, AlekseyDiscord[m, M3baidDiscord[m4, hvergaraDiscord[, jwheelerDiscord[, fozzieDiscord[m], M}Discord[m], aaronpk[m], cwDiscord[m], johanherman[m], janttoDiscord[m], KubeDiscord[m], TryptophanDiscor, silent_ActivistD, AXEL-BrianDiscor, NatoBoramDiscord, gregjeanmartDisc, ddahlDiscord[m], r5723013Discord[, AxieDiscord[m], gozala[m], Clment[m], bengoDiscord[m], felixschlDiscor4, cwchristerwDisco, foxcoolDiscord[m, chmanieDiscord[m, buztedDiscord[m], LordFenixNCDisco, hubaDiscord[m], celsoDiscord[m]1, zcopleyDiscord[m, PamileissonDisco, cristobalDiscord, nijynotDiscord[m, ad87657Discord[m, hazDiscord[m], bushido711Discor, CarboClanCDiscor, M[AXEL]JulianDis, thatguyDiscord[m, tom85Discord[m], raulDiscord[m], leoalvarezhDisco, bekoDiscord[m], eshohetDiscord[m, nofwayyDiscord[m, test123Discord[m, cesarosumDiscord, aeddi[m], Kongaloosh, [chrisbergr] and SevenTwenty joined the channel
#
aaronpk
made some good progress on Shortcuts for posting photo albums to my site!
#
aaronpk
i have some photos from brighton i want to post but i'm trying to use this as an excuse to get my album posting workflow down
#
[chrisbergr]
Some days ago I thought about photo albums. One of my ideas was to post every image individually as photo post and than create an album like a collection of posts. So the album is just some other type containing only references. But I'm not sure if this is actually gonna be my way.
#
aaronpk
That's what I'm doing
#
aaronpk
it's how Flickr does it and I like that model
#
[chrisbergr]
Okay. if you combine this with tags, so that an album e.g. refers to a tag, the adding of additional photos would be super easy.
#
aaronpk
It's different than tags
#
aaronpk
Basically I'm trying to just copy Flickr here
#
[chrisbergr]
Yes, I guess I got what you're going for. In my thoughts I had considered either referencing the photo directly or a tag or a category. Or of course a combination of everything. But I'm still not sure if I really want to do it this way.
#
aaronpk
In my model the album is also a post, which happens to contain other posts which are photos
#
[chrisbergr]
Exactly the same. Only I would extend with: "other posts which are photos or other posts which are marked with the given tag"
#
[chrisbergr]
You got anything online yet?
#
aaronpk
i definitely don't want to use tags like that, it would be a giant mess
#
aaronpk
that's what my tag pages are for, being a giant mess of posts with a tag
#
aaronpk
my trip posts are using the same model of a post that contains other posts
#
[fluffy]
so yeah it looks like aperture doesn’t like me signing in as `https://beesbuzz.biz/` now
#
Loqi
fluffy
#
[fluffy]
got a big ol’ JSON blob with: “error_description”: “This token was issued to a different user”,
#
[fluffy]
I don’t actively use aperture except for testing some stuff so I’m fine with making a new user but… yikes?
#
aaronpk
that means the response aperture got when looking up the token at your token endpoint says it was issued to a different URL. i'm guessing because you logged in as http and your authorizaiton endpoint verifies it as http
#
aaronpk
this isn't aperture saying that your url changed, it's before that
#
[fluffy]
if I sign in to aperture directly it gives me a different microsub endpoint URL
#
[chrisbergr]
Yeah, it almost looks like it's a little redundant because of tag archives. The idea was to be able to mix different tags and images that don't have the tag.
#
[fluffy]
when I was logging in as http it gave me /microsub/330, and when I log in as https it gives em /microsub/424
#
aaronpk
[chrisbergr]: yeah i'm treating albums as explicitly adding things to a list
#
aaronpk
[fluffy]: that means your authorization endpoint is returning two different identity URLs (http and https)
#
[fluffy]
except it isn’t
#
aaronpk
this is from monocle?
#
aaronpk
what URL did you type in to monocle?
#
aaronpk
and what microsub endpoint does your website link to?
#
[fluffy]
My IndieAuth endpoint used to coerce my `me` to http, and now I changed it to coerce to https. On aperture if I sign in it gives me 424 regardless of whether I use http or https.
#
[fluffy]
in monocle I typed https://beesbuzz.biz/ and my website links to 330.
#
Loqi
fluffy
#
[chrisbergr]
Aaron: I think you're on the right path 🙂
#
[fluffy]
but the same thing happens if I use http on monocle.
#
aaronpk
[fluffy]: so it sounds like aperture is doing the right thing and using the URL your website is currently reporting as the authoritative URL
#
aaronpk
and monocle is doing the right thing, looking up your microsub endpoint (which happens to be for the old URL), and correctly normalizing your URL to the https URL
#
[fluffy]
yes. It used to report http as the identity URL, now it reports https as the identity URL.
#
aaronpk
so you changed your identity URL
#
[fluffy]
from http to https.
#
aaronpk
aperture does not handle account migration at all
#
[fluffy]
Right, I”m not surprised. I was just, like, verifying that this would be a problem.
#
aaronpk
i can fiddle it manually to switch them. your website will need to link to the new microsub endpoint too tho
#
[fluffy]
It’s not a huge deal for me right now, because I was only using aperture for test purposes and I don’t actually use IndieAuth for anything aside from signing into my own website right now 🙂
#
[fluffy]
Couldn’t the new endpoint be deleted and the old endpoint changed to point to the new URL?
#
aaronpk
yes that's what i mean by "I can fiddle it manually"
#
[fluffy]
It’s just that you said I”d need to link to the new endpoint if you do that
#
aaronpk
oh sure. i can do it either way
#
aaronpk
i'm just not prepared to make a way to do that self-service though. there are too many implications of automating it.
#
[fluffy]
yeah 😕
#
[fluffy]
Mostly this is an interesting experiment to see if there’s a use case for, like, coming up with an auth migration protocol of some sort.
#
[fluffy]
like declaring an equivalence set somehow, but doing that safely is hard
#
aaronpk
there definitely is, but that's also something that has implications for each system that's consuming the identity and they each may want to handle it slightly differently
#
[fluffy]
The way I opted to handle this in Publ is I can map multiple identities to be equivalent by just adding them as a group. It actually doesn’t distinguish between group names and usernames.
#
[fluffy]
but Publ also is solving a different set of permissions things than, say, Aperture.
#
[fluffy]
oh and that’s also why Twitter identities are in the form of twitter.com/username#userid - if someone changes their username I’d rather just manually update the username after verifying they’re the same person (based on userid), and I wouldn’t want someone to change usernames and then have someone else grab it and absorb their access.
#
aaronpk
heh clever
#
[fluffy]
Thanks, I thought so. It’s how I squared the circle of how twitter suggests that OAuth identities be mapped based on the twitter user ID but Authl really wants to map every identity to a URL. 🙂
#
[fluffy]
but Authl also doesn’t maintain “accounts” per se
#
[fluffy]
In an older design I was thinking I’d have a local account that people create and they could add multiple auth connections to it (like what Disqus does) but that seemed, like, hard. And also stateful. Two things I dislike. 🙂
#
aaronpk
yeah that gets weird too
#
aaronpk
some advantages, but some disadvantages
KartikPrabhu and [fluffy] joined the channel
#
[fluffy]
i wish ifttt actually supported websub
[Ramiro_Ruiz] and [grantcodes] joined the channel
#
[grantcodes]
[chrisbergr] see photo.postrchild.com for doing album posts exactly as you and aaronpk describe. There are a bunch of features your site needs to support for it to work though.
[chrisbergr] joined the channel
#
[chrisbergr]
[grantcodes] yes, this looks really good. But in my case I‘ll go with a mini WordPress plugin instead of Micropub
#
[chrisbergr]
Aaron: what will Happen with multi photo posts? Would you just ignore them (because you manually choose the images) or do you plan to include them?
#
[grantcodes]
Cool. Fwiw I also previously used tags to do it. I would have something like gallery-gallery-name and photos with gallery-gallery-name--photo to figure out where they belong
#
[chrisbergr]
Sounds like what I've been thinking about. But I do think that Aaron's point that tag archives would do the job is valid.
#
[chrisbergr]
Are your posts in https://grant.codes/category/gallery posted via postrchild PhotoPostr?
#
[chrisbergr]
And is it possible to access the images with their own post type photo kind of stuff url? e.g. just that funny NYPD car?
#
[chrisbergr]
Oh, yep it is 😄
#
[chrisbergr]
That works great, well done.
jeremycherfas, krychu, gxt, [Rose], [qubyte], [xavierroy] and asymptotically joined the channel
#
@aswath
↩️ (8/13) Next let us consider user identity. In the SIP world, the identity is SIP URI. We are free to define in #WebRTC world. My advice is to use a web-based id mechanism - like OpenID, OAuth, IndieAuth or Web ID.
(twitter.com/_/status/1189841395525324800)
[jgmac1106] joined the channel
#
Loqi
[J. Gregory McVerry] OpenEd19 Presentation "Opening the Syllabi in Higer Education
#
Loqi
[J. Gregory McVerry] OpenEd19 Presentation "Opening the Syllabi in Higer Education
#
[jgmac1106]
notes 3, 8 , 9 missing rel="canonical" really trying to nail down my design for threaded notes followed by a collection of everything in the thread
#
[jgmac1106]
is there a way to a link to a header to point to rel="alternate" for mf2 feeds that readers use now?
[KevinMarks] joined the channel
#
[KevinMarks]
[fluffy] you can link to the twitter intent by userid or username, and it has an hcard
ianfixesDiscord[ and SevenTwenty joined the channel
#
GWG
I was thinking about tantek and aaronpk... specifically their comments at different times about delayed posts
#
GWG
I am wondering if you delay a post, should it say it? How should it appear, published date or post date?
#
GWG
If I delay one post by a day and post another immediately, which should show up first in a feed view?
#
aaronpk
My thought for delayed posts is it's more like a pause button on my feeds than anything else
#
aaronpk
after the delay is turned off I want it to look like they were never delayed
#
GWG
otherwise it would be a scheduled post, I suppose
#
[KevinMarks]
Hm, there's dt-published and dt-updated. Previously we've assumed that dt-updated >= dt-published for revisions; setting published in the future was a cue for a deferred post. Could you use updated for the edit time and pubished for the publish time, or do you want to hide that by making them the same?
#
aaronpk
I'm really thinking of this more as delayed feeds than delayed posts
#
aaronpk
Especially because I do want the posts to send webmentions immediately still
#
[KevinMarks]
ah, so it's not a post-level setting at all.
#
aaronpk
Yeah I want to enable and disable it sitewide
jeremycherfas, [grantcodes] and [chrisbergr] joined the channel
#
[chrisbergr]
I don't understand the concept of this delayed feed at all. What is the usecase?
#
[KevinMarks]
Avoiding providing real time location info
#
[chrisbergr]
Ok, and for the memory it makes sense to have the right time afterwards anyway.
gxt, [Evan_Travers], [jgmac1106], KartikPrabhu and [Ramiro_Ruiz] joined the channel
#
[KevinMarks]
I just thought of a super lazy way to do html sanitization. Instead of putting the html inline, do <iframe sandbox srcdoc='{your html}' />
[tantek] joined the channel
#
[Evan_Travers]
so I’ve been reading a bit… I do a monthly post where I mention and comment on stuff that I read during the month. It doesn’t seem like a single `h-entry` should have all the `in-reply-to` like I have been doing… how do I politely mention folks and include my comment? Do I really need to be making separate posts for each one? (bad example here… http://evantravers.com/articles/2019/10/31/books-and-links-october/)
[snarfed] joined the channel
#
[snarfed]
KevinMarks++ lol
#
Loqi
KevinMarks has 15 karma in this channel over the last year (45 in all channels)
#
[snarfed]
[Evan_Travers] just linking to (ie "mentioning") them is probably fine. in-reply-to is only for if you're writing a direct reply. sounds like this is a broad round-up post instead
#
[Evan_Travers]
snarfed ++
#
Loqi
snarfed has 52 karma in this channel over the last year (96 in all channels)
gRegorLove and [Lewis_Cowles] joined the channel
#
@jgmac1106
↩️ Yeah @withknown my all time favorite CMS to use as an alternative to an LMS, we are building a course builder plugin and working on a webmention and #Openbadges plugin as well (second a stretch goal...we will get there). (https://quickthoughts.jgregorymcverry.com/s/21jkAs)
(twitter.com/_/status/1189946940894666753)
KartikPrabhu and [schmarty] joined the channel
#
j4y_funabashi[m]
Yay! I have just improved the location on my photos. I can now lookup the city, region and country when I add a photo
#
Loqi
😃
#
j4y_funabashi[m]
Either manually by searching for the address, or automatically based on the lat/lng in the photo exit data :)
#
j4y_funabashi[m]
And it shows up under the photo https://jay.funabashi.co.uk/
#
j4y_funabashi[m]
I have always saved the location of photos that have lat lng in the exif data as a geo URL so need to go back and geocode all those to human readable locations
#
j4y_funabashi[m]
But next step is to use foursquare to lookup venues as well
#
aaronpk
Ooh that's gonna be tough
#
aaronpk
doesn't work super wel in dense areas
#
j4y_funabashi[m]
Oh so the way it works at the moment is it geocodes the lat/lng and gives me a list to choose from before I post the photo
#
j4y_funabashi[m]
So I was thinking I can do the foursquare lookup after the geocode lookup and just add the venues to the list of choices
#
GWG
j4y_funabashi[m]: How do you save location in exif, workflow wise?
#
aaronpk
Ah cool
#
j4y_funabashi[m]
GWG my phone adds it automatically
#
GWG
Mine adds the location, but not any notes on it
#
j4y_funabashi[m]
Oh yeah my phone just adds the lat/lng then when I add the photo to a post in my admin UI the geocode lookup happens there
#
j4y_funabashi[m]
And for photos without geo exif data I have a search box
#
j4y_funabashi[m]
The majority of my 10+years of photos do not have geo data so this would be the normal workflow
#
j4y_funabashi[m]
Oops too long for irc
#
j4y_funabashi[m]
1 import photos from SD card to media server
#
j4y_funabashi[m]
2 add one or more photos to a post
#
j4y_funabashi[m]
3 Search for and add location
#
GWG
j4y_funabashi[m]: So you store the data in exif on loading into the admin ui or you store it in the post?
#
j4y_funabashi[m]
But when a photo has exif location I can skip the search for location part
#
j4y_funabashi[m]
GWG: I extract the exif location when I add the photo to my media server
#
j4y_funabashi[m]
Then I store it in the post when I publish
[snarfed] joined the channel
#
[snarfed]
(continued from #indieweb): i unfollowed everyone on twitter by downloading my archive, then: grep accountId following.js | cut '-d"' -f4 | xargs -n 1 -I %% twurl /1.1/friendships/destroy.json -d user_id=%%
#
j4y_funabashi[m]
GWG: does that make sense?
#
GWG
Yes, so same as me
[qubyte] joined the channel
#
j4y_funabashi[m]
GWG: do you do venue lookup as well as geocode?
[fluffy] joined the channel
#
[fluffy]
[KevinMarks] the intent based link might be better but this is for the purpose of a user ID for auth purposes and needs to be short and reasonably humane. At some point I might add a better user ID system to Authl but I wanted to keep it simple.
#
[fluffy]
Go to beesbuzz.biz/blog and try logging in under a number of different identities to see what I mean.
#
[fluffy]
It just presents the login identity URL as the username and that’s what the site owner used in granting permission.
#
[fluffy]
At some point I will probably switch to a pure numeric ID when I find the right docs on that, but only after I get around to passing along more profile information to Publ.
#
GWG
j4y_funabashi[m]: Not at this time
gxt, [tantek], [Bradley_Allen], KartikPrabhu, [manton], jbove, [jgmac1106] and [fluffy] joined the channel
#
[fluffy]
[Evan_Travers] FWIW I used to do the in-reply-to en-masse thing as well because I was similarly confused about its semantics. 🙂 I feel like there needs to be a quickstart guide that explains what the various microformats are intended for and maybe how it should affect other aspects of presentation, or at least analogies to what it’s intended to be.
#
[fluffy]
like after I understood that in-reply-to is literally intended to be like Twitter replies, where it appears only as a single direct reply to the recipient and not on my default public feed, it made a lot more sense.
[snarfed] joined the channel
#
[jgmac1106]
On my homepage I have an h-feed of my three latest articles. I was wondering how to encourage discovery of the full article feed
#
[jgmac1106]
Folks see any problem adding an h-entry that just points to the full h-feed?
#
[fluffy]
I think the suggested approach is <link rel=“feed”>
#
KartikPrabhu
yes, bridgy uses rel-feed
#
gRegorLove
Unless you're posting more than 3 articles in a short timeframe, the experience will be the same from a reader perspective, so subscribing to the homepage could work
#
gRegorLove
Exception being on initial subscription, I guess; if you prefer that to show say, 10 articles
gxt and [tantek] joined the channel
#
[tantek]
[fluffy] the meta lesson there is: be lazy. More specifically, no markup without a *specific* intended purpose. If you can't define that specific purpose, then don't add the markup. No "just to in general do the right thing" because you're likely doing the wrong thing and just don't know it.
#
[fluffy]
yeah, absolutely
#
[tantek]
This go against e.g. Google/SEO advice which is usually along the lines of "Schema all the things! We (Google) might find it handy in the future, so you (web dev) please do the work for us always even if we don't promise you anything!"
#
[tantek]
Also SEO advice to "meta tag all the things! somebody somewhere might still use it and might still help your SEO on some search engine somewhere so publish all the metacrap!"
#
[tantek]
You have to stand up and say NO
#
[tantek]
we've had similar problems with people doing "u-photo all the images!"
#
[tantek]
without actually asking why or having a specific intended impact / effect
KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
Ohh good point gRegorLove. I specifically don't do "articles" that often.... Though a distinction between "blog post" is only in my head