#social 2017-09-11

2017-09-11 UTC
#
@xga
mastdon、OStatusをやめてActivity Pubに変えるというのでなんだろうと思ったらW3Cが策定している新しいプロトコルなのか https://www.w3.org/TR/activitypub/
(twitter.com/_/status/907027390718648321)
xmpp-social and howl joined the channel
#
@reiver
Haven't heard of this before: ActivityPub https://www.w3.org/TR/activitypub/ For making decentralized Twitter? (Not fan of usage of JSON though)
(twitter.com/_/status/907199865939271680)
#
csarven
Tackling "decentralisation" and federation is such a trivial task that ... being pedantic on the data serialization is definitely time well invested.
#
xmpp-social
[ajordan] ^^^
#
xmpp-social
[ajordan] Lol also what else would you use
#
xmpp-social
[ajordan] XML?
#
xmpp-social
[ajordan] Some binary format like protobufs?
cdchapman, KevinMarks and dmitriz joined the channel
#
jaywink
fun to laught at people disliking JSON when there are many probably here too who would say the same thing if AP was XML ;)
#
jaywink
(though I'm happy it's not) :D
#
xmpp-social
[ajordan] :'D yep!
#
aaronpk
clearly we should just use CSV
#
xmpp-social
[ajordan] Ooooooo. That's brilliant
#
aaronpk
we can call it "CSA: Comma-Separated Activities"
#
xmpp-social
[ajordan] Or maybe SMTP-style commands
#
xmpp-social
[ajordan] EHLO ap.example
cdchapman joined the channel
#
xmpp-social
[ajordan] STARTTLS # because of course
#
xmpp-social
[ajordan] ACTIVITY <id>
#
xmpp-social
[ajordan] Etc.
#
xmpp-social
[ajordan] cwebber2: you should revoke my standards license (again)
dmitriz and cdchapman joined the channel
#
cwebber2
personally I advocate Rivest's Canonical S-expressions format :)
#
cwebber2
advocates for sexp-ld :)
#
xmpp-social
[ajordan] Oh my god
#
xmpp-social
[ajordan] Why am I not surprised
#
xmpp-social
[ajordan] Is it bad that it legitimately sounds fun to write an SMTP-like submission protocol for AP? As an April Fool's joke or something
#
puckipedia
ActivityPub over Gopher
#
puckipedia
well actually I want to build that lol
#
xmpp-social
[ajordan] ^^^ see??? It's so tempting!!
cdchapman joined the channel
#
xmpp-social
[ajordan] In the introduction of my draft I'd be like
#
xmpp-social
[ajordan] > Note that this specification deliberately deviates from SMTP; this will prevent all the SMTP spam from coming to the new network.
#
xmpp-social
[ajordan] But then in reality it'd have all the same flaws and more and it would turn out that what the intro meant was actually "this network won't be spammed by SMTP spammers who didn't bother to update their code to account for the tiny syntactical differences
#
xmpp-social
[ajordan] "
KevinMarks_ and KevinMarks joined the channel
#
puckipedia
ajordan: hehehe; JSON-RD to MIME headers
cdchapman and KevinMarks joined the channel
#
jaywink
cwebber2: activitypub.rocks news need some OG tags - makes posts when sharing :)
#
jaywink
"makes nicer posts"
#
cwebber2
jaywink: OG tags....?
#
jaywink
many social network platforms pull out description etc from those
#
cwebber2
jaywink: oic
#
cwebber2
rdfa :)
#
cwebber2
I thought embedded json-ld with schema.org was more popular for this kinda stuff right now but I'd be okay adding rdfa
#
cwebber2
(embedded schema.org json-ld is what google/bing/etc look at usually I think)
#
csarven
considers whether he should go into pedantic HTML+RDFa mode.
#
jaywink
dunno, only thing I've run into is OG tags for this kind of stuff
#
jaywink
google has a social network?
#
cwebber2
jaywink: google has google+ ;)
#
jaywink
oh yeah, *that* one ;)
#
cwebber2
that's not what I'm talking about
#
cwebber2
jaywink: you ever do a search and you get "fancy" results on google's homepage
#
cwebber2
where instead of getting a plain link to a thing you see some fancy rendering
#
cwebber2
like you actually see the movie tickets show up, or info about a video that's not even on youtube, or plane tickets or probably more things that aren't tickets I can't think of
#
cwebber2
jaywink: usually they're pulling off schema.org json-ld and using that metadata
#
cwebber2
wait wrong link :P
#
jaywink
trying to search whether facebook supports these. personally interested more in how things look in social media posts than search
#
cwebber2
they support rdfa too
#
cwebber2
huh I had no idea
#
cwebber2
used to write rdfa while working at CC :P
#
cwebber2
csarven: heh re: pedantic HTML+RDFa
#
cwebber2
occasionally I have thought about pointing a foot-gun downward and sending schema.org objects across the activitypub inbox endpoints ;)
#
cwebber2
jaywink: anyway, yeah I should do that
#
Loqi
yaml has -1 karma
#
cwebber2
hates yaml
#
cwebber2
nearly unparsable
#
cwebber2
so complex for so little gains
#
ajordan
cwebber2: ugh me too, it's nearly pointless
#
ajordan
yaml--
#
Loqi
yaml has -2 karma
#
jaywink
hmm can't find info on facebook + schema.org json-ld ... oh well, logs an issue to look into it anyway for socialhome, if it improves google results :)
#
cwebber2
ontologists gonna ontologize
#
ajordan
cwebber2: lollll
#
ajordan
ugh I have never encountered a worse configuration file format than ejabberd's
#
cwebber2
I forget, what do they use? is it Erlang?
#
ajordan
because it's YAML but if it doesn't quite parse correctly (semantically or maybe even syntactically?) it doesn't actually crash
#
ajordan
things just don't work right
#
ajordan
lol pretty sure it used to be raw Erlang but that was Before My Time(tm)
#
ajordan
that's like 90% of the reason I hate YAML tbh
#
csarven
jaywink: What are you trying to do?
#
cwebber2
the Saddest Thing (TM) is when devops projects decide to use YAML config files because "it's very expressive, but we don't want a turing complete language"
#
ajordan
^^^ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
cwebber2
but then they add variables, conditionals, etc in a templating language on top of it
#
cwebber2
and in the case of... was it ansible or salt? even exception handling!
KevinMarks_ joined the channel
#
cwebber2
and now you have a sad turing complete hybrid monstrosity
#
ajordan
I believe Ansible but Salt might do it too, idk
KevinMarks joined the channel
#
ajordan
but I mean they're all like that
#
ajordan
even if they don't use YAML
#
ajordan
Chef might be okay, can't remember
#
cwebber2
chef uses a real programming language, ruby
#
cwebber2
which is better
#
ajordan
oh that's nice
#
jaywink
csarven: not trying anything as such, I already use OG tags to render a nice preview for links on Socialhome. But it seems JSON-LD structures might help in google results
#
cwebber2
a lisp would be better ;)
#
jaywink
Ansible <3
#
jaywink
ansible++
#
Loqi
ansible has 1 karma in this channel (7 overall)
#
@jy
ActivityPub -- W3C Candidate Recommendation 07 September 2017 https://www.w3.org/TR/activitypub/#authorization
(twitter.com/_/status/907326970240921601)
cwebber, cdchapman, JanKusanagi, KevinMarks and KevinMarks_ joined the channel