#dev 2017-01-12

2017-01-12 UTC
#
tantek.com
edited /rsvp (+548) "note "went to " example, "missing " brainstorm with data point, note automated webmention sending in Falcon! (instead of just "plan")"
(view diff)
#
KartikPrabhu
reading up on the micropub spec. it seems "Update" can only be done via a JSON-type request?
#
tantek
correct
#
KartikPrabhu
hmmm that is strange. so why support form-encoded at all?
#
tantek
because it is MUCH easier to implement, and there are plenty of "create only" use cases that benefit from that lower barrier to implementation
#
KartikPrabhu
as in why should I write code to accept form-encoded for other actions and then also JSON for updates?
#
tantek
IIRC only create accepts form-encoded
#
loqi.me
created /.blog (+157) "prompted by tantek and dfn added by KevinMarks"
(view diff)
#
KartikPrabhu
the only other actions are "Delete" and "Undelete" which do not need JSON
#
tantek
thought they did
#
KartikPrabhu
you can do it with a POST request and parameters
#
aaronpk
delete and undelete only pass the URL of the post being deleted so it's trivial to do in both JSON and form-encoded
#
aaronpk
form-encoded is easier to implement from both the client and server perspective, and there are enough create-only use cases to justify both clients and servers that can only create
#
KartikPrabhu
hmm it seems if the entry to be Created has nested microformats then JSON needs to be used anyway
#
aaronpk
i *think* we've reached the right balance between easy-to-get-started and allowing more flexibility once you want to start doing advanced things
#
KartikPrabhu
possibly, I simply have been out of the micropub loop for quite a while
#
KevinMarks
Can't you post html with nested microformats?
#
aaronpk
KevinMarks: that's totally different
#
aaronpk
sure you can, but you're not gonna get a server to create fancy mf2 objects that it actually understands that way
#
aaronpk
but if all you care about is getting the mf2 markup to appear on the web page then that's fine
#
aaronpk
i couldn't create my travel posts that way tho
#
KevinMarks
Gotcha. It is a way to tunnel mf2 into silos though
#
KartikPrabhu
just realised that he does not even know how to send JSON as a POST request
#
aaronpk
haha yeah that's why form-encoded is for the basic stuff :)
#
Loqi
aaronpk: lol
#
tantek
Hmm my webmention discovery code is having trouble finding sebsel's endpoint here: https://seblog.nl/2017/01/11/1/homebrew-website-club
#
Loqi
Homebrew Website Club
#
tantek
whereas I see it in the source!
#
sebsel
oh, I see it in pin13's mf2 parser too?
#
tantek
sebsel wow your site is returning 404 to my server!
#
tantek
but 200 to my browser!
#
sebsel
is translating IndieNews to Dutch in order to submit a blogpost tomorrow
#
tantek
do you have some sort of useragent check?
#
sebsel
that's strange. I have no idea where I should find those things.
#
tantek
your server HTTP error logs should have it
#
tantek
(including my requesting user agent etc.)
#
sebsel
My test is usually: do Xray and pin13 work :P
#
sebsel
I'll dig now!
#
tantek
e.g. "head_http_rels function" :)
#
tantek
look for that in your logs
#
sebsel
yeah, i have that
#
sebsel
HEAD /2017/01/11/1 HTTP/1.1" 404 3772 "-" "head_http_rels function"
#
sebsel
(let's not paste all the things)
#
tantek
specifically, your server seems to be returning a 404 for a HEAD request
#
tantek
a-ha!
#
tantek
I think that's an error to return a 404 for a HEAD request that would work as a GET
#
sebsel
next up: what to do with it.
#
tantek
!tell aaronpk does the webmention.rocks receiver test suite have a test for if a post permalink returns a 404 for a HEAD request but a 200 for a GET request?
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
I thought HEAD requests were supposed to return all the same headers as a GET request but with no body
#
tantek
bingo
#
tantek
so if they don't, then it's an error on the server's part
#
tantek
that's why it's a good test
#
tantek
specifically because I just found one :)
#
aaronpk
i don't think that specific test is in webmention.rocks but pretty sure I have HEAD tests there
#
sebsel
ohhh, wait, maybe...
#
tantek
my webmention endpoint discovery code does a HEAD request first, and if it doesn't get a 200, it bails and doesn't bother with a GET
#
aaronpk
That seems reasonable
#
tantek
(that's in the open source PHP code I posted)
#
aaronpk
What is HEAD?
#
Loqi
It looks like we don't have a page for "HEAD" yet. Would you like to create it?
#
tantek
alright, I'm posting my post. apologies sebsel, you're not getting a webmention ;)
#
tantek
here goes a big multi RSVP no
#
sebsel
It defaults to GET
#
sebsel
will file an issue there.
#
sebsel
It should work now :)
#
tantek
yay I helped find a bug!
#
Loqi
giggles
KevinMarks joined the channel
#
tantek
!tell gregorlove on https://gregorlove.com/2017/01/homebrew-website-club/ I get "Notice: Undefined variable: matches in /home/gregorlove/gregorlove.com/site/templates/event.php on line 10" at the top
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Homebrew Website Club
#
sebsel
All them bugs!
#
miklb
since I'm building this server over again from scratch, anyone have opinion on whether should build with pagespeed module? Is it a pain to maintain a custom build of nginx?
#
aaronpk
I've been doing custom nginx builds for a couple years now
#
aaronpk
It's not that bad actually
#
aaronpk
I use the push-stream and http2 modules
gRegorLove joined the channel
#
miklb
I think http2 is now in standard build, but push-stream looks interesting
#
aaronpk
Ah yeah that's right
#
aaronpk
push stream makes doing realtime stuff sooo easy
#
sebsel
tantek I still see no webmention of your post. did you resend one and did I fail elsewhere, or is this just the HEAD thingy?
#
sebsel
ah he's gone.
#
sebsel
!tell tantek I still see no webmention of your post. did you resend one and did I fail elsewhere, or is this just the HEAD thingy?
#
Loqi
Ok, I'll tell them that when I see them next
#
sebsel
I created my pull requests and filed my issues.
#
sebsel
it's 3:21 at night here
#
sebsel
good night indieweb :)
#
Loqi
sleep tight!
gRegorLove and arush joined the channel
#
www.boffosocko.com
edited /lulz (+70) "microformats for voting"
(view diff)
KevinMarks and KevinMarks_ joined the channel
#
KevinMarks_
I had that head problem with things built on appengine, where you have to explicitly write the head handler or it 501s
cweiske, tantek, KevinMarks and loicm joined the channel
#
tantek.com
edited /rsvp (+104) "/* Tantek */ Multi-RSVP no using text "missing ""
(view diff)
KevinMarks_ joined the channel
#
tantek.com
edited /rsvp (+38) "/* Text Design */ "missing " RSVP "no" text equivalent implemented"
(view diff)
loicm joined the channel
#
calumryan.com
edited /2017/Nuremberg/Guest_List (+267) "Added to Attending 2017/Nuremberg/Guest List"
(view diff)
j4y_funabashi joined the channel
sknebel joined the channel
#
barryfrost.com
edited /Micropublish (+31) "/* History */ Updates based on Tantek's edits."
(view diff)
j4y_funabashi joined the channel
#
@voxpelli
Great to see! If someone wants to try, then it’s easy to get started with: https://webmention.herokuapp.com/ Would love more… https://twitter.com/i/web/status/819548246494367745
(twitter.com/_/status/819548246494367745)
#
sebsel
So I send a webmention to Indieweb.org and I receive a 201 with this location: https://webmention.io/indiewebcamp/webmention/VXupM-fpn2fRMobENjpU
#
sebsel
Does not sound good.
#
sebsel
But I can't figure out wether that's my fault or webmention.io's
#
sebsel
Ah, 502, that's probably not my fault then.
loicm, ben_thatmustbeme and tantek joined the channel
#
loqi.me
created /latency (+393) "prompted by sebsel and dfn added by tantek"
(view diff)
#
tantek.com
edited /latency (+105) "linky a bit, context, see also"
(view diff)
#
tantek.com
edited /latency (+13) "posts show comments, etc."
(view diff)
#
loqi.me
edited /performance (+14) "sebsel added "[[latency]]" to "See Also""
(view diff)
#
aaronparecki.com
edited /p3k (-15) "/* Libraries */"
(view diff)
#
loqi.me
edited /performance (+14) "tantek added "[[latency]]" to "See Also""
(view diff)
#
seblog.nl
edited /performance (-14) "/* See Also */ removed the extra /latency and reorder"
(view diff)
tantek joined the channel
#
tantek
!tell snarfed,kylewm does Bridgy have its own blog or twitter handle (preferably both?)
#
Loqi
tantek: sebsel left you a message 16 hours, 3 minutes ago: I still see no webmention of your post. did you resend one and did I fail elsewhere, or is this just the HEAD thingy?
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
sebsel: was just the HEAD 404 thingy, later I did a manual Webmention send via the form on your post
#
sebsel
I thought so :) then it's ok
#
tantek
GWG, any way to measure WordPress Webmention plugin deployment?
#
aaronpk
not sure the upper range of that +
#
tantek
that's a good enough citation and number
#
tantek.com
edited /selfdogfood (+14) "fix bullets"
(view diff)
#
@azaroth42
@csarven @rhiaro As LDN is to webmention, so ??? is to websub? Is there something more data friendly in the works?
(twitter.com/_/status/819616633027104769)
#
aaronpk
pk_campaign? i don't have my own tracking software yet
#
aaronpk
and here come the tweets!
#
kevinmarks.com
edited /events/2017-01-11-homebrew-website-club (+177) "/* The Netherlands Photo */ Add SF photo"
(view diff)
#
@t
#Webmention first^1 @W3C REC 2017! https://www.w3.org/TR/2017/REC-webmention-20170112/ High bar * 14+ impls^2 * 10k+ sites^3 * 1 year ... http://tantek.com/2017/012/t1
(twitter.com/_/status/819618122101563395)
KartikPrabhu joined the channel
#
aaronpk
oh boy hackernews
#
@techguard1
SecNewsBot: Hacker News - Webmention is a W3C Recommendation https://www.w3.org/blog/news/archives/6052
(twitter.com/_/status/819630745379598336)
#
Loqi
[Aaron Parecki] I'm pretty pleased with the timestamps of both of these posts. One year to the minute! https://aaronparecki.com/2016/01/12/14/webmention https://aaronparecki.com/2017/01/12/13/webmention-rec...
#
tantek
aaronpk++
#
Loqi
aaronpk has 25 karma in this channel (1177 overall)
#
tantek
too bad it wasn't post # 6502 ;)
#
tantek
glances in bear's direction for a reaction ;)
#
bear
hahaha
#
Loqi
ahahahaha
#
bear
I love that CPU
#
tantek.com
edited /Diaspora (+742) "/* Criticism */ General Criticisms / Why I am quitting Diaspora"
(view diff)
#
GWG
tantek, you need pfefferle to log in to get detailed stats. I can do it for the Indieweb plugin or mine, but I am not listed as an author of Webmentions. Maybe I should ask.
#
tantek
GWG, then it's not good as a citation, as other people need to be able to click on the link and verify the numbers
#
tantek
that is, requiring log in is not helpful
#
GWG
tantek, most people only get the range.
#
GWG
But what alternative data is there?
#
tantek
it says 400 right there without logging in
#
GWG
Yes, that is active installs.
#
GWG
Only the author can track more granular data
#
GWG
Like downloads, if you wanted to know how many people tried it
#
GWG
voxpelli, the logged in version is a little more detailed, but the basic stats are there.
#
voxpelli
are the install numbers of wordpress reliable? I know they were not a 100% in Drupal as not everyone has the update lookups it relies on turned on
#
GWG
I do wonder about those big spikes in June.
#
GWG
I am told they arr.
#
GWG
are.
#
bear.im
edited /DNSimple (-11) "update dfn"
(view diff)
#
Loqi
bear has 11 karma in this channel (175 overall)
#
kodfabrik.se
edited /DNSimple (+323) "Add link to platform announcement"
(view diff)
#
www.boffosocko.com
edited /chicken (+85) "Tantek had given emoji to all the other /posts#Kinds_of_Posts, so why not this one? ;)"
(view diff)
tantek joined the channel
#
Zegnat
aaronpk, what parser sits behind pin13?
#
tantek
php-mf2 AFAIK
#
aaronpk
Yeah. Check the parsed result of any page ;-) it's in the json
#
KevinMarks_
Unmung.com uses the python one, if you want to compare
#
loqi.me
edited /Hover (+45) "/* See Also */ new section"
(view diff)
KartikPrabhu joined the channel
#
ncollig.net
created /Template:Ncollig (+1085) "Created page with "<div class="h-card">[https://ncollig.net/ <img src="https://ncollig.net/file/29fb5b71090d7a6f18e3941bd9d73b3d/thumb.jpg" style="width:128px;float:right;margin-left:1em"/>'''<span...""
(view diff)
#
ncollig.net
edited /Template:Ncollig () "(-1078) Replaced content with "NCollig""
(view diff)
#
ncollig.net
edited /Homebrew_Website_Club (+71) "/* Brussels */"
(view diff)
#
www.boffosocko.com
created /own_all_the_things (+1423) "definition, example, see also's"
(view diff)
#
www.boffosocko.com
edited /everything (+25) "+own all the things to see also"
(view diff)
#
tantek
what is everything?
#
www.boffosocko.com
created /ownallthethings (+32) "created redirect"
(view diff)
#
ncollig.net
edited /Homebrew_Website_Club (+14) "/* Brussels */"
(view diff)
#
ncollig.net
created /Template:NCollig (+165) "Created page with "<span class="h-card" style="white-space:nowrap">{{sparkline|https://ncollig.net/file/29fb5b71090d7a6f18e3941bd9d73b3d/thumb.jpg}} [[User:NCollig.net|NCollig]]</span>""
(view diff)
#
ncollig.net
created /Template:RMendes (+172) "Created page with "<span class="h-card" style="white-space:nowrap">{{sparkline|https://www.rmendes.net/file/9f0747742998d53a7fd32e575fd64e19/thumb.jpg}} [User:Www.rmendes.net|RMendes]]</span>""
(view diff)
ncollig_ joined the channel
#
www.boffosocko.com
edited /Template:t (+405) "Added noinclude text to provide additional details/pointers for creating templates with sparklines since /Template:t is a common example"
(view diff)
#
tantek.com
edited /Events (+42) "/* May */ highlight both IWCs"
(view diff)