#dev 2019-06-07
2019-06-07 UTC
[jgmac1106], wagle and mblaney joined the channel
# [jgmac1106] We also live in a country where the government does not round you up for using the web. I understand why many activist do want total anonymity and decentralization...
# [jgmac1106] I guess my big concern is that all this data has to go through a pipe somewhere, switches everywhere. Governments can still shut it down
# mblaney to answer my own question, credit is http://www.rssboard.org/media-rss#media-credit I've played a bit with storing enclosures as JSON and deciding how to render it later... I guess I would continue down that path GWG,
[tantek] joined the channel
# Loqi A personal domain is a domain name that you personally own, control, and use to represent yourself on the internet https://indieweb.org/domain
# Loqi DNS is an abbreviation for Domain Name Server and often used to refer to the configuring thereof on a domain name registrar https://indieweb.org/DNS
# [tantek] domain << [https://chat.indieweb.org/dev/2019-06-06/1559864962974300 Criticism of alternatives]: <blockquote>
{{aaronpk}}
: a big problem with the other promises of "use X so you don't have to register a domain name" is that quite often X involves a lot more work/time/money</blockquote># Loqi ok, I added "[https://chat.indieweb.org/dev/2019-06-06/1559864962974300 Criticism of alternatives]: <blockquote>
{{aaronpk}}
: a big problem with the other promises of "use X so you don't have to register a domain name" is that quite often X involves a lot more work/time/money</blockquote>" to the "See Also" section of /personal-domain https://indieweb.org/wiki/index.php?diff=62183&oldid=59636 Ruxton, KartikPrabhu, [xavierroy], snarfed, treora, cweiske, gRegorLove and [kevinmarks786] joined the channel
# [kevinmarks786] DNS is centralized, use $new_thing - which has 0 or 1 resolvers and is either controlled by one of the advocates (and so has pretty looking names for the handful of users) or is a huge fugly hash has been part of IIW since the beginning. Meanwhile domain names are still a fungible commodity.
[xavierroy] and [fluffy] joined the channel
# @tripticonomicon Re: Webmention support for static sites: http://bit.ly/2XE2Zkx (twitter.com/_/status/1136902945776242688)
jeremych_ and [kevinmarks786] joined the channel
# [kevinmarks786] That was more true before the latest tld expansion
[tonz] and [jgmac1106] joined the channel
# @JREnslin ↩️ Das Hauptproblem ist die Moderationspflicht. Mittelfristig wäre etwas wie Webmentions (Pingback, etc.) zu implementieren wahrscheinlich sinnvoll. Aber mit v.a. ehrenamtlich Arbeitenden ist das sonst oft schlicht zu viel Arbeit. Deshalb by default: Keine Kommentarfunktion. (twitter.com/_/status/1136936398819397637)
jgmac1106 and [grantcodes] joined the channel
# jgmac1106 if you use Nightly you can. test subgrid: https://hacks.mozilla.org/2019/06/css-grid-level-2-subgrid-is-coming-to-firefox/
[smerrill] joined the channel
# [smerrill] I’m a little confused on indieauth tokens. When a client app first connects to my micropub server, it does the authentication process, which creates a token, right? And that token is saved in the client app, and presented to the micropub server on future connections, right?
# [smerrill] I think I’ve answered my own question. Yes, the client sends an `access_token` POST parameter, which micropub then uses to check against the token endpoint.
rhiaro, treora and [aaronpk] joined the channel
# [smerrill] ok. thanks. I’m fiddling with iOS Shortcuts, and trying to figure out if I can create a Shortcut that takes a photo and some text and posts it direct to my micropub endpoint. I’d need to obtain an access token and add it to the shortcut to make it all work without a login step.
# Loqi Shortcuts is an iOS app formerly known as Workflow used to automate various actions https://indieweb.org/Shortcuts
# [aaronpk] There's even a shortcut to do the login and get the access token https://indieweb.org/Shortcuts#IndieAuth
# [smerrill] oh wow
[tantek] and [jgmac1106] joined the channel
eli_oat joined the channel
[smerrill] joined the channel
# [smerrill] first i need to get min-token working successfully. I’m getting HTTP 400 errors right now, so I’m doing something wrong…
# [smerrill] Oh, I fixed it. Hooray!
# [smerrill] ha! Quill worked, but now Monocle broke.
[pfefferle], [Rose], [kevinmarks786], jgmac1106 and snarfed joined the channel
[smerrill] joined the channel
# [smerrill] thanks [Zegnat]! It works great.
# [smerrill] i used Quill to sign into my test micropub endpoint. I then grabbed the mintoken token that was generated, and tried to put that into my iOS Shortcut. But I keep getting “the request lacks authentication credentials”.
# [smerrill] following along from https://indieweb.org/Shortcuts#Pre-Built_Shortcut
# [smerrill] i tried with and wirhout
# [smerrill] i dont see any indication that mintoken is actually being hit….
# [smerrill] yes, i have mintoken defined in my header.
gRegorLove joined the channel
# [smerrill] oh, wait…
# [smerrill] got a 401 from mintoken now.
# [smerrill] might this be involved? ` && function_exists('apache_request_headers')` I’m running php-fpm under Caddy, no Apache involved…
# [smerrill] hrm. micropub.rocks testing is now spitting “
{”error”:“connection_problem”,“error_description”:“Unable to connect to token service”}
” for my test endpoint. Hoooboy# [smerrill] ```
# [smerrill] Content-Type: text/html; charset=UTF-8
# [smerrill] HTTP/1.1 502 Bad Gateway
# [smerrill] Server: Caddy
# [smerrill] Status: 502 Bad Gateway
# [smerrill] X-Powered-By: PHP/7.1.17
# [smerrill] Date: Fri, 07 Jun 2019 15:36:33 GMT
# [smerrill] Content-Length: 87
# [smerrill]
{"error":"connection_problem","error_description":"Unable to connect to token service"}
# [smerrill] ```
# [smerrill] weird.
# [smerrill] ok
# [smerrill] why is micropub.rocks unable to connect to my token endpoint, but Quill is? What have I fouled up??
# [smerrill] does micropub.rocks cache the token endpoint? I did have a typo in it at first, then I fixed that, but it appears the test is still trying to access the misspelled one.
# [smerrill] yup. must be cached.
# [smerrill] [Zegnat] what is the proper value of the Authorization token? Is it just the hash from mintoken’s DB? or is it some combo of ID + hash?
# [smerrill] ok. trying to figure out what on my end isn’t working correctly. My micropub unhelpfully spits a 502 regardless of what error the token check returns. So there’s an error coming from mintoken that is getting masked by micropub. But I dont know how to test mintoken specifically.
# Zegnat https://indieauth.spec.indieweb.org/#access-token-verification - a GET request to the Mintoken endpoint with the Bearer token in an Authorization header should do the trick
# [smerrill] 502 is on my side. right. i didnt do any useful error output there.
# [smerrill] ok. I took the id and the hash from the DB, and `curl -vH 'Authorization: Bearer id_hash' myendoint` and I get `www-authenticate: Bearer, error="invalid_token", error_description="The access token is malformed"`
# [smerrill] im copy/pasting from the output of sqlite select into my curl command, and it’s failing.
# [smerrill] I’m confused how i’m to get a valid token into an iOS Shortcut then, I guess?
# Loqi gimme a token is a helper to obtain an access token from your IndieAuth endpoint: https://gimme-a-token.5eb.nl/ https://indieweb.org/gimme_a_token
# Zegnat https://github.com/Zegnat/php-mintoken/wiki/Token-design for more information about Mintoken and how it tries to counter timing attacks and db leaks with its design
# [smerrill] ok. I have a token from gimme-a-token. I do this+hash from the DB?
# [smerrill] oh, no I use that exactly. Ok.
# [smerrill] that worked. thank you. This does not reveal to me why micropub.rocks is failing, though…
# [smerrill] or more specifically, why my token endpoint is failing when interacting with micropub.rocks
callMeBaby, [kimberlyhirsh], [jgmac1106], snarfed, jjuran, jackjamieson, [tantek], [dougbeal] and [chrisaldrich] joined the channel
# [tantek] anyone using / training any AI in their personal sites, for any reason? https://www.technologyreview.com/s/613630/training-a-single-ai-model-can-emit-as-much-carbon-as-five-cars-in-their-lifetimes/ (redirecting discussion from #indieweb)
# [jgmac1106] Driving (passenger) now but I thought I saw one. Will search when I get home
[schmarty] and dougbeal|mb1 joined the channel
# Loqi It looks like we don't have a page for "AI" yet. Would you like to create it? (Or just say "AI is ____", a sentence describing the term)
# Loqi It looks like we don't have a page for "Artificial Intelligence" yet. Would you like to create it? (Or just say "Artificial Intelligence is ____", a sentence describing the term)
snarfed, eli_oat, jackjamieson, jjuran and [jgmac1106] joined the channel
# [jgmac1106] This is cool. Apologies if already posted https://www.zachleat.com/web/snarky/
snarfed and [schmarty] joined the channel
# [schmarty] i lol'd at that comment. i believe it was written in such a way as to trip up sentiment analysis.
[grantcodes] joined the channel
# [grantcodes] Can confirm https://microsub-middleware.glitch.me/ now works for rolling up likes & bookmarks in microsub channels 🙂
gRegorLove_ and leg joined the channel
# [grantcodes] I want to do checkins next. But I think it will be more difficult to represent multiple checkins in one post that works in readers
[Rose] joined the channel
# [grantcodes] 🤔 But I think I could maybe create a "map channel" that would only ever keep the last location of every author, so I could see a map of where people are
# [grantcodes] Only thing to watch out for just now if you use it is the time is based on the server time, not your own time 🤷♂️
snarfed, KartikPrabhu, [jgmac1106], [tantek], jackjamieson and eli_oat joined the channel