#dev 2016-10-10

2016-10-10 UTC
tantek, kylewm, chrisaldrich1, AngeloGladding, chrisaldrich_, gRegorLove and cweiske joined the channel
#
@voxpelli
My WebMention endpoint is crashing for some reason, will try to look at it asap
(twitter.com/_/status/785378874708328448)
chrisaldrich_ joined the channel
#
cweiske.de
edited /emoji (+123) "links"
(view diff)
#
cweiske.de
edited /emoji (+76) "/* Links */"
(view diff)
tantek, kants_, KartikPrabhu and cweiske joined the channel
#
sebastianlasse.de
edited /Events (+680) "/* November */ URGENT! indiewebcamp Berlin [sync. with LA]"
(view diff)
#
www.svenknebel.de
edited /2016/Berlin (+871) "initial page"
(view diff)
#
www.svenknebel.de
edited /2016/Berlin (-23) "/* IndieWebCamp Berlin 2016 */ formatting"
(view diff)
#
sebastianlasse.de
edited /2016/Berlin (+1595) "/* IndieWebCamp Berlin 2016 */ Added When, Where and Description"
(view diff)
#
pfefferle
hej hej
#
Loqi
pfefferle: GWG left you a message 3 days, 2 hours ago: I couldn't figure out how to do that with an action hook and get a return value.
#
Loqi
pfefferle: GWG left you a message 3 days, 2 hours ago: There are other ways to hook on handlers. objects, etc.
#
GWG
pfefferle, a bit late, I see changes in that area.
#
pfefferle
GWG I started rewriting some parts... I think we should start with a non hookable handler solution and implement it later... perhaps with the async part...
#
pfefferle
what do you think about the changes so far?
#
GWG
Well, the random delay asynchronous option is a good solution for the short term.
#
GWG
I like a lot of them.
#
pfefferle
GWG oh, I see some debug code and the comment_data hook should be called after the async handler... will fix that later today...
#
pfefferle
I am also working on a docker env for a better test env
#
GWG
We differ on debug code. I like to put in simple debug code keyed to WP_DEBUG being set.
#
pfefferle
but this does not always help
#
pfefferle
perhaps for the localhost "problem"
#
GWG
I know. The only one I had in there was the one from the Core Pingbacks code where it noted the receipt of a Webmention when debug was on.
#
GWG
What else are you thinking?
#
sebastianlasse.de
edited /2016/Berlin (+76) "/* IndieWebCamp Berlin 2016 */"
(view diff)
tantek joined the channel
#
pfefferle
GWG the save version of remote_get seemt to not accept localhost URLs
#
GWG
pfefferle: By design, yes.
#
GWG
It's a good way to add that support, but hurts testing.
#
GWG
I use a test site, not localhost, to test it
#
pfefferle
yes, and I am not a huge fan of live testing ;)
#
pfefferle
but that makes it hard to debug, cause you have to deploy it with every change
#
GWG
Live as in on a site others can see or live as in on your own site? I test on a site that can be seen, but isn't my site. It's labeled as a test site
#
GWG
It is also where I write code. On a VPS.
#
pfefferle
but that is not very practicable
#
sebastianlasse.de
edited /2016/Berlin (+152) "/* Register */"
(view diff)
#
GWG
It works for me. I know not everyone does it.
#
sebastianlasse.de
edited /2016/Berlin (+86) "/* Participating */"
(view diff)
#
GWG
pfefferle: I write code in a terminal shell on the VPS itself.
#
pfefferle
GWG I would love to build a test env that is working in every situation... local or server
#
GWG
pfefferle: Should be a way
#
www.svenknebel.de
edited /2016/Berlin (+13) "/* Participating */ sknebel"
(view diff)
#
pfefferle
GWG not that easy, but "you grow with your tasks" <- does that make sense in english?
#
GWG
pfefferle: Yes it does
#
GWG
pfefferle: The test way is to have a non-localhost IP address as an alias for yours within the environment.
#
tantek
IG changed their markup (dropped alt attribute from the image for the photo) which broke my bookmarklet
#
pfefferle
GWG I learned that I can't translate every german saying to english :)
#
GWG
pfefferle, idioms are always hard to translate.
#
pfefferle
GWG if it is a lokal IP range, it micht also not work...
#
GWG
pfefferle, in the interim, while watching your changes, I think I will try to fix my location support plugin.
#
GWG
I really want to see Webmentions and Semantic Linkbacks get to a higher level to help attract interest.
#
tantek
still dislikes the term "Semantic Linkbacks" as being too abstract and not very user-appealing
#
GWG
Most of the Webmention improvements were about the specification.
#
tantek
like why not something like IndieWeb Responses
#
GWG
You can't change the slug even if you change the name
#
GWG
But Semantic Linkbacks still reretrieves the source HTML. Which is my biggest pet peeve. It won't stand up to high usage for that reason.
#
tantek
really? why? Pingback already does that right?
#
tantek
(for verifying links)
#
pfefferle
tantek it's implementation details... currently it's done twice... by the webmention plugin and by the semantic linkbacks plugin
#
tantek
oh dear yeah that's annoying
#
tantek
there's no way to re-use it?
#
pfefferle
and with the refactoring it's only done once
#
tantek
oh ok great
#
GWG
pfefferle, I think we are getting closer to a stable release though.
#
pfefferle
GWG I try to get the branch stable today or tomorrow... so that we can release a first version and start with the linkbacks stuff
#
GWG
pfefferle, I look forward to continuing to contribute.
#
pfefferle
GWG thanks for the initial rewrite! I like the switch to the API a lot!
#
GWG
tantek: Pingbacks didn't pass the source HTML so it could be used by a plugin when pfefferle wrote the original code. I was able to get that change into Core in a previous release, so we could do it.
#
pfefferle
GWG have you opened an issue regarding wp-json?
#
Loqi
gwg has 184 karma (1 in this channel)
#
GWG
pfefferle: So do I. Wonder if I can talk snarfed into it for Micropub
#
GWG
pfefferle: No, because I think that they'd say it is now in core as wp-json. But I want to discuss it in their Slack room a bit.
#
pfefferle
GWG I started a discussion a while ago and the answer was to raise an issue ;)
#
pfefferle
GWG but I can do that too, only wanted to know if you already did, to prevent doing it twice...
#
GWG
I didn't.
#
GWG
I'm not sure. Github WP-API or Core Trac?
#
GWG
IT's in Core, so probably the latter.
#
GWG
I'd propose wp-api over wp-json
#
pfefferle
wp-api would be perfect
#
GWG
pfefferle: Anything else on your mind for the future? I know I always have a lot of things I'm trying to accomplish and hoping one or two of them work out.
#
pfefferle
GWG depending?
#
GWG
I meant in Webmentions/Semantic Linkbacks.
#
GWG
I keep trying to slip things into Core, but I don't think I have momentum for a big change yet
#
GWG
I can't even get jorbin to proof my Make Core Pingbacks/Webmentions blog post
#
pfefferle
GWG for webmention: getting a stable release that matches the spec and supports async
#
pfefferle
GWG für SL: implement the new changes and support facepiles
#
GWG
pfefferle: Full async I think is a 3.1 thing. Basic async, the time delay one, is doable in 3.0
#
GWG
pfefferle: Re Facepiles...Look at the code I put in the Linkbacks proof of concept plugin with the comment walker. That design isn't bad for non-Facepile stuff as well.
#
pfefferle
ah ok... you meant for 3.0? I would like to implement a stable API version that matches the spec...
#
pfefferle
GWG but it does not support grouping does it?
#
GWG
pfefferle: No. But you have to support grouping and non-grouping to accommodate people's themes.
#
pfefferle
GWG I started this branch with a basic implementation
#
pfefferle
should be theme independent
#
pfefferle
and without a walker
#
GWG
pfefferle: I know we still disagree on the Walker idea. But either way, I think it will be better than what we have and support enhancements on top of it.
#
tantek
what is the comment walker?
#
Loqi
It looks like we don't have a page for "comment walker" yet. Would you like to create it?
#
pfefferle
GWG the last version broke my comment system and looked a bit strange
#
aaronpk
who is the comment walker?
#
GWG
tantek: WordPress uses a class called Walker_Comment to generate comment displays. It can be extended.
#
pfefferle
it is a pattern by WordPress to "replace" the core comment system
#
GWG
pfefferle: By the way, here is a page with sample comments showing the Sempress theme
#
Loqi
[David Shanske] Lights
#
GWG
It was originally a post on my site.
#
GWG
It looks different with different themes.
#
pfefferle
GWG what is the advantage of the core implementation? http://notizblog.org/2016/09/23/indiewordpress-wordcamp-frankfurt/
#
Loqi
[Matthias Pfefferle] IndieWordPress – WordCamp Frankfurt
#
GWG
pfefferle: It doesn't have to be implemented using a walker. You can also use the comment callback option which is also commonly used. I was talking about the design.
#
GWG
The domain is inline with the name or the date as opposed to being in the content, for example.
#
pfefferle
GWG I am not sure I got your point...
#
pfefferle
GWG do you use the walker here?
#
GWG
pfefferle: Yes. But the same thing could be done using a callback argument in wp_list_comments
#
pfefferle
GWG but you might break the theme, because it is not sure that you are using the same classes...
#
pfefferle
GWG so it might be risky
#
GWG
pfefferle: A problem with any possible solution.
#
GWG
It is only safe to generate a Facepile if the theme doesn't show pingbacks/trackbacks/webmentions at all because you could end up with duplicate content.
#
GWG
Then you end up with paging issues.
#
GWG
It's a hard problem.
#
pfefferle
no, I don't touch the core comments and only try to add the facepile section and can provide custom css for that
#
GWG
My preference is to have a default implementation that addresses as many cases as possible, and include functions to allow a theme author to use.
#
GWG
Then the Facepile should be added to a hook, as opposed to replacing the comment template.
#
GWG
But either way, let's worry about the other parts. The retrieval fix.
#
pfefferle
it does not replace it
#
pfefferle
it shows up as a different section
#
GWG
I have some other optional extensions I may work on.
#
sebastianlasse.de
edited /2016/Berlin (+58) "/* Participating */"
(view diff)
#
GWG
I want to add a way to fix incorrect parsing manually by adding fields to the edit comment form.
#
GWG
I have a suggestion in about registering meta.
#
GWG
Etc.
#
GWG
There has been a change in how notifications work that I pushed in and I may try to redo my Notifications implementation that makes the emails clearer with Semantic Linkbacks data.
#
GWG
And I want to fix some problems in my Location code.
#
GWG
Which is unrelated
KartikPrabhu joined the channel
#
pfefferle
GWG have to check it out, some day
#
GWG
pfefferle: Not yet. The dev version is broken.
#
pfefferle
oh ok :D
#
GWG
pfefferle: I abandoned it for a bit.
#
GWG
I decided to try and get it working again, even if I have to lower the scope of my plans.
#
GWG
I was tryng to build venue support
#
pfefferle
the problem is time...
#
pfefferle
GWG ironically, the more time I invest in beeing indie, the less content I produce and vice versa ;)
#
GWG
pfefferle: Ditto
#
GWG
I don't post as much as I should.
#
pfefferle
...and if I do so it is in a silo...
#
vanderven.se martijn
edited /Main_Page (-290) "/* IndieWebCamp */ NYC and Brighton are behind us, Berlin is coming up!"
(view diff)
#
GWG
That I try to avoid. I'm just often silent.
KevinMarks joined the channel
#
GWG
pfefferle: One of these days I will have to ask you your thoughts on Post Kinds. I feel it could be better.
#
GWG
In the meantime, I need to vastly simplify and improve Location support.
#
GWG
Might make that my California project
#
pfefferle
california project?
#
pfefferle
GWG is the post kinds plugin using custom post types that will disappear when you delete the plugin?
#
GWG
pfefferle: I'm going to IWC LA
#
pfefferle
ah no, it is a taxonomy right?
#
GWG
pfefferle: It is using a custom taxonomy, yes.
#
pfefferle
so it is producing "normal" posts!?!
#
pfefferle
GWG the indents, the indents .... tststs ;))
#
GWG
pfefferle: It is adding dynamically to the post content, not statically.
#
GWG
I considered having it do it statically, which is what snarfed does.
#
GWG
pfefferle: I just always think there is a better way to do things. I wanted to abstract the microformats properties more into the meta. But I need to revisit how they are stored/generated.
#
GWG
Basically, how do you add microformats to a post using post meta in WordPress is the bigger question to tackle. Because that can be adopted by multiple plugins interoperably.
#
GWG
And how do you work that into the WordPress Post UI?
#
GWG
It's been a challenge.
#
sebastianlasse.de
edited /2016/Berlin (+1875) "/* Schedule */ Added initial schedule"
(view diff)
#
GWG
I keep thinking about writing a class to translate one into the other.
#
loqi.me
created /this_mess (+92) "prompted by tantek and dfn added by tantek"
(view diff)
#
tantek
actually prompted by Zegnat :P
ChrisAldrich joined the channel
#
tantek.com
edited /venue (+401) "kylewm's venues are back, add prototype examples with my one horizontal control mark post so far"
(view diff)
KartikPrabhu, gRegorLove and tantek joined the channel
#
loqi.me
created /Tidal (+156) "prompted by tantek and dfn added by tantek"
(view diff)
tantek joined the channel
#
sebastianlasse.de
edited /2016/Berlin (+151) "/* Register */ added Lanyrd"
(view diff)
KevinMarks, KartikPrabhu and tantek joined the channel
#
sebastianlasse.de
edited /2016/Berlin (+360) "/* IndieWebCamp Berlin 2016 */"
(view diff)
KevinMarks joined the channel
#
tantek.com
edited /IndieWebCamp_Berlin (-4) "update redir"
(view diff)
#
tantek.com
edited /2016 (-151) "no cross-city IWCs for this year's summit"
(view diff)
#
tantek.com
created /Template:sl007 (+151) "create since I used it"
(view diff)
#
tantek.com
edited /2016/Berlin (+1313) "add some more default sections to the bottom, fix a little markup, make a {{sl007}}"
(view diff)
ChrisAldrich joined the channel
#
tantek.com
edited /Template:IndieWebCamp (+0) "IWC Berlin is a GO!"
(view diff)
#
sebastiangreger.net
edited /2016/Berlin (+19) "/* Participating */ signing up for IWC Berlin"
(view diff)
KevinMarks joined the channel
#
tantek.com
edited /Planning (+336) "Move Berlin to planned, add MIT2, re-order what's likely in 2016"
(view diff)
#
tantek.com
edited /Template:IndieWebCamp (+24) "MIT2 being planned"
(view diff)
#
tantek.com
created /2016/MIT2 (+27) "r"
(view diff)
KevinMarks and KartikPrabhu joined the channel
#
gregorlove.com
edited /diversity (+213) "/* Articles */ +Running an Inclusive Hackathon article, via tantek"
(view diff)
KevinMarks joined the channel
#
gregorlove.com
created /Template:citation (+304) "basic template"
(view diff)
KevinMarks_ and KevinMarks joined the channel
#
gregorlove.com
edited /diversity (+195) "/* Articles */ citation template"
(view diff)
#
tantek.com
edited /Planning (+479) "/* 2017 */ instructions, place holder subsections for current cities"
(view diff)
#
tantek
Since we haven't seen any recent progress on planning DC or Florida, going to move those to 2017
KevinMarks joined the channel
#
tantek.com
edited /Planning (+123) "move DC and Florida to 2017 as more likely (unlikely in 2016, no recent planning done on them)"
(view diff)
#
tantek
gRegorLove: do you have thoughts on how we can best archive past Planned IndieWebCamps?
#
tantek
I feel like it is helpful to capture the final state of how planning ended up for various cities, as that will likely provide information to help plan future IWCs in those cities
#
aaronpk
maybe move each one to a page like 2016/Planning?
#
tantek
2016/Planning is planning for IndieWebSummit 2016
#
tantek
maybe more like how we archive events
#
aaronpk
what's the distinction between planning the event and...planning the event?
#
tantek
planning one event vs planning for the year of events
#
tantek
I mean I suppose once an event is planned, all it's /Planning bits could be moved to inside that event's URLs
#
aaronpk
that's what I was getting at
#
tantek
not sure we've been doing that though
#
tantek
have we?
#
tantek
seems sensible, just need to document that's how it should work
#
aaronpk
hm this is also an interesting use case for using something more like github issues for planning
KevinMarks joined the channel
#
tantek
right
#
tantek
except gh issue can't move between projects right?
#
aaronpk
no, but they can reference each other and the links show up (like webmentions!)