freamon

joined 1 year ago
MODERATOR OF
[–] freamon 1 points 7 months ago (3 children)

top-level reply

[–] freamon 1 points 7 months ago

last reply (just showing that this Mastodon instance doesn't stagger comments for Lemmy either)

[–] freamon 1 points 7 months ago (2 children)

top-level reply from lemmy

[–] freamon 1 points 7 months ago

reply to your reply (tests create JSON)

[–] freamon 1 points 8 months ago

Oh right: tildes has a system like this - I didn't know it was (probably) inspired by Slashdot.

Adding federation into the mix certainly complicates things though.

[–] freamon 1 points 8 months ago

so how does this go out?

[–] freamon 2 points 8 months ago (1 children)

I might wait until lemmy 0.19.4 to post more, as I'll be able to include ALT text in a tag with with picture, rather than dumping it into the post body as an 'image description'. The problem with the current approach is that more people see it (and potentially respond to it with something snarky) than what was ever intended.

[–] freamon 1 points 8 months ago

curl --header 'accept: application/activity+json' https://endlesstalk.org/post/28599550 | jq .

{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "type": "Page",
  "id": "https://endlesstalk.org/post/28599550",
  "attributedTo": "https://endlesstalk.org/u/freamon",
  "to": [
    "https://endlesstalk.org/c/piefed",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "name": "Git repo",
  "cc": [],
  "mediaType": "text/html",
  "attachment": [
    {
      "href": "https://codeberg.org/rimu/pyfedi",
      "type": "Link"
    }
  ],
  "image": {
    "type": "Image",
    "url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
  },
  "commentsEnabled": true,
  "sensitive": false,
  "published": "2024-03-22T15:06:31.195880Z",
  "language": {
    "identifier": "en",
    "name": "English"
  },
  "audience": "https://endlesstalk.org/c/piefed"
}
[–] freamon 1 points 8 months ago

Announce of Page (for Mastodon?)

{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "https://endlesstalk.org/c/piefed",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "object": {
    "id": "https://endlesstalk.org/post/28599550",
    "actor": "https://endlesstalk.org/u/freamon",
    "type": "Page",
    "attributedTo": "https://endlesstalk.org/u/freamon",
    "to": [
      "https://endlesstalk.org/c/piefed",
      "https://www.w3.org/ns/activitystreams#Public"
    ],
    "name": "Git repo",
    "cc": [],
    "mediaType": "text/html",
    "attachment": [
      {
        "href": "https://codeberg.org/rimu/pyfedi",
        "type": "Link"
      }
    ],
    "image": {
      "type": "Image",
      "url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
    },
    "commentsEnabled": true,
    "sensitive": false,
    "published": "2024-03-22T15:06:31.195880Z",
    "language": {
      "identifier": "en",
      "name": "English"
    },
    "audience": "https://endlesstalk.org/c/piefed"
  },
  "cc": [
    "https://endlesstalk.org/c/piefed/followers"
  ],
  "type": "Announce",
  "id": "https://endlesstalk.org/activities/announce/page/33cacd8c-c81e-4e18-8b54-21aff37d63bd"
}
[–] freamon 1 points 8 months ago

Announce of Create/Page

{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "https://endlesstalk.org/c/piefed",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "object": {
    "id": "https://endlesstalk.org/activities/create/8920ac25-0074-40dc-bb47-6edb79a370b4",
    "actor": "https://endlesstalk.org/u/freamon",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public"
    ],
    "object": {
      "type": "Page",
      "id": "https://endlesstalk.org/post/28599550",
      "attributedTo": "https://endlesstalk.org/u/freamon",
      "to": [
        "https://endlesstalk.org/c/piefed",
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "name": "Git repo",
      "cc": [],
      "mediaType": "text/html",
      "attachment": [
        {
          "href": "https://codeberg.org/rimu/pyfedi",
          "type": "Link"
        }
      ],
      "image": {
        "type": "Image",
        "url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
      },
      "commentsEnabled": true,
      "sensitive": false,
      "published": "2024-03-22T15:06:31.195880Z",
      "language": {
        "identifier": "en",
        "name": "English"
      },
      "audience": "https://endlesstalk.org/c/piefed"
    },
    "cc": [
      "https://endlesstalk.org/c/piefed"
    ],
    "type": "Create",
    "audience": "https://endlesstalk.org/c/piefed"
  },
  "cc": [
    "https://endlesstalk.org/c/piefed/followers"
  ],
  "type": "Announce",
  "id": "https://endlesstalk.org/activities/announce/create/ee64f83d-f542-4268-9521-3ee224fa1e9c"
}

[–] freamon 1 points 8 months ago

One of the reasons it's inconsistent is that Lemmy tries to balance the media it serves locally vs. the media it lets remote hosts serve. Also it's a bit naïve about image conversion. So if you link to an actual GIF at giphy.com (for example), it works consistently across the most the most platforms if Lemmy leaves it alone. If it doesn't, it'll bring it in and convert it to a WebM file, which not all clients know what to do with. Even if they do though, looping isn't always on by default for video, so the effect of a GIF that relies on looping might be nullified.

It's probably best to focus on the clients with the biggest user-base, rather than try to target them all. For lemmy.world/c/gifs, the most popular posts have been uploaded to imgur.com - which convert most GIFs to MP4s - and the post's author has linked to the inline version at i.imgur.com.

1
Remote Post 2 (self.test_local_3)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 1 (self.test_local_3)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post (self.test_local_2)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 3 (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 2 (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 7 (18:57) (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
submitted 8 months ago* (last edited 8 months ago) by freamon to c/[email protected]
1
Remote Post 5 (18:19) (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 4 (18:13) (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
1
Remote Post 3 (18:08) (self.test_local)
submitted 8 months ago by freamon to c/[email protected]
[–] freamon 1 points 8 months ago

Reply 5 from remote (16:54)

view more: ‹ prev next ›