#dev 2019-06-30

2019-06-30 UTC
jgmac1106, mblaney, [anomalily] and valuemachine joined the channel
valuemachine, eli_oat and [michellejl] joined the channel
#
Loqi
[mJordan] 2018: Year in Review
gRegorLove, valuemachine, eli_oat1, eli_oat, [fluffy], [cleverdevil], [gRegorLove], [Andi], omz13, [tmiller], [jackjamieson], chrisaldrich, [anomalily], omz13_, omz13[m], [jgmac1106], [tantek], treora, [aaronpk], tbbrown, mblaney, [jeremycherfas], [frank], [infominer] and [Rose] joined the channel
#
chrisaldrich
It's finally happened! After more than a decade of posting to my site, and a lot more posting in the last 5 years, I've exceeded the 1024mb alloted by my host for my mySQL database!
#
chrisaldrich
Now I've got to find out if I can increase the size or how one handles this issue. Anyone else ever done this?
#
GWG
You'd have to ask the host
#
chrisaldrich
It's a shared server on 1&1 @pfefferle 's home....
#
chrisaldrich
Sounds like they have a 1024mb max for shared hosting and I'll need to get and manage my own hosting to get it working...
#
chrisaldrich
admin tax I don't really want to support....
#
chrisaldrich
The worst part is that I can't even log into the site at the moment to clean out my spam folder to get under the limit.
#
chrisaldrich
GWG, If I manually delete spam out of the comment portion of the db, does it also remove the related comment meta?
#
GWG
It should. Although there are plugins that clean orphan data
#
chrisaldrich
I'd use a plugin if I could log into the site and install one, sadly....
chris4 joined the channel
#
chrisaldrich
Actually a quick test indicates that if I manually use phpmyadmin to delete a comment, it doesn't automatically take the associated comment meta with it
#
GWG
Money seems the only solution
#
chrisaldrich
I don't mind money, but wish I had a better indicator that I was coming up against this issue.
#
GWG
Ask the provider for a temporary raise?
#
chrisaldrich
Sadly they're unable to do that...
#
GWG
Shame
#
chrisaldrich
If they could I think they could then give a permanent raise.
[Chris_Ede] and [infominer] joined the channel
#
[infominer]
I'm so happy I figured out twitter cards for hugo.. and understand site vs page variables a bit better
#
[infominer]
I'm also learning bootstrap for a different site
#
[infominer]
the newb joy is strong w me, when overcoming even the smallest obstacles ๐Ÿ™‚
omz13_ joined the channel
#
Zegnat
That's just the joy of having your own site!
[Micah_Silverman, [jeremycherfas], jeremych_, gRegorLove, mapkyca, Akshay[m]1, cesarosum[m] and [infominer] joined the channel
#
[infominer]
yes, or in my case, like 10 of them ๐Ÿคฃ
KartikPrabhu, gRegorLove, [jgmac1106] and omz13 joined the channel
#
[jgmac1106]
Ouch Chris. Pick a provider with no or bigger limits... I keep teetering on a paid upgrade as I am about to surpass 10 gigs
omz13 and [kevinmarks786] joined the channel; omz13_ left the channel
#
jeremycherfas
What is e-content
#
Loqi
It looks like we don't have a page for "e-content" yet. Would you like to create it?_n (Or just say "e-content is ____", a sentence describing the term)
gorhgorh[m]2 joined the channel
#
Loqi
[mJordan] That Time I Started Calling Myself Jordan
rklaehn[m]1 joined the channel
#
[jgmac1106]
Jordan checked out a few of your posts. Loon kike we got you all proper. Should add yourself to the Gatsby page
#
jeremycherfas
Can p-summary be nested in e-content?
prtfw[m], maparent[m] and valuemachine joined the channel
#
sknebel
jeremycherfas: sure
#
jeremycherfas
Cool. Thanks. Likewise, I expect h-review can be nested in h-entry?
#
sknebel
parsers will parse it, no idea what consumers do there (tbh, don't know much consuming h-review at all)
#
jeremycherfas
I'll take a look.
#
sknebel
(in the case of nested properties, nothing outside the parser sees that. whereas nested h- objects will produce a nested output from the parser, which the consumer then needs to handle)
#
[jgmac1106]
I could see you doing a collection of reviews nested in an h-entry.. Is there anyone consuming h-reviews beyond readers?
[tonz] joined the channel
#
Zegnat
I am not sure why I would nest a *collection* within an *entry*
#
[jgmac1106]
I meant the collection woukd be the nest as in "my five best books of 2019" as an h-entry and then five h-reviews
#
jeremycherfas
Yeah, me netiher. If it were a collection I'd be tempted to make it h-feed, if anything.
#
jeremycherfas
In any case, I have given up trying to scratch a particular itch, because I reckon a higher priority is to update my theme to be based on the newish Grav default theme. Once it is looking right, locally, I can make sure mf2 is OK too.
#
[jgmac1106]
I woukd say h-feed IF you plan on adding more reviews but if the postvis a collection of reviews then they would be nested in an h-entry
#
jeremycherfas
Yup. I misunderstood what you were meaning.
#
[jgmac1106]
I do serialized content that way... Notvthat any consumer does anything with it
leg joined the channel
#
[jgmac1106]
But awesome if you update newest Grav theme!!
#
jeremycherfas
It will be complex, as my current child theme is already heavily customised. So I plan to copy Quark locally and work on it from time to time until I am happy enough to go live.
#
jeremycherfas
I also saw someone in the Grav forum mention something called October CMS which seems very similar in principle. But it uses a database.
chris[m]17 joined the channel
#
Zegnat
October CMS is basically Grav-on-Laravel, I think
#
Zegnat
A CMS mostly for developers to build a site with, and then hand over to others to just have to manage. But using Laravel for database connections, libraries, etc.
#
jeremycherfas
Right. And because I don't know enough about the benefits that Laravel confers, I can't say why it would be worth switching.
#
jeremycherfas
In other news, just looking at the twig templates, there is already a fair bit of mf2 in the Quark theme.
#
jeremycherfas
The partials are definitely a lot more numerous than in Antimatter, but each is simpler, so I'm thinking it could well be simpler to customise.
nekr0z, [jgmac1106], [aaronpk], [tmiller] and [fluffy] joined the channel
#
[fluffy]
Anyone here ever work with signed URLs, ideally specifically with Flask? I want to use them to implement my magic sign-on links but Iโ€™m having trouble finding a good implementation and Iโ€™d rather not have to do it myself because Iโ€™m not sure I can do it correctly. https://stackoverflow.com/questions/56825446/signing-and-validating-urls-with-flask
[Vanessa] and [Jamey_Sharp] joined the channel
#
[Jamey_Sharp]
[fluffy] Looking at the `ska` docs: 1) I'm concerned that they describe what they're doing as "encryption" when there does not appear to be any encryption involved, only signing; 2) Can you use `signature_to_dict` instead of `sign_url` to get what you want?
#
[fluffy]
Yeah Iโ€™m not at all interested in ska, just like based on my smoke tests showing that even if itโ€™s well-implemented their API is not gret.
#
[Jamey_Sharp]
Considering hmac and the appropriate hashes are in the Python standard library I'm not sure you really need an additional package anyway...
#
[fluffy]
anyway `signature_to_dict` kiiiindasorta could work I guess? but Iโ€™m concerned about not using it right if I roll my own.
#
[fluffy]
Yeah HMAC is in the standard library, but not a mechanism for correctly signing and validating the signature of a URL
#
[fluffy]
the HMAC-specific part is easy, itโ€™s most the URL wrangling Iโ€™m worried about.
#
@jackjamieson
Iโ€™m having a great time at @IndieWebSummit. Today is hack day. Not sure exactly what Iโ€™ll work on but Iโ€™m thinking of adding the option to generate follow posts from Yarns Microsub Server. When you follow a feed, Yarns could automatically create a followโ€ฆ https://jackjamieson.net/?p=14256
(twitter.com/_/status/1145351585515692032)
[tantek] joined the channel
#
[fluffy]
The easiest approach would be to just not support a query string, in which case the signing and validation become incredibly straightforward. But Iโ€™d like to be able to support query strings too.
#
[Jamey_Sharp]
I may not be understanding what you're trying to do. Do you want to allow arbitrary URLs in your site to optionally have an authorization token attached to them, and the problem is that the base URL might already have a query string?
#
[fluffy]
like for a login callback (for an emailed magic link), http://example.com/login/user@example.com/12345678?s=HMAC_GOES_HERE is straightforward-ish (12345678 being the expiration timestamp)
#
[fluffy]
thatโ€™s the other thing, Iโ€™d like whatever wraps this to have the expiration be added to the URL automatically
#
[Jamey_Sharp]
There's a lot you can do with the combination of `parse_qsl` and `urlencode` from `urllib.parse`, if that helps...?
#
[fluffy]
yeah I am well aware of urllib.parse stuff, I was just hoping to not have to implement this stuff myself and just use an existing library, ideally one thatโ€™s suited to Flask.
#
[fluffy]
Iโ€™m always wary of roll-your-own solutions especially for โ€œeasyโ€ stuff where authentication is involved.
#
[Jamey_Sharp]
The code I've used (on the Outreachy web site) for email-activation account registration is Django-specific but I'll throw the link here anyway in case it's helpful: https://github.com/ubernostrum/django-registration/blob/3.0.1/src/django_registration/backends/activation/views.py
tbbrown joined the channel
#
[fluffy]
Ooh, Iโ€™ll take a look at that, thanks
#
[Jamey_Sharp]
That project also has a security guide you might find helpful: https://django-registration.readthedocs.io/en/3.0.1/security.html
gRegorLove joined the channel
#
[Jamey_Sharp]
I guess the Django signing API is important too if you want to understand the django-registration implementation: https://docs.djangoproject.com/en/2.2/topics/signing/
[gRegorLove], jeremych_ and valuemachine joined the channel
#
gRegorLove
Zegnat, mblaney and I were talking last night about possibly doing some AutoAuth stuff today. Minimal like the www-authenticate and maybe token request
[grantcodes], [schmarty], [jgmac1106], [snarfed], [mapkyca], [cleverdevil], valuemachine, [jackjamieson], [jeanmacdonald] and [davidmead] joined the channel
gRegorLove joined the channel
#
Loqi
[Greg McVerry] listening to a great #history podcast
#
Loqi
[Greg McVerry] listening to a great #history podcast
tbbrown, gRegorLove_ and mblaney joined the channel
#
Zegnat
gRegorLove, sebsel worked on building an autoauth compatible token endpoint today
#
Zegnat
Interesting insights. May lead to some issues on the spec again
#
[schmarty]
[aaronpk] possible improvement for your site today, seeing some odd CSS on this colorful-background post: https://aaronparecki.com/2018/09/29/13/
#
Loqi
[Aaron Parecki] This is a demo for IndieWebCamp NYC! If you look at this post on my website, it will have a colored background!
j12t and [aaronpk] joined the channel
#
[aaronpk]
Nice find
[anomalily], [Rose] and valuemachine joined the channel
valuemachine and [tantek] joined the channel
#
[tantek]
what is discovery
#
Loqi
Discovery is a variety of methods for finding content, websites, communities, or people to follow on the web including search, directories, recommendation engines, tags, or other serendipitous methods https://indieweb.org/discovery
#
[tantek]
what is friend
#
Loqi
friending (AKA add friend or the verb to friend) is a general term applied to the various silo user interactions with sites regarding reciprocal friendship https://indieweb.org/friend
#
[tantek]
what is following
#
Loqi
follow is a common feature (and often UI button) in silo UIs (like Twitter) that adds updates from that profile (typically a person) to the stream shown in an integrated reader, and sometimes creates a follow post either in the follower's stream ("โ€ฆ followed โ€ฆ" or "โ€ฆ is following โ€ฆ") thus visible to their followers, and/or in the notifications of the user being followed ("โ€ฆ followed you") https://indieweb.org/following
kitt, Maxwell, mapkyca, [snarfed] and [infominer] joined the channel
#
[tantek]
welcome [kitt]!
[kitt] joined the channel
#
[kitt]
thanks, [tantek]! ๐Ÿ™‚
#
jmac
[snarfed]: My site does forward HTTP->HTTPS, and I think the failure isn't happening on verification... it's because my blog software sees the WM targeting something in http://fogknife.com in its inbox, and it says "I only care about https://fogknife.com, I have no idea what this garbage is" and doesn't even get as far as verification
#
jmac
I bet the verification would work if I tried. I'll dig in later
#
[snarfed]
jmac: right, your site is implementing verification, and it's checking scheme strictly. you can loosen it!
#
jmac
I bet my software is too stupid to do that but I can smarten it up. So long as that's within the law, I'd be happy to
gkbrk, gRegorLove_, j12t and [Dave_Peck] joined the channel
#
[Dave_Peck]
Do any microformats parsers support the `hAudio` format proposal (http://microformats.org/wiki/haudio)? I tried both `php.microformats.io` and also `mf2py` but they donโ€™t _seem_ to support it (and/or my markup is no good).
#
[snarfed]
[Dave_Peck] sounds like that's mf1. the mf2 property is u-audio (and u-video, etc)
#
Loqi
[tantek] #6 u-audio proposed->draft bc 2+ publishers and 1 consuming impls/sites
#
[Dave_Peck]
[snarfed] Thanks. I donโ€™t see much detail about `u-audio` on the microformats wiki besides a mention in a โ€œbrainstormingโ€ section.
#
[Dave_Peck]
Even just an example would be nice to see.
#
[Dave_Peck]
(As for mf1 vs mf2: ah, good to know. Iโ€™m new to microformats; _now_ I know how to distinguish between them, but it might be nice if the wiki explicitly called this out.)
#
[Dave_Peck]
ah, perfect. thanks!
#
[snarfed]
like many standards processes, mf2 is slow to formalize new properties. lots like this are used and interoperable for years before they're officially adopted. i think that's intentional
#
[snarfed]
hey aaronpk are aperture and your site the only clients of watchtower right now? at least your instance?
#
[snarfed]
aperture's user agent seems to be watchtower, and i' considering blocking it in bridgy, but i'd ideally only like to block aperture
#
GWG
I think we're behind on approving draft properties
#
[snarfed]
GWG yeah that issue ^ is 2y old ๐Ÿ˜†
#
[snarfed]
could be your summit project for today!
#
Loqi
[tantek] #5 u-video draft->core bc way more than 3+ pub and consuming impls/sites
[aaronpk] joined the channel
#
[aaronpk]
[snarfed] is aperture doing something wrong? why do you want to block it?
#
[snarfed]
[aaronpk] good q. i probably don't, just researching. people occasionally subscribe to their user pages in it, but that use case doesn't make sense and isn't one i really intend bridgy to support
#
[aaronpk]
oh funny. are there microformats on the user pages?
#
[snarfed]
and generates a small amount of load, not individually but collectively maybe eventually
#
[aaronpk]
i guess then the question is why are there microformats if you don't want people to susbcribe to the page?
#
[snarfed]
i'm all for them consuming them. polling them every couple min, maybe less so
#
[aaronpk]
hm, it's an h-card, so not intended to be a feed
#
[aaronpk]
watchtower also does exponential backoff of polling, so if you're seeing requests every couple minutes it's because the contents of the page have been changing frequently
#
[snarfed]
right, no h-feeds or h-entry's, i doubt anything shows up in readers
#
[snarfed]
they do change frequently, every backfeed item
mapkyca joined the channel
#
[snarfed]
oh and last poll time etc, so even without items
#
[aaronpk]
i think the easier thing here is to make aperture more strict about not letting people subscribe to things that aren't actually feeds
#
[snarfed]
or heavily backing off of them, even if they change often, yeah
#
[aaronpk]
for some reason XRay thinks that page has a microformats feed
#
[aaronpk]
so i could fix that
#
[snarfed]
works for me ๐Ÿ˜Ž
#
[snarfed]
but right now aperture is the only publicly usable service that uses watchtower?
#
[snarfed]
not planning to block it right now, just curious
#
[aaronpk]
microcast.club also uses it
#
[aaronpk]
but in general, only my own services are going to use the instance at watchtower.p3k.io
#
[snarfed]
sure, but i'd want to allow xray and telegraph. just not aperture
#
[snarfed]
anyway, academic, not blocking anything for now
[cleverdevil] joined the channel
#
[cleverdevil]
Following page auto-generated from Aperture in real-time ๐Ÿ˜„
#
[cleverdevil]
(Still needs a lot of work, be gentle.)
#
[cleverdevil]
[snarfed] wondering if Granary can convert this into an OPML or something?
#
[snarfed]
[cleverdevil] fun! sadly no OPML in granary yet. might be an open issue though
#
[snarfed]
it does u-follow etc though
#
[snarfed]
eg bridgy fed is one of the few (only?) services that currently produces and consumes u-follow-of
#
[snarfed]
glad your site is now too!
leg and [grantcodes] joined the channel
#
[grantcodes]
That's cool [cleverdevil] do you do anything special for feeds that might be protected? eg. granary that has your token
#
[cleverdevil]
Yes, I have a blacklist of channels that I don't want exposed.
#
[cleverdevil]
Talked to [aaronpk] about how this might be captured in microsub, but I think its a pretty one-off use casae.
#
[grantcodes]
Yeah, don't think it should be in the spec. Could probably be built into aperture though
#
[cleverdevil]
Yeah, agreed.
#
[grantcodes]
Well I've just implemented subscription payments on my site. ๐Ÿค‘
#
[aaronpk]
what awesome
#
[cleverdevil]
[grantcodes]++
#
Loqi
[grantcodes] has 29 karma in this channel over the last year (44 in all channels)
#
[cleverdevil]
That's awesome.
#
[grantcodes]
My favourite thing about the payments is it all just works via URLs eg pay.grant.codes/$5/montly
#
jacky
is that done using Stripe?
#
jacky
is not entering his card :P
KartikPrabhu joined the channel
#
donpdonp
4111 1111 1111 1111
gRegorLove joined the channel
#
[grantcodes]
Yeah it's stripe, but not on test mode :P
#
[grantcodes]
Oh and I misspelled monthly oops
#
@cleverdevil
โ†ฉ๏ธ You are missed, but you are where you need to be! We had a very encouraging meeting with the Known Open Collective this AM โ€“ย https://etherpad.indieweb.org/Known_Collective โ€“ย I'm working on a Known plugin for my project today that generates a "following" page via Microsub โ€“ https://cleverdevil.io/following
(twitter.com/_/status/1145420576598609920)
[Andi], j12t and [fluffy] joined the channel
#
[fluffy]
[Jamey_Sharp] Iโ€™m ending up just using ska after all because prototype etc.
[Jamey_Sharp] joined the channel
#
[Jamey_Sharp]
Makes sense!
eli_oat, valuemachine, j12t and [jgmac1106] joined the channel
j12t, valuemachine, wagle and [tantek] joined the channel
#
[tantek]
grantcodes - I got a 404 on your pay.grant URL
#
[tantek]
though I like the idea!
[grantcodes] joined the channel
#
[tantek]
that's hilarious! also the nojs error message ๐Ÿ˜‚
tbbrown joined the channel
#
@johanbove
Installed the #Known Akismet Spam filter by @mapkyca - https://www.marcus-povey.co.uk/known-plugins/ - looking at preemptively mitigate spam through webmentions.
(twitter.com/_/status/1145437644199006208)
#
[grantcodes]
I suggest turning on js for the beauty of the background
[cleverdevil] joined the channel
#
[cleverdevil]
Mostly done ๐Ÿ™‚
#
[tantek]
per the use-case for editing reply-contexts discussed in the main channel: https://chat.indieweb.org/2019-06-30#t1561928909084100 I believe this has impacts on where a CMS should store a (potentially / likely edited) reply-context, which then has likely has impact on Micropub Client-server interactions
#
Loqi
[[tantek]] I have a very good discussion with [schmarty] about the desire to *edit* the /reply-context (e.g. /link-preview) of a /reply post before publishing it to one's site.
#
[tantek]
In particular, as a reply-context is editable, it should be stored as if it was edited, and a way to do that is storing the h-cite of the reply-context along with the reply
[aaronpk] joined the channel
#
[aaronpk]
i haven't hand-edited a reply context yet, but my site already stores the reply context along with the post, which made it easier than trying to normalize it into some relational DB structure
#
[grantcodes]
In micropub world I would send that as a reference, although I can't remember if that is valid mf2 or not
#
[tantek]
reference to what? where would you send the edited reply-context properties?
#
[grantcodes]
well I know in jf2 at least there is a references object which has the url as a key and the value is a nested jf2 entry
#
[tantek]
aaronpk, do you not edit people's Twitter names that are things like "martymcgui.re (he/him)" to something like "Marty McGuire"?
#
[tantek]
โ€
#
[tantek]
micropub doesn't use jf2 AFAIK
#
[aaronpk]
i do not, no
#
[aaronpk]
and correct micropub is straight microformats json
#
[grantcodes]
But I'm not sure how I feel about "editing" link previews. I feel on silos they are sort of a source of truth especially because they cannot be edited. I wouldn't want someone to be able to change the title or anything misleading. But I suppose that isn't so much of a thing on the indieweb
#
[tantek]
It's the default in email replies. You have 100% ability to edit the reply context of the quoted email, author name, email sent date etc.
#
[tantek]
Some silos do allow *some* editing, e.g. FB allows picking *which* (of several if any) image to show in a link preview of a reply context
#
[tantek]
And since we're talking about your own site, of course you have the right to edit anything you show. Since it's an h-cite (not an h-entry) it's *your* summary of the thing you're linking to.
#
[grantcodes]
Oh so I realized the references thing jf2 vs mf2 => mf2 used nested entries all properties, and jf2 moves them to a refs object. So if you were sending a preview of a like you could send a nested h-entry in the like-of property couldn't you?
#
[tantek]
nested h-cite. this is what folks are already doing in in-reply-to property on reply posts
[eddie] joined the channel
#
[grantcodes]
Yeah ๐Ÿ™‚ so a micropub client could edit and send that, but the server would need to handle it of course
#
[tantek]
micropub servers are expected to store any properties/objects sent right? rendering is a different matter
#
[grantcodes]
Yeah that's what I mean by handle
sabrewing, eli_oat and [Dave_Peck] joined the channel
#
[Dave_Peck]
Anyone used indiekit before to support micropub (on a jekyll repo)? https://paulrobertlloyd.github.io/indiekit/ โ€” curious if it works for you, and how you configure it
[Michael_Beckwit joined the channel
#
[Michael_Beckwit
[chrisaldrich] i would say itโ€™s a worthy blog post but it sounds like you canโ€™t access the site again yet ๐Ÿ˜›
#
[tantek]
alright, documented reply-context editing use-cases https://tantek.com/2019/181/t1/indieweb-reply-contexts-editable
#
Loqi
[Tantek ร‡elik] #IndieWeb Summit: reply-contexts should be user-editable in posting UIs in-reply-to h-cite property: reason, action * name+summary: too long, truncate * dt-published: 1969 or future, use present time * author name: Twitter names/pronouns, use full na...
#
[tantek]
and now to post them to the wiki for /reply-context#Brainstorming
#
GWG
[tantek]: They are in Post Kinds
#
GWG
On the backend
#
[tantek]
GWG I am lost on the context
[fluffy] and gRegorLove joined the channel
#
GWG
[tantek]: Reply cntexts should be user editable
dougbeal|mb1, [snarfed] and [cleverdevil] joined the channel
#
[fluffy]
[snarfed] My intention with Authl is to make an arbitrarily-pluggable authentication layer so that itโ€™s not wedded to any particular protocol. I intend to eventually add self-managed OAuth for Facebook/Twitter/etc., and also support more arbitrary flows. The demo didnโ€™t show a bunch of the stuff that goes on in the backend ๐Ÿ™‚
#
[snarfed]
cool! yeah oauth-dropins is similar, not oauth specific. outgrew its name ๐Ÿ˜„