#social 2017-11-16

2017-11-16 UTC
#
Loqi
[strugee] #5 Replace or publish patched Webmention client
#
ajordan
tantek: lol
#
tantek
a-ha, you're showing up as <img class="u-photo" title="AJ Jordan" src="">
#
tantek
hmm I think I can hack that with CSS
#
tantek
wonders what emoji he should use for an RSVP without a profile pic
#
tantek
what's the indieweb equivalent of the Twitter egg
#
ajordan
hahaha
#
Loqi
ajordan: lol
#
tantek
thanks for the test case ajordan - I think that's the first time that I've seen that happen
#
ajordan
edit the IndieWeb logo so it's fainter and shows just the borders of the shapes
#
ajordan
tantek: np!
#
tantek
haha oh I got it
#
ajordan
ahaha I loveit
#
ajordan
s/it/ it/
rowan joined the channel
#
ajordan
https://github.com/connrs/node-webmention-client/pull/2 sent upstream though I don't think anything will happen
#
Loqi
[strugee] #2 Fix sending HTTP GETs instead of POSTs
#
ajordan
alrighy thanks tantek! that was productive
#
ajordan
dinner now, I'm starving :-)
#
tantek
ajordan: well deserved! reviewing the code change now
#
xmpp-social
[ajordan] Hah, it's nothing. Literally four characters
#
xmpp-social
[ajordan] ".post" ?
#
JanKusanagi
4 chars could save your life!
#
xmpp-social
[ajordan] I really should just rewrite this library from scratch
#
xmpp-social
[ajordan] It's overengineered in its implementation
#
xmpp-social
[ajordan] tantek: how's HWC?
#
tantek
starts in ~1hr!
#
xmpp-social
[ajordan] Ah I misremembered :P
rowan and tantek joined the channel
#
ajordan
tantek: saw your r+ and laughed out loud at how Mozilla it was :D
tantek, rhiaro and cdchapman joined the channel
#
cwebber2
ben_thatmustbeme: yay
rowan, xmpp-social, tantek, bengo and jankusanagi_ joined the channel
#
Chocobozzz
hi, not sure how to handle announce activity, should we only announce the object or all the activity? (https://pastebin.com/Ph7D0CYL VS https://pastebin.com/VX1Qvcx6)
#
rhiaro
Chocobozzz: I think either is fine, but I'd do the first one with just the object
#
Chocobozzz
rhiaro: okay thanks! But if it is an Add activity (https://www.w3.org/TR/activitypub/#add-activity-outbox), I put the "target" property inside the object property?
#
Chocobozzz
sorry wrong link, i mean in server-server so https://www.w3.org/TR/activitypub/#add-activity-inbox
#
rhiaro
hm, not sure what you mean
#
rhiaro
the target is the collection you're adding to, the object is the thing being added
#
Chocobozzz
for example, if i want to announce an new note added to a collection -> https://pastebin.com/wdPaLpfE
#
Chocobozzz
you said that I would only announce the object property, so I loss the "target" property
#
Chocobozzz
so how to keep this "target" property in an announce activity?
#
rhiaro
ah if you're announcing the Add then I'd use the Add as the object of the Announce
#
rhiaro
i think Create is kind of a special case maybe
#
Chocobozzz
ok thank you very much rhiaro :)
#
rhiaro
but depending on what you're doing, you might not need Announce? Are you specifically re-sharing the Add after the fact?
#
Chocobozzz
I want to share that a user uploaded a video in its video channel
#
Chocobozzz
So in fact, i want to share the video creation. But a video belongs to a video channel, it's the reason why i send a 'Add' instead of a 'Create'
#
rhiaro
So you are basically sending new videos to subscribers? what's the reason you are sendng an Announce, rather than just sending the Add directly?
#
Chocobozzz
rhiaro: I send the Add directly to the user followers, but another Actor then could share this video creation -> it's why i want to announce the add :)
#
rhiaro
Aha righto
#
rhiaro
and you don't have another way of tying the video to the channel, so you can't just Announce the video itself
#
Chocobozzz
exactly :)
#
rhiaro
seems fine then!
#
rhiaro
whatcha building?
#
puckipedia
waves
#
puckipedia
I'm in the train, looking at some issues between Mastodon and Kroeg
#
puckipedia
something in the mentions is borked
#
puckipedia
wait no, I know, and now I'm annoyed
#
puckipedia
the train wifi is so slow loading the JS times out
#
Chocobozzz
rhiaro: I'm moving the private federation protocol to ActivityPub for peertube :) https://github.com/Chocobozzz/PeerTube
#
Loqi
[Chocobozzz] PeerTube: [WIP] Decentralized video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.
#
puckipedia
Chocobozzz: my suggestion is that the channel Create's the video, and then the other places Announce just the object
#
puckipedia
wait, is channel ~= user in this software?
#
puckipedia
I forgot I had done a PR to fix the issue I'm having now; but it isn't in a released version yet lol
#
Chocobozzz
puckipedia: yes, a user is not a channel : a user can have multiple channels, and choose in which channel he uploads the video
#
puckipedia
does the user have a view of all the videos they uploaded?
#
puckipedia
(and does the user show in the video info, or just the channel?)
#
Loqi
hahahaha
#
puckipedia
hey so random thing I noticed: order of attachments isn't defined in AS2
#
Chocobozzz
puckipedia: yes, the user will be able to view all the videos they uploaded, but also all the channels they created and view all videos inside a channel
#
puckipedia
I think a user Creating a Video and a Channel announcing that Video is probably the best? but this is very subjective
#
puckipedia
and of course, Creating a Channel
rowan, JanKusanagi, timbl and tantek joined the channel
#
puckipedia
well that was fun. bit of talking, blood tested
#
puckipedia
time to do more ActivityPub things
timbl, cdchapman, sandro, bwn and bengo joined the channel
#
distopico
Hi, good day, I have a question related to AcitivityPub endpoints
#
puckipedia
well, I might have an answer
#
distopico
The API endpoints has some standar structor?
#
distopico
I mean could be "api/user/likes" or "as/collections/user" or something like that?
#
puckipedia
ah, that's completely dependant on the server software
#
puckipedia
but you can e.g. find a user's likes by parsing their profile object
#
puckipedia
e.g. if you look at curl -H Accept:application/activity+json https://puckipedia.com/ | jq .; you can see my inbox, outbox, liked, following, followers, etc
#
Loqi
@dotUser
#
puckipedia
looks at Loqi
#
puckipedia
yep I don't do microformats yet and that's the first microformat h-card
rowan joined the channel
#
puckipedia
distopico: of course, if you write your own server, you are welcome to add in structure -- but you can't require that structure on every server
#
puckipedia
e.g. you may want to federate with Kroeg, or Mastodon, which use different URLs
#
distopico
How a server discover the profile from other server endpoint?
#
distopico
A server has "api/users" and other "v1/api/user" how know what is the correctly endpoint?
#
puckipedia
there's no central server endpoint
#
distopico
how Kroeg discover the Mastodon endpoints?
#
puckipedia
if you say "I would like to mention cwebber on octodon.social", you either enter @cwebber@octodon.social and it uses webfinger, or you enter https://octodon.social/users/cwebber - both of these point towards a JSON-LD object describing the user, and containing the needed endpoints
#
xmpp-social
[ajordan] distopico: it's much less structured than in pump.io
#
xmpp-social
[ajordan] @cwebber@octodon.social is mostly legacy though
#
xmpp-social
[ajordan] I.e. Webfinger lookup is legacy
#
distopico
Ok, the way is with webfinger?
#
puckipedia
if you are starting to write an AP implementation, I would suggest just requiring the ID of a user
#
distopico
But the user id could be lives in "sever.com/userID" or "server.com/api/userID" but from "server.com/.well-known/..." get the correct path?
#
puckipedia
the user ID is a URI. e.g. "https://puckipedia.com/" is my user Id, cwebber's is "https://octodon.social/users/cwebber", but I could also have a user ID which is "https://puckipedia.com/florp/toot/emoji/not-a-user/trust-me/actually/i-lied"
#
Loqi
@dotUser
#
distopico
Ok, thanks
#
rowan
wait, why are we discouraging webfinger? like, i understand that .well-known is Less Than Ideal, but the webfinger acct:x@y scheme is v human readable and intuitive
#
puckipedia
rowan: well, we don't have anything better right now
#
puckipedia
and e.g. Mastodon requires it
#
rowan
right; what i mean is, you just recommended that a new AP implementation flat out require the ID instead of using webfinger
#
rowan
and that seems to me like it makes the ux worse
#
rowan
but i might have misunderstood something?
#
Loqi
[Christopher Allan Webber] P2P ActivityPub: more feasible than you think Show more So this thread was conversing about the feasibility of a p2p ActivityPub (including ...
#
puckipedia
haha, I now have emoji- and user-searching
#
Loqi
hahahaha
#
puckipedia
I have an improved @-selecting view
#
puckipedia
it still mostly works by magic
#
distopico
So, The ActivityPub ID no required be "the-user@test.com", could be "test.com/my-social-nework/the-user"
#
puckipedia
the id the-user@test.com is actually your preferredUsername plus the hostname of the domain it's on, using webfinger, afaik
#
distopico
so, is better the webfinger as primary discoverable and "server.com/userId" as fallback?
#
puckipedia
inverse
#
puckipedia
also the mastodon IDs are actually example.com/users/ExampleUser
#
cwebber2
hello hello
#
cwebber2
back from lunch
#
cwebber2
time to wrap up a couple client things then get back to satisfying the implementation reports remaining things
#
distopico
but for mastodon, for pump.io is example.com/ExampleUser
#
distopico
and mastodon has alias in https://mastodon.social/ExampleUser
#
puckipedia
oh no. due to Reasons, the order of attachments in Kroeg is inverse to that of Mastodon
#
puckipedia
as:attachment is a set :<
#
bengo
cwebber2 does this look like a valid test of what you have in mind for client audience targeting recursion? https://distbin.com/activities/758a7eec-9b82-49a5-9dbd-d72e1bdcd8fd
#
cwebber2
bengo: uh let me wrap up this client task so I can give my full braincycles :)
#
bengo
cwebber2 np
#
aaronpk
is going through websub issues
rowan joined the channel
#
puckipedia
I set something up so I get notifications for every mention and DM and like and etc
#
ajordan
aaronpk: best of luck lol
#
puckipedia
basically, every activity that is addressed directly to my ID
#
puckipedia
I feel like this is a good indicator for notification
#
aaronpk
pew pew
#
puckipedia
then mentions would be "Create sent to me and at least one collection", and DMs would be "Create sent to me and no collections"
#
puckipedia
waves hand
#
Zakim
sees waves on the speaker queue
#
puckipedia
seriously
#
puckipedia
... seriously
#
aaronpk
Zakim, what are you still doing here?
#
Zakim
I don't understand your question, aaronpk.
#
puckipedia
anyways I wanted to continue with "damn you, non-updated Mastodon instances"
#
puckipedia
ack waves
#
Zakim
sees no one on the speaker queue
#
puckipedia
well at least that's fixed
#
cwebber2
q+ puckipedia to talk about zakim
#
Zakim
sees puckipedia on the speaker queue
#
cwebber2
ack puckipedia
#
Zakim
puckipedia, you wanted to talk about zakim
#
Zakim
sees no one on the speaker queue
#
puckipedia
anyways I have a collection that gets me all my directly addressed objects now
#
puckipedia
which also sends me a push
#
cwebber2
q+ zakim to talk about to talk about
#
Zakim
sees zakim on the speaker queue
#
cwebber2
ack zakim
#
Zakim
zakim, you wanted to talk about to talk about
#
Zakim
sees no one on the speaker queue
#
cwebber2
yeah i guess that wouldn't have worked
#
aaronpk
2 minutes until q+ zakim to talk about Loqi
#
Loqi
I added a countdown scheduled for 2017-11-16 10:12pm UTC (#6212)
#
Loqi
q+ zakim to talk about Loqi
#
Zakim
sees zakim on the speaker queue
#
aaronpk
ack Zakim
#
Zakim
zakim, you wanted to talk about Loqi
#
Zakim
sees no one on the speaker queue
#
aaronpk
2 minutes until q+ 2 minutes until Zakim to talk about Loqi
#
Loqi
I added a countdown scheduled for 2017-11-16 10:17pm UTC (#6213)
#
cwebber2
bengo: ok, now reading
#
Loqi
q+ 2 minutes until Zakim to talk about Loqi
#
Zakim
Loqi, you typed too many words without commas; I suspect you forgot to start with 'to ...'
#
puckipedia
I *could* make Kroeg more microservice-y
#
puckipedia
well basically two, one to GET things, and one to basically just process POSTs
#
cwebber2
puckipedia: microservice is just a bad word for "the actor model"
#
puckipedia
they aren't even that micro
#
cwebber2
if you go actormodel'y, I think the best way to succeed is to be aware that you're going actor model'y :)
#
puckipedia
hah, I like live push messages to tell me I got a mention :P
#
cwebber2
bengo: yes your test looks good
#
cwebber2
(I say, at significant delay!)
#
bengo
cwebber2 thanks! dont sweat the delay. I'm also juggling client work at the same time today :)
#
puckipedia
so ehm, when writing ActivityPub servers, just imagine that the consumers of your server have an irrational fear for objects without id
#
cwebber2
that's... a very easy thing to imagine, yes :)
#
cwebber2
replying to a post that doesn't have an id is er
#
cwebber2
well it's a good testament to why blank nodes are bad :)
#
puckipedia
tbh, e.g. the as:image inside a toot:Emoji is inline
#
cwebber2
ah well I care about that a bit less
#
puckipedia
yeah. tbh most primary objects you'll shuffle arround should have IDs
#
puckipedia
stuff like attachments/tags
#
puckipedia
those doesn't really matter
#
puckipedia
wait I have like 32 followers???
#
cwebber2
the cool kids know who puckipedia is on the fediverse
#
puckipedia
wait no 22
#
puckipedia
https://puckipedia.com/ I have a counter thingy now!
#
Loqi
@dotUser
#
puckipedia
also that
#
puckipedia
is still a thing
#
puckipedia
I need to sprinkle some microformats onto the page
#
puckipedia
bengo: because you're not in the correct mindset. remember, phobia for objects without IDs :P
#
bengo
ah that's right. Working on fixing the stuff that was causing trouble. Forgot that one
#
bengo
thx