#dev 2017-03-14

2017-03-14 UTC
[cleverdevil] joined the channel
#
tantek.com
edited /chat (+414) "fix dfn to be more practically applicable / useful, indieweb examples none so far, silo examples stub, xkcd"
(view diff)
#
tantek
what is chat?
#
Loqi
chat is informal messaging offered by numerous services, a few of which interoperate or bridge with each other, and also a set of brainstorms for what an amazing indieweb friendly chat web app/site could do https://indieweb.org/chat
#
tantek
better, also check out that xkcd
#
www.svenknebel.de
deleted /Glitch "Deleted to make way for move"
#
tantek
whoa what
#
tantek
hey there was no need to delete the existing Glitch
#
tantek
skenebel - only mistakes should be deleted. Glitch was an actual thing, and thus ok to move to another page (rename)
#
sknebel
sorry. seemed irrelevant enough :/
#
tantek
was anything linking to it?
#
tantek
looks up how to undelete
#
tantek
aaronpk: still it's a bad habit
#
tantek
we should only be deleting mistakes and redirects to make room for actual pages
#
tantek.com
restored /Glitch "2 revisions restored"
#
tantek
restored to where?
#
tantek
oh boy did I do a db boo boo?
#
sknebel
I can create a page manually with the old content
#
tantek
oh it got shoved into the history of the existing page!!! https://indieweb.org/wiki/index.php?title=Glitch&action=history
#
tantek
ok mediawiki you are weird
#
tantek
wow I don't think I can undo that
#
tantek
the pages histories are now tangled
#
gregorlove.com
created /Peach (+232) "prompted by tantek"
(view diff)
#
tantek.com
edited /Slack (+259) "add Glitch to a History section here with link to old page revision"
(view diff)
#
gregorlove.com
edited /Peach (+180) "app-only, reverse-engineered API"
(view diff)
#
tantek
what is a web application
#
Loqi
It looks like we don't have a page for "web application" yet. Would you like to create it?
#
tantek
what is a web app
#
Loqi
It looks like we don't have a page for "web app" yet. Would you like to create it?
#
tantek
what is a webapp
#
Loqi
It looks like we don't have a page for "webapp" yet. Would you like to create it?
#
tantek
seriously
#
loqi.me
created /web_app (+28) "prompted by tantek and dfn added by tantek"
(view diff)
#
loqi.me
created /webapp (+28) "prompted by tantek and dfn added by tantek"
(view diff)
#
tantek.com
edited /Glitch (+219) "formerly Gomix, other previous uses, see also"
(view diff)
#
tantek
sknebel: also good to save any prior names when you rename things so old (textual) references are still findable
#
tantek
(e.g. "formerly Gomix" etc.)
ben_thatmustbeme, bnvk, tantek, barpthewire, deathrow1, gRegorLove, cweiske, [kevinmarks] and miklb joined the channel
#
bnvk
aaronpk: are you aware of http://ircv3.net ? I just came across it :P
#
tantek
what is ircv3?
#
Loqi
It looks like we don't have a page for "ircv3" yet. Would you like to create it?
#
tantek
huh I thought we did
#
tantek
bnvk - yeah I think we discussed it a while ago in IRC - try our IRC log search!
#
aaronpk
haha yeah I'm not sure where that's going
#
Loqi
awesome
#
cweiske.de
edited /Loqi (+81) "/* Other */"
(view diff)
#
bnvk
aaronpk: meaning you think it's kind of stagnant / not worth following?
#
aaronpk
It seems to be being worked on
#
aaronpk
but the chances of major players like freenode switching to it are probably slim
#
bnvk
yah, it does
#
aaronpk
and there are also totally separate efforts going on like Matrix
#
aaronpk
which are probably better technical solutions
#
aaronpk
my plan is to just ignore it until it shakes out
#
bnvk
ah, so that's your overall feeling about IRC these days... noted ;)
#
aaronpk
matrix is kind of a complicated protocol, but they do seem to be doing a lot of things right
#
bnvk
what do you think about their @username:domain.com syntax?
#
aaronpk
I wish they had just used email address syntax
#
bnvk
heh, me too. I made a strong impassioned argument to Matthew about that- but he wasn't having it :/
#
aaronpk
I'm not sold on Matrix either, but I'm impressed they've gotten this far
#
aaronpk
what i would really like to see is a protocol that is much easier to implement from scratch
#
aaronpk
Like how with webmention you can implement it incrementally and still participate in conversations
#
bnvk
yah, das webmention ist sehr gut
singpolyma and tantek joined the channel
#
aaronpk
I do keep thinking what an indieweb chat protocol would look like
#
tantek
what is chat
#
Loqi
chat is informal messaging offered by numerous services, a few of which interoperate or bridge with each other, and also a set of brainstorms for what an amazing indieweb friendly chat web app/site could do https://indieweb.org/chat
#
aaronpk
Yeah that
#
aaronpk
the pieces are pretty well in place for that to work. The main difference between that and Matrix is that as written, the indieweb on relies on a single coordination server to distribute the messages
#
aaronpk
So it's more like IRC in that regard
KevinMarks joined the channel
#
petermolnar
aaronpk is reinventing the old skype
IRCFrEAK, tantek and KevinMarks joined the channel
#
martymcgui.re
edited /highlight (+206) "/* Twitter */ add another photo-of-highlighted-text example"
(view diff)
leg and KevinMarks joined the channel
#
tantek.com
edited /code-of-conduct-feedback (+79) "subheads for different discussions to reference, move tommorris reply to context of what it is replying to"
(view diff)
KevinMarks and tantek joined the channel
#
aaronpk
!tell cweiske can I ask you a few questions about shpub when you get a chance?
#
Loqi
Ok, I'll tell them that when I see them next
#
bear
I so want to figure out how to get webmentions to be the backbone for a distributed chat system
#
tantek
bear, just figure out a Webmention to XMPP bridge ;)
#
tantek
ducks
#
aaronpk
bear: we can totally do it, and it would work great using an aggregator (like indienews) to coordinate the conversation
#
bear
right - it's the coordination that gets me stuck
#
tantek
appreciates bear's sense of humor :)
#
aaronpk
i was reading the matrix spec about server-to-server federation, and they have a bunch of stuff about how conversations don't actually "live" in any one place
#
bear
haha - you can't be in the XMPP world for as long as I have without having a good sense of humour
#
aaronpk
and all the different players can backfill a channel from any other server
#
Loqi
bear: lol
#
bear
right - it's the deduping and discovery of new chat items that bogs me down
#
bear
which feels like a solved problem with something like superfeedr and even xmpp muc
#
singpolyma
webmention-to-XMPP would probably bridge to pubsub or MUC, in which case conversations *do* live in one place
#
bear
and I know it's a solved problem with NNTP
#
loqi.me
created /comment_permalink (+280) "prompted by tantek and dfn added by tantek"
(view diff)
#
bear
singpolyma - agree, if they bridged to pubsub then any new entry could be federated to others by listening to that topic
#
bear
hell, I know that back in the day of even FidoNet it was solved by a new node pulling in the starting list of topics to seed their cache
#
singpolyma
probably the right model would be PSHB-to-PubSub (prosody has a module for that), get that working with a nice social networking client like Movim, then layer on webmention to that
#
bear
which would be like a merger of NNTP and Torrent
#
singpolyma
bear: Yeah. I have an older friend who is constantly saying "those who don't know their history are doomed to reinvent it badly over HTTP"
#
bear
singpolyma - that is what I say almost weekly
#
tantek
format corollary: those who don't know their history are doomed to reinvent it as JSON(LD).
#
singpolyma
tantek++
#
Loqi
tantek has 4 karma in this channel (321 overall)
#
tantek
previously: those who don't know their history are doomed to reinvent it as XML
#
bear
a topic would then become a dynamic article with each chat equal to a paragraph - then webmention and fragmention could be used
#
bear
well, XML I would consider old enough that it could be what should have been used by many folks - but i'm not going to fall on that conversation-sword in this generation of developers any more
#
tantek
previously previously (especially in gov/edu circles) those who don't know their history are doomed to reinvent it as SGML
#
aaronpk
wonders what comes after JSON
#
tantek
aaronpk, something that does a better job with i18n string support
#
tantek
because all the name-map crap is a total hack
#
singpolyma
aaronpk: something binary. full circle, baby ;)
#
tantek
and makes it so much more work that anything other than monodirection text is diminished
#
Loqi
WebAssembly
#
singpolyma
oh, right :P
#
tantek
which BTW shipped on by default in FF52 last week!
#
bear
I think i'm going to start calling WebAssembly a trigger word and having my computer just reboot when it appears
#
tantek
lololol
#
tantek
but bear, the devtools now have a disassembler! you gotta love that
#
singpolyma
bear: just wait until we have a JVM compiled to webassembly so you can run stuff in a sandbox!
#
bear
NOOOO MAKE IT STAHP
#
tantek
like disassembly into a text format you can then *write* and assemble, if you were missing writing assembly by hand ;)
#
bear
so I can have my XML loving JVM stuff all inside of a browser
#
bear
haha - that's it - i'm going to start a bespoke hand assembly shop
#
singpolyma
bear: "Heirloom Grade Assembly"
#
tantek
bear++
#
Loqi
bear has 14 karma in this channel (181 overall)
#
bear
I think I still have some books from the 80's in my basement that I can mine for months
#
tantek
bear, that's not a bad business model, given how much really slow JS there is out there, and site will be looking for JSEO
#
tantek
sites*
#
bear
yea, I was mostly joking - but in reality if will soon be just like nodejs --> reactjs path
KevinMarks and cweiske joined the channel
#
cweiske
aaronpk, ask
#
Loqi
cweiske: aaronpk left you a message 1 hour ago: can I ask you a few questions about shpub when you get a chance?
#
aaronpk
you saw my comment on github, we can keep that conversation thread there
#
aaronpk
now that I've finished the client test suite, do you think you could run through the tests to verify your implementation report?
#
aaronpk
(the W3C group voted today to request the Micropub PR transition only after two or more reports are verified against the test suite)
#
cweiske
sure, but not today
#
aaronpk
no problem
#
www.boffosocko.com
edited /ownCloud (+367) "fork to NextCloud; applications"
(view diff)
barpthewire joined the channel
#
tantek
welcome back barpthewire
#
www.boffosocko.com
created /Nextcloud (+667) "basic definition; applications; see also"
(view diff)
#
www.boffosocko.com
edited /Nextcloud_News (+70) "see also links"
(view diff)
#
martymcguire[m]
aaronpk: just submitted an updated implementation report for screech from running through micropub.rocks client tests. should i include a link in there to the micropub.rocks permalink?
#
tantek
martymcquire - any changes in the results?
#
martymcguire[m]
aaronpk: ah, nvm, looks like that URL doesn't show anything to folks that aren't me (https://micropub.rocks/client/B6NUmVpmoH7k8tlz)
#
martymcguire[m]
tantek: no real functionality changes, but the report format changed a bit and now it is verified with tests. :}
#
aaronpk
Thanks!
#
martymcguire[m]
i've hit a point where, because i am working on two micropub clients with common server-side python functionality, i am trying to refactor into a library before adding more features. i should probably hold off on that and pass more client tests instead. :}
#
martymcguire[m]
aaronpk: another question about working through the tests - there are tests for creating posts in both form-encoded and JSON format. is there a reason that a client would pass both of these tests?
KevinMarks joined the channel
#
bear
IMO it should do both as being a client you don't know what the endpoint will accept
#
aaronpk
You don't need to pass both if you have a reason to do one or the other only
#
aaronpk
but keep in mind that some servers may only support form encoded "simple" posts
#
aaronpk
ive been making Quill use form encoded for simple things and then upgrading to JSON requests when they use fancier features
[chrisaldrich] and gRegorLove joined the channel
#
martymcguire[m]
is it goofy to ask the server what it supports? my reading of the spec suggests that a rule of thumb is "form encode until you want to do something that requires JSON"
#
aaronpk
That's what I've been doing.
#
bear
IIRC that is why my client stuff does also
#
martymcguire[m]
that brings me back to my confusion on the "200: Create an h-entry post (JSON)" vs "100: Create an h-entry post (form-encoded)"
#
martymcguire[m]
following the "use form-encoding until you can't", my client would never do the 200 test without me telling it to, artificially
#
aaronpk
That's fine
#
aaronpk
you don't have to pass all the tests
#
martymcguire[m]
ok, cool. i will not let those unchecked boxes stress me out. :}
#
aaronpk
Hm yes checkboxes are powerful
#
ben_thatmustbeme
i cannot get an access token parsed correctly
#
ben_thatmustbeme
because my code is expecting url encoding and its looks like i'm getting back json encoding http://indieweb.org/token-endpoint#Verifying_an_Access_Token
#
ben_thatmustbeme
also it won't login if you give it a scope of post
#
ben_thatmustbeme
which is annoying
#
aaronpk
I only implemented JSON responses for its token endpoint
#
ben_thatmustbeme
probably something i should be expecting always possible then
#
ben_thatmustbeme
should probably note that in that wiki page that it is allowed
#
ben_thatmustbeme
i don't see any comment of that
#
aaronpk
Oh huh I thought it was in there
#
aaronpk
yes i need to update indieauth docs in general
KevinMarks and [dgold] joined the channel
#
@eckes
@sean_a_cassidy open annotations and webmentions inherited the legacy
(twitter.com/_/status/841762043627745280)
KevinMarks joined the channel
#
gregorlove.com
edited /Bridgy (+258) "/* FAQ */ +Can Bridgy re-send a batch of webmentions?"
(view diff)
#
ben_thatmustbeme
hmm, interesting, aaronpk, so when i use json, i can upload media objects fine, but in form encoded mode, it get an error
#
ben_thatmustbeme
its sending it as
#
ben_thatmustbeme
photo%5B0%5D=https%3A%2F%2Fmicropub.rocks%2Fclient%2FOx5OgGCymkO6lkl5%2F700%2FRbYEGp08%2Ffile
#
aaronpk
try just photo=
#
ben_thatmustbeme
so does form encoded not let you do multiples
#
ben_thatmustbeme
i figured that would fix it, but it seemed odd
#
aaronpk
only with []
#
aaronpk
not [0]
#
aaronpk
i can't remember the conversation that came up in, but we added this to the spec to clarify: "Syntax such as foo[0] and foo[bar] is not supported"
#
ben_thatmustbeme
not totally sure how its getting that honestly, but i'll see about fixing it
#
ben_thatmustbeme
ah, silly php thing
KevinMarks joined the channel
#
ben_thatmustbeme
weird [] doesn't work either
#
ben_thatmustbeme
but i guess since its only 1 item, it shouldn't be doing that either
#
aaronpk
hm yeah, but I should relax that on the server a bit
#
ben_thatmustbeme
what determines 'Looks in the response for the Media Endpoint' on the tests?
#
aaronpk
that's self-reported
#
ben_thatmustbeme
ahh, okay, well thats the only difference for me with inkstone
#
ben_thatmustbeme
that makes sense
#
aaronpk
oh wait, I think if you do upload something to the media endpoint it checks that off for you
#
ben_thatmustbeme
huh, it did not, because i definitely have it using the media-endpoint correctly
#
ben_thatmustbeme
and it did not
#
aaronpk
double checks
KevinMarks joined the channel
#
aaronpk
ah it's checking it off internally i just forgot to add the display
#
aaronpk
refresh and the checkmark should be there
KartikPrabhu joined the channel
#
ben_thatmustbeme
also, i take it back, i was able to pass some tests that i don't consider to be totally true
#
ben_thatmustbeme
specifically, i can pass the tests that allow photo by url, just by using the media-endpoint
#
ben_thatmustbeme
but the UI does not actually allow you to enter an arbitrary url
#
aaronpk
the test doesn't require that the user enter an arbitrary URL
#
aaronpk
it's about whether the server allows a URL for the photo property
#
aaronpk
or rather, that the client passes a URL
#
ben_thatmustbeme
ah ,interesting
#
aaronpk
(ah I double checked and nevermind, I didn't actually finish implementing that checkbox, so it's still self-reported)
#
aaronpk
yeah I don't want to dictate UI/UX stuff with the test suite, just checking protocol level stuff
KevinMarks and tantek joined the channel
#
tantek
what is i18n
#
Loqi
Internationalization (AKA internationalisation, i18n; localization, l10n.) is the process of adapting software/content to various languages https://indieweb.org/i18n
#
tantek
what is l10n
#
Loqi
Internationalization (AKA internationalisation, i18n; localization, l10n.) is the process of adapting software/content to various languages https://indieweb.org/l10n
#
tantek.com
edited /translations (+724) "dfn, modernize the sections a bit, stub Why, How to, See Also"
(view diff)
#
tantek
FYI OSBridge FB event for those who use that for event tracking: https://www.facebook.com/events/433282747063465
KevinMarks and singpolyma joined the channel
#
tantek.com
edited /translations (+777) "Silo Examples, FB, Twitter, screenshot of err from Jet Villegas, permission: https://twitter.com/junglecode/status/834446306667962368"
(view diff)
KevinMarks_, gRegorLove and KevinMarks joined the channel