Jamie

joined 2 years ago
[–] [email protected] 1 points 2 years ago

I saw a lot of speculation they'd do that exact sort of thing, so no surprise on this end there.

[–] [email protected] 0 points 2 years ago (1 children)

Active and Hot are kinda weird right now, they're fixed in the next version, but your best way of seeing trending stuff currently is by doing Top Day/Top Week.

Some of the bigger communicaties like Lemmy.world and lemmy.ml are experiencing terrible growing pains from the massive expansion of Lemmy. You can help your own instance by adding more federation workers in the admin panel, assuming your hardware is up to the task, but I think a lot of the missing comments are a factor of the big communities being overloaded.

Increasing my federation workers to 1500 resolved a lot of my warnings in my logs, but I'm still missing tons of comments from Lemmy.world.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Man, on the one hand, having flying cars would be freaking cool. But on the other hand, I know the average person is absolutely not responsible enough to take proper care of it, and many more not capable of flying without crashing into a building or something. So it's still going to be relegated to the wealthy for the foreseeable future.

[–] [email protected] 1 points 2 years ago

Also very useful for checking the sync on a post for people selfhosting. I made a thread about it earlier today because my instance is missing a number of comments, and it seems like it's happening to quite a few of us. Ironically, my instance is missing 6 comments from my own post compared to the lemmy.world copy.

[–] [email protected] 4 points 2 years ago (3 children)

If you're in a language that doesn't care about integer overflow it does. Tried it in C and turned off compiler optimization for good measure. Still counted fine. It's not a good idea, but it does work.

[–] [email protected] 2 points 2 years ago (1 children)

I gave it a shot in Compiler Explorer, with the following code:

#include <stdio.h>

int main() {
  for (int i = 0; i < 10; i -= -1) {
    printf("%d", i);
  }
}

GCC takes the i-=-1 and optimizes it into ADD DWARD PTR [rbp-4], 1, and changing it around to ++i or i++ makes no difference.

So, at least in C and C++, it works all the same. Even on unsigned integers.

[–] [email protected] 2 points 2 years ago

Update: Did a -f watch of the logs for WARN messages while upping worker counts. Seems 1024 was the sweet spot. Upped further to 1500, and the warnings for expired headers have entirely stopped in large part. So it seems this was the solution.

Thanks for your help!

[–] [email protected] 0 points 2 years ago (2 children)

The machine is a dedicated server with 6 cores, 12 threads, all of which are usually under 10% utilization. Load averages currently are 0.35 0.5 0.6. Maybe I need to add more workers? There should be plenty of raw power to handle it.

[–] [email protected] 0 points 2 years ago (1 children)

I didn't pay much attention to it because it was around the blackout, and I've generally avoided Reddit since, but there was something about a new tool being released to help combat ban evasion. Though I didn't see more than the title because, yeah, blackout. I just chalked it up to a quick improvement to pander at mods.

[–] [email protected] 3 points 2 years ago

I don't usually make a habit of being an ass, but I am extra careful about what I say because I choose to self host. Since any instance admin that decides not to take a liking to me could take one look at my instance and defederate me without a second thought. If anything, self-hosting makes you more vulnerable than just normally ban evading on an open instance.

[–] [email protected] 2 points 2 years ago

Could probably be doable with database fuckery. Make a second community locally with an identical name, then in the backend swap some IDs around and make it think the posts were actually in the new one all along.

Granted, I haven't looked at the DB structure, so I don't know how plausible it is. If someone tries it, don't blame me if the instance breaks, do at your own risk.

[–] [email protected] 2 points 2 years ago (1 children)

Pretty much, that would force federation. Though I don't think users in the other community would see your communities until someone from there searched one of yours.

An idea I have is giving small communities an option to run the bot on their instance, and it would add them to a list. Then, communities voluntarily participating in that list could auto-populate each other's communities through the bot. I could see spammers abusing something like this to try and flood feeds with garbage content until they're defederated though, especially on instances with open registration, so there is a downside. But that's something the community of proper users will need to be prepared to fight down the road.

view more: ‹ prev next ›