#indiewebcamp 2014-01-24

2014-01-24 UTC
caseorganic, chloeweil, fmarier, KartikPrabhu, jchivers, pasevin, li3n3 and pfenwick joined the channel
#
snarfed
quiet day on #indiewebcamp
#
aaronpk
so productivity
#
KartikPrabhu
Loqi make some noise!
#
Loqi
dude
#
li3n3
such talking
pfenwick, kylewm and XgF joined the channel
#
pdurbin
JSON-LD and Why I Hate the Semantic Web | The Beautiful, Tormented Machine - http://manu.sporny.org/2014/json-ld-origins-2/
netweb joined the channel
#
aaronpk
"Many W3C specifications are so cryptic that they require the sacrifice of your sanity and a secret W3C decoder ring to read."
snarfed joined the channel
#
aaronpk
"Bad feature ideas can be argued for months and rationalized because smart people, lacking any sort of compelling real world data, are great at debating and rationalizing bad decisions."
pfenwick joined the channel
#
pdurbin
heh. I do like the "less talk, more code" feel I get from this channel
paulcp, KartikPrabhu, caseorganic, benprew and indiewebcamp-vis joined the channel
#
AndySylvester
Hello, this is my first time to use IRC
#
AndySylvester
I have installed the Webmention WordPress plugin on my site at http://andysylvester.com
#
AndySylvester
I am trying to figure out how to test it, looking at indiewebcap.com/webmention
#
AndySylvester
I used curl to try to send a webmention to one of my posts, but got a response "503 Service Temporarily Unavailable"
#
AndySylvester
I put webmention.org as the endpoint
#
AndySylvester
Can anyone provide a pointer to any other instructions?
#
KartikPrabhu
endpoint is somethign on your site that processes the webmention. not webmention.org
snarfed joined the channel
#
AndySylvester
Looking at http://indiewebcamp.com/webmention#How_to_Test_Webmentions, the first example seems to provide a way to find the endpoint
#
AndySylvester
what should I be looking for?
KartikPrabhu joined the channel
#
KartikPrabhu
that is not the end point. that is the rel value of the link to an end point. for example. my site uses <link rel=webmention href="http://kartikprabhu.com/webmention" /> the endpoint is the href value
#
KartikPrabhu
AndySylvester: what does the Wordpress plugin tell you to set the endpoint as?
j12t_ joined the channel
#
AndySylvester
the plugin page (https://github.com/pfefferle/wordpress-webmention) does not say anything about the end point
#
AndySylvester
when I look at the HTML in my site, the href value is http://andysylvester.com/?webmention=endpoint
#
KartikPrabhu
did you put that or the plugin?
#
AndySylvester
jthe plugin
#
AndySylvester
I just tried that href value in my curl command, got 404 Not Found
#
KartikPrabhu
the curl you should be sending is with source = some other URL and target = one of your posts
#
AndySylvester
ok, I will try that
#
KartikPrabhu
for instance: curl -i -d "source=$your_url&target=$target_url" $targets_webmention_endpoint
#
KartikPrabhu
so target will be url of your post. targets_endpoint will be your endpoint and source is some other post that links to yours
#
AndySylvester
for this test, does the other post have to link to my post?
#
KartikPrabhu
if it does then something nice will happen. else there will be a 400 ''can't find target'
#
KartikPrabhu
I just tried sending a mention from one of my posts to http://andysylvester.com/2014/01/21/first-steps-in-using-indieauth/ and I got that reply :)
#
AndySylvester
ok, I will create a quick test post and link to a post
#
KartikPrabhu
in fact I just sent a mention to your post http://kartikprabhu.com/article/first-note
#
KartikPrabhu
did you get some sort of comment for moderation?
#
pfenwick
Oh my, this is rather brilliant. (Provide social sharing buttons, but maintain user privacy by requiring the user to activate them.) http://panzi.github.io/SocialSharePrivacy/
#
AndySylvester
let me check
#
KartikPrabhu
AndySylvester: It is alive! a comment from my site appeared on yours :D
#
AndySylvester
yes! I saw your comment and mine!
#
AndySylvester
Thank you, Kartik!
#
KartikPrabhu
you're welcome!
#
AndySylvester
I am going to update my Webmention post with some more information, I think that this needs a screencast as well
#
KartikPrabhu
yes go ahead. the more info there is, the better for new comers. maybe also post it as a resource on the indiewebcamp wiki
#
AndySylvester
I will plan to have one completed before the Homebrew Website Club meeting in Portland next week http://indiewebcamp.com/events/2014-01-29-homebrew-website-club
#
KartikPrabhu
I still jump up and down (in my head) whenever webmention works! it is so awesome
#
KartikPrabhu
webmention++
#
Loqi
webmention has 1 karma
#
AndySylvester
I will add a link to the screencast when I have it posted
#
KartikPrabhu
hope that pumps me to fix my own webmention parsing code.
#
KartikPrabhu
bear: any thoughts/ideas on adding received webmention parsing to ronkyuu?
#
bear
a lot of them :)
#
bear
webmention parsing is what is driving me to find a python mf2 parser that is current
j12t joined the channel
#
AndySylvester
looking at my curl response, I wonder why it would have a 404 Not Found message even though I was able to see the webmention comment
#
KartikPrabhu
bear: let me know if you find one. did you look at the one tommorris was "working" on?
#
KartikPrabhu
AndySylvester: this is for your own mention?
#
bear
the metron one?
#
AndySylvester
yes
#
AndySylvester
I will post a screenshot in a few minutes
#
bear
ah - I had not looked at that yet
#
KartikPrabhu
it is the only python one listed on the mf2 site
#
bear
sadly i'm traveling next week for work, so my time will be very limited
#
bear
but yes, getting a class to parse the target and source of a webmention to extract all mf2 items would be very cool
#
bear
because then you could store that for later processing and also later comparison for change detection
#
KartikPrabhu
i was planning to look into that next to fix/improve my mention parsing. but it all depends on how much physics i have to do
#
bear
nods
#
bear
this will be still be around when we both have free time again :)
#
AndySylvester
to show the curl response
#
snarfed
pfenwick: yup! as another example, bruce schneier has been doing the same thing for a while on https://www.schneier.com/
#
KartikPrabhu
AndySylvester: that is very curious indeed. It didn't find something but the webmention went through successfully!
#
KartikPrabhu
AndySylvester: here is a possible reason - if you put http://andysylvester.com/?webmention=endpoint in the browser you see that your server is returning a 404. but the plugin still somehow captures it and processes the mention
j12t_ and snarfed joined the channel
#
KartikPrabhu
wait it was doing that a minute ago. but now it isn't
pfenwick1 and j12t_ joined the channel
#
AndySylvester
Kartik, I see "'source' is missing" in the browser tab when I go to http://andysylvester.com/?webmention=endpoint
#
KartikPrabhu
yes. now I do to. You should try the curl again to see if it gives the same result...
#
AndySylvester
Signing off for tonight, thanks for all the help
#
KartikPrabhu
no problem!
KartikPrabhu and poppy joined the channel
#
bear.im
edited /nginx (+182) "adding latest cipher suite set from Robert Love article"
(view diff)
skinny, melvster, cweiske, sn0rri, grantmacken and caseorganic joined the channel
#
bear
!tell KartikPrabhu I took a look at mf2py and it looks like it would work for what we want to do and it's current and active
#
Loqi
Ok, I'll tell them that when I see them next
Jihaisse, charlesroper, pfefferle and LauraJ joined the channel
#
pfefferle
hello Jihaisse
sn0rri, eschnou, squeakytoy, LauraJ, carlo_au, Sebastien-L, BjornW, glennjones and friedcell joined the channel
#
tommorris
bear: do go ahead and crack on with mf2py. I’m happy to merge changes back in. sorry for my utter laziness and abandonment of the project. :(
pfefferle, pfenwick and scor joined the channel
#
Loqi
Ok, I'll tell him that when I see him next
glennjones, eschnou, scor, Sebastien-L, friedcell, cweiske, bnvk, marcthiele, hober2, benatkin, catsup, brianloveswords, rektide, peat, julio, ireheart, hidgw, CheckDavid, etymancer and pdurbin joined the channel
brianloveswords joined the channel
jonnybarnes joined the channel
#
jonnybarnes
!tell barnabywalters all the articles on waterpigs.co.uk have the same published date and time, if you dont already know
#
Loqi
Ok, I'll tell him that when I see him next
dvirsky joined the channel
chloeweil joined the channel
dentonjacobs, snarfed, scor, pasevin, lukecyca, realzies and bnvk joined the channel
iangreenleaf, CheckDavid, jchivers, sn0rri and snarfed joined the channel
#
snarfed
press coverage!
pfenwick joined the channel
#
bret
looks kinda spammy
#
aaronpk
probably bots copying the article from the rss feeds
#
bret
oh this wirkd
#
bret
world*
#
bret
has anyone here met a spammer? is there like a spamcon?
#
aaronpk
that sounds like fun
#
bret
it could be a honeypot conference
#
aaronpk
HONEYCON
#
bret
although it would be mostly attended by journalists
#
bret
get your sweet as honey spamtastic seo from the pros
#
peat
The end days of COMDEX felt a bit like a honeypot.
benprew, paulcp, snarfed, _6a68, jchivers_ and tantek joined the channel
#
jonnybarnes
does anyone know if indieauth fails with custom URLs?
#
jonnybarnes
i.e. I'm testing my website on my local machine which uses the domain jb.dev
#
jonnybarnes
trying to implement indieauth sing-in and I'm at the indieauth login page
#
aaronpk
jonnybarnes: indieauth.com needs to be able to fetch the html from the website
#
aaronpk
so yes it will fail with jb.dev because the server has no way to fetch that
#
aaronpk
you'd have to run your own indieauth server locally for that to work (that's what I do for testing pk.dev and indieauth.dev)
#
jonnybarnes
oh, what html is it collecting? the rel=me links are on jonnybarnes.net which I'm logging in with
#
aaronpk
oh! i misunderstood
#
aaronpk
so your identity is jonnybarnes.net and you're signing in to a local app?
#
aaronpk
e.g. the redirect URI is jb.dev/auth or something?
#
aaronpk
that should be fine
#
jonnybarnes
and it doesn't work
#
aaronpk
what does it do?
#
jonnybarnes
and it goes back to the same page
#
jonnybarnes
listing the verified identities for jonnybarnes.net
#
aaronpk
that sounds like maybe your jb.dev/auth page is sending a redirect back to the indieauth server
KartikPrabhu joined the channel
#
Loqi
KartikPrabhu: bear left you a message 10 hours, 45 minutes ago: I took a look at mf2py and it looks like it would work for what we want to do and it's current and active
tantek joined the channel
#
jonnybarnes
still doing the same, and theres now no way a request to jb.dev/auth has any redirect
#
jonnybarnes
its currently set up to var_dump has token or has not token
#
aaronpk
i just tried that URL with my values swapped and I was redirected to jb.dev/auth. let me check the logs for you.
#
aaronpk
yeah I see a bunch of redirects in the logs here
sn0rri joined the channel
#
tantek
reads logs
#
jonnybarnes
so, is the problem at my end?
#
aaronpk
from what I can tell, yes
#
aaronpk
can you try with a redirect URI that doesn't make sense, like http://foobar.dev
#
jonnybarnes
foobar.dev worked
#
jonnybarnes
well obv I got a server not found error
#
aaronpk
ok then the problem is definitely on your end :)
#
aaronpk
what happens if you visit https://jb.dev/auth?token=xxx
#
jonnybarnes
currently I get 'has_token' as that whats my code is set to do
#
aaronpk
oh well you have a redirect at the bottom
#
jonnybarnes
my routes.php points requets to auth at that function
#
aaronpk
oh I see you have a die() in there for debugging
#
jonnybarnes
but that should redirect to jb.dev/notes/new shouldn't it
#
aaronpk
but does your /notes/new redirect to indieauth if you're not logged in?
#
jonnybarnes
or should I set it to an absolute URL and see if that works?
#
jonnybarnes
ahh, ill have a see
#
jonnybarnes
nope, notes/new only checks if the session value is set to determine if there should be an indieauth login form displayed
#
aaronpk
hm well i'm not sure how much more help I can be. if indieauth is redirecting to foobar.dev and you see the token in the URL and a browser error page, then it should be redirecing to jb.dev just fine
iangreenleaf joined the channel
kpachnis, sn0rri and BullSherd joined the channel
#
jonnybarnes
so it kind of works, I can set foobar.dev as the redirect, and get a server not found error
#
jonnybarnes
then I can change that to jb.dev/auth and hit enter and my code successfully verifies the token with indieauth.com
#
jonnybarnes
just can't get the redirect working
#
jonnybarnes
hopefully it'll work when I push the code to jonnybarnes.net
LauraJ, sn0rri, jchivers, chloeweil, pasevin and bnvk joined the channel
#
jonnybarnes
aaronpk: this is defo something on my end, heres the output from Live HTTP Headers: https://gist.github.com/jonnybarnes/8603918
#
jonnybarnes
jb.dev has the right Location value
#
jonnybarnes
if I manually goto that address then everything works
tantek, grantmacken and gRegorLove joined the channel
#
jonnybarnes
aaronpk: disalbed several ff extentions like ghostery and no script, tried and it worked
KartikPrabhu, j12t and eschnou joined the channel
#
jonnybarnes
aaronpk: by process of elimination the NoScript plugin is stopping the redirect
#
jonnybarnes
I don't know why though
#
jonnybarnes
working now, it was the application boundaries enforcer setting in noscript that was stopping the final redirect
eschnou, paulcp and brianloveswords joined the channel
#
aaronpk
jonnybarnes: crazy. glad you got it sorted out.
tantek and chloeweil joined the channel
#
jonnybarnes
can someone do me a favour? this page doesn't let anyone actually post a new note yet, but can someone check they can sign-in through indieauth? https://jonnybarnes.net/notes/new
#
aaronpk
jonnybarnes: I just got redirected to jb.dev :)
#
_6a68
jonnybarnes: it broke on redirect for me
#
jonnybarnes
hang on :)
#
_6a68
oh, it's DNS
#
aaronpk
also you're gonna have to do the new indieauth discovery bit in order to discover the user's auth server, token endpoint, and micropub endpoint
#
_6a68
oh, duh. jb.dev, I read it as jb.net, heh
KartikPrabhu1 joined the channel
#
aaronpk
jonnybarnes: read the "Usage for Clients" section here, and feel free to use this library to do the discovery https://github.com/indieweb/indieauth-client-php
#
KartikPrabhu1
jonnybarnes: Firefox can't find the server at jb.dev. it says
#
jonnybarnes
should work now
#
aaronpk
jonnybarnes: cool I logged in!
KartikPrabhu joined the channel
#
jonnybarnes
thanks for the info aaronpk, btw looking at your site it sends a header: PK-Request-Duration: 268.755 whats that?
#
KartikPrabhu
jonnybarnes: it worked for me too now!
#
aaronpk
jonnybarnes: it's just for debugging, so I can see how long it took a page to render
#
KevinMarks
I got to login
#
jonnybarnes
thanks for trying guys
#
aaronpk
that's pretty bad, was that the home page? I think there's some more caching I need to do
#
jonnybarnes
home page. also I've realsied
#
jonnybarnes
realised my map is now broken since Ive added the second form to the page
#
jonnybarnes
should be fixed now
#
jonnybarnes
at least after a head refresh
#
jonnybarnes
the map should now appear in the right form
#
jonnybarnes
head = hard
netweb, paulcp, tantek, paulcp_, bnvk, friedcell, gRegorLove, jchivers and scor joined the channel
#
benatkin
I'm moving to PNW next month, should hopefully make it to indiewebcamp this year :)
#
benatkin
stumbled on this Laravel PHP Conf page https://conference.laravel.com/ - their code of contact is very succinct
#
benatkin
and featured prominently and in a positive way
#
tantek
benatkin - feel free to add a link to it on the code of conduct examples page
#
pdurbin
tantek: I'm curious if you saw http://indiewebcamp.com/irc/2014-01-23/line/1390529406 (and after)
#
tantek
looks
#
pdurbin
some nice discussion of JSON-LD here as well: http://rest.hackyhack.net/2014-01-24.html#50/h50
#
tantek
haha - yeah I read that. Manu is funny sometimes.
#
tantek
that second link looks like a very abstract discussion about formats without anybody mentioning actual usefulness / use-cases. oh well.
hallettj joined the channel
#
tantek
The real problem with JSON-LD is that it's unnecessary. The usual YAGNI.
#
pdurbin
if we ain't gonna need it... what do we need instead? :)
#
pdurbin
jonnybarnes: I think joel spolsky coined it