#indiewebcamp 2016-04-11

2016-04-11 UTC
#
aaronpk
i'm surprised there isn't already a mechanism for that in Flask or whatevr you're using
#
bear
this is not flask technically
#
bear
it's part of the library I created for webmentions, ronkyuu
#
KartikPrabhu
bear: does requests not normalise it in some way?
#
bear
not from what i'm seeing in my debug output
#
KartikPrabhu
hmm curious
#
bear
I just added some output for headers and they are all camel case (for this request)
#
bear
bah - it must be something i'm doing wrong
#
bear
the type of the headers item is requests.structures.CaseInsentiveDict
#
KartikPrabhu
that's what I thought
#
bear
but I'm sure as heck not getting a string when I do `r.headers['link']`
#
aaronpk
wow python has a class called CaseInsensitiveDict? that's kind of handy
#
bear
I don't think it has a language core item, but the Requests library implements one
#
KartikPrabhu
bear what URL are you testing... lets see if i can reroduce
#
Loqi
[Webmention Rocks!] Test #1
#
bear
i'm using the latest ronkyuu for this, right now i'm hacking in some debug output
#
aaronpk
i wonder if i can get it to return a link header like "liNK"
#
bear
that would be a great edge case test
#
KartikPrabhu
bear: requests seems to work as expected for me
#
KartikPrabhu
caseinsensitive
#
bear
k, then it's an error in another layer ...
#
bear
I love these types of things - they cause me to add more tests
#
miklb
aaronpk I totally just cribbed your flexbox use on those test pages. Thanks! :-)
#
aaronpk
haha good
#
Loqi
nice
#
miklb
now all I need to do is style the webmentions in this thing, write some documentation, and I can share it to get feedback.
#
bear
question about the link header for test/1 aaronpk -- shouldn't it be rel="webmention" instead of rel=webmention ?
#
aaronpk
oh i think you're right
#
aaronpk
my sending library doesn't care apparently
#
bear
I was wondering - my rel finding code was failing
#
aaronpk
what does the <> signify?
#
bear
a token
#
bear
sorry - a constant string
#
bear
just like here: link-value = "<" URI-Reference ">" *( ";" link-param )
#
bear
the < is not optional
#
aaronpk
"and MUST be quoted if they contain a semicolon (";")"
#
aaronpk
does that mean they don't need to be quoted if there is no semicolon in the rel value?
#
bear
where do you see that MUST ?
tantek joined the channel
#
bear
ah - I see it now - wow, that sure does read ambiguiously
#
bear
oh - I see where I read it wrong
#
bear
relation-types = relation-type
#
bear
| <"> relation-type *( 1*SP relation-type ) <">
#
bear
missed that it was an OR definition
#
aaronpk
so rel=webmention *and* rel="webmention" are valid?
#
bear
so it could be: rel=webmention OR rel="webmention"
#
aaronpk
whee http is fun
#
aaronpk
adds another test case
#
bear
now to make my regex for rel= discovery work with optional quotes
#
tantek
subject lines to not use in comments that get propagated to email: "Your recovery phone number changed", "Your recovery email address changed"
#
aaronpk
i don't get it
#
tantek
every comment you make on a Known instance gets propagated to email notification by default, therefore ...
#
tantek
if you start your comment with text like the above, it's likely the recipient will see it in the subject of their email
#
tantek
I think WordPress similarly has comment notification by email
#
tantek
and since most of these "native" comment systems let you claim to be whoever you want, e.g. claim to be "Google"
#
GWG
tantek: Not built in.
#
tantek
with a plugin presumably
#
GWG
tantek: Yes. You can do anything with a plugin.
#
tantek
sounds dangerous ;)
#
miklb
just ask that law firm in Panama
#
miklb
too soon?
#
gregorlove.com
edited /ProcessWire (+195) "/* Plugins */ v1.1.1 notes"
(view diff)
#
gregorlove.com
edited /authorship (-59) "/* ProcessWire Webmention */"
(view diff)
mlncn joined the channel
#
aaronpk
okay there's a little explantation on the home page now https://webmention.rocks/
#
KartikPrabhu
aaronpk: might be good to rename the tests according to what they test or something
#
KartikPrabhu
hard to look for a particular test by number
#
aaronpk
yeah i was struggling with coming up for a concise name for each
#
bear
oops - sorry aaronpk , I forgot to give feedback on the main page, I got too into fixing ronkyuu to pass test #1 !
#
aaronpk
Test #1: "Webmention endpoint discovery with unquoted HTTP Link header" while descriptive is a little excessive
#
bear
don't rename the tests IMO, but just add explainer test
#
KartikPrabhu
aaronpk: maybe write a description and not title?
#
tantek
aaronpk - have to head to dinner but I'll see if I can come up with pithy shorthand names for these. well done!
#
bear
unless you group them: discovery_01 - webmention endpoint discovery with unquoated HTTP ...
#
aaronpk
i'm planning on grouping them in different sections on the home page. right now these are all basically various discovery tests
#
KartikPrabhu
aaronpk: sure thing. great job so far though
#
KartikPrabhu
aaronpk++ for webmention.rocks
#
Loqi
aaronpk has 112 karma
#
tantek
came up with an entire shorthand naming system for CSS test suite tests back in day, you may be able to search/dig for it and find it.
#
aaronpk
eventually i'm going to add webmention *sending* tests, but that's a whole different story
#
aaronpk
where webmention.rocks will send you test mentions
#
kylewm
tantek: could you explain your comment about "your password has changed" in an email notification? I'm not following at all, is there a bug?
#
tantek
not saying you should, just saying if you were curious about web history trivia etc.
#
tantek
kylewm: point was that's a bit of a "scare phrase" (having just seen it in an actual email) and thus I could see it being an attack vector of sorts (people sending/making a comment that is designed to look like a password reset / recovery email message)
#
tantek
that's as far as I got - I don't know if there is an actual vulnerability there, just potentially another phishing attack surface
#
tantek
for any system that automatically puts 'web comments' into email messages
#
kylewm
Oh huh OK gotcha
#
tantek
ooh aaronpk I got one I got one (actually make that two :) )
#
kylewm
That kind of thing is really nasty with linked in that sets the person's name as the sender
#
tantek
rel="webmention x-some-other-rel-value-whoknows"
#
tantek
rel="x-some-other-rel-value-whoknows webmention"
#
aaronpk
tantek++
#
Loqi
tantek has 284 karma
#
tantek
rel="x-some-other-before webmention x-some-other-after"
#
aaronpk
okay short descriptions added to the home page
#
tantek
yeah - Google Reader failed feed discovery with rel value parsing this way back in the day, I filed a bug, they never fixed it
#
tantek
you might say I'm still annoyed they didn't bother with such a simple bug fix
#
tantek
so let's put this in the validator / test suite
#
tantek
if your serverside consuming code is doing lazy rel value parsing, too bad
#
tantek
we could be really evil and test invalid stuff too like:
#
tantek
rel="no-this-is-not-a-webmention"
#
tantek
rel="webmention-not"
#
tantek
see if anybody errantly tries to send a webmention to those endpoints
#
aaronpk
yeah I need to figure out how to show those negative cases
#
tantek
you can combine those and put them BEFORE the valid ones
#
tantek
so dumb parsers / regexers will get tripped up on the incorrect rel value
#
tantek
and just take that
#
tantek
instead of looking for the correct value later
#
aaronpk
there's another one which is when a page advertises an endpoint using all three methods (HTTP Link, html link, a link), the sender is supposed to send to only the first one, so I need to show if it ends up sending to the wrong endpoint
#
tantek
heck put a false rel value / endpoint like that both before and after
#
tantek
in case they're looking for first or last
#
tantek
sorta
#
tantek
HTTP Link, then whichever a/link comes first in the HTML
#
tantek
like if there is a a rel=webmention BEFORE a link rel=webmention, then the a should win
#
aaronpk
that's not what it says right now
#
aaronpk
"the first HTTP Link header takes precedence, followed by the first <link> element, and finally the first <a> element."
#
aaronpk
i don't know *why* it's worded that way, but it's been that way for a long long time
#
tantek
I wonder if anyone actually did that literally
#
tantek
dangit well I'm looking for the first with rel~=webmention
#
tantek
which is what I thought the spec said
#
aaronpk
it does seem reasonable to look for the first a or link with rel=webmention
#
tantek
it takes more code to look once for link, then again for a
#
bear
that is what ronkyuu does, check for the presence of a link header, if not look for an href
#
aaronpk
so many negative cases to test
#
bear
and the href scan will return <link> before <a href 's
#
aaronpk
i should add one that has img src="*" rel="webmention"
#
tantek
bear really? just because you expect <link> to be in head?
#
tantek
and <a> to be in <body>
#
tantek
aaronpk: or <area> perhaps?
#
bear
I thought <link> were only in head
#
tantek
bear, welcome to HTML5
#
tantek
where you can now <link> anywhere
#
bear
dude, i'm just now getting used to HTML let alone HTML5
#
tantek
aaronpk, <area> can have rel and href
#
tantek
<img> cannot have rel - that's invalid HTML
#
aaronpk
also img href?
wolftune joined the channel
#
bear
\o/ - test/1 handled by ronkyuu
#
bear
odd - test/2 returned a status code of 200 but it's not showing
#
tantek
aaronpk: please consider pure HTML source order for rel discovery rather than preferring LINK over A. I'm fairly certain that other (previous?) rel discovery mechanisms did that.
#
tantek
could file an issue to track it - got to run to dinner though
#
aaronpk
bear: yay! also hooray for finding fun edge cases in my markup
#
Loqi
yay!
#
aaronpk
i forgot that I allow ul/li tags in comment text
#
bear
is that why test/2 isn't showing up
#
aaronpk
not sure
#
aaronpk
it shouldn't have affected #2
#
bear
i'm sending a test webmention for test/2 and the result is 200 - but i'm not seeing it
#
aaronpk
this is where my plan to show a log on the site of all the webmentions it receives (including invalid ones) would be helpful
#
aaronpk
and just to double check, you discovered the endpoint for test/2 separately?
#
aaronpk
they are different endpoints
#
bear
yea, this is why i'm adding a debug=True to ronkyuu :)
#
bear
my code does the discovery,send for each url found
#
bear
(at least that is what it should be doing, let me check)
#
aaronpk
(you shouldn't have gotten a 200 if you sent to the wrong endpoint)
#
bear
yep - discoverEndpoint() and sendWebmention() are for each url that qualifies
#
bear
aaronpk - is there a repo I can file issues against for webmention.rocks ?
#
bear
ah - I see it at the bottom of the main page now
snarfed joined the channel
#
aaronpk
bear: it returned HTML in response to your POST request?
#
bear
same thing for 7 and 8
#
aaronpk
wat. that shouldn't be possible
#
bear
I am updating the issue I filed
#
aaronpk
it's advertising the webmention endpoint as http, but it should be https
#
aaronpk
so your post is turning into a get
#
aaronpk
which is also an interesting test case
#
bear
ah - a redirect?
#
aaronpk
yeah when I switched on https, I made it redirect all http requests
#
aaronpk
so you're actually getting back an HTTP 301 for the post to the webmention endpoint
#
bear
hmm, my send webmention checks for a 405 with location header but not for a 301
#
bear
ohhh - it does! but it's a human refactoring error that is causing the error
#
bear
cool - fixed my code to handle that
#
bear
it now looks for both 405 and 301
#
aaronpk
according to HTTP you're not supposde to POST to the location returned by the 301 tho
#
bear
hmm, then I should error that out
#
bear
oh I see my confusion, the result became a GET but I check only for a 200 - I don't confirm that the *POST* generated the 200
#
bear
\o/ all 8 tests worked
#
aaronpk
awesome!!
#
aaronpk
now i have to fix the formatting of that lol
#
aaronpk
that looks a little better
#
KartikPrabhu
wow will have to catch up on ronkyuu changes!
#
bear
KartikPrabhu - i'm pushing 0.3.6 to pypi now
#
KartikPrabhu
i don't even know how far behind I'm
#
bear
it's easy to fall behind
#
KartikPrabhu
it's been about a year since I did anything to my website backend
j12t joined the channel
#
aaronpk
looks forward to that milestone
#
KartikPrabhu
aaronpk: doesn't mean its perfect; more like I haven't had the time
mblaney and gRegorLove joined the channel
#
gRegorLove
Regarding wm discovery, my code doesn't differentiate between 'a rel' and 'link rel' currently, so I think it would just use whichever one it found first in the HTML.
#
Loqi
gRegorLove: aaronpk left you a message 21 hours, 7 minutes ago: interesting point. however the authorship algorithm results in an author h-card, not an author URL, so the xmpp URL in that test case could still be used to match that h-card. http://indiewebcamp.com/irc/2016-04-10/line/1460274782358
#
Loqi
gRegorLove: aaronpk left you a message 21 hours, 1 minute ago: XRay in particular looks for http/https URLs and will ignore anything else, so that's why the test is looking for that URL and not the xmpp one http://indiewebcamp.com/irc/2016-04-10/line/1460275152669
#
miklb
Project officially on GitHub https://github.com/miklb/jekyll-indieweb merciless criticism appreciated
#
aaronpk
congrats!
#
miklb
thanks. still need to document how someone unfamiliar with GitHub can use it, but needed to make it "real" heh
#
miklb.com
edited /User:Miklb.com (+68) "/* Community projects */"
(view diff)
#
miklb.com
edited /Jekyll (+187) "/* Related Tools */"
(view diff)
#
bear
aaronpk++ just totally stole the webmention.rocks html and headers to mock out tests for ronkyuu
#
Loqi
aaronpk has 113 karma
#
aaronpk
Haha great
#
bear
wrote a bit of code to run thru each link and store the html and headers
#
bear
later after we help you fill out the tests I'll have to write something that parses the main page for tests :)
#
aaronpk
There's more test data in mention-client-php too
#
bear
i'll have to give that a scan later - i'm approaching max bear time for a sunday :/
tantek joined the channel
#
tantek
good evening #indiewebcamp!
#
tantek
good to know gRegorLove - perhaps we can convince aaronpk :)
#
gRegorLove
tantek: if I'm understanding you correctly, you said the 'a rel' should take precedence over 'link rel' right?
#
tantek
no I'm saying the first a OR link rel should take precence
#
tantek
s/precence/precedence
#
Loqi
tantek meant to say: no I'm saying the first a OR link rel should take precedence
#
gRegorLove
I think I'm compliant with that then
#
tantek
that document order of something linky with rel webmention takes precedence, not specific tag name
#
bear
I'm wondering if the html body should ever override the links in header tho
#
tantek
aaronpk, what no @webmentionrocks ?
#
gRegorLove
Sweet logo on webmention.rocks
#
tantek
bear, unlikely if we're following first in source order rules
jedahan joined the channel
#
gRegorLove
bear: If I find a Link: header, I stop there.
#
bear
true, then I'm going to not change my implementation just now as I first check head for links and then proceed to html
#
tantek
bear, oh I thought you mean html head
#
bear
ok, I think I confused myself just now
#
tantek
I also just check http header first, and if no link rel webmention there, then check html
#
bear
my order of processing is this: HTTP headers, html <head>, html <body>
#
bear
k, I think ronkyuu is good - when it's scanning html it is looking for anything with rel=[webmention,...]
#
bear
cool - heading to bed - with v0.3.6 of ronkyuu all 8 tests are passing - going to try and keep up with the pace of webmention.rocks
#
tantek
good news, looks like I no longer need to twice-webmention to Known for comments to show up there
#
tantek
bear++ well done
#
Loqi
bear has 115 karma
#
tantek
going to see if Falcon can match that shortly ;)
#
bear.im
edited /User:Bear.im (+1) "updated user page"
(view diff)
cweiske joined the channel
#
aaronpk
i don't know what i'm going to do with it, but https://twitter.com/webmentionrocks
#
cweiske
tweet about all incoming and outgoing webmentions worldwide
#
aaronpk
maybe congratulate people when they get their first comment on the site
#
aaronpk
cweiske: that sounds like a job for @allthewebmentions
nitot_ and jihaisse joined the channel
#
KartikPrabhu
aaronpk: tweet about updates on webmention
[kevinmarks] joined the channel
#
[kevinmarks]
Next, register trackback.sucks and make it display all trackbacks. It will rapidly live up to its name.
#
voxpelli
miklb++ for making a Jekyll theme!
#
Loqi
miklb has 3 karma
friedcell joined the channel
#
KartikPrabhu
[kevinmarks]: tantek would call you out on negative framing
#
miklb
voxpelli thanks. as I said earlier, merciless criticism encouraged
loic_m, pfefferle, nitot, friedcell, adactio and Pierre-O joined the channel
#
pfefferle
good morning
#
Loqi
pfefferle: acegiak left you a message on 3/19 at 1:16am: the code has been merged, Ought I not, then, to hope that our two houses maybe reconciled by such an event? https://github.com/acegiak/Semantic-Linkbacks/commits/master http://indiewebcamp.com/irc/2016-03-19/line/1458375400420
#
pfefferle
acegiak I will add the changes also to my fork... perhaps we should discuss how to handle/implement the salmention in a good way, to unify both versions.
#
acegiak
Pfefferle, yes! Except I'm super busy all the time at the moment. Maybe over email? It just !tell me your thoughts and I'll get back to you when I can?
#
acegiak
Really I'm all about the hack that gets things working to start with. I'm not so much the person that implements things properly for the long term
j12t, sanduhrs and nitot joined the channel
#
pfefferle
acegiak perhaps we start it as a independent plugin and merge it, when it is finished...
#
acegiak
Pfefferle would require a lot of interhooking with the semantic linkbacks plugin
j12t joined the channel
#
acegiak
This true
#
acegiak
It is only that part
Nissyen, friedcell, almereyda, Pierre-O, squeakytoy and j12t joined the channel
#
voxpelli
pfefferle: will you come to any of the upcoming german IWC:s?
#
voxpelli
saw you mentioning Salmention and Salmentions feels like a great group exercise :)
#
pfefferle
voxpelli I am not sure if I can make it :(
#
pfefferle
voxpelli are you attending both?
loic_m joined the channel
#
voxpelli
pfefferle: :( I'm attending both
j12t, hs0ucy and friedcell joined the channel
#
GWG
Morning
#
GWG
pfefferle, I saw your note. I realized the case sensitive mistake after I did it. I thought I fixed them all.
snarfed and prtksxna joined the channel
#
GWG
Stupid mistake fixed
snarfed1, singpolyma, hs0ucy, snarfed, j12t, Pierre-O and shiflett joined the channel
#
GWG
petermolnar: The next time you are around, would like to talk.
#
GWG
!tell petermolnar I want to talk about Webmention Again
#
Loqi
Ok, I'll tell them that when I see them next
tantek, hs0ucy and KartikPrabhu joined the channel
#
miklb
would it be prudent to have an h-card on every page? my project has one on home page, but wondering if I should add one to footer on non-home pages.
#
singpolyma
miklb: I do on non-home pages, but that doesn't necessarily meant you need to ;)
#
tantek
miklb - "h-card on every page" is a plumbing-first way of looking at it
#
tantek
think of it top down instead
#
tantek
you have a page, from a user perspective that page was likely created on a certain date (dtpublished), it likely has a name (title, p-name), and content, thus it makes sense to mark it up with h-entry
#
tantek
the page likely has an author as well (p-author), who likely has their own URL (even if another page on the same site), thus it makes sense to hyperlink the author name from a UX perspective and then once you have that, it makes sense to mark *that* up with h-card
#
miklb
tantek I have all of that marked up. So that would be sufficient?
#
tantek
so yes (in general) to original question "an h-card on every page?" but not for the reasoning you may have been thinking
#
miklb
so use the relevant data to build the h-card
#
tantek
right! and the data is relevant for UX reasons, not for arbitrary plumbing reasons
#
tantek
(certainly not for SEO nonsense)
#
miklb
no, I'm only interested in indieweb best practices
#
tantek
right, and our best practices come from UX/design first
#
miklb
tantek so if I added h-card to .entry-footer here that would be semantic? https://github.com/miklb/jekyll-indieweb/blob/master/_layouts/post.html
#
tantek
miklb it would be as the "p-author h-card" inside the h-entry for the page
#
tantek
do you already have something like <html class="h-entry"> or something like that/
#
tantek
<title class="p-name">
#
tantek
<body class="e-content">
#
tantek
that kind of default
#
miklb
is confused now.
#
tantek
see above where I said start from the page down, as an h-entry
#
tantek
it doesn't make sense to jump straight into hiding an h-card deep in a footer somewhere
nitot joined the channel
#
miklb
yes, the article is marked up as h-entry. So that is an implied h-card?
#
tantek
not at all
#
tantek
if you have h-entry markup already, then you should have a p-author property for that
#
tantek
and that's your hook for the h-card for the page, as the p-author of the page
#
tantek
hence class="p-author h-card" ...
#
miklb
ah! thanks
#
tantek
the h-entry markup I quoted above was just one way of doing it - whatever makes sense for your CMS / publishing tool
#
GWG
So, if you have information about yourself on every page... Isn't this the minimal hcard linking to full scenario that is coming up?
#
miklb
jekyll is just HTML so I can markup however I want. Currently I'm adding the author info in the article footer, but if I understand correctly, I should consider moving that above the e-content
#
tantek
GWG see above where I said "the page likely has an author as well (p-author), who likely has their own URL (even if another page on the same site)"
#
KartikPrabhu
miklb: above/below does not matter. It should be a child of the h-entry element
#
tantek
^^^ that
#
miklb
that makes sense
#
GWG
tantek, I was just pointing out that there was a discussion of it in the past
#
tantek
GWG, can you link to that discussion of it in the past?
#
tantek
YES I see that @webmentionrocks is live :D
#
tantek
time to see how well Falcon does
#
GWG
It is in the wiki
#
tantek
frag?
#
tantek
it's an issue?
#
KartikPrabhu
i don't think there is any consuming code that does minimal vs full h-card thing, so right now it is ignorable
#
GWG
KartikPrabhu, my point was only to add to the conversation that the issue had been discussed prior.
emmak joined the channel
#
GWG
tantek, it was classified as one.
#
voxpelli
miklb: I think my "theme" has a h-card for every entry
#
aaronpk
miklb: it doesn't even need to be a child of the h-entry, since /authorship *should* find it if it's outside too
#
GWG
The page should probably have that moved to brainstorm
#
aaronpk
my site has my h-card in the footer of every post for example. tho i'm going to add my h-card inside the post for a few kinds of posts soon.
#
tantek
aaronpk: hmm that wasn't the point of authorship
#
miklb
aaronpk that's honestly why I brought up the question, was seeing how you are doing it
#
KartikPrabhu
aaronpk: sure but the easiest thing to do is to have it as child
#
tantek
authorship aims to capture existing common cases, not to express best practices for publishing
snarfed joined the channel
#
kylewm
it would be an interesting challenge if the minimal h-card included only name and url (not photo) ...
#
aaronpk
KartikPrabhu: easiest for who ;)
#
KartikPrabhu
kylewm: challenge for what?
#
kylewm
webmention receivers
#
aaronpk
tantek: hm, but it works in reverse, since once you've defined how to find author info, someone can look at that as what to expect consumers to be able to find
#
KartikPrabhu
aaronpk: people not familiar with /authorship. The easier thing to understand is that the h-card is child of the h-entry. If you know /authorship inside-out you could do many other things
#
miklb
just to be clear, I'm only questioning for my own edification and to be able to share with other Jekyll users (or anyone else looking for markup examples)
#
KartikPrabhu
kylewm: I don't know why it is a challenge. my webmention endpoint just ignores it if there is no photo
#
tantek
aaronpk: no it does not. just because browsers support tables for layout does not mean you should seriously consider tables for layout as an option
#
tantek
KartikPrabhu: right, publishers should really not have to care nor know about /authorship
#
aaronpk
that's not really the same thing
#
tantek
that's the wrong place to go for publishing advice / guidelines / best practices
#
aaronpk
then /authorship should point to best practices for publishing
#
KartikPrabhu
yeah, i don't even remember everything in there
#
KartikPrabhu
what are best practices for publishing?
#
Loqi
It looks like we don't have a page for "best practices for publishing" yet. Would you like to create it? https://indiewebcamp.com/s/10Hr
#
tantek
perhaps /authorship should explicitly note best/modern parts of its algorithm vs the legacy bits
#
tantek
looks like I'm seeing all the webmention endpoints except test 7, hmmm...
#
aaronpk
hehe test 7 is a fun one
#
tantek
kinda surprised by that actually, thought the code I wrote (which is open sourced) for link headers was case insensitive
#
tantek
double-checks
#
aaronpk
is on the train to Seattle, with a less than great wifi connection, and is taking this opportunity to build an authorization endpoint into p3k so that he doesn't have to rely on indieauth.com when signing in to local apps
squeakytoy2 joined the channel
#
GWG
aaronpk, if you used WordPress I'd have everything I wanted built already.
#
snarfed
offlinedevelopment++
#
Loqi
offlinedevelopment has 1 karma
#
tantek
found the bug
#
aaronpk
i mean I do have an offline version of indieauth.com too, but it's annoying to have to run that app when i just want to sign in to my dev copy of quill
#
aaronpk
GWG: hehe sorry
#
snarfed
aaronpk: an alternative is to have apps skip auth (or however you want) when running in local/dev/etc mode
#
tantek
And hey RFC7230 "header field consists of a case-insensitive field name" there we go
#
snarfed
(wordpress-micropub does that)
#
GWG
I want an authorization endpoint that uses the WordPress login.
#
Loqi
gives GWG an authorization endpoint that uses the WordPress login
#
aaronpk
skip auth? that sounds more complicated lol
#
GWG
Loqi, I will look forward to your pull request
#
Loqi
woot!
#
aaronpk
i'd still need a way to create a session with Quill to tell it where to post to
yakker joined the channel
#
snarfed
eh, depends on how many separate services you want to be able to talk to each other locally
#
voxpelli
miklb: it's a bit odd btw that the rel-author and p-author h-card has different URL:s?
#
tantek
aaronpk: have you considered having Micropub officially supersede RFC 5023 "The Atom Publishing Protocol"? Pretty sure Micropub handles everything better
#
voxpelli
+1 on Snarfed, my local apps, like my WebMention endpoint skips auth locally
#
voxpelli
although a local auth endpoint sounds like a good thing as well (as do a WP-based one)
#
snarfed
aaronpk: yup, i definitely haven't tried following it to its extreme like you'd need to. probably still doable though. but the local indieauth alternative is also good and maybe easier for you
#
aaronpk
tantek: interesting. I should read through that to see if there's anything in there not yet covered by Micropub. I suspect it has a few more things, especially around collections/lists.
#
aaronpk
and categories
#
aaronpk
but that is definitely a good goal for it
#
GWG
snarfed, I promise I'll get back to Micropub eventually.
#
snarfed
GWG: no worries!
#
GWG
snarfed, I am currently burying pfefferle in refactoring webmentions for new specification parameters.
#
snarfed
i heard!
#
miklb
voxpelli you mean in my markup?
#
voxpelli
miklb: yep
#
miklb
voxpelli I think I need to revisit that part after this conversation
#
voxpelli
I realize that embarrassingly enough I have forgotten rel-author (which I have been a fairly vocal advocate for and built some tools that consumes :P)
#
GWG
snarfed, I think the WordPress community, with all the webmention articles of late, needs to see those plugins being updated.
#
kylewm
aaronpk: I always have to bypass auth for unit tests, wouldn't imagine it's too much extra work beyond that
#
voxpelli
miklb: btw, to keep the schema focused and minimal as well, perhaps remove the Schema.org stuff? so that one can get a good example of a pure IndieWeb-theme?
#
snarfed
GWG: maybe? i dunno. i'm a bit skeptical of the trending idea that recent updates are such an important measure of a project's health, esp for small projects.
#
snarfed
i mean, i get that it's *a* measure, but especially for smaller things that work and are well tested (which wp-micropub isn't, granted), it doesn't make as much sense to condemn projects that haven't changed much in a year, or three
#
miklb
voxpelli I debated that myself. When I was going through the html 5 spec, it was using schema markup. That was a bit self serving as this will eventually be a starting point for my own redesign and wanted to use it.
#
snarfed
(if they're *abandoned*, then maybe, sure, but that's a bit different)
#
GWG
snarfed, there have been a lot of changes in webmentions since the plugin was written
#
aaronpk
kylewm: it's more like how do I then get a session on Quill that posts to my micropub endpoint
#
aaronpk
it just sounds like more work and more extra code paths to maintain
#
GWG
For example, the current plugin ignores a 404 on a source link.
#
voxpelli
miklb: can maybe be a bit confusing to see mixed metadata formats – also not sure the Schema.org parts add much, I haven't really felt an urge to add them to my theme
#
GWG
So a lot of little things that will set up for features like Vouch, Salmentions, delete, etc.
#
miklb
voxpelli I could certainly remove them now and archive the markup for my own uses later.
#
aaronpk
GWG: I would prioritize supporting updates and deletes over extensions like vouch, if that helps at all
#
GWG
I didn't write an asynchronous handler, but I changed the code so someone could drop one in more easily.
#
GWG
aaronpk, that is part of the refactoring.
#
GWG
I'm not adding features till the new code is merged in to support it.
#
GWG
Basically, the hooks I can add new functionality into without disrupting existing functionality
tantek joined the channel
#
miklb
voxpelli I'm impatient by nature so wanted to get this out there, plus, this is my my first true attempt at a solo project intended for others vs just throwing some of my own code up on GitHub
#
GWG
The same applies to Semantic Linkbacks. I'm trying to fix update functionality there.
#
miklb
a wise man once told me "release early, release often" :-)
#
voxpelli
miklb: +1, release early, release often is a good thing :) will try to give it a better look and some more feedback later on + look at whether our themes can converge somewhat
#
GWG
I broke it trying to get the webmention enhanced before the notification went out about it.
#
tantek
is fixing bugs in https://github.com/indieweb/link-rel-parser-php revealed by the Webmention validator
snarfed joined the channel
#
miklb
voxpelli I waited on the micropub stuff since I'm not 100% sure of how it all connects. Figured once I could test it personally, would make more sense to me to add.
#
aaronpk
tantek: ooh is that where the problem is?
#
miklb
voxpelli also, you might be happy to know that GitHub is working https
#
tantek
miklb not sure how the schema nonsense made it into that HTML5 draft - I'll look into it from a W3C perspective, as schema is a Google thing (with some MS/Y!/Yandex input) - not really a "standard" in terms of openly developed as we typically expect
#
tantek
aaronpk yup, I'm on it
#
voxpelli
miklb: sounds like a good idea, the micropub endpoint should probably be my main focus for at least the first iwc, I should probably try to make it a simple service to sign up to
#
aaronpk
i've gotten better about writing more complete tests since I wrote that library
#
tantek
gah relative LINK header URLs
#
miklb
tantek thanks for the clarification
#
tantek
aaronpk - these are the two functions I wrote http_rels and head_http_rels
snarfed joined the channel
#
tantek
fixed two bugs in http_rels, and now working on head_http_rels which has to handle relative hrefs
#
miklb
tantek to be clear, I think the example in the draft uses a slight variation from schema.org. This was simply my attempt at incorporating. Perhaps better documentation there would help novices like me
#
tantek
miklb indeed - it goes to show the power of examples, even if they are informative / "non-normative"
#
tantek
I think KevinMarks was working on adding an h-entry example right next to it (before it preferably) so not too many people would be led astray by the schema stuff
#
kylewm.com
edited /2016 (+26) "/* Assistance */ update with aaronpk's email instead of benwerd"
(view diff)
#
voxpelli
tantek: couldn't find a page on the IWC wiki regarding schema.org, surely there must be such a page, right?
#
tantek
by "adding" I mean submitting a pull request
#
tantek
voxpelli: no because it has no relevance for the indieweb
#
voxpelli
tantek: I was thinking a page saying exactly that :)
#
tantek
it's an overdesigned Google SEO thing
#
voxpelli
and perhaps an explanation why mf2 is the better choice
#
tantek
voxpelli: if you think it would help - e.g. like if get more folks asking same kinds of questions as miklb, then go for it!
#
tantek
KartikPrabhu has tried both and can help with the comparison aspects
#
kylewm
what is a volcano?
#
voxpelli
feels he is so not the right person to create such a page though :P
#
Loqi
It looks like we don't have a page for "volcano" yet. Would you like to create it? https://indiewebcamp.com/s/10Hs
#
kylewm
volcano is a Landform with a faxNumber according to https://schema.org/Volcano.
#
loqi.me
created /volcano (+106) "prompted by kylewm https://indiewebcamp.com/irc/2016-04-11/line/1460393961036 and dfn added by kylewm"
(view diff)
#
tantek
oh no
#
kylewm
hehe sorry
#
tantek
volcano is 🌋
#
miklb
where?
#
miklb
doh. didn't see the prior reference. I have a friend visiting Iceland and that was one of her concerns.
#
kylewm
miklb: what was?
#
Loqi
[Ryan Barrett] Field trip inside Príhnúkagígur volcano near Reykjavík, Iceland. (And yes, the base camp has a fax number.)
#
kylewm
(apparently volcanos in iceland do have faxes https://snarfed.org/2015-10-02_15607)
#
Loqi
[Ryan Barrett] Field trip inside Príhnúkagígur volcano near Reykjavík, Iceland. (And yes, the base camp has a fax number.)
#
miklb
kylewm a volcano eruption
#
snarfed
hah great minds indeede
#
kylewm
imho, wiki pages that are mostly critical of some other technology tend to just get us in trouble
#
tantek
is really glad he already has a CASSIS function for making a relative URL absolute
begriffs joined the channel
#
tantek
says the man who just created one :P
#
tantek
(I think that's likely why we had not created a page yet)
#
tantek
maybe we need a stub?
#
tantek
(This page intentionally left blank because we couldn't think of anything nice to say and/or this thing is not relevant to the indieweb)
#
bear
unless the tech has items that people will run into afoul of, a negative page should be avoided
#
tantek
right, hence anti-patterns
#
tantek
items people *have* run afoul of
#
bear
s/will run/have run/
#
Loqi
bear meant to say: unless the tech has items that people have run into afoul of, a negative page should be avoided
#
bear
(liked your version better)
#
tantek
right, wait for someone to canary themselves into an anti-pattern and then document it
#
tantek
with the specific example cited
#
tantek
that way when theoreticians get defensive about their favorite thing being anti-patterned, we can cite the real world example
#
bear
^^ that shortens a lot of arguments very quickly
#
tantek
ok here goes nothing
#
tantek
8 for 8!
#
tantek
joins bear in the webmention.rocks 8 for 8 club :D
#
tantek
who's next?
#
kylewm
tantek: would you plz delete the volcano article :)
#
tantek
on it
#
tantek.com
deleted /volcano "content was not relevant to the indieweb"
#
kylewm
the pages that have "IndieWeb Examples" with no entries are loud-and-clear :)
snarfed1 joined the channel
#
tantek
gah - really don't like merging pull requests that do nothing but change spaces and comment *formatting* (not actual comments)
#
tantek
I mean really?!?
#
aaronpk
as the maintainer of a project, you have full authority to reject those :P
#
aaronpk
i do like consistent whitespace tho :)
#
tantek
aaronpk: on IndieWeb projects I think nearly everyone here has authority to accept / reject
#
tantek
so some may sneak in
#
tantek
looks in kylewm's direction
#
aaronpk
what's worse though is when someone submits a PR with both whitespace and functionality change, cause then it makesi t super hard to figure out what the actual change is
#
tantek
yeah that is worse true
#
snarfed1
aaronpk: ?w=1
#
snarfed1
(agreed, regardless)
#
tantek
but if just a whitespace change without subsequent code change it's like really?
#
aaronpk
doesn't always work
#
aaronpk
i had that fail pretty bad the other day
#
tantek
is this some commenting convention?
#
tantek
* @param string $h HTTP headers
#
tantek
worth maintaining?
#
tantek
* @return array $rels rel values as indices to arrays of URLs
#
tantek
does anyone recognize this comment syntax as something worthy of maintaining? does it help auto-generate something?
#
kylewm
tantek: lol which thing were you looking in my direction for?
#
tantek
that ^^^
#
tantek
most recent merge into link-rel-parser-php
#
tantek
ok people, you got like 60 seconds to defend this @keyword nonsense in PHP function header comments before it gets reverted
#
kylewm
oh, funny. i thought that was a great pull request
#
tantek
(if it's not obvious enough for one of the PHP folks here to quickly cite why it matters, then it's not obvious enough to keep)
#
kylewm
fix inconsistent tabs/spaces and make comment blocks follow the standard https://www.phpdoc.org/
#
aaronpk
some editors use that to provide autocomplete and inline docs about functions
#
tantek
kylewm: I kind of see that kind of GitHub formatting-only commit as GitHub activity inflation
#
bear
if the language has a standard lint setup, and the project is open source -- IMO it is worthwhile to document that the project follows (or not) the standard
#
kylewm
that's fair
#
tantek
bear, agreed re: lint
#
tantek
I did a lot of work to get cassis.js to pass jslint
wolftune joined the channel
#
bear
then you help defuse the format-wars by being able to point to the lint spec
#
tantek
ok phpdoc looks like a reasonable enough thing to support (since someone went to the trouble)
#
kylewm
if this dude is inflating his github activity, he's not doing a very good job https://github.com/michaelkonecny
begriffs_ joined the channel
#
bear
warns about speaking to the why/reason-behind someone submitted a PR and focus on the reason it's not a good reason to merge
#
tantek
bear, given how many more steps it takes to "save" something in github rather than just "Save", I'm suspicious of such activity
#
tantek
in my experience, the more you code, the more you get allergic to "ceremony"
#
tantek
(which is what all the command line extra mumbojumbo is)
#
kylewm
there is a guy on wikipedia that just changes every instance of "comprised of" to "composed of", people are irritated by surprising things. mix tabs and spaces is not that weird of a peeve
#
miklb
voxpelli ah, I see now what you meant about different URLs. I'm still grokking how GitHub pages handles urls, i.e. site.github.url vs site.baseurl/site.url
#
bear
my point is this - sometimes a PR like that is nothing but "oh, hey, easy github juice" but often it's someone who is trying to become an opensource dev and thinks "hey, this helped me grok the project, let me share"
#
aaronpk
github points aren't even a real thing
#
kylewm
bear++
#
Loqi
bear has 116 karma
#
aaronpk
(except when that one company ran a promotion where they'd mail you a shirt if you made N pull requests to open source projects in a month)
#
bear
some folks *live* by that activity graph
#
aaronpk
totally has that shirt
#
bear
hahaha
#
kylewm
oh man, as someone looking for a job, i think github points are a kind of big deal
#
tantek
kylewm: agreed re: mixed tabs/spaces
#
aaronpk
huh, i've never paid attention to the activity graph of a person
#
bear
yea, some hiring folks now take a look at a persons github profile to gauge "10x dev worthyness"
#
kylewm
blech
#
aaronpk
i mean i've looked at candidates' github profiles, but i actually go look at the contents of projects
#
tantek
I'd do the opposite, and random sample their commits to see "substantive" they were
#
tantek
again, to see if they're more about the code or more about the ceremony
#
tantek
lots of little github edits means you have way too much time on your hands and not enough impatience to put up with github's ceremony
#
bear
I didn't mean to distract the conversation, was just saying that reasons for a PR are not always obvious
#
tantek
yes that's reasonable
#
kylewm
commit early commit often :)
#
tantek
lol no thanks. makes it harder to find substantive commits
#
aaronpk
that's what PRs are for
#
tantek
for the same reason you shouldn't upgrade for every little software upgrade
#
kylewm
and why some projects ask you to squash your commits, but tha'ts more ceremony
#
bear
now your talking about the process of change/pull-requests
#
bear
PRs and commit messages have become the indirect way of measuring a dev's velocity by some (IMO inferior) managers
#
tantek
ok, changes merged except for my own debugging code
#
bear
aaronpk - nice!
snarfed joined the channel
#
voxpelli
aaronpk: neat!
#
tantek
huh, I think this exercise actually helped me track down what was causing odd tab vs space mixing in my editor.
#
tantek
ok, as I was saying, now that I've tested the fixes in production, I'm going to commit them to github :P
#
tantek
aaronpk, https://github.com/indieweb/link-rel-parser-php/blob/master/src/IndieWeb/link_rel_parser.php updated in case you want to check it out - hopefully my changes pass your post-commit review ;)
#
aaronpk
reviews
#
aaronpk
sees no tests have been added
#
tantek
but yes, with those changes, Falcon passes 8 of 8 @webmentionrocks tests
#
miklb
voxpelli btw it seems themes as gems are going to be a real thing in jekyll (at least from a gh-pages perspective)
#
tantek
🐄👦🏻
#
voxpelli
miklb: oh? I've avoided gems so far because they don't work with GH Pages
#
aaronpk
is that a...cow?
#
voxpelli
really wishes Jekyll would get an alternative non-ruby implementation, would benefit static sites a lot
#
miklb
voxpelli I pinged benbalter on a question about code review of a jekyll gem/plugin (archives) and stated themes as gems & https were current priorities
#
tantek
aaronpk: and a ...boy
#
aaronpk
:facepalm:
KartikPrabhu joined the channel
#
aaronpk
adds test case to the library
#
miklb
voxpelli what exactly do you mean by "non-ruby"
#
aaronpk
oh another benefit of PRs on github is that Github will run unit tests on the PR branch so you can see if your tests pass before merging
#
voxpelli
miklb: like libsass was for Sass, it "solved" Sass' problem of many using gem extensions when it wasn't needed
#
KevinMarks
changing whitespace in python can affect code though
#
KevinMarks
and yaml, markdown
#
voxpelli
aaronpk: and if one has linting, ensure that the linting passes :)
#
voxpelli
Really nice when people can get that feedback upfront for themselves before one gets time to comment on their PR
#
tantek
voxpelli: interesting, I wonder if I can set that up for cassis.js and jslint somehow
#
tantek
hopes the test case that aaronpk added passed with the code changes >:)
#
aaronpk
it did :)
#
tantek
😇
#
voxpelli
tantek: should be doable, I can have a quick look at setting up such a Travis CI flow for your repo
#
aaronpk
tantek: can you review the language I added here about endpoint discovery order? http://webmention.net/draft/#sender-discovers-receiver-webmention-endpoint
#
Loqi
[Aaron Parecki] Webmention
#
tantek
hey does anyone POSSE to Slack?
#
aaronpk
i have a couple manual PESOS posts i think
#
aaronpk
i *want* to posse to slack tho
#
voxpelli
tantek: is cassis actually passing jslint? :P
#
tantek
aaronpk: one of the communities I'm in is discusisng pros/cons of FB private group vs. having a community Slack
#
tantek
voxpelli: yes I got it to pass!
#
voxpelli
tantek: with what settings? I get a couple of failures
#
tantek
hmm, it may have regressed since I last tested it (a few years ago?)
#
aaronpk
interesting. the style of FB groups and Slack is very different
#
aaronpk
interaction style
#
tantek
aaronpk: the use-case is similar though, that's the point
#
tantek
the tool specifics are less relevant than the desire for a "private forum" at a high lvel
#
tantek
s/lvel/level
#
Loqi
tantek meant to say: the tool specifics are less relevant than the desire for a "private forum" at a high level
#
singpolyma
I guess I POSSE to the XMPP MUC my friends hang out in.
#
tantek
singpolyma++ ;)
#
Loqi
singpolyma has 9 karma
#
aaronpk
yes, I just think that which one is more appropriate depends on the kind of interaction the group wants
#
tantek
hence the discussion of pros and cons - there's no consensus on that
#
miklb
if one were to posse to slack, in theory could posse to this channel, yes?
#
tantek
also backfeed
#
voxpelli
tantek: regarding Travis CI, basically you just add a file like https://github.com/maxogden/dependency-check/blob/master/.travis.yml
#
voxpelli
tantek: then you install eg. jslint as an additional dev dependency and add it to the test command of your package.json, then it will run on each commit and PR when you activate the repo on the Travis site
#
tantek
what is Travis Cl?
#
Loqi
It looks like we don't have a page for "Travis Cl" yet. Would you like to create it? https://indiewebcamp.com/s/10Ht
#
tantek
what is Travis?
#
bear
hints at using CircleCI ;)
#
tantek
will come back when there is a more obvious path forward
#
bear
point me to the repo and I will help setup linting per PR/merge
#
tantek
github.com/tantek/cassis
#
singpolyma
tantek: backfeed sounds harder, since it's hard to tell what is in reply to a post in a chatroom context
#
kodfabrik.se
edited /Planning (+29) "/* Brighton, UK */ Noting my interest in another european IWC, maybe in time for IW Summit?"
(view diff)
#
bear
tantek - do you use TravisCI or CircleCI currently?
#
tantek
neither AFAIK
#
voxpelli
bear: I guess I should try out CircleCI as well some day :) Adding Travis everywhere now as I have that for 10 or so repos already :)
#
bear
k, I know that brid.gy uses CircleCi already, trying to gauge which (obviously biased to CircleCI as I work there)
#
tantek
hey that sounds good - better tech support ;)
#
bear
it's also good for both to be used so we have examples to point at
#
bear
i've forked cassis, i'll set it up using circleci for now and submit a PR
#
Loqi
bear has 117 karma
#
singpolyma
CircleCI is for proprietary code, Travis is for FLOSS. No?
#
bear
CircleCI has the same policy basically as travis - everyone can get a single build container and open source projects can apply for free 4 build containers
#
singpolyma
oh interesting. I didn't know Circle had that option
#
singpolyma
that's nice
#
bear
our messaging has been ... well... weak in that area
#
bear
a lot of that is changing with OS X support now, different Ubuntu containers and soon another support that I can't talk about until tomorrow
Pierre-O joined the channel
#
tantek
snarfed++ for passing @webmentionrocks 8 for 8!
#
Loqi
snarfed has 212 karma
#
tantek
wonders if he has to implement /deleted now
#
tantek
or rather, let's see if webmentionsrock supports webmention updates ...
hs0ucy joined the channel
#
tantek
AND YES IT DOES
#
tantek
webmentionrocks++
#
Loqi
webmentionrocks has 1 karma
gRegorLove, KartikPrabhu and snarfed joined the channel
#
aaronpk
It implements deletes too!
#
tantek
but I don't yet
#
snarfed
pfefferle++ for the wordpress webmention passing all of the webmentionsrock tests
#
Loqi
pfefferle has 15 karma
#
tantek
still, pretty happy to have tested updates - though as a validator shouldn't it somehow give me validation for sending a successful update?!?
#
tantek
wants more points
#
tantek
asks Loqi for some points
#
snarfed
circleci++
#
Loqi
circleci has 2 karma
#
GWG
snarfed, now I don't have to do that. Good.
#
aaronpk
thinks he should quickly add more tests since people seem to be passing these very quickly
#
aaronpk
some of the more tricky ones
#
bear
hmm, what is the tool used for php linting? I see references to a PHP CodeSniffer but not being a PHP dev...
#
bear
( I have tests running for both php and js for cassis )
#
tantek
aaronpk definitely tests for updates and deletes would be awesome
#
tantek
for webmention CUD ;)
snarfed joined the channel
#
voxpelli
bear: yes, phpcs is the one
#
voxpelli
bear: preferably installed with composer
#
GWG
aaronpk, as in... I didn't make it hard enough?
#
GWG
tantek, I could use such tests shortly.
squeakytoy2, squeakytoy and bear joined the channel
#
bear
my server is offline so I lost my irc connections :/
bear_web1 joined the channel
#
bear_web1
goes to look for slack info
#
bear_web
voxpelli - phpcs requires an xml file to configure what it checks for - is there a default one someplace?
#
voxpelli
bear_web: it should contain some defaults
#
bear_web
I have no idea why i'm online as bear_web* also
#
bear_web
ah, so I can just add phpcs to the composer json
#
voxpelli
bear_web: one can see a list by running "phpcs -i" and the most modern standard of them are the "PSR2"
#
voxpelli
bear_web: yep, installing it through composer is simplest, doing a pear dance or something is having PHP showing it's no that very nice side of things :P
#
bear_web
yea, i've lived the pain of pear before
#
tantek
going to try a Bridgy Publish Facebook photo tagging test
#
tantek
I wonder if supplying http/https URLs makes any difference, or if supplying www.facebook.com vs facebook.com makes any difference
#
voxpelli
bear_web: "phpcs --standard=PSR2 ." should then do the trick, but I'm not sure whether that's actually what tantek is using :P
#
tantek
answer is: no difference - they all worked
#
voxpelli
bear_web: it is the standard that most big projects, even Drupal (but of course not WordPress), stands behind: http://www.php-fig.org/psr/psr-2/
#
tantek
bridgypublish++ (already did it in #indiechat so this may have no effect)
#
Loqi
bridgypublish has 4 karma
#
tantek
I didn't know you could double-karma across channels like that
#
aaronpk
hmm how should a webmention receiver handle http vs https URLs when the contents are the same?
#
aaronpk
gRegorLove's site doesn't redirect
#
aaronpk
so there are two webmentions from him
#
gRegorLove
Yeah, bug in my UI caused me to send it from both.
#
voxpelli
aaronpk: I think I normalize them so that the two are treated as the same URL
#
aaronpk
voxpelli: what rules do you use to do that?
#
tantek
aaronpk, better file it as an issue, that's a pretty big general question in W3C circles
#
tantek
might even CC @timbl because I think he has a specific opinion on that - a site serving over both http and https (not redirecting)
#
tantek
I'd say de-duping is fine, and prefer the https version
#
voxpelli
aaronpk: I never print a normalized URL anywhere though, it's just for deduplication
#
tantek
just off the top of my practical head
#
gRegorLove
redirecting is on my list. Need to cache images first.
#
aaronpk
yeah the image cache thing is what prevented me from doing that on my old site
#
tantek
aaronpk: I mean if the URL *domain+path*s are the same, then prefer the https
#
tantek
regardless of the contents
#
voxpelli
in my case I really needed it for the target of a webmention as else webmentions would be fragmented when sent to a site like gRegorLove's
#
aaronpk
tantek: source URL only? before getting to the step of parsing mf2?
#
tantek
consider the attack scenario, someone somehow fakes up an http domain to pretend to be you, but can't mimic your https
#
voxpelli
I think eg. some people sent a webmention to "kevinmarks.com" rather than "www.kevinmarks.com", and that didn't do well before normalization
#
bear_web
tantek - what command do you run for jslint for cassis?
#
tantek
bear - I was using the jslint Web UI
#
tantek
what is this "command" you speak of? ;)
#
bear_web
:stuck_out_tongue:
#
voxpelli
bear_web: tantek: I couldn't find any that worked, I think that doing a new one based on eslint would be the easier approach
#
aaronpk
gRegorLove++ for the terrible rocks puns
#
tantek
I kind of liked the jslint Crockford branding but any js/eslint would be an improvement over none
#
Loqi
gRegorLove has 58 karma
#
aaronpk
now i kind of wish it would keep them around forever
#
tantek
keep what around forever?
#
Loqi
[gRegor Morrill] Publish on your Andesite, Syndicate Elsewhere
#
aaronpk
the responses
#
tantek
(groan)
#
bear_web
you can see the latest result (js and php unit tests being run) here - https://circleci.com/gh/bear/cassis/2
#
aaronpk
it's only going to keep them for 48 hours
#
tantek
aaronpk - you could archive the first 48hours ;)
#
aaronpk
i should probably do that yes
#
Loqi
I agree
#
tantek
or first 48 hours after you announce it on the telcon tomorrow
#
tantek
which I think would then be about 100 hours?
#
tantek
since it was running yesterday right?
#
tantek
see how many implementations you can gather
#
bear_web
wow - phpcs --standard=PSR2 is *slow*
#
tantek
perhaps the webmentionrocks copy should suggest commenting with what publishing tool and/or any HTTP/HTML link header/rel libraries people are using
#
aaronpk
good idea!
#
aaronpk
i mean it could use some instructions at all :P
#
Loqi
[Tantek Çelik] @webmentionrocks passed 8 for 8, using @Falcon and open source link-rel-parser-php: https://github.com/indieweb/link-rel-parser-php
#
bear_web
grabs some food while phpcs chews on things
#
bear_web
ok, my cassis fork now has a circleci config file that runs phpcs, phpunit and npm test - you can see the results (including the failed tests) here - https://circleci.com/gh/bear/cassis/5
#
bear_web
goes to lunch (will add eslint to the mix after lunch)
#
aaronpk
okay now i'm at least storing the response data on disk for archival purposes
#
aaronpk
and I extended the timeout to 2 weeks for now
bear joined the channel
#
aaronpk
oh dear. embedly thinks bear's photo is the main photo for the page
#
Loqi
[Ryan Barrett] Webmention Rocks!
tantek and [shaners] joined the channel
#
aaronpk
hmm. why use a different CoC than the IndieWebCamp one?
#
tantek
indeed
#
[shaners]
I didn’t think about that. I used this one because lots of projects are moving to it.
#
tantek
I believe that's called "cargo cult" behavior
#
aaronpk
probably better to link to the indiewebcamp one instead of duplicating the copy also
#
singpolyma
cargo cult CoC: copies file into repo, doesn't read it, doesn't abide by it ;)
#
[shaners]
What is code of conduct?
#
Loqi
IndieWebCamp code of conduct tl;dr: Be respectful of other people, respectfully ask people to stop if you are bothered, and if you can't resolve an issue contact staff. If you are being a problem, it will be apparent and you'll be asked to leave https://indiewebcamp.com/code-of-conduct
#
tantek
agreed!
#
tantek
do we need a rel value for that? ;)
#
tantek
akin to rel="license" but for a code of conduct instead of copyright?
#
tantek
what is cargo cult?
#
[shaners]
It’s not cargo culting. (I forgot about the IWC wiki CoC.) I’ve read the Contributor Covenant. I agree with it and think its’ good.
#
[shaners]
Me using the Contributor Covenant is akin to using a well tested open source library that has lots of eyeballs on it.
#
singpolyma
[shaners]: I didn't necessarily mean you specifically. just the hordes adding a CoC file blindly to their repo
#
[shaners]
aaronpk: I’ll update my PR to use the IWC CoC.
#
tantek
shaners, the reasoning you gave "because lots of projects are" is cargo cult reasoning
#
tantek
s/you gave/you initially gave/
#
Loqi
tantek meant to say: shaners, the reasoning you initially gave "because lots of projects are" is cargo cult reasoning
#
tantek
"Convenant" sounds either too religiousy or too Halo-alieny IMO
#
[shaners]
tantek: I was just using short hand
#
tantek
s/Convenant/Covenant
#
Loqi
tantek meant to say: "Covenant" sounds either too religiousy or too Halo-alieny IMO
#
tantek
shaners, what short hand?
#
[shaners]
"lots of projects are moving to it” => list all of the reasons why this one is good. good enough for lots of projects big and small by people I respect and agree with.
#
bear
hugs his irc coming back online
#
[shaners]
aaronpk: I forget your opinion about OSS licenses. Is MIT intentional or just the boilerplate one? (vs CC0)
#
aaronpk
i have a hard time justfying using cc0 for libraries since it's not generally well accepted by lawyer types
#
singpolyma
ISC! (sorry, just had to throw that out ;) )
#
aaronpk
dual licensing is an option. CC0 + whatever
#
aaronpk
I forget the differences between Apache and MIT, but I think I've been using Apache more lately
#
singpolyma
Apache has a patent grant
#
KevinMarks
I dropped MIT after Aaron Swartz
#
[shaners]
aaronpk: You’re right. I swapped MIT/Apache when typing. My bad.
#
[shaners]
https://indiewebcamp.com/code-of-conduct needs contact information for people who are experiencing abuse or harassment.
#
aaronpk
hm yes. it was first written for the events, so the event organizer was the contact in person.
#
[shaners]
https://indiewebcamp.com/code-of-conduct doesn’t speak to non-event behavior: IRC/Slack channel, GitHub repos
#
aaronpk
time to add that
#
bret
i've been using ISC lately
#
bret
because its the default on npm init -y
#
bret
haha
#
[shaners]
what is ISC?
#
Loqi
It looks like we don't have a page for "ISC" yet. Would you like to create it? https://indiewebcamp.com/s/10Hu
bear joined the channel
#
[shaners]
aaronpk: To be clear, I don’t have a strong opinion about which OSS license you should use on your repos. I was just curious. And had forgotten if we had talked about it.
#
[shaners]
singpolyma bret: What is ISC?
#
bear
ISC is yet another variant of an open source license
#
loqi.me
created /ISC (+79) "prompted by [shaners] https://indiewebcamp.com/irc/2016-04-11/line/1460408944319 and dfn added by bear"
(view diff)
#
bear
oops
#
bret
it clarifies some points that MIT is criticized for being vague on iirc
#
bear
it's a rewording of the MIT and the BSD 3 clause to be very precise/brief
#
[shaners]
bear: that’s not a very helpful definition of yet another acronym
#
bear
see https://opensource.org/licenses/ISC for the text - there isn't a lot to say about it
#
bear
it's that concise
#
[shaners]
the sarcasm / snark definitions of things on the wiki are really frustrating
#
aaronpk
i think that was an accident lol
#
aaronpk
also it's a wiki so you can fix it :)
#
bear
yea, that was an accident - working to fix it
#
[shaners]
I understand that this was an accident. But there are plenty of intentional snark pages.
#
bear
yes, i'm trying to reduce the number of them but it's a slow/idle-time project
#
[shaners]
What does ISC stand for?
#
aaronpk
Internet Software Consortium
tantek joined the channel
#
aaronpk
is CODE_OF_CONDUCT.md a github supported thing now?
#
aaronpk
the readme still links to the other one
emmak joined the channel
#
[shaners]
CODE_OF_CONDUCT.md: yes
#
[shaners]
readme: oops. one sec.
#
tantek
aaronpk: wish I'd heard about it then, I could have perhaps helped with pointing to some lawyerly resources, e.g. wiki.mozilla.org/Standards/licensing
#
tantek
shaners++ for pointing out stuff we need to explicitly add to the IndieWebCamp code-of-conduct
#
Loqi
shaners has 29 karma
#
tantek
what is CODE_OF_CONDUCT.md?
#
Loqi
It looks like we don't have a page for "CODE_OF_CONDUCT.md" yet. Would you like to create it? https://indiewebcamp.com/s/10Hv
#
tantek
shaners - good point about the snarkinitions, I'll work on suggesting some explicit paths for improvement so anyone that comes across them can take a crack
#
aaronpk
I know of CONTRIBUTING.md but hadn't heard of the code of conduct one yet
#
tantek
what is CONTRIBUTING.md?
#
Loqi
It looks like we don't have a page for "CONTRIBUTING.md" yet. Would you like to create it? https://indiewebcamp.com/s/10Hw
#
[shaners]
I’ll find the GH blog post
#
aaronpk
CONTRIBUTING.md is a file you can add to your GitHub repos which will show a message when someone opens an issue or files a pull request. https://help.github.com/articles/setting-guidelines-for-repository-contributors/
#
loqi.me
created /CONTRIBUTING.md (+245) "prompted by tantek https://indiewebcamp.com/irc/2016-04-11/line/1460410042146 and dfn added by aaronpk"
(view diff)
#
[shaners]
aaronpk: fixed
#
tantek
shaners, can you add the suggested things that need improving in our code of conduct to https://indiewebcamp.com/code-of-conduct-feedback ?
#
tantek
all the stuff you were asking for above ^^^
#
[shaners]
for finding the gh blob post before i got to it, apk
#
tantek
I have to run now but want to make sure they're explicitly captured / handled
#
[shaners]
tantek: yep. will do.
#
aaronpk
shaners++
#
Loqi
shaners has 30 karma
#
aaronpk
that post only talks about contributing, not code of conduct. so if you know of another post please update!
#
gregorlove.com
edited /Miniflux (+219) "h-feed support inquiry"
(view diff)
#
[shaners]
Gosh. I’m not reading well today. (…Cmon brain, wake up!)
#
veganstraightedge.com
edited /code-of-conduct-feedback (+249) "/* Open Discussions */"
(view diff)
#
kylewm
I've been converted to CC0 for writing Known plugins, with the hope that they could be integrated into core without any additional effort/attribution
#
aaronpk
kylewm: is that sometihng Known recommends for writing plugins?
#
aaronpk
that would be interesting if they requested a specific license
#
kylewm
not that i know of
#
kylewm
but like they have https://github.com/idno/Known#known-also-contains and I don't want my dinky little plugin to need to add to that
#
kylewm
(whereas I think it's cool that Mf2 et al are in that list)
#
[shaners]
aaronpk tantek: I think I was conflating CONTRIBUTING.md being an actual feature that GH recognizes and CODE_OF_CONDUCT.md just being an emerging convention.
#
aaronpk
aha okay
#
kylewm
hahaha I just caught up to gRegorLove's rock puns
#
kylewm
gRegorLove++
#
Loqi
gRegorLove has 59 karma
#
aaronpk
they are saved forever now
#
gRegorLove
Yess, people will groan at me in perpetuity
#
aaronpk
ooh i should make webmention.rocks keep the comments visible if they have likes from other domains, otherwise they drop off after 48 hours
#
aaronpk
that sounds like a salmention test
#
kylewm
to domainr!
#
kylewm
salmention.accountant?
#
kylewm
salmention.racing obviously!
#
miklb
heh salmention.us
#
aaronpk
is there a .together?
#
miklb
doesn't appear to be
#
KevinMarks
salmention.plumbing
#
notes.whatthefuck.computer
edited /Events (+147) "/* June */ add Decentralized Web Summit"
(view diff)
#
[shaners]
is there a .river? or a .swimming? or a .upstream? #lazy
#
kylewm
wonders how long before tantek adds .rocks to cassis
Lancey joined the channel
#
bear
(/me flips back to this screen after an impromptu work meeting)
#
aaronpk
I think it's in there already
#
aaronpk
it has to be right? Cause his webmention from his note worked
#
kylewm
somehow no,
#
aaronpk
oh maybe not! his note text didn't include the link, just the in-reply-to URLs
#
kylewm
try auto_link("Does this get autolinked? http://cleveland.rocks/ohio");
#
[shaners]
Does tantek whitelist all TLDs in auto_link?
Nissyen1 joined the channel
#
aaronpk
not all
#
[shaners]
oh man, pompom
#
aaronpk
it reminds me of a regex that validates email addresses
#
[shaners]
Might be a case for something like this (but in php, not ruby)
#
kylewm
php has that built in i think?
#
[shaners]
oh, that’d be nice
Jay- joined the channel
#
KevinMarks
there's .fish
#
kylewm
hard to imagine a legitimate use of that one
#
miklb
thanksforallthe.fish is available :-)
#
kylewm
as opposed to you know, .ninja
#
miklb
wants to buy all the .wtf
#
bear
submits PR to tantek to add circleci build support for unit tests and linting
#
bear
for cassis ^^
#
miklb
aaronpk I know you have a lot of irons in the fire,but wondering if you saw this https://github.com/snarfed/bridgy/issues/420
tantek joined the channel
#
aaronpk
Oh yeah, that sounds like a resonable request for telegraph
#
aaronpk
it's already doing half the work
#
kylewm
aaronpk: do you have any intention of publishing XRay as a library? (as opposed to as a service). like I'm looking at XRay/Formats/Mf2, seems useful
#
aaronpk
Yeah I should
#
aaronpk
I just copy/pasted that file into webmention.rocks
#
aaronpk
so probably a good candidate for a library
#
aaronpk
just need to think through the interface and how to tie in an http client to it
#
bear
eyes his "really want to do" list and wonders where the rich patrons are
#
kylewm
calling 2015, we want our unlimited supply of VC funding back
#
bear
haha - yea
#
bear
heck, I would settle for a tech commune - give me a basic room, common area, community kitchen
#
bear
and a T3 pipe
Jay- joined the channel
#
tantek
bear, I hear Panama is nice
#
tantek
... or was?
#
bear
true, location isn't all that important - but I think my wife would not like living outside of the US :/
[shaners] joined the channel
#
[shaners]
aaronpk: curious when you named it link-rel-parser and not rel-link-parser?
#
aaronpk
no idea
#
[shaners]
just realizing that (as far as I know), we always refer to rels as rel-*.
#
KevinMarks
just think what indieweb could have done with this budget: http://techcrunch.com/2016/04/11/too-close-to-the-sun/
#
aaronpk
Well the * in rel-* refers to the rel value, not the name of the thing the rel is on
#
[shaners]
good point
tantek joined the channel