iso

joined 2 years ago
MODERATOR OF
[–] [email protected] 9 points 3 days ago* (last edited 3 days ago) (1 children)

I think Meilisearch is pretty good. I throw it wherever possible and it works :) Implementing a custom solution is not worth it.

[–] [email protected] 7 points 5 days ago

I’ve been waiting for this thanks 🙏

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago)

Yeah that would work. I also recommend you to check Lemmy Federate.

[–] [email protected] 2 points 5 days ago (2 children)

Allow list is explicit. If you allow at least one instance, all others will be blocked. You only allowed the following instances:

  • lemmy.world
  • sh.itjust.works
  • beehaw.org
  • programming.dev
[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

You switched to Piefed? It’s still registered as Lemmy instance in Lemmy Federate. This is an edge case I haven’t thought of.

I can fix this manually but if you haven't transferred keys, switching on the same domain didn't seem healthy to me.

Update: fixed it.

 

I made this change to increase software support for Lemmy Federate. This way, besides Lemmy and Mbin, other software that supports FEP-1b12 such as NodeBB, Piefed, Guppe, Friendica or other custom implementations (like blogs) will be able to register to Lemmy Federate.

However, I must admit that this change makes the login mechanism more difficult. But I believe it was worth it.

An example authentication flow:

  • Enter instance host and click login

  • Add given record to DNS, and click login again

  • At this point, API key becomes reusable between logins.

If you experience any problems please let me know.

[–] [email protected] 3 points 1 week ago

Happy cake day! 🎂

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

They just need to log in (from user button on the top right), fill bot account credentials and enable it.

[–] [email protected] 3 points 1 week ago (3 children)

Yes, unfortunately users cannot change this. The administrator of that instance must add their own instance. I try to promote Lemmy Federate as much as I can, but if you care, you can ask them too. If it's slrpnk.net, they are not allowing it on purpose.

[–] [email protected] 8 points 1 week ago (2 children)
[–] [email protected] 5 points 1 week ago

You can add your new profile to display name of your old lemm.ee account. So you and people can distinguish them.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (2 children)

While working on this, I realized piefed.social is still defederated from lemy.lol (my instance). The reason is this:

private message from @rimu@piefed.social to @iso@lemy.lol

I believed that this was a misunderstanding and that we were federated again after this message. But apparently not.

To express my honest thoughts, this is the stupidest action I've ever seen in my 2 years of fediverse experience. Literally the worst reason to knee-jerk.

From what I noticed in the link I entered thanks to @[email protected], they also ban users with "88" in their usernames. This is definitely against my freedom of thought and anti-fascist values. Therefore, for the first time, I can defederate from an instance other than spam.

I'm still open to PRs for it to be added to Lemmy Federate. I personally wouldn't work on it but if anyone is interested in maintaining it, it's still possible.

18
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I’ve seen many arguments claiming that Lemmy Federate creates a significant load on instances in terms of data storage and networking. I used to believe this wasn’t a very valid concern, as I assumed that communities without followers wouldn’t generate many posts, comments, likes, etc.

Today, I had the chance to test this on my own instance, and here are the results:

  • Communities
    • Total count: 33,920
    • Federated by LF: 5,863
    • Percentage: 17.28%
  • Posts
    • Total count: 3,217,783
    • Federated by LF: 114,067
    • Percentage: 3.54%
  • Comments
    • Total count: 14,222,401
    • Federated by LF: 192,925
    • Percentage: 1.36%

LF = Lemmy Federate. Posts and comments refer to the number of posts and comments in communities federated with Lemmy Federate.

As you can see from the statistics, almost 20% of the communities are federated by Lemmy Federate. Although this seems like a high number, only 3.5% of the posts are created in communities federated by Lemmy Federate. The number of comments is even less than the number of posts.

So to answer, Lemmy Federate creates an average load of around 2-3% in an instance with about 1000 users. You can compare it with its benefits and decide whether to use it or not.

If you want to get stats for your own instance, you can run the SQL script below. Let us know the results please :)

the script

-- make sure to replace the <lemmy_federate_bot_person_id>
WITH
-- Total community count
total_communities AS (
    SELECT COUNT(id) AS total FROM community where local != true
),

-- Communities federated by LF (assuming person_id <lemmy_federate_bot_person_id> represents LF bot)
-- A community is considered federated by LF if LF follows it and it has local subscribers
lf_communities AS (
    SELECT ca.community_id
    FROM community_aggregates ca
    JOIN community c on c.id = ca.community_id
    JOIN community_follower cf ON ca.community_id = cf.community_id
    WHERE ca.subscribers_local > 0 and c.local != true AND cf.person_id = <lemmy_federate_bot_person_id>
),
lf_communities_count AS (
    SELECT COUNT(*) AS count FROM lf_communities
),

-- Total post count
total_posts AS (
    SELECT COUNT(id) AS total FROM post
),

-- Posts in LF communities
lf_posts AS (
    SELECT COUNT(p.id) AS count
    FROM post p
    WHERE p.community_id IN (SELECT community_id FROM lf_communities)
),

-- Total comment count
total_comments AS (
    SELECT COUNT(id) AS total FROM comment
),

-- Comments on posts in LF communities
lf_comments AS (
    SELECT COUNT(c.id) AS count
    FROM comment c
    JOIN post p ON c.post_id = p.id
    WHERE p.community_id IN (SELECT community_id FROM lf_communities)
)

-- Final output
SELECT
    tc.total AS community_count,
    lfc.count AS community_count_lf,
    ROUND((lfc.count::decimal / tc.total) * 100, 2) AS community_lf_percent,
    tp.total AS post_count,
    lp.count AS post_count_lf,
    ROUND((lp.count::decimal / tp.total) * 100, 2) AS post_lf_percent,
    tcom.total AS comment_count,
    lcom.count AS comment_count_lf,
	ROUND((lcom.count::decimal / tcom.total) * 100, 2) AS comment_lf_percent
FROM total_communities tc
JOIN lf_communities_count lfc ON TRUE
JOIN total_posts tp ON TRUE
JOIN lf_posts lp ON TRUE
JOIN total_comments tcom ON TRUE
JOIN lf_comments lcom ON TRUE;

7
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Sometimes instances can crash or slow down while following other instances. Or the remote instance may be blocked or the bot may be stuck at the rate limit.

To troubleshoot such issues I added a logs section to the instance management page.

Note: these logs are responses of requests sent to your instance. You can only see the logs for your own instance.

Some techie friends may ask why I didn't use something like Grafana. My answer is, I was just lazy :)

 

Generic Threadiverse support

Thanks to @[email protected]'s contribution (#28), Lemmy Federate now supports all software types that implements group federation such as PieFed, NodeBB, Guppe 🎉

But unfortunately, not everything is perfect. Since there is no Fediverse standard for verifying whether a user is an admin, I have to register admins manually. I am also considering manually approving instances that are not guaranteed in Fediseer against spam attacks. Please contact me for this.

Note: Lemmy and Mbin works as before.

Top instances of Lemmy

With the addition of Lemmy.ml, the top 25 largest instances on Lemmy now use Lemmy Federate (except slrpnk.net). I think we can now consider that we have fixed the accessibility issue that was the reason I created this tool. Even if we didn't fix it, at least we band-aided it :)

Instance blocking feature

In addition to the allow list, a block list has been added.

  • If you allow at least one instance, you will not follow any other instances.
  • If you block an instance, you will continue to follow instances other than those you blocked.

Dedicated community

I didn't want to open it before, but now that we are trying to be compatible with more software, I believe a dedicated community could be useful. That's why I created a community here [email protected]. If I make an update from now on, I'll probably post it there.

https://lemmy-federate.com/ https://github.com/ismailkarsli/lemmy-federate

 

Generic Threadiverse support

Thanks to @[email protected]'s contribution (#28), Lemmy Federate now supports all software types that implements group federation such as PieFed, NodeBB, Guppe 🎉

But unfortunately, not everything is perfect. Since there is no Fediverse standard for verifying whether a user is an admin, I have to register admins manually. I am also considering manually approving instances that are not guaranteed in Fediseer against spam attacks. Please contact me for this.

Note: Lemmy and Mbin works as before.

Top instances of Lemmy

With the addition of Lemmy.ml, the top 25 largest instances on Lemmy now use Lemmy Federate (except slrpnk.net). I think we can now consider that we have fixed the accessibility issue that was the reason I created this tool. Even if we didn't fix it, at least we band-aided it :)

Instance blocking feature

In addition to the allow list, a block list has been added.

  • If you allow at least one instance, you will not follow any other instances.
  • If you block an instance, you will continue to follow instances other than those you blocked.

Dedicated community

I didn't want to open it before, but now that we are trying to be compatible with more software, I believe a dedicated community could be useful. That's why I created a community here [email protected]. If I make an update from now on, I'll probably post it there.

https://lemmy-federate.com/ https://github.com/ismailkarsli/lemmy-federate

 

Generic Threadiverse support

Thanks to @[email protected]'s contribution (#28), Lemmy Federate now supports all software types that implements group federation such as PieFed, NodeBB, Guppe 🎉

But unfortunately, not everything is perfect. Since there is no Fediverse standard for verifying whether a user is an admin, I have to register admins manually. I am also considering manually approving instances that are not guaranteed in Fediseer against spam attacks. Please contact me for this.

Note: Lemmy and Mbin works as before.

Top instances of Lemmy

With the addition of Lemmy.ml, the top 25 largest instances on Lemmy now use Lemmy Federate (except slrpnk.net). I think we can now consider that we have fixed the accessibility issue that was the reason I created this tool. Even if we didn't fix it, at least we band-aided it :)

Instance blocking feature

In addition to the allow list, a block list has been added.

  • If you allow at least one instance, you will not follow any other instances.
  • If you block an instance, you will continue to follow instances other than those you blocked.

Dedicated community

I didn't want to open it before, but now that we are trying to be compatible with more software, I believe a dedicated community could be useful. That's why I created a community here [email protected]. If I make an update from now on, I'll probably post it there.

https://lemmy-federate.com/ https://github.com/ismailkarsli/lemmy-federate

 

 

I saw this FEP months ago and thought it was pretty promising. However, it seems that there is no update from then. Does anyone know about this?

link: https://codeberg.org/fediverse/fep/src/branch/main/fep/e3e9/fep-e3e9.md

For those who don't know this proposal brings portable identity across fediverse.

67
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

The price seems pretty good. I don't really know much about mini PCs. Do you think there is a better alternative?

Update: ok, not price efficient. Noted 👍

 

I've been rewriting Lemmy Federate for the last 3 days and finally finished it. While there are no changes on the frontend, many things have changed behind the scenes.

Mbin support

After several requests, I have added Mbin support to Lemmy Federate. It is currently in experimental state. I may improve it in the coming days.

Currently, Lemmy-Mbin connection is off by default. You can enable it by activating the "cross software" option in the instance settings.

how it works?Since Mbin has OAuth support, the tool creates the client with OAuth instead of creating a bot user directly. Theoretically, you should be able to activate the tool simply by creating a OAuth client from instance settings.

But unfortunately, I couldn't try it enough because I'm not an admin on an Mbin instance.


Federation mode option

I added this option for small/single user instances. If you select federation mode as seed only in the instance settings, your instance will not follow other instance communities, but other instances will follow your communities.

Although I am not a fan of this option, I think it will work for instances like under 100 users.

Lemmy Federate

source code

Here’s example settings page:

 

cross-posted from: https://lemy.lol/post/31616900

I currently have an iPhone 14 Pro Max and I want to switch to an Android phone.

First of all, I eliminated all Chinese phones. Since Samsung has limited custom rom support, I gave up on that too. At the end, I decided to get a Pixel because of its GrapheneOS support.

But right now I'm stuck between Pixel 8 and 9. There's a big price difference with small improvements. I can afford both but not sure if Pixel 9 is worth it. What do you think?

 

I currently have an iPhone 14 Pro Max and I want to switch to an Android phone.

First of all, I eliminated all Chinese phones. Since Samsung has limited custom rom support, I gave up on that too. At the end, I decided to get a Pixel because of its GrapheneOS support.

But right now I'm stuck between Pixel 8 and 9. There's a big price difference with small improvements. I can afford both but not sure if Pixel 9 is worth it. What do you think?

view more: next ›