Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Brite
  • 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. Today I discovered an interesting inconsistency in Activity Streams specs while investigating [a Fedify issue].

Today I discovered an interesting inconsistency in Activity Streams specs while investigating [a Fedify issue].

Scheduled Pinned Locked Moved Uncategorized
fedifyfedidevactivitypubspecificationsactivitystreams
22 Posts 6 Posters 38 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 trwnh@mastodon.social

    @mariusor no, i'm just trying to reach a mutual understanding.

    content negotiation is fine if you are serving the same information for the same identifier. you have this idea of images being documents, people being documents, etc., and i have the idea that the representations are not the thing itself.

    take for example the very popular and common pattern of doing something like this:

    /image
    /image.avif
    /image?width=600
    /image/thumbnail
    /image@2x

    these might all be "the same image" at the end.

    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
    #21

    @mariusor again, this isn't theoretical, there are plenty of web servers doing exactly this.

    you can find services of this sort all over the place:

    Link Preview Image
    Placehold

    Placehold is a simple, fast and free image placeholder service to generate SVG, PNG, JPEG, GIF, WebP and AVIF placeholder images for your project.

    favicon

    (placehold.co)

    Link Preview Image
    Lorem Picsum

    Lorem Ipsum... but for photos

    favicon

    Lorem Picsum (picsum.photos)

    and many widely-used softwares as well:

    Link Preview Image
    Images API

    The Contentful Images API allows the retrieval and manipulation of image files referenced from assets.

    favicon

    (www.contentful.com)

    Link Preview Image
    GitHub - imgproxy/imgproxy: Fast and secure standalone server for resizing and converting remote images

    Fast and secure standalone server for resizing and converting remote images - imgproxy/imgproxy

    favicon

    GitHub (github.com)

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

      @mariusor again, this isn't theoretical, there are plenty of web servers doing exactly this.

      you can find services of this sort all over the place:

      Link Preview Image
      Placehold

      Placehold is a simple, fast and free image placeholder service to generate SVG, PNG, JPEG, GIF, WebP and AVIF placeholder images for your project.

      favicon

      (placehold.co)

      Link Preview Image
      Lorem Picsum

      Lorem Ipsum... but for photos

      favicon

      Lorem Picsum (picsum.photos)

      and many widely-used softwares as well:

      Link Preview Image
      Images API

      The Contentful Images API allows the retrieval and manipulation of image files referenced from assets.

      favicon

      (www.contentful.com)

      Link Preview Image
      GitHub - imgproxy/imgproxy: Fast and secure standalone server for resizing and converting remote images

      Fast and secure standalone server for resizing and converting remote images - imgproxy/imgproxy

      favicon

      GitHub (github.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
      #22

      @mariusor the problem (for others) is that when you use the same URI to refer to different things, you can no longer distinguish between them. it's why the naive approach is to just use file extensions -- less ambiguity. you can trade content negotiation for explicit identification ahead-of-time. but it's quite tenuous to say that foo.jsonld and foo.png are "the same" in any meaningful sense. one is a description of an image, the other is a representation of the image. neither are the real thing

      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