#dev 2018-11-19
2018-11-19 UTC
[jgmac1106] joined the channel
# gRegorLove Is anyone using rel=me in Link: HTTP headers?
deathrow1 joined the channel
# gRegorLove I have one example, just checking if there's others.
# gRegorLove Unsure, I'm primarily collecting data.
# gRegorLove In the one example I have, it's an Atom feed, so it could potentially be easier to expand indieweb/rel-me to check HTTP headers than to add XML support to php-mf2
# gRegorLove It uses XSLT to present human-friendly. It is definitely an edge case, from what I've seen.
# gRegorLove So I thought I'd check if anyone else was using the Link header for that, whether on HTML or XML
# gRegorLove GWG: In that php-mf2 issue about id, you said "Mostly because a URL like the one in the example, makes it easy to share feeds with others.
# gRegorLove " Are you referring to humans sharing feed URLs, or the software's internal representation of it?
# gRegorLove Ok
# gRegorLove Makes sense
# gRegorLove If I enter tantek.com in a feed reader, it can present the names of the feeds, when I select "Recent Articles" it saves the feed as tantek.com#recent_articles
# gRegorLove And if I entered tantek.com#recent_articles in a feed reader, it can subscribe directly to that feed with no selection necessary
# gRegorLove With `#recent_articles` coming from the new `id` attribute in the parsed mf2
eli_oat1 joined the channel
# gRegorLove I was going to wait a day or two for discussion, but yes I'm in favor of adding it. Should be pretty easy.
# gRegorLove Are you in favor of https://github.com/microformats/microformats2-parsing/issues/44?
# gRegorLove That is *the* proposal, afaik.
# gRegorLove Just checking your thoughts on it
# gRegorLove ?
# gRegorLove Not sure where that sentence is going, heh
# gRegorLove That was the idea. Just need to think it through some more.
# gRegorLove And selfdogfood it first, of course.
# gRegorLove jgmac1106++
# gRegorLove jgmac1106, author inside the h-cite makes sense for the book's author
# gRegorLove Just replied to your post, jgmac1106. If it's easy to do in Known, @-mentioning gregorlove.com might catch my attention quicker than a Twitter mention.
# gRegorLove hehe
# gRegorLove GWG, can you list those additional examples on https://github.com/microformats/php-mf2/issues/206, particularly if the multiple feeds don't have u-uid
# @jgmac1106 ↩️ Well I wrote a @withknown post that sent a webmention to your original post, I also syndicated my post to Twitter using plugins. Now I am replying just to your tweet, but it shoudl sow up on our both our sites. You need the Twitter and Bridgy… https://quickthoughts.jgregorymcverry.com/2018/11/19/edheil-well-i-wrote-a-withknown-post (twitter.com/_/status/1064334237925560321)
cambridgeport90, [tantek] and [eddie] joined the channel
snarfed joined the channel
[tantek], treora and [asuh] joined the channel
[eddie] and barpthewire joined the channel
# @WalterStephanie ↩️ Webmentions lets you ping back to your website and post the comments and mentions and responses back to the original post.
- https://webmention.io/
- https://brid.gy/
#vdthess18 (twitter.com/_/status/1064437401483964416)
# @WalterStephanie ↩️ Webmentions lets you ping back to your website and post the comments and mentions and responses back to the original post.
- https://webmention.io/
- https://brid.gy/
#vdthess18 (twitter.com/_/status/1064437401483964416)
# @geoffrey_crofte ↩️ Discovering https://brid.gy and http://Webmention.io thanks to @adactio talk at #vdthess18 (twitter.com/_/status/1064437717101146112)
# @geoffrey_crofte ↩️ Discovering https://brid.gy and http://Webmention.io thanks to @adactio talk at #vdthess18 (twitter.com/_/status/1064437717101146112)
cweiske and [Vincent] joined the channel
# @BriceCq RT @stephaniewalter@mastodon.social
Webmentions lets you ping back to your website and post the comments and mentions and responses back to the original post.
- https://webmention.io/
- (1/2) (twitter.com/_/status/1064440199373971456)
[kevinmarks] joined the channel
# @tomcritchlowBOT V curious about webmentions and the textual waveform: (twitter.com/_/status/1064458536908935168)
[jgmac1106] joined the channel
# @nhoizey And Webmentions allow us to remove Disqus and own the interactions data:
https://nicolas-hoizey.com/2017/07/so-long-disqus-hello-webmentions.html (twitter.com/_/status/1064468704912642048)
jjuran, [Vincent] and jeremych_ joined the channel
# [jgmac1106] How do I compile a default CSS sheet into a mini css sheet. Tired of making chanoin two places... Also what does having a mini sheet do? Make load times faster?
# Loqi It looks like we don't have a page for "mini css sheet" yet. Would you like to create it? (Or just say "mini css sheet is ____", a sentence describing the term)
swentel joined the channel
# petermolnar that's the myth
# petermolnar gzip, and you're done
# petermolnar minification, in theory, goes further
# petermolnar it should join similar statements, shorten class references, etc
# petermolnar but that's need support on the HTML side as well
# petermolnar generally speaking it doesn't worth bothering with it
# petermolnar just make certain you turn server side gzip on
# petermolnar unless you like the main
# petermolnar s/main/pain
# jeremycherfas All-in-oneifying is supposed to be a good idea too, but I've never known how to do that.
# petermolnar *unless you're Google
# petermolnar jeremycherfas: you mean inline all the things?
# jeremycherfas Nah. There is a way of combining all the CSS sheets into one, which I have seen described as a good thing.
# petermolnar cat *.css > all.css ?
# petermolnar Zegnat: depends
# petermolnar HTTPS from australia is slow
# petermolnar imo reducing the number of calls makes more sense, then minifying
iasai joined the channel
# jeremycherfas I and jgmac1106 probably have many other more important things to think about. But Known really should be handling the minifying. Maybe it is being cached?
# petermolnar oh, it's certainly one of the last things down the pipe
# petermolnar jgmac1106: that usually applies if it's LESS or SASS
eli_oat1 joined the channel
eli_oat1 joined the channel
[jgmac1106] joined the channel
# Zegnat jgmac1106, if you are on macOS: https://michelf.ca/projects/mac/sim-daltonism/ (or `brew cask install sim-daltonism` on the terminal)
[Vincent] joined the channel
# [Vincent] I would recommend this browser plugin for simulating accessibility needs: https://chrome.google.com/webstore/detail/funkify-disability-simula/ojcijjdchelkddboickefhnbdpeajdjg
# [Vincent] It looks good, I’ve not seen it before!
[kevinmarks], eli_oat1 and NinjaTrappeur joined the channel
[jgmac1106] joined the channel
# @mapkyca @jgmac1106 Minimisation is done via a grunt task. This also minimises javascript. (twitter.com/_/status/1064490930781257728)
[Csongor] and iasai joined the channel
# petermolnar anyone has deeper experience with python's asyncio asyncio.ensure_future and run_until_complete ?
# petermolnar I'll try to:
# petermolnar I have a class, which, in theory, collects async tasks, and executes them when it's run function is called - collection starts here: https://github.com/petermolnar/nasg/blob/master/nasg.py#L1730 the class is here: https://github.com/petermolnar/nasg/blob/master/nasg.py#L1009
# petermolnar For webmention sending, I used to define an instance of this class to collect them and execute them after the end sync, but for my surprise, before calling run(), just after the task gets defined, it was called.
# petermolnar it kinda looks like that regardless my efforts trying to create an async queue, I made async fire-and-forget calls all the time
# petermolnar and I don't understand, why
[kevinmarks] and eli_oat1 joined the channel
# petermolnar however
# petermolnar if I don't call run()
# petermolnar they won't fire at all
# petermolnar which doesn't make sense if they aren't actually executed when I call run
# petermolnar I replaced it with self._tasks.append(asyncio.ensure_future(job)) later, but that didn't work either
# petermolnar or I forgot to test that version
# petermolnar lemme try
# petermolnar YES!
# petermolnar that's how it should be
# petermolnar thank you
# petermolnar sknebel: I'm wondering about that 972 starred projects of yours on github - I keep a backup of my starred projects from there, because I saw a few of them disappear during the years
# petermolnar is anyone else doing that, keeping git clones of starred projects?
# petermolnar I need to delete a line from there
# petermolnar that is actually a fair point
[jgmac1106] joined the channel
# [jgmac1106] Would there be an issue with parsers if I used a listen-of, watch-of or read-of inside an h-entry set up like an article?
# [jgmac1106] I would assume micropub clients might have trouble mapping but the three experimental post types not used in Indigenous yet anyways
# [jgmac1106] well I do a post in Known to use HTMl it has to be an article, the Ui doesn't allow HTML in notes...so while I work on writing plugins if I just published an article with the title listened to X and in the body included I just finished <a class="listen-of p-name href="https://example.com">Podcast</a> I won't need plugins...but it will be inside an <article> html tag
# [jgmac1106] cool....plugin release date..pushed waaaaay back then
# [jgmac1106] yeah I was writing quick, will check for best(ish) answer later, unl;ess of course you want to tell me now
# [jgmac1106] i would probably wrap the title maybe host into an h-cite\
# [jgmac1106] I just <div class="listen-of p-category="finished">listened to<span class="h-cite"><span class="p-author h-card">AUTHOR</span>: <cite><a class="u-url p-name" href="URL">TITLE</a></cite></span></div>
[Csongor] joined the channel
# [jgmac1106] or would the listen-of go inside the h-cite? I listened to <span class="h-cite"><span class="p-author h-card">AUTHOR</span>: <cite><a class="listen-of u-url p-name href="URL">TITLE</a></cite></span></div>...not sure how to use p-category here for status
# [jgmac1106] crap....back to making a plugin then...life is so much easier just using html
# [jgmac1106] yes so could this work inside an h-entry? I just <div class="listen-of p-category="finished">listened to<span class="h-cite"><span class="p-author h-card">AUTHOR</span>: <cite><a class="u-url p-name" href="URL">TITLE</a></cite></span></div>
# [jgmac1106] except the quotation mistake
# [jgmac1106] yeah neither do I. I may hold off on p-category until I see what gRegor does
# [jgmac1106] thinking p-category could be "want-to, *-ing, and finished" for read, watch, listen posts
# [jgmac1106] so if I can put the "listen-of" on a div and not on h-entry I can do all this without having to muck about in plugins for a bit, but if needs to go on the h-entry...then its plugin time
[dave], snarfed, miklb and [schmarty] joined the channel
# [schmarty] should "listen-of" have an mf2 prefix to indicate what type of value is expected? u-listen-of if a URL, p-listen-of if just the text name of the thing, etc.?
# [schmarty] without an mf2 prefix "listen-of" is not going to get picked up by any mf2 parser. maybe i missed the point and that was intentional. :}
[tantek] and [eddie] joined the channel
# petermolnar !tell Zegnat I realized I can get rid of the 'auto' in my theme switcher: default is dark or media query; if user wants the other, add localstorage, if clicks on the original again, remove it
# [eddie] jgmac1106 I think this is generally what you are looking for: https://eddiehinkle.com/2018/11/19/4/article/
# jeremycherfas Aaronpk Is there any way I can get hold of the payload the OYG sends?
# jeremycherfas I have this problem with Known adding two copies of a single image, and mapcyka wants to see the payload, because he says he cannot reproduce with curl.
# aaronpk but this describes it pretty well https://ownyourgram.com/docs
jackjamieson joined the channel
# jeremycherfas I looked at that; I guess if some property is missing then it's value is just ""
# jeremycherfas I suppose it would be in logs too.
[zak] joined the channel
# [zak] inb
# [jgmac1106] eddie++
# [jgmac1106] just saved me from trying to rebuild three plug-ns, now I can just use post
benwerd and swentel joined the channel
# [jgmac1106] 2261 from you, tantek, and Marty...aaron checked in to home, aaron checked in the cupboard, aaron checkedin upstairs
[schmarty] and snarfed joined the channel
snarfed joined the channel
# [jgmac1106] yeah come to think of it I even wonder if I added tantek.com to my feeds...I don't see your checkins
# [jgmac1106] but joking....but still I could see that number with all the checkins from Berlin I saw
eli_oat and snarfed joined the channel
[eddie] joined the channel
# aaronpk I only see a little bit on https://indieweb.org/private_posts
# aaronpk ah there's one facebook screenshot on https://indieweb.org/audience too
# Loqi token revocation is the process of revoking an OAuth token https://tools.ietf.org/html/rfc7009 https://indieweb.org/token_revocation
snarfed and [jgmac1106] joined the channel
# [jgmac1106] ha ha Eddie I was going to use your template to do my first Listen post for two dads talking and then I see that IS the template....just made my life easy
# [jgmac1106] my MacOS stickies note is just becoming a collection of post type templates
# [jgmac1106] gonna publish it now and see how bad tinyMCE screws up microformats....it really really hates them
[dave] joined the channel
benwerd, jackjamieson and [kevinmarks] joined the channel
# petermolnar Zegnat re themeswitcher: so mac comes either light or dark, which will be auto-detected, if the user comes the opposite - not the auto-detected - they click on the 'dark' or 'light' button, and I set the localstorage value. If they click on the "native" scheme ever again, I removed the storage value. For others, the default is dark.
# [eddie] Zegnat sknebel I am interested in looking into experimenting with autoauth a bit but alas, I can't read handwriting (pretty much any non-block letter handwriting is indecipherable to me). Could we get https://indieweb.org/2018/Nuremberg/autoauth#headline_for_requests and https://indieweb.org/2018/Nuremberg/autoauth#Notes_from_Dinner merged into typed text? 😄
# [jgmac1106] so did a future and past tense, can't imagine too many listening posts except for music and shows: https://quickthoughts.jgregorymcverry.com/2018/11/19/gonna-check-out-lingthusiasm
# [jgmac1106] though without links to host websites I dropped the h-cards
# [jgmac1106] grrrrrr.......stupid TinyMCE is stripping out <data> the data tag
# [jgmac1106] really just one?
# [jgmac1106] wysiwyg--
tantek joined the channel
[tantek] and [kevinmarks] joined the channel
# [kevinmarks] anyone good at chai tests? I am being confused by function bindings
[jgmac1106], wagle_, [tantek]1, kisik211, Ruxton and snarfed joined the channel
# [kevinmarks] nm, someone else helped me - making things 'const' in js is apparently a really good idea.
# gRegorLove That's the pattern for /read posts, yeah: `u-read-of h-cite`
# gRegorLove (oops, was scrolled back)
[eddie] joined the channel