Skip Navigation

  • Regardless of how webfinger is supposed to work, Lemmy has now got a situation where there are many many overlapping actors. I don't see a clean way out of this for them so it'll probably persist.

    Lucky this came up because I have been meaning to make PieFed work the same as Lemmy, with multiple actors in the webfinger response!

  • Hmm looks like setting local as the default homepage view doesn't work. I'll sort that out.

  • It does a lot of things. Less images, mostly.

  • Yes.

    I've seen so many discussions like this about what needs to be done. So I did those things.

    Very few noticed and I quickly got tired of popping up and saying "oh yeah I fixed that" to everything. Besides it makes me look like a smug asshole.

  • Yes, we do that also.

  • Performance is something developers like to use as a way to assess quality but there are far more important things (which are harder to put a number on to be objective about) like how easy it is for new developers to contribute to. Besides, it's what you do with it that counts - e.g. despite Lemmy being written in Rust people are finding it much heavier on the server than PieFed.

    People can make slow software using any language or framework.

    I don't have a way to know whether code that others contribute is written by AI (except when the quality is really bad, then the PR is rejected) so I bet there's some in there but I avoid it. I can't afford the brain-rot of becoming dependent, at my age the rot is happening naturally pretty fast already. There is a whole spectrum of ways to do AI-assisted dev and it's changing all the time so I'm not trying to police that and just focus on the quality of the code in the PR.

  • Mastodon does not support using ! so it's not going to work, sorry.

  • The web app does not hide read posts on profiles. Are you using a mobile app?

  • I like FastAPI and PieFed uses it as well as Flask. Doing SSE (which involves holding HTTP connections open for a long time) was not going to work with Flask so that part is written using FastAPI.

    Before starting development I did some experiments with Quart, an ASGI port of Flask. It was fine but didn't offer significant performance benefits until there were many many concurrent users, a situation that is still far in the future. Also as a more obscure framework it seemed like a risky bet. And if ASGI becomes absolutely necessary, we can migrate from Flask to Quart relatively easily. There's a good chance that PieFed 2.0 will use Quart.

    I have also experimented with gevent as a way to make Flask do async. I got it working but every 5 or 6 hours everything falls over in a heap and needs to be restarted (DB connection leakage). Despite it being unreliable I was able to run it in production long enough to see how it performs and at our current scale it was not any better than what we have now. A bit worse, really.

    It's possible that the importance of async is a bit oversold - https://hackeryarn.com/post/async-python-benchmarks/

    Also at the same time the latest versions of Python have done away with the GIL that used to ruin threaded performance so that could eventually mean that wsgi might start to use threads well enough to be pretty great. We'll see.

  • In webfinger, the sidecar protocol we use to look up actors, lemmy does distinguish between community and user actors. Mastodon needs to up their game.

  • It's somewhat ok in our situation though because the HTML we're dealing with was generated from Markdown rather than typed by people so it's well structured and the same each time.

    The code is very not fun to read though, regex is just impossible gibberish.

  • Climate - truthful information about climate, related activism and politics. @slrpnk.net

    Coal power drops in China and India for first time in 52 years after wind and solar records

    reneweconomy.com.au /coal-power-drops-in-china-and-india-for-first-time-in-52-years-after-wind-and-solar-records/
  • We use regex to parse html which is a well known path to destruction...

  • Well yeah anyone who really thinks I would work for free for 2 years and give it all away in public in order to screw over humanity somehow is not going to want to talk.

    For everyone else, my door is open.

  • PieFed Meta @piefed.social
    Featured

    We're here to answer any questions you have about PieFed's code

  • Article 5 still applies if the country doing the attacking is a member of NATO, right?

    So Trump is basically threatening all of Europe with war.

  • Imagine trying to tell China not to allow visitors from North Korea, Iran, Russia or Venezuela. Ridiculous, right?

  • No need for smoke machines back then!

  • On the PieFed side, : frowning : is not being converted because PF ignores the tag entirely and relies on daily polling of lemmy/api/v3/site to get lists of emojis, which is a bit crap for NodeBB. More work needed!

  • oops, yeah, I only added the Emoji tag to top-level posts, not replies.

    How about now? :attention1:

  • PieFed Meta @piefed.social

    PieFed 1.5 is released - move posts, upload video files, better chat and more

    codeberg.org /rimu/pyfedi/releases/tag/v1.5.0
  • Python @programming.dev

    Static Protocols in Python: Behaviour Over Inheritance

    patrickm.de /static-protocols-in-python/
  • Housing Crisis @lemmy.world

    It is always cheaper to house people with support than to leave them in emergency shelters or on the streets

    thebetter.news /interview-juha-kahila-housing-first-finnland/
  • PieFed Meta @piefed.social

    More search options - NSFW and minimum post score

  • PieFed Meta @piefed.social

    Deleted posts and their comments can still be read

  • Fediverse @piefed.social

    It's about communities instead of attention marketplaces

    mastodon.social /@fromjason/115811925239381921
  • Web Development @programming.dev

    Are SPA architectures are an industry-wide mistake?

    calendar.perfplanet.com /2025/the-curious-case-of-the-shallow-session-spas/
  • InhabitedBeauty @piefed.social

    Burano, Venice

  • InhabitedBeauty @piefed.social

    Rice field and mountain near Vang Vieng, Laos

  • InhabitedBeauty @piefed.social

    Mongolia

  • InhabitedBeauty @piefed.social

    Around Guilin, China

  • InhabitedBeauty @piefed.social

    Laos

  • InhabitedBeauty @piefed.social

    Serbia

  • PieFed Meta @piefed.social

    PieFed 1.4 is released - emoji, federated stackoverflow and AI content filters

    codeberg.org /rimu/pyfedi/releases/tag/v1.4.0
  • Health - Resources and discussion for everything health-related @lemmy.world

    Aspartame's long-term health risks revealed in new study

    newatlas.com /diet-nutrition/long-term-aspartame-intake-brain/
  • PieFed Meta @piefed.social

    Easily set up your PieFed instance using YunoHost!

    apps.yunohost.org /app/piefed
  • Health - Resources and discussion for everything health-related @lemmy.world

    Single gene that can directly cause mental illnesses identified

    newatlas.com /mental-health/gene-mutation-mental-disorder/
  • Fuck AI @lemmy.world

    The Reverse-Centaur's Guide to Criticizing AI

    pluralistic.net /2025/12/05/pop-that-bubble/