this post was submitted on 05 Jan 2024
3 points (100.0% liked)

Fediverse

28396 readers
132 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 5 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 10 months ago (1 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] 1 points 10 months ago* (last edited 10 months ago)

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] 0 points 10 months 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.

[–] [email protected] 1 points 10 months ago* (last edited 10 months 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.

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

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