#dev 2017-07-21
2017-07-21 UTC
tantek, snarfed, KevinMarks, AngeloGladding, dougbeal|mb1, snarfed1 and [eddie] joined the channel
# @NandoKstroNet Implementing Webmentions https://allinthehead.com/retro/378/implementing-webmentions (twitter.com/_/status/888209603506438144)
# @JavaScriptKicks Implementing Webmentions by drewm https://javascriptkicks.com/r/159964?url=https%3A%2F%2Fallinthehead.com%2Fretro%2F378%2Fimplementing-webmentions #css #javascript via JavaScriptKicks (twitter.com/_/status/888226320307638272)
KartikPrabhu, Defenestrate and j12t joined the channel
# prtksxna !tell tantek and aaronpk No one seems to have specific word for it. nirzar at wmf pointed out, Apple uses: "Entire screen", "Part of the screen", and "App window". melchoyce at wp doesn't differentiate between them. quiddity at wmf calls it a screenshot and says the tiny size would make it obvious that it was partial.
j12t, snarfed, tantek, [allegoryanalyti, [allegory], gRegorLove and barpthewire joined the channel
[colinwalker], cweiske and [pfefferle] joined the channel
# @superxteam Implementing Webmentions - http://www.superxteam.com/blog/implementing-webmentions-25/ (twitter.com/_/status/888327676838203396)
[kevinmarks] and [pfefferle] joined the channel
# @weblings_co Implementing Webmentions https://allinthehead.com/retro/378/implementing-webmentions (twitter.com/_/status/888345386322059264)
[kevinmarks] and jeremycherfas joined the channel
# jeremycherfas Hey, Loqi, any messages?
# @grabaperch Read about the Perch Webmention support in @drewm's blog post (which uses Webmention!) https://allinthehead.com/retro/378/implementing-webmentions https://twitter.com/grabaperch/status/888354139398443008/photo/1 (twitter.com/_/status/888354139398443008)
KartikPrabhu, [kevinmarks] and jeremycherfas joined the channel
# jeremycherfas I can be certain now that a PHP script that works fine, although slowly, in my production site does not complete in my development site.
# jeremycherfas Any suggestions as to where I might look for clues?
# petermolnar jeremycherfas what are the differences between the prod/dev setup? where are they running out from, is there a connection (proxy) difference?
j12t joined the channel
# jeremycherfas Petermolnar: Production runs on Dreamhost and Development runs locally under MAMP
# jeremycherfas DreamHost shared.
# jeremycherfas The script has hung.
# jeremycherfas No errors in Grav logs. Just cheking MAMP
# jeremycherfas Couple of errors. Need to make a gist.
# jeremycherfas These all seem to be from Known, not from the Grav plugin https://gist.github.com/jeremycherfas/89fcd393a2d93768555c3f798d7df9c1
# petermolnar Zegnat define gigantic
# jeremycherfas What can I add to the Grav plugin to increase error recording?
# jeremycherfas But Zewgnat, the thing is that the server executes properly, while the local is the one that hangs, and the local is dealing with a much smaller data file.
# jeremycherfas Sorry, Zegnat
# jeremycherfas Cweiske I thought it had hung, but it was just going very slowly, possibly because it was doing something bad and DreamHost was killing and restarting, or something, but eventually it finished properly. That was the live version.
# petermolnar jeremycherfas there is a 'plugins.webmention.sender.automatic' setting, what is that set to?
# jeremycherfas The local version currebntly only has 9 items to process and does not get past the first one.
# Zegnat voxpelli cweiske the source: https://github.com/Perlkonig/grav-plugin-webmention/blob/master/cli/NotifyCommand.php#L221-L310
# jeremycherfas Currently set to false.
# petermolnar good
# jeremycherfas Need to get a phpino.php into the live site.
# jeremycherfas I think that is right.
# petermolnar there is no TIMEOUT in the https://github.com/Perlkonig/grav-plugin-webmention/blob/master/classes/MentionClient.php
# petermolnar which means if there is a dead link it'll wait 300s on it
# petermolnar per url
# jeremycherfas That would slow things down, I agree.
# petermolnar in theory, it should respect the ini default_socket_timeout
# petermolnar can you compare those?
# jeremycherfas Well, one BIG difference. Live site uses PHP 5.6.29 while dev uses 7.0.15
# jeremycherfas So maybe the very first thing would be to configure MAMP to use 5.x.x
# petermolnar no, don't do that
# petermolnar 7.x is stricter, it if runs on 5.6, it should be fine on 7.x
# petermolnar well, at least everything I tried was
# petermolnar I might be mistaken though
# jeremycherfas OK, I’m still looking through the two phpinfo files
# jeremycherfas HaRD TO KNOW WHAT TO LOOK FOR THOUGH. :(
eli_oat joined the channel
# petermolnar can you share them somehow?
# petermolnar the more eyes on it the better
# jeremycherfas I saved as PDF. Another obvious difference is that local uses Apache 2.0 handler while live uses CGI/FastCGI
# jeremycherfas OK, thanks.
# jeremycherfas What does expose_php mean? It is on local and off server
# jeremycherfas Thanks. So not really relevant.
# jeremycherfas There seem to be some differences in the curl section
# jeremycherfas AsynchDNS, GSS-Negotiate, IDN are off locally, on in production
tantek joined the channel
# jeremycherfas Local does not have mysql, only mysqli and mysqlnd
# petermolnar that is completely irrelevant
# petermolnar grav doesn't have a db backend
# jeremycherfas Clutching at straws
# petermolnar do you know if any of the links it's trying to ping is pointing to a dead service?
# petermolnar in case you're hitting that 5 mins timeout per iteration
# jeremycherfas The very first link it is trying to ping is my local install of Known, and that is where it is hanging.
# jeremycherfas If I do the curl by hand, that results in an error, for which I raised an issue https://github.com/idno/Known/issues/1830 but have not yet had a reply.
# jeremycherfas But I do not get that error in production site. At least, I don’t think so.
# jeremycherfas I’ll check that now.
# @antwinkansah Implementing Webmentions https://allinthehead.com/retro/378/implementing-webmentions #webdesign #feedly (twitter.com/_/status/888389884234407936)
jeremycherfas_ joined the channel
# jeremycherfas I’m as mystified as ever, probably more so. Going to think about maybe testing the XRay version live, or else rethinking the whole project.
# voxpelli jeremycherfas: tried https://github.com/voxpelli/node-webmention-testpinger ?
# jeremycherfas Yes, I did test with that, thanks. Not one of them seemed to get through.
# @JTWebDesigns #WeKnowTheWeb 50 #WP #Tips for #beginners - Nº 30: #Trackbacks vs #Pingbacks vs #Webmentions for #WordPress... https://premium.wpmudev.org/blog/trackbacks-pingbacks-webmentions/?platform=hootsuite (twitter.com/_/status/888400726178885632)
# jeremycherfas Just to check, voxpelli, that will be OK with localhost endpoints?
# @perchology Yours truly has been implementing webmentions [in Perch Blog 5.6] on a couple of sites. If you need help this, I'm available to hire :-) (twitter.com/_/status/888401465458425856)
# jeremycherfas I thought so. And just checked again, all 14 failed to be pinged with 404
# jeremycherfas This was the command webmention-testpinger --endpoint=http://localhost:8888/grav-admin/mentions --target=http://localhost:8888/grav-admin/blog/bird-migration-getting-to-the-point
# Loqi [Aaron Parecki] https://indiewebcat.com/notes/2014/12/23/3/businesscatual
# jeremycherfas No, but this is in the head <link href="http://localhost:8888/grav-admin/mentions" rel="webmention">
# voxpelli weird that it links to /grav-admin/
# jeremycherfas Well, that is an oddity that zegnat and I have worked on, and it seems to be correct in other cases. I think.
# jeremycherfas Doesn’t seem to.
# jeremycherfas That URL always returns a 404, but it does seem to receive webmentions.
snarfed joined the channel
# jeremycherfas That is another strange difference between the dev and the live: in dev, curl to the advertised endpoint results in a 404 while in live it results in a 301
# jeremycherfas That is, it returns 301 to curl, but 404 to a browser
# jeremycherfas And I can confirm that the webmention is in fact received.
Defenestrate joined the channel
# jeremycherfas In the end, I am beginning to believe that there is something very different about the way this plugin behaves in the development environment versus the way it behaves in the production environment.
# jeremycherfas I’m going to stop testing and testing and testing and try to think about basics.
[kevinmarks] joined the channel
# [kevinmarks] Is it sorted by recency of block?
# voxpelli Seems like you can look up 100 user ids 900 times per 15 min with /users/lookup
# snarfed on the plus side, https://granary-demo.appspot.com/ now fetches twitter block lists and converts to mf2 etc
KevinMarks joined the channel
j12t joined the channel
KevinMarks_ joined the channel
# @avalonhost Implementing Webmentions #webdesign https://allinthehead.com/retro/378/implementing-webmentions (twitter.com/_/status/888426617244200962)
barpthewire, KevinMarks and KevinMarks_ joined the channel
AngeloGladding, jeremycherfas_, gRegorLove and tantek joined the channel
# Loqi tantek: prtksxna left you a message 13 hours, 14 minutes ago: and aaronpk No one seems to have specific word for it. nirzar at wmf pointed out, Apple uses: "Entire screen", "Part of the screen", and "App window". melchoyce at wp doesn't differentiate between them. quiddity at wmf calls it a screenshot and says the tiny size would make it obvious that it was partial.
# tantek reads up on https://github.com/aaronpk/webmention.io/issues/86 wow
# tantek https://webmention.io/dashboard Recent Webmentions is all Bridgy Twitter homepage mentions ???
[mko] joined the channel
# tantek wow the micro.blog responses to https://aaronparecki.com/2017/07/19/24/webmention-io
# Loqi [Aaron Parecki] The https://webmention.io dashboard just got a whole lot more useful! You can now see the last few dozen webmentions you've received, and delete them if you want! This is the first step towards a "block" feature in webmention.io: https://indieweb.org... https://aaronparecki.com/2017/07/19/24/photo.png
# tantek along with screenshot of https://aaronparecki.com/2017/07/19/24/webmention-io responses etc.
# Loqi [Aaron Parecki] The https://webmention.io dashboard just got a whole lot more useful! You can now see the last few dozen webmentions you've received, and delete them if you want! This is the first step towards a "block" feature in webmention.io: https://indieweb.org... https://aaronparecki.com/2017/07/19/24/photo.png
gRegorLove_ joined the channel
# tantek !tell schmarty your "favorite" https://martymcgui.re/2017/07/20/064451/ needs explicit "u-like-of" markup for it to be recognized as a like :)
# Loqi [Marty McGuire] ★ Favorited https://aaronparecki.com/2017/07/19/24/webmention-io
# tantek anyone else have a "webcal:" link on their home page to their upcoming events? https://indieweb.org/webcal#IndieWeb_Examples
# gRegorLove I bought a domain with Google Domains today. Super simple and super fast DNS update propagation too.
# Loqi It looks like we don't have a page for "Google Domains" yet. Would you like to create it?
# gRegorLove Google Domains is [[Google]]'s domain name registrar https://domains.google
# loqi.me created /Google_Domains (+103) "prompted by tantek and dfn added by gRegorLove" (view diff)
# Loqi A domain name registrar is an organization that will register domain names for you typically for an annual fee https://indieweb.org/domain_name_registrar
# gRegorLove Now to decide if I want to move all my domains there or not.
# gregorlove.com edited /Google_Domains (+383) "== IndieWeb Experience == +willnorris citation" (view diff)
[jeremycherfas] and eli_oat joined the channel
# schmarty http://h2vx.com/ics/martymcgui.re returns an empty calendar named "301 Moved Permanently"
# tantek schmarty: yeah :/ https://github.com/microformats/h2vx.com/issues/3
# gRegorLove It's been about a year, but I was tinkering with using php-mf2 for h2vx
[kevinmarks] joined the channel
# [kevinmarks] Though that can lose implications of nesting
# gRegorLove barnabywalters mf-cleaner lib adds that to php-mf2. It's handy. Don't know about the other parsers.
# aaronpk snarfed: what do I have to do to make the photos from my mf2 appear inside the content html in the atom feed? https://granary-demo.appspot.com/url?input=html&output=atom&url=https%3A%2F%2Faaronparecki.com%2Fphotos
gRegorLove joined the channel
# Guest35190 photos in e-content works for me in granary: https://granary-demo.appspot.com/url?input=html&output=atom&url=http%3A%2F%2Fgregorlove.com%2Fnotes%2F
# aaronpk hm, there is no "how to mark up" section here https://indieweb.org/photo
# prtksxna I am done with the post-type-discovery implementation https://github.com/twozeroone/post-type-discovery
[gregorlove] joined the channel
# [gregorlove] This is the "photo" vs "note with a photo" post discussion: https://indieweb.org/photo#Discussion
# prtksxna tantek: Ok. So the tests should live there? I got confused looking at https://github.com/microformats/tests
# [gregorlove] Yeah, reply-contexts inside e-content would be weird in most cases I think
# [gregorlove] Oh. Hm
# prtksxna tantek: But would it be ok to publish an npm package from https://github.com/tantek/post-type-discovery
# [gregorlove] I use e-content > u-photo for Bridgy Publish
# prtksxna The way I have it right now is a bunch of jsons with a prefix that tells their type, very simple - https://github.com/twozeroone/post-type-discovery/tree/master/tests
# prtksxna aaronpk: Or did you mean to transfer https://github.com/twozeroone/post-type-discovery to indieweb?
# prtksxna aaronpk: The way I have it right now is a bunch of jsons with a prefix that tells their type, very simple - https://github.com/twozeroone/post-type-discovery/tree/master/tests
# [gregorlove] Likewise, I haven't seen that in Woodwind
# [gregorlove] I didn't realize it did special handling for u-photo
# Loqi [Marty McGuire] Great time doing a set at the Unified Scene Theater tonight with Remote Possibilities! https://martymcgui.re/imageproxy/960,fit,sRFFyagSHGxzqrknwLoZ5Xcvdg05Rj7kdfdhVX6edmXk=/https://media.martymcgui.re/e3/36/73/d8/0fd74af126e77f49a3e004bb07ec50f3a4c3b825034a0da6fd552a5e.jpg
# [gregorlove] Perhaps tantek and I and others who have u-photo in e-content should move our examples to https://indieweb.org/photo#Notes_with_photos_examples
# [gregorlove] tantek: Then /photo needs other updates, since there's the "photo" vs "note with photo" distinction on there.
# [gregorlove] Well, sounds like you're saying "note with photo" isn't a thing. It's just a "photo post" regardless of u-photo location?
# [gregorlove] There's two lists currently.
# [gregorlove] is confused
# [gregorlove] I'm not talking about previous examples.
# aaronpk i'm going to continue this discussion here for now https://github.com/snarfed/granary/issues/113
# [gregorlove] My understanding was "note with photo" is a note with the u-photo inside the e-content based on the 2014 discussion on /photo
# [gregorlove] But it sounds like today, a note with u-photo inside the e-content is still considered a "photo post"
# [gregorlove] If that's the case, I don't think the separate lists on /photo portray that clearly, today.
# [gregorlove] It's causing me confusion today, so apparently it does have something to do with it.
# [gregorlove] Ok, so "Not quite photo posts, but similar, notes with embedded photos are another approach to photo-like posts." should probably indicate "without a u-photo"
# [gregorlove] (that quote is from /photo)
# prtksxna aaronpk tantek: Things are all setup now. https://github.com/indieweb/post-type-discovery-tests has the tests that I had, and is published to npm too - https://www.npmjs.com/package/post-type-discovery-tests. And my implementation doesn't have tests any more and uses this one as a dependency instead https://github.com/twozeroone/post-type-discovery/blob/master/package.json#L33
# [gregorlove] :thumbsup: I'm on board with u-photo => photo post
# prtksxna We should have post-type-discovery.js.org soon too :) https://github.com/js-org/dns.js.org/pull/1368
# [gregorlove] Perhaps "note with image" is a clearer phrase than "note with photo"
# tantek [gregorlove]: there you go: https://indieweb.org/photo#How_to_markup including caveat which could likely be rephrased better
# [gregorlove] My proposal:
# [gregorlove] == Notes with image examples == [[Notes]] with embedded photos that are not marked up with <code>u-photo</code> are similar to photo posts.
# tantek !tell barnabywalters image src seems to have died on your note with photo https://waterpigs.co.uk/notes/686/ found from https://indieweb.org/photo#Notes_with_photos_examples
# Loqi [Barnaby Walters] Guitar Monster:
http://photos.waterpigs.co.uk/photos/custom/201212/IMG_1166-97e81d_870x550.jpg
# [gregorlove] Will do. It captures the definition that clears up my confusion.
# gregorlove.com edited /photo (+57) "/* Notes with photos examples */ clarify, note currently dead image src" (view diff)
# tantek prtksxna: would appreciate your thoughts on this in particular https://github.com/tantek/post-type-discovery/issues/25
# tantek or if you'd like to help with https://github.com/microformats/h2vx.com
# tantek one thing we really should do is move http://microformats.org/wiki/h2vx#issues to https://github.com/microformats/h2vx.com/issues
# tantek ok, captured that here so it's not just lost in IRC http://microformats.org/wiki/h2vx#issues
# tantek.com edited /webcal (+33) "/* IndieWeb Examples */ note using dev version of h2vx" (view diff)
[kevinmarks] joined the channel
# [kevinmarks] Hm p-summary can be inside e-content or separate, u-photo is similar
# [kevinmarks] Also, as atom (and to a lesser extent, rss) can contain html, just put the h-event in the e-content and tunnel it through
# [kevinmarks] That is true, but microformats have always had that DRY polymorphism
# [kevinmarks] But that was your point earlier - if we have something looking for h-event it can dig through nesting
# [kevinmarks] So h2vx 2.0 can
# [kevinmarks] Right
# [kevinmarks] Because we didn't define nesting generally in mf1
# tantek gets closer to having his new event posts show up in iCalendar via dev.h2vx.com, fails, files the necessary issues of things to fix in H2VX - in particular https://github.com/microformats/h2vx.com/issues/5 and https://github.com/microformats/h2vx.com/issues/6
tbbrown joined the channel
# tantek schmarty: would be interested in your feedback on using p-summary as fallback, it impacts this issue: https://github.com/tantek/post-type-discovery/issues/25
tbbrown joined the channel
tantek joined the channel
# [kevinmarks] Hmm. Maybe an image post with a description, but it is a bit odd
tantek, gRegorLove, [cleverdevil], snarfed, KevinMarks, davidmead, [manton], KartikPrabhu and KevinMarks_ joined the channel