#dev 2018-05-08
2018-05-08 UTC
# KartikPrabhu http://thecommons.com/ is available is someone wants ;)
# KartikPrabhu are professors even interested in doing that?
# KartikPrabhu most academics are content with posting PDFs
# jgmac1106 I also volunteered to to make a quick website for folks in the #openscience community who want to keep a simple github repo that will help onboard folks into using GitHub whil eallowing people to add new resources (I was going to make a blank template page). For now just including h-card in the profile templates but that got me thinking ahead to “what if”
# KartikPrabhu jgmac1106: good luck convincing academics to write HTML
# KartikPrabhu also ^
# KartikPrabhu that is a big, nasty battle :P
# jgmac1106 [kartikPrabhu] rather fail and lose than not trying to switch. also avoiding publishers and alt.pub just for now. Only thinkling about the online courses with the idea A: We all teahc the same classes why reinvent the wheel, B: nobody wants to steal your stuff, stop woprrying, and C: we shoudl get credit for this work and its impossble behind the silo
# KartikPrabhu yes, I said good luck not don't try
snarfed joined the channel
# jgmac1106 except some bad styling (need to fix) my course sites are quite POSH I belive: view-source:http://edu307class.networkedlearningcollaborative.com/module1.html
# jgmac1106 I had found thesebtu I hate tables and stay away from thigns that suggest tables: http://microformats.org/wiki/hied-course-examples
snarfed joined the channel
mblaney joined the channel
# KartikPrabhu I don't think microformats2 is related to styling at all
snarfed, jgmac11061, tantek, eli_oat, [jgmac1106] and KartikPrabhu joined the channel
# @unoabraham dshanske/wordpress-webmention: A WebMention plugin for WordPress https://abraham.link/611/dshanske-wordpress-webmention-a-webmention-plugin-for-wordpress/ (twitter.com/_/status/993657453144432641)
[kevinmarks] joined the channel
# jgmac1106 though [tantek] I would be hard pressed to think of a community, outside of technology, that has more independent bloggers than education circles. When you combine this with a global push around OER, the desire of faclty to push back against publishers and siloed LMS learning maybe education is place to head if increasing uindieweb uptake is a top level goal
renem joined the channel
# tantek sigh, he even follows me - and lives in Portland! https://twitter.com/Bringo/status/993220842866683904
# @Bringo @steveriggins @t I’m very indoors and I got: https://pbs.twimg.com/media/DcihF0ZVAAANTFZ.jpg (twitter.com/_/status/993220842866683904)
snarfed joined the channel
# GWG We changed the webmention text for the webmention form to: "To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)"
# Loqi It looks like we don't have a page for "webmention form" yet. Would you like to create it? (Or just say "webmention form is ____", a sentence describing the term)
# Loqi It looks like we don't have a page for "webmention UI" yet. Would you like to create it? (Or just say "webmention UI is ____", a sentence describing the term)
# jgmac1106 I want to have atleast 3-4 onboarding think alouds ready and hopefully taken a stab at trying to get the getting started page int he indieweb plug-in to better mnatch the getting started page on the wiki with the goal making them easier to read. Plus editing down @chrisaldrich’s movies into shorter clips of each plug in
# tantek.com edited /Falcon (+500) "start IWS 2018 working on subsection with three things, note: implemented MV in-stream RSVP reply-context last week! (2018-05-02)" (view diff)
# tantek GWG, here you go, three things to start with for IWS 2018 - we'll see if I can get them all coded: https://indieweb.org/Falcon#For_IWS_2018
tantek joined the channel
globbot, eli_oat, AngeloGladding, tglobe and cweiske joined the channel; mblaney left the channel
# Zegnat !tell tantek re https://chat.indieweb.org/dev/2018-05-08/1525744185785000 - XRay does not expose aaronpk's Twitter API tokens to keep the requests down. The same for other silo APIs. You need to provide those in the URL query.
KartikPrabhu, tglobe, frank, [pfefferle], [kevinmarks], iasai, swentel, Flor1 and barpthewire joined the channel
# Zegnat Ugh, odd bug. nanopub supports mp-slug, it will try its best to get a nice value for it, and then stores it in "slug". But Omnibear (at least mine) seems to be sending in a "slug" property on the h-entry already, which will then overwrite whatever nanopub has created. Thus throwing errors when nanopub tries to save the post.
eli_oat joined the channel
[pfefferle] joined the channel
# jgmac1106 Going back to yesterday’s conversation with [tantek], POSH is porn. A short hand description is hard but you know it when you see it. I became a POSH convert (even though I learned the word yesterday) when contributing to both the Mozilla Foundationand the Mozilla Corporation. One half is POSH first and the other half is latest and greatest framework. Yet the sites looked exactly the same and had the same purpose. I found i
# Loqi POSH is Plain Old Semantic HTML - see http://microformats.org/wiki/posh https://indieweb.org/POSH
# Zegnat jgmac1106, yes: https://gist.github.com/Zegnat/a2ff8835a6bfc59e076ec7779cf01dc7
[kevinmarks] joined the channel
[jgmac1106] joined the channel
# [jgmac1106] [schmarty] this is what I was thinking, could I make an offline/onling Google Keep replacement
# [jgmac1106] won't have any time to play with something that far outside my wheelhouse but I wanted an indieweb private note taking tool
# [jgmac1106] @zegnat but what if eventually I would want my notes pulled into my MicroSub reader?
# [jgmac1106] again , this is way out of my wheelhouse and I am just delaying work by dreaming of a future I can't build
# [jgmac1106] I do keep meaning to take a stab at throwing up an instance of Apeture, but feel like all life must wait until baseball is over, coach quit at last secodn so I have three teams on my plate
# [jgmac1106] A follow up post as part of my "why" as I go through the process that [tantek] shared yesterday
# [jgmac1106] now quitting slack because I realize just quitting irc was useless
snarfed joined the channel
[jeremycherfas] joined the channel
jeremycherfas joined the channel
[jeremycherfas], bear and [jgmac1106] joined the channel
# [jgmac1106] Yes @zegnat was right
tantek, leg and snarfed joined the channel
# jeremycherfas Trying to get a local micropub chain going using Omnibear, selfauth and mintoken; although Omnibear can log in and authorise correctly, when I try to post it returns an error, but I cannot see it actually even try to reach to micropub endpoint. URL remain empty.
# jeremycherfas Would be willing to try with shpub, but I don't see how to give shpub an access token.
# jeremycherfas Can I use the same access token that was given to Omnibear?
# jeremycherfas I'll try that. Because there seems to be nothing coming OUT of omnibear.
# jeremycherfas I thought it might be caching or something, but of course in Incognito, I cannot see Omnibear.
# Zegnat Is this still in Chrome? If you right click on the Omnibear icon, you should be able to pick something like “Inspect popup”. Chrome will then open the debug panel and the popup at the same time. If you try to post, it should show it in the debug panel’s networking tab. Including possible errors
# jeremycherfas Oh brilliant. Thanks zegnat. I'm getting a 401 from my micropub. Which is at least a start!
# jeremycherfas It is interesting. The POST seems to contain none of the authorisation stuff. Just h=entry&content=Just%20another%20quick%20aside&mp-slug=
# jeremycherfas i wonder whether this is a problem with chrome. i didn't really follow the discussion before.
# jeremycherfas Oh yes, there it is. So it isn't that.
# jeremycherfas No, I decided to start with skippy's Micropub. Maybe I should revert to Nanopub.
# jeremycherfas I'm going to see what shpub does first.
# jeremycherfas Which same problem? Failing verifier?
# jeremycherfas Calling cweiske
# Zegnat Also look at line 83 of inc/common.php when you are there. It does a hard-coded check against https://tokens.indieauth.com/token, so it never even tries to check Mintoken
# jeremycherfas I made the changes; no change in the error message. Still getting a 401. Let me check the db.
# jeremycherfas OK, the tokens are all fine. Inserting a different error message is what I plan to do now.
# jeremycherfas Error with micropub request. That is entirely possible, as I have not started to adapt Micropub to Grav's folder structure.
maingo joined the channel
# jeremycherfas That error message does not appear in any of skippy's files!
# jeremycherfas I just grepped for all the versions of that phrase, and it didn't show up anywhere.
# jeremycherfas Yikes.
# jeremycherfas I can do a photo, sure.
# jeremycherfas What do you need, the headers and the error messges expanded?
# jeremycherfas Sorry, I'm an idiot. I was looking at the user message. The Response is much clearer!
# jeremycherfas
{"error":"insufficient_scope","error_description":"The request lacks authentication credentials"}
# jeremycherfas Which is in common.php 94 & 98
# jeremycherfas So the curl response is either empty, or there is no me, or there is no scope
# jeremycherfas Yes, I searched for a fragment.
# jeremycherfas It just contains "null" now. I will put $curl_response in there instead.
# jeremycherfas And now it is an empty string.
# jeremycherfas So I guess that means that the curl_exec in l 87 is not receving anything
# jeremycherfas I believe so. Request URL is http://localhost:8888/micropub/ which is correct
# jeremycherfas I'm talking about Omnibear's Request Header
# jeremycherfas Line 83 is $ch = curl_init("http://localhost:8888/auth/endpoint.php");
# jeremycherfas Which is also correct.
# Zegnat Which makes it double weird that it isn’t getting a response from /auth/endpoint.php
# jeremycherfas Aha. If I put http://localhost:8888/auth/endpoint.php into the browser, I get a 401 back.
# jeremycherfas ?bearer="XXXX" ?
# jeremycherfas I could not get shpub to work from the terminal when I tried. It just seemed to hang with a > at the start of the line.
# jeremycherfas It is all local, under MAMP
# jeremycherfas Would it be worth adding some kind of HTML output to endpoint.php? So we can see whether Micropub ever gets there?
# @mattmaldre ↩️ @ChrisAldrich I wonder how IndieWeb and Webmention will work with Wordpress’ Gutenberg. (twitter.com/_/status/993894212121890816)
# jeremycherfas Immediately after the json_decode?
# Zegnat sknebel, I am still not sure how to handle certain errors ... https://github.com/Zegnat/php-mintoken/issues?q=is%3Aissue+is%3Aopen+label%3Aspec
# jeremycherfas This might be messy.
# jeremycherfas {"error":"debug","error_description":{"url":"http:\/\/localhost:8888\/auth\/endpoint.php","content_type":"text\/html; charset=UTF-8","http_code":401,"header_size":325,"request_size":158,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":0.010511,"namelookup_time":0.001248,"connect_time":0.001415,"pretransfer_time":0.001466,"size_upload":0,"size_download":0,"speed_download":0,"speed_upload":0,"download_content_length":0,"upload_
# jeremycherfas content_length":-1,"starttransfer_time":0.010454,"redirect_time":0,"redirect_url":"","primary_ip":"::1","certinfo":[],"primary_port":8888,"local_ip":"::1","local_port":60206}}
# jeremycherfas It isn't something silly like not having SSL locally?
# jeremycherfas Would it help if I switch from skippy's micropub to dgold's nanopub?
# jeremycherfas Wait, what? Full site address where micropub resides?
# jeremycherfas Nope, got trailing slashes on both micropub endpoint and site.
# jeremycherfas In Omnibear.
# tantek re-reading https://boffosocko.com/2018/01/23/fragmentions-for-better-highlighting-and-direct-references-the-web/ has me excited about /fragmentions again
# Loqi tantek: Zegnat left you a message 11 hours, 26 minutes ago: re https://chat.indieweb.org/dev/2018-05-08/1525744185785000 - XRay does not expose aaronpk's Twitter API tokens to keep the requests down. The same for other silo APIs. You need to provide those in the URL query.
# jeremycherfas I checked the incoming headers and "Bearer XXXX" is there. So that should be going from index.php ln 35 to common.php
# tantek Also I'm re-interested in trying out https://github.com/kartikprabhu/fragmentioner on my site
# Loqi fragmentioner is a Javascript utility by Kartik Prabhu which gives a pop-up link with the fragmention URL to a piece of selected text https://indieweb.org/fragmentioner
# Loqi ok, I added "[[fragmention]]" to a new "See Also" section of /fragmentioner https://indieweb.org/wiki/index.php?diff=47626&oldid=45323
# jeremycherfas !tell zegnat I checked indieAuth() and it is receiving the token and setting $me correctly
# jeremycherfas But it works for you! I'm going to take a look at DGold's code.
# jeremycherfas Yes. it matches.
# jeremycherfas But hang on a minute. There are two codes, because I did not delete the previous one. Does yours check against the first instnce of me, or all until it finds a match?
# jeremycherfas Let me just delete that first entry from the db
# Zegnat The DB schema forces token to be unique, and I just retrieve it based on the token: https://github.com/Zegnat/php-mintoken/blob/master/endpoint.php#L65-L71
# jeremycherfas OK.
# tantek !tell chrisaldrich the "It" at the end of this paragraph appears to be dangling, missing the rest of the sentence, or a typo? https://boffosocko.com/2018/01/23/fragmentions-for-better-highlighting-and-direct-references-the-web/#URL%20anywhere%20she%20likes
# Zegnat jeremycherfas, you could do exit(print_r($authorization)) right after the token endpoint checks for it here: https://github.com/Zegnat/php-mintoken/blob/master/endpoint.php#L184
# jeremycherfas OK. Hang on.
# jeremycherfas Not sure where to look for the output of exit statement?
[miklb] joined the channel
# tantek.com edited /fragmention (+237) "discussion was actually alternatives, add Articles section with chrisaldrich 2018 article to start" (view diff)
# jeremycherfas Yeah, I have that. Quit(401, 'debug', $curl_response);
# jeremycherfas And the error is
{"error":"insufficient_scope","error_description":"The request lacks authentication credentials"}
# jeremycherfas Did you maybe mean quit rather than exit in your enpoint.PHP?
# jeremycherfas I have exit(print_r($authorization)); on line 185 of your endpoint.php
# jeremycherfas OK, I think I need the quit immediately after curl_close on line 94
# jeremycherfas
{"error":"debug","error_description":"1"}
# jeremycherfas Does that mean authorization is TRUE?
# jeremycherfas That's coming from the GET method.
# jeremycherfas Well, I'm having a hard time understanding what filter_input() is doing there. So maybe just give it a rest now till tomorrow.
# jeremycherfas Description is now an empty string.
# jeremycherfas
{"error":"debug","error_description":""}
# jeremycherfas I think it is amazing that you can do it at all. And I am really thankful.
# tantek.com edited /Falcon (+261) "/* Select Text Fragmention UI */ need to not require ##" (view diff)
# jeremycherfas But it works for you!
# gRegorLove I think I've had to make PHP ini updates in some environments to add that key to $_SERVER
# jeremycherfas Undefined index
# gRegorLove Or, .htaccess actually
# jeremycherfas Better remove the true.
# gRegorLove This is what I've used in .htaccess: `SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0`
# gRegorLove Depends on your server and PHP setup of course
# jeremycherfas "<br />↵<b>Notice</b>: Undefined index: HTTP_AUTHORIZATION in <b>/Applications/MAMP/htdocs/auth/endpoint.php</b> on line <b>185</b><br />↵1"
# gRegorLove Just came in on the end of this, so I'm probably missing more context. :)
# snarfed more on handling missing HTTP_AUTHORIZATION with .htaccess: https://wordpress.org/plugins/micropub/#faq-header
renem joined the channel
# jeremycherfas I'm not actually seeing Bearer in there at all
Kyle-K joined the channel
# gRegorLove Not sure, Zegnat
# gRegorLove I'm on a shared Dreamhost if you need another test data point (though can't right this moment)
# jeremycherfas That does contain the bearer token.
# jeremycherfas I hate to say this zegnat, but I have to stop now. I am sorry for monopolising your time this way.
# jeremycherfas Can we try again tomorrow?
# jeremycherfas Not me. You!
# Loqi ok, I added "https://boffosocko.com/2018/01/23/fragmentions-for-better-highlighting-and-direct-references-the-web/" to the "See Also" section of /fragmentioner https://indieweb.org/wiki/index.php?diff=47640&oldid=47639
# jeremycherfas I'll read up on what gregorlove and snarfed said, and then see if I can help myself a bit tomorrow afternoon.
# jeremycherfas Zegnat++ for help above and beyond.
# Zegnat tantek, there is also your summary: https://chat.indieweb.org/dev/2018-05-08/1525802191974100 ;)
# Loqi It looks like we don't have a page for "headers" yet. Would you like to create it? (Or just say "headers is ____", a sentence describing the term)
# Loqi It looks like we don't have a page for "HTTP headers" yet. Would you like to create it? (Or just say "HTTP headers is ____", a sentence describing the term)
[kevinmarks] joined the channel
# tantek [kevinmarks] are you using /fragmentioner ?
tglobe joined the channel
# @rupl @adactio thank you for allowing updates to your received webmentions! your site allowed me to debug the faulty microformats on my site by resubmitting my mention a couple times. (twitter.com/_/status/993919535056084993)
[jgmac1106] and gRegorLove_ joined the channel
treora joined the channel
[kevinmarks] and snarfed joined the channel
# Zegnat !tell jeremycherfas Could you test https://github.com/Zegnat/php-mintoken/tree/the-apache-fix ? That might fix the issue already, without you needed to mess with Apache settings / .htaccess files. And I would love to know if this fix works! :)
snarfed joined the channel
# Zegnat snarfed, gRegorLove_, you may be able to get away with not putting in htaccess changes. Pending someone actually testing this with Apache: https://github.com/Zegnat/php-mintoken/commit/41bbee457318b09f98cc6ef1a288f8c1b4f9c59e
snarfed joined the channel
grantcodes_, tglobe, snarfed and [jeremycherfas] joined the channel
# [jeremycherfas] Will do, tomorrow morning. I’m excited to be getting closer.
# Loqi [jeremycherfas]: Zegnat left you a message 1 hour, 13 minutes ago: Could you test https://github.com/Zegnat/php-mintoken/tree/the-apache-fix ? That might fix the issue already, without you needed to mess with Apache settings / .htaccess files. And I would love to know if this fix works! :)
KartikPrabhu, [kimberlyhirsh] and sebsel joined the channel
# @rupl ↩️ yup that's the one! plus the "test your webmentions" entry. Glad you found my write-up useful even if Matomo wasn't the right fit for you. I do like some of its GA-ish features, especially client-side event tracking to see how my SW is being used. (twitter.com/_/status/993946687398957057)
KartikPrabhu joined the channel
# Loqi It looks like we don't have a page for "Matomo" yet. Would you like to create it? (Or just say "Matomo is ____", a sentence describing the term)
# sknebel Matomo is /website-analytics#Matomo
snarfed joined the channel
# @frankmeeuwsen ↩️ I don't think it's much of an issue as well but it doesn't hurt to look into it. It got me thinking about one thing, can I remove individual webmentions from my blogposts and if so, how? (twitter.com/_/status/993949124671279104)
swentel joined the channel
[tantek] joined the channel
# Loqi ok, I added "https://twitter.com/blaine/status/993462650389573632" to the "See Also" section of /multi-factor_authentication https://indieweb.org/wiki/index.php?diff=47642&oldid=45717
tantek joined the channel
# tantek this is great: https://twitter.com/rupl/status/993919535056084993
# @rupl @adactio thank you for allowing updates to your received webmentions! your site allowed me to debug the faulty microformats on my site by resubmitting my mention a couple times. (twitter.com/_/status/993919535056084993)
# tantek !tell chrisaldrich,[jgmac1106] since you're both familiar with annotations, and with "typical" users, would appreciate your perspective / other thoughts on: https://indieweb.org/fragmention#User_friendly_name
gRegorLove, [pfefferle] and [kevinmarks] joined the channel
# [kevinmarks] Also, it gets autocorrected to fragmentation
# [kevinmarks] Wordlink?
kaushalmodi joined the channel
# kaushalmodi phraselink?
# kaushalmodi linkify?
[jgmac1106] joined the channel
# [jgmac1106] IndieNote
# [jgmac1106] NoteCite or LinkQuote Linked Annotation
# [jgmac1106] Annotation would resonate most with users. Will write a public reply on post
# [jgmac1106] Marginalia if you want to sound real academic nerdy
# KartikPrabhu what is marginalia?
# Loqi Marginalia are responses to parts of a post, rather than posts as a whole; they are typically published (on another site) with a fragmention link to the specific part (like a paragraph), notified via Webmention, and displayed on the post adjacent to the referenced part (like sidebar comments next to paragraphs) https://indieweb.org/marginalia
# KartikPrabhu ;)
Jeena joined the channel
# Jeena I'm looking at the https://indieweb.org/Microsub-spec and I wonder why that API is not a REST API but something home cooked. I'm nod judging, mostly curious.
# [jgmac1106] hey @gwg
snarfed joined the channel
# [pfefferle] Why not the wordpress default avatar? Or is this from gravatar?
# [pfefferle] But a facepile with only default avatars does not really make sense
# [pfefferle] I would start with the default and optimize later
# [pfefferle] I am rethinking my cache implementation because of GDPR
# [pfefferle] Perhaps with a feature toggle
# [pfefferle] I can focus on the avatars
# [pfefferle] With the cache we also have no missing images any more
# [pfefferle] If you can implement the bridgy thing I will do the avatar stuff
# [pfefferle] But not before tomorrow
# [pfefferle] Good night 😉
eli_oat and [manton] joined the channel
eli_oat and KartikPrabhu joined the channel
snarfed and [chrisaldrich] joined the channel
# [chrisaldrich] caught up on too many days of #dev logs...
# Loqi [chrisaldrich]: tantek left you a message 6 hours, 17 minutes ago: the "It" at the end of this paragraph appears to be dangling, missing the rest of the sentence, or a typo? https://boffosocko.com/2018/01/23/fragmentions-for-better-highlighting-and-direct-references-the-web/#URL%20anywhere%20she%20likes
# Loqi [chrisaldrich]: tantek left you a message 2 hours, 46 minutes ago: since you're both familiar with annotations, and with "typical" users, would appreciate your perspective / other thoughts on: https://indieweb.org/fragmention#User_friendly_name
# [chrisaldrich] tantek, thanks for the IT note, I suspect it was a typo, or the start of a thought that never got finished. None of my earlier "drafts" had something that was written over. Also, great example of fragmention use to point it out! 😉
# KartikPrabhu what is REST?
# Loqi Representational State Transfer (REST) is a software design architecture used to communicate state between two systems that has no current IndieWeb adoption, likely due to its fundamental incompatibility with static sites https://indieweb.org/REST
# KartikPrabhu what is RPC?
# Loqi Representational State Transfer (REST) is a software design architecture used to communicate state between two systems that has no current IndieWeb adoption, likely due to its fundamental incompatibility with static sites https://indieweb.org/RPC
# KartikPrabhu lol
# KartikPrabhu loqi is as confused as I am