#dev 2020-05-14

2020-05-14 UTC
dogfart, [tw2113], [chrisaldrich], [Kevin_Faaborg], Boris1, chrisaldrich, gRegorLove_, gRegorLove__, beko, [Aaron_Klemm] and [Katherine] joined the channel
#
[Katherine]
i’m kind of confused about github pages. i have a website that is hosted on github pages right now, but i was wondering if its possible to host two websites through github?
gRegorLove__ joined the channel
#
KartikPrabhu
[Katherine]: I haven't used github pages too much, but I think it does one website per github account as per https://pages.github.com/
#
[Katherine]
yeah.. it seemed kind of vague if there was a way around it. oh well haha
#
KartikPrabhu
maybe you can use subdomains? but I am not sure
#
KartikPrabhu
you can always make two github accounts :P
#
KartikPrabhu
because its "free"
#
KartikPrabhu
aaronpk: [Katherine] was interested in posting through SMS which you have in Quill (?) I couldn't find docs on that though
#
aaronpk
It's posting via email, but all sms providers have an sms to email gateway
#
aaronpk
I think the docs only are there once you're logged in https://quill.p3k.io/email
#
Loqi
Quill
nickodd joined the channel
#
[Katherine]
posting via email seems ok too!
#
[Katherine]
so basically it seems like i would need to set up Known and then set up Quill separately to integrate with it?
gRegorLove__ joined the channel
#
KartikPrabhu
I think Known should already be setup to work with Quill (through micropub)
#
[Katherine]
oh, great!
#
[Katherine]
ill figure out the SSH setup on dreamhost tomorrow…
#
KartikPrabhu
:thumbsup:
[chrisaldrich], jeremycherfas, swentel, [LewisCowles], xsteadfastx, moppy, dogfarted, rick, petermolnar and [KevinMarks] joined the channel
#
[KevinMarks]
The workaround for github pages is to create an organisation, then you can have another site for that.
jeremych_ joined the channel
#
[LewisCowles]
poor github lol
#
[LewisCowles]
not because of indicative vote, more the multi account thing
#
[LewisCowles]
for $5 a month, rent a VPS with digitalocean and upload flat HTML. It's $1 more than digitalocean, but you can have as many domains as you want. YMMV on how much you want to store there, but GitHub also advises no large files etc
KartikPrabhu joined the channel
#
[KevinMarks]
it does make more sense for those kind of random sites to be organisations. Which reminds me I should not auto-renew all the random domains I bought around brexit and the election
#
jeremycherfas
You never know ...
#
[KevinMarks]
gah, hover.com have updated their site and now it's slow and annoying
gxt joined the channel
#
[LewisCowles]
I think it's a digital thing that people hoard domains. I own some I do nothing with, just to own them, and I redirect others to the exact same site as some others to get some extensions
#
[LewisCowles]
still, at least I'm not a burglar is one of my fun excuse making things for odd habits.
#
petermolnar
[LewisCowles]: let me introduce you to https://www.reddit.com/r/DataHoarder/ - although point taken, most of the digital "hoarding" is rather proper archiving. Renting random domains is indeed hoarding.
#
[LewisCowles]
I do hoard old software, but I try my best to get it working and document bits of it too
#
[LewisCowles]
I have old visual basic source code, which only runs under dosbox + windows 9x or dos. Not just games, actual software. It's a hobby of mine and I think it helps me make better choices as a software engineer
#
[LewisCowles]
also helps for deployments. Something was niggling at me yesterday about Apple Source code, and a VST SDK. got them, patched to work with newer GCC & clang (tiny edits), and then I was golden.
nickodd, [Rose], [jgmac1106], d0gfart, geoffo and marinin[m] joined the channel
#
marinin[m]
hi everyone! long time no read
KartikPrabhu joined the channel
geoffo and jamietanna joined the channel
#
jamietanna
snarfed looking at https://brid.gy/reddit/jamietanna I've had some attempted WMs that I don't see as things that should've been attempted - any idea if this is expected?
[snarfed] joined the channel
#
[snarfed]
jamietanna yes! sorry for the confusion. that was a bug in the search, it initially didn't quote your domain, so it include posts with eg just 'jvt' instead of 'jvt.me'
#
[snarfed]
should be fixed now
#
Loqi
[stedn] #210 add quotes and sort=new to praw search
#
jamietanna
ah makes sense!
jolvera, gRegorLove, djmoch and dogfart joined the channel; nickodd left the channel
#
sebsel
Debugging why the new iA Writer won't post to my site... seems like they send a JSON-request (which is fine), but with the following format:
#
sebsel
{"type":"h-entry","properties":{"name":["Omg, did iA Writer just ship with micropub"],"content":["Omg, did iA Writer just ship with micropub?"],"post-status":["draft"]}
#
sebsel
does anyone know about this "properties" thing?
#
aaronpk
that looks right, that should be mf2 json
#
sebsel
whoa.
#
sebsel
o wait that is in my code.
#
sebsel
My code does not go well on the type not being an array.
#
aaronpk
oh! missed that
#
aaronpk
should be "type":["h-entry"]
#
sknebel
heh, that reminds me of accidentially feeding a url into the image property of my site instead of a list urls
#
sknebel
which the code dutyfully turned into <img href="h"…> <img href="t"…><img href="t"…><img href="p"…><img href="s"…><img href=":"…> :D
#
sebsel
yes so unfortunately this is not a bug in my code, but a bug in iA Writer's, which is harder to fix :(
#
aaronpk
as much as i understand the reason for mf2 json making everything arrays, it is kind of annoying sometimes
#
sebsel
I suppose they tested it on something... does Micro.blog support it to be a string?
#
sknebel
does micro.blog support the json syntax?
#
aaronpk
i would assume so
#
sknebel
anyway, reaching out early is probably good
#
aaronpk
i thought they mentioned support for wordpress and micro.blog in their announcement
#
sebsel
They brand it in their release notes as "Micropub support for Micro.blog and other IndieWeb tools"
#
aaronpk
i wonder if they tested with micropub.rocks
#
aaronpk
cause that should have pointed this out
#
sebsel
lemme micropub.rocks this thing
#
aaronpk
those tests should be pretty complete, but it has been a while since i've touched them
#
sebsel
fails at first step because it does not ask for scope.
#
sebsel
would be helpful if micropub.rocks let me continue tho :P
#
aaronpk
hm, micropub does say scope is required
#
aaronpk
indieauth doesn't require it because indieauth is used for more than micropub
#
sknebel
but indieauth says assume default scopes afaik?
#
aaronpk
yea but because this is a micropub client those rules override it
#
sebsel
they do a good job, however: you can skip the flow alltogether and just add a token manually
#
sebsel
I like that
#
sknebel
I bet at least some implementations take the "assume default scopes" and give the token micropub scopes
#
sebsel
because micropub.rocks gives me the token too
#
sknebel
(and I don't think I've seen you say before "don't grant micropub scopes as default")
#
sknebel
GWG: do you happen to know off-hand what Wordpress Indieauth does if a client doesn't ask for scopes?
#
sebsel
except it does not add the account... without any info :(
#
sebsel
ah, because I should still add the URL, not the endpoint.
#
sebsel
So it is only able to participate in test number 202, because they only send that very specific request. And that one fails, because the "type" is not an array.
#
sebsel
I can get it to pass point 2 "The client sends the access token in the HTTP Authorization header" and point 27 "Queries the Micropub endpoint with q=config", in the implementation report, but that's all. Adding photos does seem to add passing points.
#
sebsel
Still curious to know if Micro.blog supports this "type" not being an array, but I can't test that. Want to reach out to them with these findings, but would be nice if you can confirm some working case, even tho wrong?
#
sebsel
Maybe it's a test, for how many people are actually using this ;)
#
GWG
sebsel: It should reject an empty scope statement, why?
#
sebsel
who should reject? Micropub.rocks?
#
GWG
sebsel: The WordPress implementation, but I'd have to check the code
#
GWG
Here, it would issue with an empty array
#
GWG
And Micropub would reject
#
GWG
Excuse me
#
sebsel
ah, yea, like sknebel asked.
#
sebsel
(I should change my nickname, it's too confusing)
#
sebsel
yea so from iA Writer's perspective they also have a Wordpress integeration using Jetpack
#
sebsel
o no they actually distinguish in the UI between Wordpress.org and Wordpress.com, and for .org they point to Micropub
#
sebsel
The 'Get IndieAuth' button opens https://wordpress.org/plugins/indieauth/
#
Loqi
[IndieWebCamp WordPress Outreach Club] Description The plugin turns WordPress into an IndieAuth endpoint. This can be used to act as an authentication mechanism for WordPress and its REST API, as well as an identity mechanism for other sites. It uses the URL from the profile page to iden...
#
sebsel
It's a nice minimal implementation, but it's sad they got those two details wrong.
#
sknebel
at least easy to fix
[tantek] and JKing joined the channel
#
aaronpk
also better to get them to fix it a day after it launches so that people don't go writing micropub servers that only accept their input
d0gfart joined the channel
#
sebsel
yea it's late in my timezone. Will send an email tomorrow
#
sknebel
sebsel++
#
Loqi
sebsel has 8 karma in this channel over the last year (21 in all channels)
#
sknebel
and good night! (really should shut the laptop too :D)
[KevinMarks] and d0gfart joined the channel