Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • 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

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Fediverso
  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].

Pianificato Fissato Bloccato Spostato Fediverso
fedifyfedidevactivitypubspecificationsactivitystreams
2 Post 2 Autori 2 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • 洪 民憙 (Hong Minhee)undefined Questo utente è esterno a questo forum
    洪 民憙 (Hong Minhee)undefined Questo utente è esterno a questo forum
    洪 民憙 (Hong Minhee)
    scritto su ultima modifica di
    #1

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

    The question: How should we interpret URLs like "icon": "https://example.com/avatar.png"?

    JSON-LD context (https://www.w3.org/ns/activitystreams😞 @type: "@id" → “This is an IRI reference, dereference it to fetch an ActivityStreams object.”

    Activity Streams Primer: “assume that a bare string is the href of a Link object, not an id” (no dereferencing)

    Result: JSON-LD processor-based implementations try to parse PNG files as JSON and fail.

    Turns out w3c/activitystreams#595 already discusses the same issue for href properties. I added a note that icon, image, etc. have the same problem.

    Once again reminded of how tricky spec work can be…

    #ActivityPub #Fedify #ActivityStreams #fedidev #specifications

    Evan Prodromouundefined 1 Risposta Ultima Risposta
    • 洪 民憙 (Hong Minhee)undefined 洪 民憙 (Hong Minhee)

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

      The question: How should we interpret URLs like "icon": "https://example.com/avatar.png"?

      JSON-LD context (https://www.w3.org/ns/activitystreams😞 @type: "@id" → “This is an IRI reference, dereference it to fetch an ActivityStreams object.”

      Activity Streams Primer: “assume that a bare string is the href of a Link object, not an id” (no dereferencing)

      Result: JSON-LD processor-based implementations try to parse PNG files as JSON and fail.

      Turns out w3c/activitystreams#595 already discusses the same issue for href properties. I added a note that icon, image, etc. have the same problem.

      Once again reminded of how tricky spec work can be…

      #ActivityPub #Fedify #ActivityStreams #fedidev #specifications

      Evan Prodromouundefined Questo utente è esterno a questo forum
      Evan Prodromouundefined Questo utente è esterno a questo forum
      Evan Prodromou
      scritto su ultima modifica di
      #2

      @hongminhee It's a place where our loosey goosey style goes into nondeterminism. We should tighten it up in the next version. My main answer would be: publishers, don't do that.

      1 Risposta Ultima Risposta
      • Piero Bosioundefined Piero Bosio ha condiviso questa discussione
      Rispondi
      • Topic risposta
      Effettua l'accesso per rispondere
      • Da Vecchi a Nuovi
      • Da Nuovi a Vecchi
      • Più Voti


      Gli ultimi otto messaggi ricevuti dalla Federazione
      • Elena Brescacinundefined
        Elena Brescacin

        @piero @notizie E per via di "centralizzato / decentralizzato" non avrei idea di come si possa fare a far capire ai profani. A parte il solito esempio del numero telefonico e la mail.
        Tu non dovresti preoccuparti di quale istanza segue la persona con cui dialoghi. Le grandi aziende sono riuscite a far diventare inconsueto quello che è normale (vedi telefono e mail)

        per saperne di più

      • Elena Brescacinundefined
        Elena Brescacin

        @piero @notizie La faccenda della verifica dell'età e il controllo chat, sempre adducendo la solita scusa dei bambini, è un modo per SCHEDARE le persone. Oggi ti dicono "sei anonimo se guardi i siti porno" ma i dati loro ce li hanno. Poi passano a mandarti pubblicità, poi a crearti problemi (di qualsiasi tipo) se non rispetti i canoni voluti dal politico. Che per carità potrebbe essere destra o sinistra, a quel livello là il colore importa il giusto.

        per saperne di più

      • Evan Prodromouundefined
        Evan Prodromou

        @bkardell how so?

        per saperne di più

      • bkardellundefined
        bkardell

        @evan seems like this particular poll might be just slightly biased 🙂

        per saperne di più

      • Joe Cooper 🇺🇦 🍉undefined
        Joe Cooper 🇺🇦 🍉

        They call options related to this "feature" "get a room", which somehow makes it more annoying.

        per saperne di più

      • Joe Cooper 🇺🇦 🍉undefined
        Joe Cooper 🇺🇦 🍉

        OK, Discourse (the forum software, not "the discourse" about any current news) made me mad today, and that's not something that ever happens. I love Discourse, but this one is crazy.

        I get mad when someone PMs me, and this damned forum software is telling people to do it behind my back. This is a support forum for an Open Source project, people are not allowed to ask for private help without paying for it. It is bonkers to recommend taking public conversations private.

        #Discourse

        per saperne di più

      • skaundefined
        ska

        julian Oh, you're right. I never did it manually and they must have defederated for some reason.

        Sorry, but I absolutely hadn't noticed this, so I'd say the problem with NodeBB is solved then 🙂

        per saperne di più

      • Evan Prodromouundefined
        Evan Prodromou

        @hongminhee It's a place where our loosey goosey style goes into nondeterminism. We should tighten it up in the next version. My main answer would be: publishers, don't do that.

        per saperne di più
      • Accedi

      • Accedi o registrati per effettuare la ricerca.
      Powered by NodeBB Contributors
      • Primo post
        Ultimo post