aka freamon

Codeberg: https://codeberg.org/freamon?tab=activity

Anything from https://lemmon.website/ is me too.

  • 2 Posts
  • 86 Comments
Joined 9 months ago
cake
Cake day: March 27th, 2024

help-circle



  • A cross-post is just a post that links to the same URL as another post. The codeberg Issue that Blaze linked to mentions an exception, but other than that, there’s not a convenient button that copy-pastes a post’s title, body, and URL into a new ‘Create Post’ form. You can do it manually though, and everything that receives it will detect it as a cross-post, because everything is just looking for matching URLs.





  • That link shows loads of apps I’ve never heard of, but visiting their repos suggests that they’re dead.

    Since that site helpfully breaks down platforms by programming language, it might be best to target something familiar (or maybe something you want to learn).

    This community is hosted by Lemmy (Rust), and most of the posts and replies will be made by people using that, but they’ll also be some by people using PieFed (python) or MBIN (PHP).





  • Ah, I see now, thanks. That makes more sense than my previous theory, that MBIN users were pathological liars or something. Also, now my previous comment makes me look like an idiot. Oh, well.

    It’s interesting what MBIN does - making the user click a button gives it an extra chance to query the remote site, so it can render it correctly. That’s not the same as taking the markdown and rendering it as HTML, but the end result is nice.

    Elsewhere (like on PieFed), Youtube embedding works well because the URL is in a nice dedicated field, so it’s easy to process, rather than parse through the text of a comment to find it. No idea what’s happening with Tesseract, but it’s just a front-end for Lemmy (albeit a sophisticated one), so my guess is that your link would fail, but since the comments aren’t there, it’s a bit moot.


  • Andrew@piefed.socialtoFediverse@lemmy.worldHappy Thanksgiving!
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    15 days ago

    I’d be surprised if that test worked on any platform in existence. You’re using the markdown to render a static image, and sticking a youtube URL in there. PieFed supports it if the URL ends in something like .mp4, but that’s only because Lemmy have fudged it, and so now people expect it. There’s meant to be a 1:1 relationship between markdown and HTML, metadata transformed into metadata - nothing should have to look at the actual contents to know what tags to produce.

    As for ‘works for me embedded in mbin’ … eh? It looks like this in mbin:

    That’s literally just a external link to youtube. It ‘works’ because it doesn’t - same as for the screenshot itself - instead of embedding it, it just coughs up the link to a remote site. Everything else is rendering it as it is - a broken link to an image that doesn’t exist.

    (maybe ‘originallucifer’ has some fancy app that takes a youtube shorts URL, works out the embed code, and then puts it in an iframe … but like I say, I’d be surprised).



  • A fair bit of Mastodon content doesn’t fit well on Lemmy. One mundane technical reason is that their posts don’t always split up well into the post title / post body that Lemmy expects. A cultural reason is that Mastodon users have a much higher tolerance for other users promoting things like their patreon than Lemmy users do. Even if the posts split well, and is content that Lemmy would like, bringing in the replies to it opens up a spam vector.

    Lemmy let’s you impersonate other users. I used to do that with https://lemmy.world/c/[email protected], but stopped because the above-mentioned reasons made it tricky to automate (and because I got bored with it)






  • You’re correct in assuming that nothing is stuck in a queue.

    Compared with other Fediverse platforms, a feature that Lemmy lacks is paginated outboxes. These would allow communities to list all the posts, because other instances could get them a page at a time (e.g. 20 for page 1, then the next 20 for page 2, and so on). Instead, they provide a non-paginated outbox with only the most recent 50 posts. An outbox for comments isn’t really feasible without pagination, which is probably why they don’t provide one at all. For votes, it’s even less practical, and irrespective of that, it would go against the familiar hang-up about votes being private.

    So if you’re the first person to join a remote community, then 50 recent posts are brought in, but no older posts, no comments, and no votes. There’s no way to get the old votes. If your instance receives some activity that makes it realise that it’s missing something, then it will resolve it (e.g. it will often fetch an old post if it receives a reply to it, and fetch a comment if it receives a vote for it), but it will start that post or comment at score 0.

    If you really wanted to be fully in-sync for comments, then you could script it to use the APIs for the remote and local instance. For the remote instance it would be something like: list the posts oldest to newest (limited by the amount you’re missing); get the ap_id for each one, then login to your instance and ask it to resolve it. Then do the same for the comments in each post. Everything it resolves would be a score 0 though, and it assumes that the author hasn’t deleted themselves in the meantime, or that their instance hasn’t disappeared. Given that, I don’t really see the point, other than trying to a completist about stuff.