Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. Uncategorized
  4. @silverpill @steve @raucao is is https://www.w3.org/ns/activitystreams#Note>, but only "Note" is consistent with compacted JSON-LD.

@silverpill @steve @raucao is is https://www.w3.org/ns/activitystreams#Note>, but only "Note" is consistent with compacted JSON-LD.

Scheduled Pinned Locked Moved Uncategorized
8 Posts 3 Posters 25 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.social
    wrote last edited by
    #1

    @silverpill @steve @raucao <Note> is <as:Note> is <https://www.w3.org/ns/activitystreams#Note>, but only "Note" is consistent with compacted JSON-LD.

    Fundamentally, identifiers are expressed in different ways depending on context. The prefix mechanism produces compact URIs, which are still intrinsically URIs despite their lexical form not being a valid URI. If you care about referents, you need to expand them.

    "as:Public" is canonical for object properties (type:id). Disliking this fact doesn't make it untrue.

    trwnh@mastodon.socialT 1 Reply Last reply
    0
    • trwnh@mastodon.socialT trwnh@mastodon.social

      @silverpill @steve @raucao <Note> is <as:Note> is <https://www.w3.org/ns/activitystreams#Note>, but only "Note" is consistent with compacted JSON-LD.

      Fundamentally, identifiers are expressed in different ways depending on context. The prefix mechanism produces compact URIs, which are still intrinsically URIs despite their lexical form not being a valid URI. If you care about referents, you need to expand them.

      "as:Public" is canonical for object properties (type:id). Disliking this fact doesn't make it untrue.

      trwnh@mastodon.socialT This user is from outside of this forum
      trwnh@mastodon.socialT This user is from outside of this forum
      trwnh@mastodon.social
      wrote last edited by
      #2

      @silverpill @steve @raucao The only thing I can really suggest is dropping the use of the prefix mechanism by undefining the `as` term, then rewriting all other term definitions to not use the `as:` prefix. This might make sense since the media type nominally guarantees the meaning of certain terms, and you really shouldn't define your own custom terms in the `as:` namespace, so maybe it's okay to say that no one should ever use `as:`. Is that the resolution you'd prefer?

      silverpill@mitra.socialS 1 Reply Last reply
      0
      • trwnh@mastodon.socialT trwnh@mastodon.social

        @silverpill @steve @raucao The only thing I can really suggest is dropping the use of the prefix mechanism by undefining the `as` term, then rewriting all other term definitions to not use the `as:` prefix. This might make sense since the media type nominally guarantees the meaning of certain terms, and you really shouldn't define your own custom terms in the `as:` namespace, so maybe it's okay to say that no one should ever use `as:`. Is that the resolution you'd prefer?

        silverpill@mitra.socialS This user is from outside of this forum
        silverpill@mitra.socialS This user is from outside of this forum
        silverpill@mitra.social
        wrote last edited by
        #3

        @trwnh @steve @raucao I am not convinced that there is a problem in the first place.

        ActivityPub says the identifier is https://www.w3.org/ns/activitystreams#Public. JSON publishers use full URI. Server implementations that perform JSON-LD processing (e.g. Iceshrimp) also produce full URI, they figured it out. Then, why make a change?

        If this issue is purely theoretical, then it must be addressed without changing ActivityPub.

        steve@social.technoetic.comS 1 Reply Last reply
        0
        • silverpill@mitra.socialS silverpill@mitra.social

          @trwnh @steve @raucao I am not convinced that there is a problem in the first place.

          ActivityPub says the identifier is https://www.w3.org/ns/activitystreams#Public. JSON publishers use full URI. Server implementations that perform JSON-LD processing (e.g. Iceshrimp) also produce full URI, they figured it out. Then, why make a change?

          If this issue is purely theoretical, then it must be addressed without changing ActivityPub.

          steve@social.technoetic.comS This user is from outside of this forum
          steve@social.technoetic.comS This user is from outside of this forum
          steve@social.technoetic.com
          wrote last edited by
          #4

          @silverpill @trwnh @raucao These kinds of discussions fascinate me. "Yeah, it's not right, but what's the problem?" ๐Ÿ˜‰ It reminds me of ...

          Link Preview Image
          Workflow

          favicon

          xkcd (xkcd.com)

          trwnh@mastodon.socialT 1 Reply Last reply
          0
          • steve@social.technoetic.comS steve@social.technoetic.com

            @silverpill @trwnh @raucao These kinds of discussions fascinate me. "Yeah, it's not right, but what's the problem?" ๐Ÿ˜‰ It reminds me of ...

            Link Preview Image
            Workflow

            favicon

            xkcd (xkcd.com)

            trwnh@mastodon.socialT This user is from outside of this forum
            trwnh@mastodon.socialT This user is from outside of this forum
            trwnh@mastodon.social
            wrote last edited by
            #5

            @silverpill

            Iceshrimp has hacky workarounds for interop reasons with plain JSON consumers who fail to understand the currently canonical fully conformant normal form of "as:Public" and only understand the non-canonical full URI. Hacky workarounds shouldn't be the norm. If one were to build an AS2 validator right now, the validator would produce documents that cause interop issues. That's the problem we're trying to solve. Issues like this prevent validation from being feasible.

            @steve @raucao

            silverpill@mitra.socialS 1 Reply Last reply
            0
            • trwnh@mastodon.socialT trwnh@mastodon.social

              @silverpill

              Iceshrimp has hacky workarounds for interop reasons with plain JSON consumers who fail to understand the currently canonical fully conformant normal form of "as:Public" and only understand the non-canonical full URI. Hacky workarounds shouldn't be the norm. If one were to build an AS2 validator right now, the validator would produce documents that cause interop issues. That's the problem we're trying to solve. Issues like this prevent validation from being feasible.

              @steve @raucao

              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.social
              wrote last edited by
              #6

              @trwnh @steve @raucao If this issue causes an imaginary software to produce invalid documents, then it is not a real issue.

              Regarding hacky workarounds: no one is forced to use JSON-LD. The need for a workaround actually suggests that there is a bug in JSON-LD processors, which for some reason mess with property values when they are URIs. That doesn't make any sense.

              trwnh@mastodon.socialT 1 Reply Last reply
              0
              • silverpill@mitra.socialS silverpill@mitra.social

                @trwnh @steve @raucao If this issue causes an imaginary software to produce invalid documents, then it is not a real issue.

                Regarding hacky workarounds: no one is forced to use JSON-LD. The need for a workaround actually suggests that there is a bug in JSON-LD processors, which for some reason mess with property values when they are URIs. That doesn't make any sense.

                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.social
                wrote last edited by
                #7

                @silverpill @steve @raucao That's not what I said at all. The AS2 documents are fully valid, fully conformant, etc. -- there are MUST requirements which describe this, but you seem to be ignoring those MUST requirements while citing a requirement which doesn't exist in AP, based on a misunderstanding of how identifiers work.

                Again, you can say "I don't like this", but you can't say "this is wrong". It's evident that fedi impls produce noncompliant AS2, and some fail to consume compliant AS2.

                trwnh@mastodon.socialT 1 Reply Last reply
                0
                • trwnh@mastodon.socialT trwnh@mastodon.social

                  @silverpill @steve @raucao That's not what I said at all. The AS2 documents are fully valid, fully conformant, etc. -- there are MUST requirements which describe this, but you seem to be ignoring those MUST requirements while citing a requirement which doesn't exist in AP, based on a misunderstanding of how identifiers work.

                  Again, you can say "I don't like this", but you can't say "this is wrong". It's evident that fedi impls produce noncompliant AS2, and some fail to consume compliant AS2.

                  trwnh@mastodon.socialT This user is from outside of this forum
                  trwnh@mastodon.socialT This user is from outside of this forum
                  trwnh@mastodon.social
                  wrote last edited by
                  #8

                  @silverpill @steve @raucao I have already described in the GitHub issue the options available to us. One is to make no normative changes and simply issue updated guidance. The other is to completely rewrite the context document to undefine the "as" term prefix, so that the canonical and conformant form changes from as:Public to the full identifier. (Plain JSON consumers still need to consider JSON-LD when producers augment the context.)

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Popular