this post was submitted on 05 Jan 2024
143 points (98.6% liked)

Fediverse

33606 readers
379 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 !moderators@lemmy.world!

Rules

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

founded 2 years ago
MODERATORS
 

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

Looks like we're getting company!

top 33 comments
sorted by: hot top controversial new old
[–] xepher@piefed.social 53 points 1 year ago (5 children)

Hello from the beta instance!

[–] kariboka@bolha.forum 8 points 1 year ago
[–] kionite231@lemmy.ca 1 points 1 year ago

It's yout first comment too :D

[–] Five@slrpnk.net 0 points 1 year ago* (last edited 1 year ago)
[–] simple@lemm.ee 30 points 1 year 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.

[–] nix@merv.news 6 points 1 year ago* (last edited 1 year 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

[–] Amaltheamannen@lemmy.ml 1 points 1 year ago

It also makes it slower and easier to introduce bugs.

[–] scytale@lemm.ee 16 points 1 year 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.

[–] flamingos@ukfli.uk 8 points 1 year 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.

[–] ShittyKopper@lemmy.blahaj.zone 3 points 1 year 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.

[–] flamingos@ukfli.uk 2 points 1 year ago

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

[–] MajorHavoc@programming.dev 9 points 1 year ago

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

Sounds very nice.

[–] fenndev@leminal.space 8 points 1 year 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...

[–] rimu@piefed.social 17 points 1 year 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.

[–] Spzi@lemm.ee 4 points 1 year 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!

[–] fenndev@leminal.space 1 points 1 year 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.

[–] shrugal@lemmy.world 5 points 1 year ago* (last edited 1 year 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.

[–] Nougat@kbin.social 7 points 1 year ago

More options is better.

[–] willya@lemmyf.uk 6 points 1 year ago

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

[–] kariboka@bolha.forum 5 points 1 year ago (1 children)
[–] rimu@piefed.social 6 points 1 year 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. :)

[–] kariboka@bolha.forum 5 points 1 year ago

we can tag them here to let them know :)

@Lionir@beehaw.org @alyaza@beehaw.org @admin@beehaw.org

[–] NotMyOldRedditName@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

The Fediversereport website is broken.

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

[–] Five@slrpnk.net 3 points 1 year ago* (last edited 1 year ago)
[–] onlinepersona@programming.dev 3 points 1 year 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.

[–] rimu@piefed.social 3 points 1 year 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.

[–] onlinepersona@programming.dev 2 points 1 year ago

Good luck and have fun 🙂

[–] Asudox@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

and uses Python.

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

[–] nix@merv.news 1 points 1 year ago

@postwatchbot@lemy.lol

[–] swab148@startrek.website 0 points 1 year ago (1 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.

[–] rimu@piefed.social 1 points 1 year ago* (last edited 1 year ago)

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.