#dev 2018-04-13

2018-04-13 UTC
flokuehnkt, eli_oat, renem, leg, [miklb], ffernandje, OrphisGO4HE1, Kyle-K, snarfed, [jeremycherfas], [eddie], [manton], deathrow1, cweiske and [kevinmarks] joined the channel
#
@miriamkp
When we read Star and Ruhleder's "Steps Toward an Ecology of Infrastructure" last quarter I felt a jolt of recognition. Double-bind! Stop telling people that things are easy when they are patently not. It makes people feel like they're going mad. https://pbs.twimg.com/media/Dahyv2SVwAAB-p8.jpg
(twitter.com/_/status/984162861705445376)
[Vanessa] joined the channel
#
dgold
I'm wondering what I need to do yo my site to use that wavelength app
#
dgold
ah, you can _only_ post to m.b. hosted blogs for now, nvm
iasai, swentel and jeremycherfas joined the channel
#
jeremycherfas
!tell dgold you know that 10C has had hosted blogs since forever?
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
!tell dgold s/blogs/podcasts/
#
Loqi
Ok, I'll tell them that when I see them next
deathrow1 joined the channel
#
dgold
jeremycherfas: I did know that - but I'm looking at this wavelength app, and the editing &c features are a real painpoint reducer
#
Loqi
dgold: jeremycherfas left you a message 29 minutes ago: you know that 10C has had hosted blogs since forever?
#
Loqi
dgold: jeremycherfas left you a message 24 minutes ago: s/blogs/podcasts/
#
jeremycherfas
Yeah. I haven't actually looked at it as I don't have a need. Mostly because I don't microcast all that often, especially since I gave up doing Dog Days of Podcasting last year. When I was, I found Twisted Wave, Auphonic and DropBox worked ok for me. But I am all in on iOS, for shame.
tantek_ joined the channel
#
tantek_
what is fpm?
#
Loqi
It looks like we don't have a page for "fpm" yet. Would you like to create it? (Or just say "fpm is ____", a sentence describing the term)
#
cweiske
fpm is the PHP FastCGI process manager
#
loqi.me
created /fpm (+66) "prompted by tantek_ and dfn added by cweiske"
(view diff)
#
tantek_
what is uwsgi?
#
Loqi
uwsgi is an application server conforming to the WSGI Python standard https://indieweb.org/uwsgi
#
tantek_
static site << Why / use-cases, see thread: https://twitter.com/drewm/status/983634762433810432
#
@drewm
What do you think the best use cases are for a static site generator?
(twitter.com/_/status/983634762433810432)
#
Zegnat
lang << https://codepen.io/tigt/post/notes-on-lang - Lots of information about the <code>lang</code> attribute and its values, language codes.
#
Loqi
ok, I added "https://codepen.io/tigt/post/notes-on-lang - Lots of information about the <code>lang</code> attribute and its values, language codes." to the "See Also" section of /language https://indieweb.org/wiki/index.php?diff=46842&oldid=36140
[jgmac1106] joined the channel
#
tantek_
this entire trip I have been exclusively posting to GitHub from my website, including reacji
#
tantek_
which has really made it obvious I need in-stream reply contexts: http://tantek.com/ πŸ˜‚
#
tantek_
I can only imagine it looks really silly in aaronpk's reader
#
KartikPrabhu
it looks silly even on your homepage :P
#
swentel
well, not really silly :)
#
swentel
saw then in my reader too, good to know it's from github
#
swentel
the markup is missing in-reply-to so didn't know the context until I went to the actual post on the site
#
swentel
hmm actually
#
swentel
there's u-in-reply-to so aperture isn't parsing it correctly it seems
#
swentel
oh, the detail post has that class, not on the homepage
#
cweiske
partial h-feed ftw
#
GWG
swentel: When I tried Indigenous for Android with my WordPress Indieauth endpoint, it crashed. Will try troubleshooting
#
swentel
GWG, do you have the latest version (0.6) ? Because it should crash less on that version (at least I think)
#
swentel
at output more debug information (again, I hope)
#
swentel
s/at/and
[tantek] joined the channel
#
[tantek]
Kartik hence the πŸ˜‚
#
[tantek]
swentel yes that's what "need in-stream reply contexts" means
#
GWG
swentel, have to go to work, but will try more after.
#
GWG
I updated this morning
#
swentel
GWG, preparing a new release (adding bookmark post type), will try to harden the post code even more, would love to tackle this
#
swentel
hehehe
#
swentel
I'll reply with the android screenshot hehehe
#
[jgmac1106]
Swentel, not getting a crash just a 401 error missing access token, but again could be Indieauth error on my blog. It always tells me I am not a member of my own website
#
swentel
[jgmac1106], oooh, I think I know how I can fix that!
#
swentel
I think wordpress looks for the access token in the POST variables
#
swentel
instead of the header
#
swentel
let me check if the iOS version sends it with post too
#
swentel
could be a matter of json request vs post request of course
#
swentel
[jgmac1106], you are using wordpress right? Is that with this plugin : https://github.com/snarfed/wordpress-micropub
#
Loqi
[snarfed] wordpress-micropub: A Micropub server plugin for WordPress
#
[jgmac1106]
Yes, but could easily be a theme conflict, I am not using on of the few fully compatible must say though folks behind hueman have been really supportive
#
[jgmac1106]
as long as 1.4 is same version
#
swentel
ok, I'll check the code, maybe I can figure it out by that
#
swentel
ok, so yeah, that endpoint looks for the access token in the post variables
#
[jgmac1106]
indieauth is my first suspect as that will not work for me, yet interestingly I can log on to indigenous
#
[jgmac1106]
using my domain.
#
swentel
oh, you're not even able to get past the login?
#
[jgmac1106]
to my wp site no, never been able to get it working, but using my url to my wordpress site I can log into indigenous
#
[jgmac1106]
I am going to try micro.blog out though with it so don't go crazy. I want to see what it the would look like as teaching tool. If every student had an account and I could build feeds for each class, teaching my students to tag posts by unit would be way easy (say then explaining categories/tags in WP). If what I see in the screenshots I can envision kinda what I want for instructional design. Feel like decentralized LMS gets closer. Wish the
#
[jgmac1106]
pull in feeds from private hypothes.is groups. Can generate RSS for any public annotation feed but I won't force students to release their content in the public domain.
#
swentel
ok, new release should help for wordpress and posting normally
#
swentel
and there's now a bookmark post type too
#
[jgmac1106]
nevermind on indieauth not working, just worked. Sweet, first time ever. Whatever @gwg did worked
benharri joined the channel
#
[jgmac1106]
and success @swentel
#
Zegnat
Any PHP devs in here know a commonly used file stream class? I don’t really like PHP’s internal streams as they can’t be type hinted and are cumborsome to test with.
#
Zegnat
I guess I could use PSR7’s StreamInterface, but I am not actually doing anything HTTP related in this lib.
#
swentel
[jgmac1106], posting works too ?
#
[jgmac1106]
proof is in the pudding, looks like it syndicated to twitter my h-card was included, and its on my blog
#
swentel
awesome
leg and [eddie] joined the channel
#
[eddie]
I’ve been a lot more communicative on micro.blog yesterday.... every day like this reminds me I really need to make my website dynamic and add automatic webmentions. Waiting 15 minutes for a rebuild and then manually sending webmentions with telegraph is getting old lol
#
swentel
[eddie], wordpress sites look for the access_token for a micropub post in the post variables afaics in that plugin, so I think you probably need to send that as well in the Indigenous for iOS (unless you do that already and I read the code wrong heh)
#
[eddie]
hmmm, I probably don’t. I should probably add that. Thanks!
#
aaronpk
I was pretty sure the plugin looks in te header too
#
swentel
it looks for authorization in the header too
#
swentel
bit confusing in a way
#
aaronpk
Some servers strip that header tho
#
swentel
but haven't looked at the completely code path
#
[eddie]
It’s probably safest to include it to be safe
#
swentel
*adds issue to drupal queue* heh
[manton] joined the channel
#
grantcodes
Hey swentel would also love to help test indigenous if I can!
#
swentel
grantcodes, sure, need a google connected email :)
#
grantcodes
mail@grant.codes should work if you need an email
#
grantcodes
Yeah that'll work
#
grantcodes
Awesome! Thanks
#
swentel
np, happy testing :)
#
grantcodes
Worked straight away
#
grantcodes
swentel++
#
Loqi
swentel has 1 karma in this channel (5 overall)
#
swentel
awesome
#
swentel
ok, good to know that the crashing is more or less gone
#
swentel
always a hard one to tackle when you don't see next to someone to debug :)
#
swentel
s/see/sit
#
swentel
grantcodes, wow, where's that view ? :)
#
Loqi
[Grant Richmond] Probably the best parking spot I've ever found https://grant.codes/media/2018/03/01/original
#
grantcodes
Guanajuato, MΓ©xico
#
grantcodes
Only thing I've noticed in the app is I don't know what the "to like URL" / "to reply URL" checkboxes mean when sharing a link?
#
swentel
ah, well, that ends up in the 'mp-syndicate-to' entry
#
swentel
in my drupal implementation that will send a webmention then
#
swentel
I don't know if that is the right place
#
swentel
aaronpk, [eddie] ^
#
[eddie]
Ohhhh, I would probably start by calling that β€œSyndication URL”
#
swentel
but it's ok to put the value in 'mp-syndicate-to' ?
#
swentel
because I wasn't 100% sure about that
#
aaronpk
The value of mp-syndicate-to should only be things returned by the server in the config query
#
[eddie]
Ahhh okay, that was my next thing. Adding that query is definitely a big next step
#
aaronpk
its meant to give the user buttons to choose where else they want to send their post
#
swentel
ok, that 's already there
#
aaronpk
The server won't know what to do with a value it doesn't already know about
#
swentel
but, say you 'like' something, that is posted to your site, how do I tell it then 'send a webmention' to that url ?
#
grantcodes
Yeah, just has that one extra option that was a mystery to me πŸ˜„
#
grantcodes
Generally it's automatic
#
aaronpk
Your site should already know to send a webmention
#
swentel
so it should simply do that by default
#
swentel
makes sense
#
swentel
ok, so I'll drop that button haha
#
grantcodes
I think most people send them to any url in any property
#
swentel
ok, so next release you won't see that anymore :)
#
swentel
except for what is in your syndications of course
#
grantcodes
It's great though. I'll be able to get rid of my own very hacky Android app for sharing urls to micropub!
#
grantcodes
aaronpk: is the indieauth css open source? Always annoys me that it should be more responsive
#
Loqi
[aaronpk] IndieAuth.com: IndieAuth: Sign in with your domain name
#
aaronpk
it's bootstrap
[jgmac1106] joined the channel
#
[jgmac1106]
it did look strange. Will try to grad screenshots
#
swentel
I need to add some padding to that webview to begin with so it doesn't stick to the screen
#
swentel
but other than that, yeah, some css to better handle small screens would be nice too
#
grantcodes
yeah main thing is the padding
#
aaronpk
yeah i'm not sure how i missed that
#
aaronpk
i did an update a while ago to make it responsive at all. it used to just be a tiny version of the desktop site
#
grantcodes
I feel it's simple enough that it wouldn't be crazy to just do a custom style, no bootstrap. I think it would be cool if it had more of it's own branding
#
aaronpk
save that for the rewrite :)
#
aaronpk
i decided there's enough UX differences I want to do between indielogin.com and myindieauth.com that i'm going to actually start them as new projects rather than try to modify this one to do both
#
grantcodes
What's the difference for the uninatiated? One is about the spec, the other is a hosted provider?
#
aaronpk
it has to do with whether the user or the app is trusting the site
#
aaronpk
indielogin.com is for developers to let users authenticate as their domain name without registering for an account or using passwords
#
aaronpk
the wiki will use indielogin.com for example
AngeloGladding joined the channel
#
grantcodes
Ah ok, one is login, one is permissions?
#
aaronpk
users have no relationship with it, they will just end up seeing the login screen and they'll have a few ways to authenticate, none of which require a registration step. i'm going to have twitter, github, email, pgp and maybe google
#
aaronpk
the short version is indielogin.com is RelMeAuth as a service, and has nothing to do with IndieAuth the spec
#
aaronpk
myindieauth.com is what you use once you're implementing a micropub endpoint, or when you want to control exactly how you authenticate to other sites. myindieauth.com implements the IndieAuth OAuth 2 spec so you don't have to yourself. it's an IndieAuth authorization endpoint as a service.
#
grantcodes
Right, think I understand
#
aaronpk
i'm going to do a few things that will drive the point home even more. i'm pretty sure i'm going to require that there is a "sign up" step for developers to use indielogin.com and for users to use myindieauth.com for example.
maingo joined the channel
#
Zegnat
A sign up for developers? Interesting
barpthewire joined the channel
#
dgold
i'm afraid i don't follow the above at all
#
aaronpk
with any luck, you won't need to, and things will Just Workβ„’
[xavierroy] joined the channel
#
[xavierroy]
@swentel Does Indigenious work with WP?
[eddie] joined the channel
#
[eddie]
xavierroy It should work with WP as long as it has the Micropub plugin
#
[eddie]
It communicates via Micropub not XML-RPC
[jgmac1106] joined the channel
#
[jgmac1106]
[xavierroy] working for me. I need to figure out some stuff around not getting specific post-kinds to publish to my feed but that shouldn't be too hard
#
[xavierroy]
I have the micropub plugin enabled. Let me disable it and reenable to check
#
[jgmac1106]
[xavierroy] also check for manual updates [eddie] and @swerty been pushing like every ten minutes.
#
[eddie]
That’s all swentel πŸ™‚ I just work on the iOS version. He’s been programming like a crazy man!
#
[eddie]
I, on the other hand, am very overdue for a release. πŸ˜†
#
[xavierroy]
[jgmac1106] i'm on version 0.7. is there a newer version than that/
#
[jgmac1106]
what I am on as well
leg, snarfed and [stefp] joined the channel
#
[stefp]
0.7 of Indigenous?
#
[stefp]
I’m still on 0.2.4 via Testflight.
#
aaronpk
Android vs iOS
#
[stefp]
ah ok
swentel, Mandrake and [tantek] joined the channel
#
[tantek]
swentel schmarty those screenshots πŸ˜‚πŸ˜‚
#
[tantek]
Does anyone else show reacji in a stream, or especially in a composite stream?
#
[tantek]
Curious what others have designed for displaying reacji posts in-stream, especially with a reply context
#
aaronpk
The like 2 reacji posts I've made show up in my normal replies stream with full reply context
[cleverdevil], Mandrake_ and [manton] joined the channel
#
GWG
Something new for me to test?
#
GWG
On lunch
#
GWG
Oh...new error
#
GWG
Missing callback parameter, redirect_uri
#
GWG
Will have to check logs when I get home
#
dgold
yay! got all my compass data off the old server and onto the new!
#
Loqi
yay!
#
GWG
Someday I will get to Compass.
#
GWG
I really want something to show my patterns that isn't Google
#
aaronpk
tests++
#
Loqi
tests has 7 karma in this channel (20 overall)
#
schmarty
ooh! tests++
#
schmarty
tests++ nice
#
Loqi
tests has 8 karma in this channel (21 overall)
#
skippy
this may be a dumb question, but I can't find a simple answer in the Micropub spec or the MF2 parsing docs: is it the case that *all* elements on an MF2 JSON object are *always* arrays, even single-element items?
#
skippy
i simply cant find something that confirms or denies that.
#
aaronpk
huh yeah i don't know where to link you to to answer that
#
aaronpk
but the answer is yes
#
skippy
i see that Micropub clients are expected to submit in this format; but are micropub servers supposed to as well?
#
skippy
ok. thanks aaronpk.
#
skippy
is there an existing lightweight PHP library that does this? I dont need to parse all of MF2; I just need to ensure all my PHP arrays get serialized to this flavor of JSON.
#
aaronpk
i've been working on something like that https://github.com/aaronpk/p3k-micropub
#
Loqi
[aaronpk] p3k-micropub: Utilities to help handle Micropub requests when building servers and clients
#
aaronpk
takes a request in form-encoded as well as json and normalizes it to a microformats json object https://github.com/aaronpk/p3k-micropub#handling-the-request
#
Loqi
[aaronpk] p3k-micropub: Utilities to help handle Micropub requests when building servers and clients
#
skippy
oooh neat
[snarfed] joined the channel
#
[snarfed]
[aaronpk] re Instagram, odd, granary didn't notice a change. eg https://granary.io/instagram/aaronpk/@self/@app/?format=as2
#
aaronpk
i also had someone complain they are unable to verify their instagram account where it checks for the link back to the profile
snarfed joined the channel
#
dgold
what is netlify?
#
Loqi
Netlify is a CDN/static hosting provider with integrated build service, useful for static site generators https://indieweb.org/Netlify
#
dgold
furrrrrrrrrrfu
#
aaronparecki.com
edited /OAuth (+200) "add link to oauth playground, update book info"
(view diff)
kaushalmodi joined the channel
#
kaushalmodi
dgold: As I am just learning, I won't be able to use nanopub on Netlify :(
#
kaushalmodi
I talked to the Netlify customer service reps and they won't allow running any dynamic script on their servers.
#
kaushalmodi
So looks like only the nanopub based endpoint would need to be hosted somewhere else that allows running php?
#
kaushalmodi
Also in the process, I learned about https://github.com/voxpelli/webpage-micropub-to-github, which can work for Hugo too.
#
Loqi
[voxpelli] webpage-micropub-to-github: Self-hosteable Micropub endpoint that publishes to Jekyll by committing to GitHub
#
kaushalmodi
So, something pings nanopub to generate micropub content.. somehow that talks to webpage-micropub-to-github so that the content gets auto-committed, somehow that sends a POST request to my Netlify account that rebuilds by Hugo site..
#
kaushalmodi
so a lot of unknowns there..
#
dgold
kaushal - I have _0_ experience of netlify
#
dgold
I should be able to help later in the weekend
#
dgold
but suns going down, I have duties o/
#
dgold
there are other possibilities, let me ponder them
#
kaushalmodi
dgold: Thank you. Just to let you know that it's alright if this doesn't work out. May be this is one of those things that I adapt to my site just as I learn, with time :)
#
kaushalmodi
dgold: "I have _0_ experience of netlify": Simply put, Netlify provides free continuous deployment of my site with free hosting under the condition that all content is purely STATIC.. so no scripts running on their server.
#
kaushalmodi
I commit my Hugo content files to Gitlab > Netlify sees the commits > Triggers hugo build > My site gets deployed
#
kaushalmodi
About other possibilities, I found one person Josh Johnson on twitter who uses Hugo + Netlify but uses voxpelli's package that I referenced earlier
#
kaushalmodi
.. using Heroku (which also I don't know anything about). So a roadblock there too.
#
@jnjosh
@kaushalmodi Yeah, the micropub api is based on this project https://github.com/voxpelli/webpage-micropub-to-github and deployed to Heroku. It’s not the best, and only supports text-based post. I’ve been meaning to look into it again but haven’t had a chance.
(twitter.com/_/status/984634880586862592)
#
scripter.co
edited /Netlify (+779) "Add brief introduction of what Netlify is"
(view diff)
iasai_ joined the channel
#
scripter.co
edited /Netlify (+383) "Add Netlify limitations"
(view diff)
davy__, snarfed and [eddie] joined the channel
#
[eddie]
So the benefit of micro.blog using emojitags is that I just realized today I can have Aperture exclude any posts that contain certain emojis like: πŸ€
#
sknebel
What is an emojitag?
#
Loqi
It looks like we don't have a page for "emojitag" yet. Would you like to create it? (Or just say "emojitag is ____", a sentence describing the term)
#
[eddie]
Emojitag is the use of a single emoji to categorize a piece of content. Similar to a hashtag, but utilizing an emoji. The most common form of this in the IndieWeb is through including an emoji in a note.
#
loqi.me
created /Emojitag (+230) "prompted by sknebel and dfn added by [eddie]"
(view diff)
QGQSOOsuk, swentel and snarfed joined the channel