#social 2017-07-26
2017-07-26 UTC
# saranix ajordan: pretty much :)
xmpp-social, timbl and csarven joined the channel
# jaywink If I got an update for an object I don't have, it would feel logical to process it as a create. All these create/update so on are artificial since it always depends on what the receiver has. It might make sense to show activities someone did to know the verbs, but for distributing content they're meaningless
# puckipedia jaywink: well, a S2S update is basically "hey here's that object again, just fyi"
# puckipedia the question is: can you Delete an Activity?
# puckipedia or should an Activity be always undone / (inverse: create vs delete, add vs remove)
# puckipedia
{"type": ["Delete", "Note"], "object": "toDelete", "content": "woops, violated copyright laws", "actor": "user", "attributedTo": "user"}
# puckipedia I mean, this is a Delete and a Note at the same time :P Should you Create it or just post it as is? :P
# puckipedia it deletes another note
# puckipedia hey it's allowed by the spec :P
# puckipedia it's a really bad idea but nothing's stopping it from existing
# puckipedia well, it's got two types
# puckipedia which probably shouldn't be mixed in AP objects
# puckipedia I also thought of a
{"type": ["Create", "Note"], "object": "example.com/obj", "id": "example.com/obj"}
# puckipedia (... is this the equivalent of an implicit Create in OStatus? D:)
# puckipedia ehm, implicit create in AS1 Atom
# puckipedia JSON-LD does
# puckipedia also it's mentioend in AS2 core, with an extension: "type": ["Place", "gr:Location"],
# puckipedia I assume the type array is a JSON-LD set so it has to be unique
# puckipedia I have a magic "first type" which is used for some unique processing
# puckipedia but then yo ucan't add extensions :P
# puckipedia jaywink: tbh, it might be possible to say "there may only be one activity type per object", so you can't do Create/Delete, but you can still do Create/Note if you reaally want to
# puckipedia cwebber2: well, an Update is for clients to parse too
# puckipedia ah, didn't look at the logs
# puckipedia I had those two :P
# puckipedia *had*
# puckipedia well, it might've disappeared as a feature
# puckipedia ehm it's kinda segfaulting when compiling :<
# puckipedia because curl on debian is too new
# puckipedia annoyingly this is a Known Issue
# puckipedia libcurl
# puckipedia and it's just dotnet that's crashing
# puckipedia IT SEGFAULTED
# puckipedia libcrypto
# puckipedia exactly when doing the json web key thingy
# puckipedia "The reporter for that one gave information which suggests that their system has both libcrypto.so.1.0.0 and libcrypto.so.1.0.2, and that libcurl uses the latter, we use the former."
# puckipedia maybe if it returns 50X it should probably just mention 'server error' instead of failed?
# puckipedia well, I'm surprised it worked as far
# puckipedia too new debian
# puckipedia yeah, Mono will some time in the future be replaced completely by .NET Core
# puckipedia cwebber2: I ran alpine linux but that doesn't work at all because musl
# puckipedia cwebber2: well, .NET Core is now cross-platform in itself
# puckipedia okay, maybe Mono won't be completely gone for a while, because Xamarin
# puckipedia okay I kinda just downgraded curl
# puckipedia (it passes something from curl to openssl, or reverse, and that breaks it because libcrypto 1.0.0 is used by .NET and 1.0.2 is used by libcurl)
# puckipedia cwebber2: back up and running :P
# puckipedia it did not
# puckipedia it's still running
# puckipedia wonder if I should put a sha256 hash in the url instead
# puckipedia oh woops, one sec
# puckipedia been doing some school stuffs
# puckipedia apparently tudelft@puckipedia.com is a bad recovery email because it contains tudelft
tantek joined the channel
# puckipedia tantek: we did
# xmpp-social [ajordan] I'm really happy we did honestly
# xmpp-social [ajordan] I felt like a vegetable
timbl and ajordan joined the channel