#dev 2016-07-13

2016-07-13 UTC
tantek, KevinMarks, KevinMarks_ and miklb_ joined the channel
#
GWG
Evening
#
aaronpk
I really wanted to avoid using a CSS framework for the IRC logs but I'm getting to the point that I think it might be worth it
#
aaronpk
dealing with this header bar is annoying by hand
KevinMarks_, tantek, tantek_, KevinMarks and gRegorLove joined the channel
#
miklb
GWG might be getting into dev talk :) What do you mean mapping to post meta?
#
GWG
I want to create a class that accepts a post_id or a post object and allows outputting jf2 and mf2
#
miklb
then what, store it as meta fields?
#
GWG
Everything that isn't an existing post object property
#
miklb
a bit above my skill set, but makes sense. Are you having trouble or just slow going?
#
GWG
I just decided to do it this week.
#
GWG
As an enhancement to one of my plugins that could have use beyond it.
#
GWG
I've been trying to design it in my mind.
#
miklb
yeah, that can be the hardest part. Project I'm working on that requires post2post I finally had to do a mind map so I can almost physically draw the connections
#
GWG
Well, I have written and rewritten things dozens of times. I'd like to not rewrite this because I'm hoping it will be adopted by others.
#
miklb
I understand. Just meant that sometimes physically mapping out the connections can help visual
cweiske, tantek, KevinMarks, lukasros and KevinMarks_ joined the channel
#
@webrocker
meh, the incoming webmentions via brid.gy don't get the correct "type" (like/repost/…) anymore when they appear as "comments" in my blog
(twitter.com/_/status/753163646365208576)
#
adactio.com
edited /2016/Brighton (+234) "/* IndieWebCamp Brighton 2016 */"
(view diff)
#
adactio.com
edited /2016/Brighton (+94) "/* Register */"
(view diff)
#
adactio.com
edited /2016/Brighton (+92) "/* Participating */"
(view diff)
#
petermolnar.net
edited /2016/Brighton (+18) "/* Participating */"
(view diff)
#
kodfabrik.se
edited /2016/Brighton (+15) "/* Participating */"
(view diff)
#
GWG
Morning
#
adactio.com
edited /2016/Brighton (+59) "/* Participating */"
(view diff)
#
@voxpelli
@kevinmarks @sil @miklb Just updated my Webmention endpoint with some large code changes. Can you keep an eye out for any weirdness?
(twitter.com/_/status/753228996586967040)
#
GWG
voxpelli: What does it do now?
#
voxpelli
GWG: two things: 1. it works on latest version of node.js and with the latest version of the microformat parser 2. it is now prepared for basic Salmention functionality
#
voxpelli
the preparing for Salmention required some substantial refactoring
#
voxpelli
(and a bonus change: I moved to a common js coding standard so I had to change lots of the coding style as well)
#
voxpelli
GWG: if you can send me a Webmention on http://voxpelli.com/ – front page or a post of some kind – then I could see that it still seems to work there :)
#
GWG
What should I say? Hmm...
#
voxpelli
"1-2-3 testing testing, is this thing on?" ;)
#
GWG
Done
#
voxpelli
GWG: what did you mention?
#
GWG
Homepage
#
voxpelli
GWG: can you see if your webmention got sent correctly? I can see now POST to my endpoint in my logs :/
#
voxpelli
I can see two GET requests
#
GWG
Well, not effectively. I don't log outgoing.
#
voxpelli
GWG: it got through when I manually sent the ping, thanks!
#
GWG
voxpelli: There is a reason I'm sending PRs to try and change the webmention plugin. One of the ones on my list is logging.
#
voxpelli
GWG: I'm creating an issue for it so that there's a note on the benefits of it :)
#
GWG
I'm looking. I think it might be my wp-cron job.
#
GWG
The webmention plugin uses a _mentionme post meta tag. It is still on the post.
#
voxpelli
I may perhaps have gotten a ping from at 14.51 UTC
#
aaronparecki.com
edited /Main_Page (+293) "/* Upcoming IndieWebCamps */ add Brighton"
(view diff)
#
kodfabrik.se
edited /deduplication (+14) "Fix redirect pointing wrong"
(view diff)
tantek and gRegorLove joined the channel
#
@hmans
@halfbyte Would hugely prefer IndieAuth, but it's sharing most of the same issues.
(twitter.com/_/status/753268504418279424)
#
@aaronpk
@hmans How so? The nice part is IndieAuth is vastly simpler than OpenID so there are already several auth servers, incl built-in ones
(twitter.com/_/status/753273829116383236)
tantek and tantek_ joined the channel
#
KevinMarks_
Minor thing with chat.indieweb.org - if multiple tabs are yellow, and you click one, the others stop being yellow
KevinMarks__ joined the channel
#
GWG
Afternoon
#
GWG
How do people log their Webmentions?
#
aaronpk
I store them in a database 🙈
#
GWG
aaronpk, I meant outgoing, not incoming? Do you keep logs?
#
aaronpk
oh, I send mine using Telegraph, and it keeps logs
#
GWG
aaronpk, what level of detail?
#
miklb
the jekyll plugin I use creates a cache of sent & received mentions
#
bear
I log mine to disk as json, a redis entry and to the app log that handles them
#
GWG
Yes, but what level of detail?
#
GWG
I am trying to figure out what to do after this morning.
#
GWG
Where voxpelli didn't get my webmention.
#
bear
in my app log I record all of the things relevant to the receiving: domain, vouch, auth items and the json of what will be stored in redis
#
bear
then in redis I store the session id info and the webmention "task"
#
bear
and then in the static generator I move that task to an archive and then write that json to a disk as a cache
#
miklb
hmm. My sent only logs the source and target URLs
#
bear
it allows me to recreate or rollback any event using the command line
#
GWG
I think my problem is wp-cron
#
bear
(yes, probably overboard, but I am an ops person)
#
sknebel
timestamp + HTTP response + if it exists status URL would be useful to log as well I think
#
bear
this is where I create the json data that I store: https://github.com/bear/kaku/blob/master/kaku/mentions.py#L107
#
sknebel
(and of course if possible any low-level errors you encounter, like "host not found", "unsupported TLS cipher", "invalid TLS certificate)
#
sknebel
(in my case, it's a text log that contains the python traceback if something breaks)
#
bear
same :)
#
GWG
Do you ever get alerted to failures?
#
sknebel
I don't use my site enough, so I'm still manually checking every time because I don't quite believe yet that it works :/
#
sknebel
(but good point, need to plan some feedback mechanism)
#
GWG
I am trying to troubleshoot an existing problem, but prepare for future ones.
#
GWG
aaronpk, how often do you need to check them?
#
aaronpk
not often, mostly if I think something went wrong
#
GWG
And you purge?
#
GWG
Interesting
#
gRegorLove
GWG: send queue is in the db. Fields: source, target, vouch, processwire page id, created, modified, processed. Last 3 are datetime fields.
#
aaronpk
you don't store the results?
#
gRegorLove
I log a lot of things to flat file "initiated sending from [url] to [url]", "no endpoint found for [url]" I log the http response code when sent, serialized post parameters, and response body.
#
gRegorLove
And "error sending from [url] to [url]" if I don't get a 20x code.
#
gRegorLove
No automated retry yet.
#
gRegorLove
I'm in the process of reworking it a bit, so I can re-send to URLs that were removed, to pass that webmention.rocks test.
#
gRegorLove
The send queue in the db makes that relatively easy, thankfully
#
bear
if I get more than one webmention a month I might consider alerting to failure ;)
#
@kragen
@coreload @leastfixedpoint Webmention is for federating servers, not eliminating them
(twitter.com/_/status/753330804143644672)
tantek joined the channel
#
tantek.com
edited /This_Week_in_Google (+252) "h-event markup in an attempt to help Loqi answer when"
(view diff)
KevinMarks joined the channel