[-] RoundSparrow@lemmy.ml 3 points 1 year ago

Better file a bug about that

Bug has been open for weeks. Doesn't seem to be a priority to undo the added HTML sanitation problems.

The code I pasted here on Lemmy is also on GitHub comment without being munged: https://github.com/LemmyNet/lemmy/pull/3865#issuecomment-1683324467

It's still mostly like the original function it is copied from, just some of the logic has been successfully stripped out. But it's probably worth looking at the bigger picture of just how much of the Rust conditional logic goes into building this SQL statement.

[-] RoundSparrow@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

it has 40 comments total, but the problem is that when I request comments without specifying max_depth, and sort ordered by New, I receive only 10 comments, if I try to specify page, or limit, I get an error {"error":"couldnt_get_comments"}.

What values are you sending for limit and page? Are you sure they just aren't out of range?

without specifying max_depth

I think max_depth has a default, but I don't recall at the moment. Are the 10 comments you do get all trunk level comments, directly on the post?

My intention is doing something similar to an user pressing “Comments” on front of a community, like calling the community URL

From what I understand, depth only comes into play when you are viewing the comments of a specific post. If you are just listing comments across multiple posts in a community... they are presented flat. At least that is how lemmy-ui does it when I view comments for a community... which I assuming is using API /comment/list. Am I following what you are attempting?

[-] RoundSparrow@lemmy.ml 2 points 1 year ago

How am I supposed to copy everything from those communities

what exactly do you mean to copy? messages, posts and comments from other people?

Are no other servers subscribed to that community and have copies?

[-] RoundSparrow@lemmy.ml 3 points 1 year ago* (last edited 1 year ago)

Show Context and links to comments in general are broken in 0.18.3 https://github.com/LemmyNet/lemmy-ui/issues/1999

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

The quantity of users on Lemmy I still consider to be pretty low, the performance bugs need to be addressed on a big server. Bugs like not having a WHERE clause on an UPDATE hitting 1500 rows in a table (one row per server) instead of 1 single row... these need to be shaken out.

The errors of the overload themselves have been a way to throttle growth of the big servers. People were not able to insert new posts and comments into Lemmy.ml - reducing outbound federation activity too, and they went to other servers. This went on all of June and July.

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

What is the story? never heard of it.

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

subscribe to every community, and let federation load overwhelm your server.

Did that, takes lots of time to wait for the content to come in.... and there is no backfill. Plus I suspect that the oldest servers (online for several years) have some migration/upgrade related data that isn't being accounted for.

[-] RoundSparrow@lemmy.ml 2 points 1 year ago

specific API version at a time so there’s some limitations right now as instances upgrade from 0.18.2 to 0.18.3

What API-breaking changes did you find?

[-] RoundSparrow@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Welcome to the federation.

on upgrading to 18.2

0.18.3 was released today, maybe see if a change went in.

[-] RoundSparrow@lemmy.ml 2 points 1 year ago

lemmy.ml has been unreachable or "Error" page with lemmy-ui off an on for past 90 minutes.

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

3 underscores did not work in preview, I'll just leave it as is now, a clickable link (not rendered inline)

[-] RoundSparrow@lemmy.ml 3 points 1 year ago

ok, what's the trick? I tried 4 underscores

view more: ‹ prev next ›

RoundSparrow

joined 1 year ago
MODERATOR OF