
@reiver ⊼ (Charles) 
@reiver@mastodon.social
@reiver@mastodon.social
@hongminhee@hollo.social
My stance on #ActivityPub's adoption of JSON-LD: Since we've already decided to use JSON-LD, I hope we do it properly. However, if we hadn't used JSON-LD from the beginning, things would have been much less complicated.
@hongminhee@hollo.social
My stance on #ActivityPub's adoption of JSON-LD: Since we've already decided to use JSON-LD, I hope we do it properly. However, if we hadn't used JSON-LD from the beginning, things would have been much less complicated.
@hongminhee@hollo.social
My stance on #ActivityPub's adoption of JSON-LD: Since we've already decided to use JSON-LD, I hope we do it properly. However, if we hadn't used JSON-LD from the beginning, things would have been much less complicated.
@hongminhee@hollo.social
My stance on #ActivityPub's adoption of JSON-LD: Since we've already decided to use JSON-LD, I hope we do it properly. However, if we hadn't used JSON-LD from the beginning, things would have been much less complicated.
@hongminhee@hollo.social
My stance on #ActivityPub's adoption of JSON-LD: Since we've already decided to use JSON-LD, I hope we do it properly. However, if we hadn't used JSON-LD from the beginning, things would have been much less complicated.
@reiver@mastodon.social
Currently, the way I am determining if content is valid ActivityPub / ActivityStreams content is —
№1:
Determining if it is valid JSON.
№2:
Checking if it has a "type" field.
And that is it.
#ActivityPub #ActivityStreams #DeSo #FediDev #FediDevs #Fediverse #JSONLD
@reiver@mastodon.social
Dealing with JSON-LD would be easier in many ways if everything was defined inline.
Rather than having to get the content from a URL in the context, parse it, etc.
#ActivityPub #ActivityStreams #DeSo #FediDev #FediDevs #Fediverse #JSONLD
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
ActivityPub & ActivityStreams are based on JSON-LD — a format that is not (non-programmer) human-legible & human-writable
Maybe we need an alternative way of encoding ActivityPub & ActivityStreams in situations where (non-programmer) humans might read it or write it
Maybe the INI file data format? Or something else that is friendly to (non-programmer) humans?
#ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse #HumanLegible #HumanWritable #INI #JSON #JSONLD #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
I agree that an open protocol is better and more important than just an application.
But I also think that an open file data format is better and more important than just an open protocol.
I.e.,:
file data format ≫ protocol ≫ app
...
#ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse #HumanLegible #HumanWritable #INI #JSON #JSONLD #OpenSocial #SocialWeb
@reiver@mastodon.social
1/
JSON-LD is not (non-programmer) human-legible format because — JSON is not (non-programmer) human-legible format.
JSON-LD and JSON are both also not (non-programmer) human-writable.
...
#ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse #HumanLegible #HumanWritable #INI #JSON #JSONLD #OpenSocial #SocialWeb
@reiver@mastodon.social
This feels so wasteful —
Including the same content twice — once in "content" and again in "contentMap".
#ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse #JSONLD #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
9/
And just for the record —
Just like everyone else I contacted about their 'discoverable' flag being defaulted to 'false' —
He wasn't aware of the 'discoverable' flag existing (just like everyone else I contacted).
He didn't want to be hidden (just like everyone else I contacted).
He changed it to 'true' (just like everyone else I contacted).
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
8/
As it is now, I think the 'discoverable' flag is broken.
And, I think the whole user-experience (UX) around the 'discoverable' flag is poor.
And, I think Fediverse software treating a 'false' value for 'discoverable' as "not discoverable" (rather than "not discoverable" or "no choice made") has hugely negative consequences for the user-experience (UX) of the Fediverse
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
7/
So now I have to DM Ben to tell him that his 'discoverable' flag is set to false
He (just like everyone else I contacted) will likely not even be aware that the 'discoverable' flag exists
And (just like everyone else I contacted) wished it wasn't set to false
And then (just like everyone else I contacted) struggle to find where he can set it to true
And then set it
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
6/
As it is now, the 'discoverable' flag seems broken to me.
Because 'false' doesn't actually mean 'false'.
'false' (in practice) means both "not discoverable" and "no choice made". And this is a very unfortunate situation —
Because the idea of a 'discoverable' flag is a good idea — but this problem with the meaning of 'false' and the UX consequences a big deal.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
5/
JSON and has a 'null'. That could have been used for the 'discoverable' flag.
We could have had so that:
'discoverable' set to 'true' meant that the user explicitly chose to be discoverable.
'discoverable' set to 'false' meant that the user explicitly chose to not be discoverable.
And 'discoverable' set to 'null' meant that the user has not explicitly made a choice.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
4/
With other conceptions, this lack of choice — this lack of setting a value — isn't as muddled.
With optional-types (which are also called "option-types" and "maybe-types") when something isn't assigned a value it is represented as 'nothing' / 'none'.
In relation-databases, this is represented as 'null'.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
As it is right now, the 'discoverable' flag does not communicate whether the user actually made a 'true' or 'false' choice.
If it is 'true' we know they made a choice.
But if it is 'false' it either means the user chose 'false' or the user didn't make a choice. BUT WE CANNOT TELL THE DIFFERENCE.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
There are a HUGE number of people who (unknown to them) have their 'discoverable' flags set to 'false' who —
№2:
Do NOT know that they have a 'discoverable' flag —
And do NOT know that their 'discoverable' flag was automagically set to 'false' —
And do not understand the consequence of having their 'discoverable' flag set to false.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social
1/
A problem with the 'discoverable' flag (in Mastodon and any other Fediverse software that added it) is —
There are a HUGE number of people who (unknown to them) have their 'discoverable' flags set to 'false' who —
№1:
Did NOT set their 'discoverable' to 'false' themselves.
Mastodon assigned it for them without ever asking them before hand and getting consent.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
8/
As it is now, I think the 'discoverable' flag is broken.
And, I think the whole user-experience (UX) around the 'discoverable' flag is poor.
And, I think Fediverse software treating a 'false' value for 'discoverable' as "not discoverable" (rather than "not discoverable" or "no choice made") has hugely negative consequences for the user-experience (UX) of the Fediverse
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
7/
So now I have to DM Ben to tell him that his 'discoverable' flag is set to false
He (just like everyone else I contacted) will likely not even be aware that the 'discoverable' flag exists
And (just like everyone else I contacted) wished it wasn't set to false
And then (just like everyone else I contacted) struggle to find where he can set it to true
And then set it
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
6/
As it is now, the 'discoverable' flag seems broken to me.
Because 'false' doesn't actually mean 'false'.
'false' (in practice) means both "not discoverable" and "no choice made". And this is a very unfortunate situation —
Because the idea of a 'discoverable' flag is a good idea — but this problem with the meaning of 'false' and the UX consequences a big deal.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
5/
JSON and has a 'null'. That could have been used for the 'discoverable' flag.
We could have had so that:
'discoverable' set to 'true' meant that the user explicitly chose to be discoverable.
'discoverable' set to 'false' meant that the user explicitly chose to not be discoverable.
And 'discoverable' set to 'null' meant that the user has not explicitly made a choice.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
4/
With other conceptions, this lack of choice — this lack of setting a value — isn't as muddled.
With optional-types (which are also called "option-types" and "maybe-types") when something isn't assigned a value it is represented as 'nothing' / 'none'.
In relation-databases, this is represented as 'null'.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
As it is right now, the 'discoverable' flag does not communicate whether the user actually made a 'true' or 'false' choice.
If it is 'true' we know they made a choice.
But if it is 'false' it either means the user chose 'false' or the user didn't make a choice. BUT WE CANNOT TELL THE DIFFERENCE.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
There are a HUGE number of people who (unknown to them) have their 'discoverable' flags set to 'false' who —
№2:
Do NOT know that they have a 'discoverable' flag —
And do NOT know that their 'discoverable' flag was automagically set to 'false' —
And do not understand the consequence of having their 'discoverable' flag set to false.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social
1/
A problem with the 'discoverable' flag (in Mastodon and any other Fediverse software that added it) is —
There are a HUGE number of people who (unknown to them) have their 'discoverable' flags set to 'false' who —
№1:
Did NOT set their 'discoverable' to 'false' themselves.
Mastodon assigned it for them without ever asking them before hand and getting consent.
#ActivityPub #ActivityStreams #DeSo #Discoverable #FediDev #FediDevs #Fediverse #FediverseUX #JSONLD #Mastodon #SocialWeb
@reiver@mastodon.social
Could ActivityPub / ActivityStreams be used to synchronize files across separate machines / computers / devices‽
I think the answer is, YES.
❦
The inbox-outbox system could enable you to send messages between separate machines / computers / devices.
The 'messages' transfer the changed 'blocks' / 'chunks' that make up a file, notify about deletions, file creations, etc
Existing Activity Types might be sufficient to do this
#ActivityPub #ActivityStreams #FediDev #FediDevs #Fediverse #JSONLD
@licho@kolektiva.social
Ok, I can officially say that I don't get #jsonLD. #ActivityPub uses it, #fediverse is built on it. But it doesnt actually give any boost in interoperability. The applications themself must be written with interoperability in mind. It's just fancy aliasing mechanism, am I wrong about it? Maybe that's what it's supposed to be? Was I wrong expecting it to be anything more? It doesn't do any heavy lifting besides the aliasing. It only serves as a reminder to look up the docs of a protocol. You could just as well just get the protocol spec out and it would be equivalent. What's the point?
@naturzukunft@mastodon.social
is there a json-ld compact "expert" in my bubble ?
@naturzukunft@mastodon.social
is there a json-ld compact "expert" in my bubble ?
@reiver@mastodon.social
Fediverse Labeler update:
I have been working on a site that anyone can use to see Fediverse Labelers in action.
This is what it looks like if the user it looks up doesn't provide an avatar image or a header image.
I.e., this (in the screenshot) shows the default avatar image and header image.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
For previous posts on Fediverse Labelers, see:
https://mastodon.social/@reiver/113833886881290289
And:
https://mastodon.social/@reiver/113825206793984884
And:
https://mastodon.social/@reiver/113822862806430217
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
Fediverse Labeler update:
I have been working on a site that anyone can use to see Fediverse Labelers in action.
This is what it looks like if the user it looks up doesn't provide an avatar image or a header image.
I.e., this (in the screenshot) shows the default avatar image and header image.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
For discussion on some of the technical / programming side of Fediverse Labelers, see:
https://mastodon.social/@reiver/113822893896346873
.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
1/
More on Fediverse Labelers —
Here is how text-labels from multiple Fediverse Labelers could appear in an application on a person's profile.
...
In this example, the application pulled in 7 labels from 4 different Fediverse Labelers.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
For previous threads on Fediverse Labelers see:
https://mastodon.social/@reiver/113825206793984884
And:
https://mastodon.social/@reiver/113822862806430217
.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
For previous threads on Fediverse Labelers see:
https://mastodon.social/@reiver/113825206793984884
And:
https://mastodon.social/@reiver/113822862806430217
.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
Fediverse Labeler update:
I have been working on site that anyone can use to see Fediverse Labelers in action.
I am hoping to get it done soon. (Maybe by the weekend or next week.)
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
This screen mock-up only shows text-labels.
Other types of labels can exist — image labels of different types, virtual object labels, space-time labels, etc.
And labels can have different use-case (in addition to human-readable text) — more on that later.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
For discussion on some of the technical / programming side of Fediverse Labelers, see:
https://mastodon.social/@reiver/113822893896346873
.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
1/
More on Fediverse Labelers —
Here is how text-labels from multiple Fediverse Labelers could appear in an application on a person's profile.
...
In this example, the application pulled in 7 labels from 4 different Fediverse Labelers.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
This screen mock-up only shows text-labels.
Other types of labels can exist — image labels of different types, virtual object labels, space-time labels, etc.
And labels can have different use-case (in addition to human-readable text) — more on that later.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
For discussion on some of the technical / programming side of Fediverse Labelers, see:
https://mastodon.social/@reiver/113822893896346873
.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
1/
More on Fediverse Labelers —
Here is how text-labels from multiple Fediverse Labelers could appear in an application on a person's profile.
...
In this example, the application pulled in 7 labels from 4 different Fediverse Labelers.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #FediverseLabelers #FediverseLabels #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
4/
Note that even in this example, that there are different types of labels!
I have some examples of text labels.
But I also have some examples of Icon labels.
(Other types of labels could exist, too.)
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
3/
The "describes" field would point to the thing being labelled.
The "attributedTo" field would point to the person or machine that create these label.
And the "attachment" field would be a list of labels.
The (top level) "icon" field would be an icon that would be shown next to the label in the user-interface (UI).
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social · Reply to @reiver ⊼ (Charles) :batman:'s post
2/
A Fediverse Labeler would output a separate ActivityStreams "Profile" Object for each thing it wants to label.
Each of these should be at a separate URL.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
1/
This is how a Fediverse Labeler could work.
In particular, This is how a Fediverse Labeler could be represented as ActivityPub / ActivityStreams / JSON-LD data.
#ActivityPub #ActivityStreams #ActivityPubProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #JSONLD #OpenWeb #OpenSocial #SocialWeb
@reiver@mastodon.social
Is any Fediverse (or other) software using or returning an ActivityStreams 'Profile'?
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-profile
#ActivityPub #ActivityStreams #ActivityStreamsProfile #DeSo #FediDev #FediDevs #Fediverse #FediverseLabeler #JSONLD #OpenWeb #SocialWeb
@reiver@mastodon.social
1/
One of the advantages Microformats and (small "s") semantic-HTML has over HTML, XML, JSON, etc, is —
It is easy to mark a piece of data with multiple semantics.
For example:
<span class="summary title">Hello world!</span>
...
🧵
@reiver@mastodon.social
I think using "live" URIs for JSON-LD contexts (that parsers are expected to download from) — are probably a bad idea.
Maybe even a security-hole.
#ActivityPub #ActivitStreams #DeSo #FediDevs #Fediverse #JSONLD
@reiver@mastodon.social
What is the motivation for encouraging LitePub implementors to "supply a locally hosted version of the LitePub JSON-LD Context"?
Is it just for people using full-out JSON-LD parsers?
Won't this create problems for people using parsers that do NOT go download and interpret context-URIs? And instead just hard-code the vocabulary in their code?
#ActivityPub #ActivityStreams #DeSo #FediDevs #Fediverse #JSONLD #LitePub
@sl007@digitalcourage.social
recently I stumbled upon https://github.com/w3c/activitystreams/issues/616#issuecomment-2498990563 and (apart from this concrete issue) it make me think about how _new_ users to the protocol understand the use of multiple languages
The problem why the #ActivityPub #Specification has a deep learning curve:
In order to understand the use of multiple languages, you need to read at least 4 specifications.
Any user of the software can say: I speak language X in quality Y.
It might not be obvious to new users that it is the according
- HTTP "accept-language" header
like e.g. "de,en-US;q=0.7,en;q=0.3"
The default language is defined in the
- JSON-LD spec. as described in above issue
The primer to read about how to use it is in the
- AS Core specs.
https://www.w3.org/TR/activitystreams-core/#naturalLanguageValues
while the properties are described in the
- Vocabulary specs.
e.g. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name
While this is understandable and fine for me, it might be confusing to new or non-tech-implementors …
#i18n #language #specs #html #jsonld #as
/ @evan
@reiver@mastodon.social
Interesting. PeerTube content (in their "application/activity+json") can be Markdown.
(Reference: curl -H 'Accept: application/activity+json' https://tube.archworks.co/videos/watch/7d1d5c2f-6d13-48d0-addd-ea99e9e9c967 )
#ActivityPub #ActivityStreams #DeSo #FediDevs #Fediverse #JSONLD #MarkDown #PeerTube
@reiver@mastodon.social
It seems to be common now to put JSON-LD in the HTML source code.
ActivityPub and ActivityStreams files (application/activity+json) are JSON-LD files.
You could put ActivityPub and ActivityStreams in the HTML source code.
#ActivityPub #ActivityStreams #DeSo #FediDevs #Fediverse #HTML #JSONLD
@reiver@mastodon.social
As I mentioned before — I think the Fediverse version of Follow-Packs / Starter-Packs should be some type of ActivityPub / ActivityStreams object.
It could look a lot like the "following" and "followers" URLs look.
RE: https://mastodon.social/@reiver/113629444566451650
#ActivityPub #ActivityStreams #DeSo #FediDevs #Fediverse #FollowPack #FollowPacks #JSONLD #StarterPack #StarterPacks
@reiver@mastodon.social
Someone created a list of all the JSON-LD properties used in the Fediverse:
(I haven't tried confirming the accuracy of this list. But, it is interesting.)
@reiver@mastodon.social
GoToSocial has a JSON-LD namespace:
@reiver@mastodon.social
How much Fediverse software can read the expanded form of JSON-LD?
Or are they making hard-coded assumptions about what the JSON names will be?
I.e.,:
"indexable" : true
Versus:
"http;//joinmastodon·org/ns#indexable" : true
@reiver@mastodon.social
In some ways, I think it might have been "better" if the Fediverse didn't use JSON-LD and instead just used URLs as key names.
I.e., if it didn't use the "@context" stuff.
"@context" adds a certain type of complexity.
@pablo@sivar.cafe
Continued my experiments with #Fedify and #ActivityPub yesterday and I think I’m confused.
I was trying to make an extension for an Object, and if I understand #JsonLd, the context property contains the definition of any extra property added. I see e.g. the activity streams ns resolves to a nice JSON LD that contains all the properties, but the mastodon one doesn’t resolve to anything? Is it not necessary?
@fedify@hollo.social
In the next version (v0.14.0) of #Fedify, the performance of the Object.toJsonLd()
method will be dramatically (~3k ×) faster. This is expected to improve the overall performance of Fedify apps!
@hongminhee@fosstodon.org
The JSON-LD processor ended up being #Fedify's bottleneck, so I'm in the process of fixing Fedify to generate JSON-LD without the proper JSON-LD processor.