this post was submitted on 05 Jan 2024
130 points (97.8% liked)

Fediverse

27398 readers
690 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

cross-posted from: https://mander.xyz/post/8095934

Looks like we're getting company!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 54 points 7 months ago (5 children)

Hello from the beta instance!

[–] [email protected] 8 points 7 months ago
[–] [email protected] 6 points 7 months ago
[–] [email protected] 1 points 7 months ago

It's yout first comment too :D

load more comments (2 replies)
[–] [email protected] 26 points 7 months ago (1 children)

Official site is here: https://join.piefed.social/

Beta test is happening here: https://piefed.social/

It looks quite neat. I like the emphasis on making things easy for admins and using more tried and true technology compared to Lemmy's bleeding-edge (that sometimes causes issues). Here's hoping it'll be a great alternative to Lemmy.

[–] [email protected] 6 points 7 months ago* (last edited 7 months ago) (1 children)

Where can we read about what they do differently? So far I’ve seen its written in python which is cool since it makes it easier for people to contribute.

Curious to know of they will enable the ability to follow users and subscribe to threads which are two of the biggest missing features on Lemmy in my opinion.

I wonder if they’ll enable parts of the Lemmy api so the Lemmy apps can be used for Piefed

[–] [email protected] 1 points 7 months ago

It also makes it slower and easier to introduce bugs.

[–] [email protected] 12 points 7 months ago (1 children)

Nice! I hope it gets popular enough to get the same multitude of desktop front-ends and mobile apps Lemmy now has.

[–] [email protected] 8 points 7 months ago (1 children)

Maybe they can implement Lemmy's API, like what Misskey et al. does with Mastodon's API, so it can use the same apps.

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

FYI misskey does not implement the masto api. some software like pleroma/akkoma, gotosocial and yes, a few misskey forks do (in various states of brokenness, with iceshrimp being the most compliant one) but misskey itself does not.

[–] [email protected] 2 points 7 months ago

Ah my bad, I remember one of the Miskey forks saying it had Masto API and just assumed it was a Miskey thing.

[–] [email protected] 10 points 7 months ago

adding a warning on posts made by accounts with low reputation, meaning that their posts get downvoted a lot.

Sounds very nice.

[–] [email protected] 8 points 7 months ago (2 children)

Always happy to see a new Fediverse service!

My only concern is Python. Wonderful for AI and scripting, but I'm not sure how well it works as a web server. Although, I'd assume that a lot of the web server code is actually C under the hood...

[–] [email protected] 17 points 7 months ago (2 children)

PieFed dev here.

It'll be interesting to see how Python performs.

There's some fun stuff you can do with compiling Python into C. e.g. https://cython.org/ or https://docs.exaloop.io/codon/. But I don't see a need for it as PieFed doesn't really crunch numbers much. Mastodon has a Ruby backend. Kbin uses PHP. Until you get really massive the choice of language doesn't really make a huge difference to performance as most of the work in most web apps is done by the database.

I am a little bit concerned about the limited support for asynchronous I/O in the Flask framework, which could limit scalability at some point. But there are options for the future. Quart claims to be a drop-in replacement for Flask.

In any case, performance is just one factor. For a FOSS project to be successful long term it needs contributions from other developers and with the massive pool of Python developers there are, hopefully I'll be getting some help soon. Also along those lines I have deliberately chosen:

  • to code as simply and stupidly as possible, to make it accessible to most skill levels.
  • No complicated frameworks, fancy algorithms, or esoteric design patterns. Model View Controller, baby.
  • No frontend build process or tool chain (vanilla JS only. No npm).
  • Few third party dependencies, only Redis and Postgresql. Mostly.

All this makes setting up an initial development environment, finding the bit you want to change and testing it out fairly quick and easy.

I hope it's these choices that lead to an absolute blizzard of contributions from many people and that's where the true strength of the project will come from.

[–] [email protected] 4 points 7 months ago

In any case, performance is just one factor. For a FOSS project to be successful long term it needs contributions from other developers and with the massive pool of Python developers there are, hopefully I’ll be getting some help soon. Also along those lines I have deliberately chosen:

to code as simply and stupidly as possible, to make it accessible to most skill levels.
No complicated frameworks, fancy algorithms, or esoteric design patterns. Model View Controller, baby.
No frontend build process or tool chain (vanilla JS only. No npm).
Few third party dependencies, only Redis and Postgresql. Mostly.

All this makes setting up an initial development environment, finding the bit you want to change and testing it out fairly quick and easy.

Sounds very wise to make it as accessible as possible. And you basically get super maintainable code as a side product!

[–] [email protected] 1 points 7 months ago

Thanks for the in-depth response! I definitely understand choosing Python for a fledgling project like this and trying to attract a developer community.

As for my musing about C and Python, I wasn't really talking about Cython or anything like that; I actually meant that I figured the specific code in the Python standard library and various frameworks for server applications were written under the hood with C and heavily optimized.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago)

The database, storage and network are usually the bottlenecks in these kinds of websites, not the programming language. It might add a few ms of latency, but the big lags come from congestion or bad db queries.

[–] [email protected] 6 points 7 months ago

Fast, clean, and right to the point. Looks like good company.

[–] [email protected] 6 points 7 months ago

More options is better.

[–] [email protected] 5 points 7 months ago (1 children)
[–] [email protected] 7 points 7 months ago (1 children)

I am very inspired by Beehaw and what they're trying to do. I'm building quite opinionated software with my values baked into it and those seem like a good fit for Beehaw. But I don't know any of the people involved so I'd be arriving very late to the party without any knowledge of the terrain or history. Best to stay out of it.

I just want to code, ban nazis, do linux admin and build community infrastructure. :)

[–] [email protected] 6 points 7 months ago
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago)

The Fediversereport website is broken.

Infinite captcha loop on VPN. Solve it, shows success and unblocks IP, thinks, shows new captcha, repeat.

[–] [email protected] 3 points 7 months ago (3 children)

Looks like it's too late to sign up, I just tried and it kept telling me to "verify that [I'm] not a robot" without giving me anything (like a captcha) to do so.

[–] [email protected] 5 points 7 months ago (1 children)

PieFed dev here.

Sorry about that, I've had a hard time getting the captcha working while also having decent XSS protection. I've deployed a probable fix, please try again.

[–] [email protected] 2 points 7 months ago

The REAL MVP!!! Yay Rimu!!!

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

It's been getting some traction over on Mastodon too. Wouldn't be at all surprised if they've restricted signups.

[–] [email protected] 3 points 7 months ago (2 children)

That's what I figured. Good to see that Stamets got an account though! You know the content will be good with him involved.

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago) (1 children)

I didn't get an account. I haven't even heard of it until someone just messaged me asking me about PieFed. Kind of a scumbaggy thing to do if someone took the name.

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

Wow, that fucking sucks bro. I checked out the instance, and your name (and iconic profile pic) was on the top of whatever they call "All" over there.

If it takes off and you need to create a new name, please keep us informed. Your memes are vital lifeblood to the fediverse, lmao (but seriously everyone here loves you and we wanna keep in touch).

[–] [email protected] 3 points 7 months ago (2 children)

Oh I think that's just me. I think they're just showing the federated stuff from lemmy.world and other places on that feed. Was probably just this account you saw.

And if I need to change names then so be it but looks like we're okay for now <3

Thank you though! I do have a Mastodon account though that you can check out here. I haven't been super active lately from Holiday stress and what not but if anything ever happens Lemmy wise that's the first place I'd be going.

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

Also I forgot you were on lemmyworld, I totally just assumed you were on startrek.website lol, sorry for assuming your instance

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

Oh you would have assumed correctly up until recently. I only moved over to this instance about a month-ish ago

[–] [email protected] 1 points 7 months ago

Gotcha 👌

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

Ah, I get it! The concept behind "federation" still escapes me sometimes lol. Good to know you're still rockin' on a new platform!

[–] [email protected] 1 points 7 months ago (1 children)

You and me both, don't worry there. And yep! Mastodon I am active on but in a different manner. Things are a bit more chill and relaxed.

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

That implies that lemmy makes you tense?

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

To an extent. It's just me on Mastodon. I dont make tons of posts or anything. Just unfiltered Stamets.

[–] [email protected] 1 points 7 months ago (1 children)

Well now maybe I should get on Mastodon lol

[–] [email protected] 3 points 7 months ago

Highly recommend it. Some fantastic people on there I've gotten to be able to call my friends! Join the ranks!

[–] [email protected] 3 points 7 months ago (6 children)

I signed up, no problem. There is a bit of funky behavior (I clicked on the Pie logo, and it changed to the word, "Logo" haha), but overall it looks sharp. I"m trying to figure out where to make suggestions - I'm a dark screen person, and it's got way too much white and blue - colors that suppress melatonin production. I'm mighty fond o' me melatonin.

[–] [email protected] 1 points 7 months ago (1 children)

I love me some melatonin too, I'm on 5s right now, but I have been up to 20s. Same with the dark mode too.

Were you on mobile or desktop? I'm just using my phone, maybe mobile signups aren't supported yet.

load more comments (1 replies)
load more comments (5 replies)
[–] [email protected] 3 points 7 months ago (1 children)

I have honestly not found flask + (probably) sqlalchemy to be the easiest thing out there. Just like mailinglists: simple doesn't mean easy. Many people conflate the two.

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

One of the good/bad things about Flask is it's quite a small framework which lets the developer do whatever they want (yay!) so it's easy to make an unholy mess (boo!). I hope that I've stayed on the rails with PieFed.

It's a bit sad what has happened in the most recent version of SQLAlchemy - they made it all weird and difficult. PieFed uses an older version which I find very intuitive and simple.

[–] [email protected] 2 points 7 months ago

Good luck and have fun 🙂

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

and uses Python.

Great. Can't wait to see how slow it is.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Fediverse links to current communities:

[–] [email protected] 1 points 7 months ago
load more comments
view more: next ›