Developer of PieFed, a sibling of Lemmy & Kbin.

  • 31 Posts
  • 154 Comments
Joined 9 months ago
cake
Cake day: January 4th, 2024

help-circle



  • I appreciate the author taking a swing at this topic. She suggests these values:

    fostering genuine connection
    protecting privacy and enforcing consent
    championing accessibility

    I think she’s obviously right about the first value but the others are less clear. There’s certainly groups on Mastodon who are keen on privacy, consent and accessibility but if you look at the features of the apps and how they’re constructed I don’t feel like those are really core values. ActivityPub is a privacy nightmare and most apps have between ghastly to ok accessibility.

    It’s hard to pick out values that we all share because of the inherently chaotic nature of it. Perhaps that’s a value tho - diversity.

    There’s a pretty strong anti-capitalist theme that comes up a lot. At it’s best, this is a “people before economy” value, a pro-democracy, a pro-life (in the literal sense), pro-freedom value. No billionaire can buy the fediverse and shape it in their singular vision.

    The federated nature of things means people can find their own instance to call home, one that suits them and their kin without losing access to all the goodies of the wider network. Is this a value? What is the word for it? Self-actualization?



  • Hi Jerry,

    All good questions which reveal holes in our documentation! Quite a lot of the contents of .env are optional.

    1. There is no S3 support yet. You might not need it though - after almost 1 year of operation piefed.social only has 14 GB of media saved. I’ve put a bit of thought into how to minimize disk usage with good results.

    2. Yes if you leave BOUNCE_ADDRESS empty it’ll go back to the sender instead.

    3. It’s configured in the .env file. You need an IMAP email inbox somewhere, which is outside of piefed’s scope to provide. The BOUNCE_* stuff is for logging into that inbox, which you won’t need to provide if not using BOUNCE_ADDRESS.

    4. Yes, set MODE=‘production’, case sensitive. AFAIK anything other than ‘development’ will cause production mode to be used.

    5. That’s used to connect to https://sentry.io for debugging purposes. You won’t need that.

    6. MAIL_ERRORS=True will cause piefed to send you an email whenever a bug occurs. I don’t recommend using this unless you’re doing development work. You also need to have MAIL_* all set up nicely for it to work - it needs a SMTP server to connect to.




  • Yes I put a bit of effort into the multiple-video issue, with low powered devices in mind.

    The biggest win on that front was lazy-loading the YouTube embeds. Also I found that Chrome can handle quite a lot of videos at once while Firefox gets overwhelmed pretty easily. In my testing with Chrome on my 2012 Macbook https://piefed.social/c/[email protected] performed okaaay. The tab used only 90 MB of RAM, surprisingly.

    Videos in communities are only loaded if running on AC power and the way that is detected is using a fairly recent browser API that is only provided by Chrome (and derivatives). I’m not simply using loading="lazy" on the <iframe>, I’m using JS to add extra logic to do with the battery. Browsers that don’t have the battery API (Safari, Firefox, 10 year old Chrome) load an image instead. Even Chrome will use an image instead if running on battery power (e.g. on a phone that is not charging).

    I think I’ve been pretty conservative in this regard.







  • Yes I sometimes miss it too. On a device with a mouse you can hover over the score and two numbers will appear as a tooltip. The numbers are upvotes and downvotes.

    Maybe the compressed form with only one number could be used on mobile and on tablets and larger show both numbers.

    I’ll continue to experiment with the voting elements.