Skip to main content

Rimu reshared this.


#PieFed and #pixelfed are the only #fediverse platforms with a print stylesheet.

Gotta do the basics right.

#webdev

reshared this


Rimu reshared this.


Cancelled Auckland light rail twice as beneficial as new roads approved by government


reshared this


Rimu reshared this.


Absolutely loving the #brutalist "Hercules 1982" theme for #PieFed.

Hercules was the brand of graphics card for the IBM PC that was widely used in the 1980s.

It could do two colours - black and whatever colour the monitor was. For my first year I had a green monitor and then an amber one for the next two years.

You can try it by choosing the theme at https://piefed.social/user/settings

#retrocomputing #fediverse

reshared this


Rimu reshared this.


For the #TransDayOfVisibility, I've made a theme based on the trans pride flag and set it as the default theme on #PieFed.

https://piefed.social/post/76469

#css

Rimu reshared this.


Rimu reshared this.


Not sure if you noticed but half the #ThreadVerse is memes. They're not my thing but I enjoyed putting together the best meme consumption experience I could.

Check it out in this video https://www.youtube.com/watch?v=IXVhb4sVZV4 or go to https://piefed.social/topic/chilling/memes?layout=masonry_wide&sort=hot to use it yourself. Click/tap on any image for a full screen lightbox-style image gallery that you can move through by swiping or using the arrow keys.

Can you think of any improvements?

#lemmy #PieFed #meme #webdev #python

reshared this

Unknown parent

Rimu
@slumberingcat Yes, great graphic there. N Masonry is what PieFed has because it's very quick and easy to code - but it is the worst for the user.


Looks like #PieFed works with Friendica: https://piefed.social/post/51943


Rimu reshared this.


Added full-text search to #PieFed today.

After reading a massive tome about #ElasticSearch earlier this week I realised it was complete overkill and just used the full-text capabilities of #PostgreSQL instead.

Currently PieFed has 46,000 posts and results are fast. It'll be interesting to see how well it copes when there are more posts. Anyone want to make a guess when it'll bog down?

https://piefed.social/post/48889

reshared this

in reply to Rimu

@box464 I wish Mastodon had gone with Postgres search instead of ElasticSearch.

Rimu reshared this.


reshared this

in reply to Rimu

PieFed is a link sharing platform so every post has a 'url' field. By embedding the post url into the RSS feed entry, we get images in our feed if the posts have images. The example I gave in the earlier toot uses images but it could be anything, including video or audio.

Podcasts are just RSS feeds with audio files. This means #PieFed is also a federated #PodCast platform - every community is also a podcast, if the things you post in the community are just links to mp3 files.

💥 🔥 🎵

This entry was edited (1 month ago)

reshared this

in reply to Rimu

That’s so cool! There’s a bunch of podcast specific data that need to go into a podcast RSS feed for it to be valid for most catchers and indexers however, iirc

Rimu reshared this.


#PieFed adds audio posts:

https://piefed.social/post/44964

#fediverse

reshared this


Rimu reshared this.


#PieFed can now send messages to other people on the same instance as well as people on #Lemmy instances.

The UI layout should be familiar to anyone who has used messenger.com or similar apps.

If your account is less than a week old or if you've been downvoted a lot you won't be able to message anyone.

The usual delete, block & report functions are available.

#fediverse

reshared this


Rimu reshared this.


Looks like the northern hemisphere is skipping winter this year:

https://piefed.social/post/35044#post_replies

#climate #ClimateChange

reshared this

in reply to Rimu

Checking if it is just me, but when I click your link I get a JSON file back.

in reply to Emelia 👸🏻

You're right. I took another look at it with fresh eyes today and it's... not ready. I'll try a few other matrix clients...
This entry was edited (2 months ago)
in reply to Rimu

I didn't see any that were as good as discord for communities last I looked.

Rimu reshared this.


Feels good to bring on of my favourite #Kbin features to #PieFed - domain blocking!

https://piefed.social/post/23470

reshared this


Rimu reshared this.


Hi #accessibility mastodon,

I’ve been building a #fediverse web app, “PieFed”, for the last few months and recently put a bit of effort into making it more accessible. It is almost WCAG 2.1 AA compliant now.

However I have no lived experience of using the web with disability so any feedback in this area is most welcome. Please give it a try at https://piefed.social and let me know what you think, from an accessibility perspective.

in reply to Rimu

the "opens in new window" icon is black on a dark background which makes it hard to read (fails WCAG contrast guideline)
in reply to Nick

@nickcolley Hmm yes I didn't check the dark mode contrast. The icon is also too small. Thanks!
@Nick

Rimu reshared this.


This was *so* satisfying to write, wow

#PieFed #fediverse #Python

Rimu reshared this.

in reply to Rimu

how do you use reputation?
This entry was edited (3 months ago)
in reply to JackieM

@Jackiemauro I'm still experimenting with it.

Currently, the only effect is has is to add a small warning icon like this https://mastodon.nzoss.nz/@rimu/111648660649299579 when reputation becomes < 0. At < -10 there are two warning icons. What people do with that information remains to be seen.

Reputation is the sum of all the up-votes they get, minus all the down-votes. That is the main factor. I doubt gif reactions will be a big influence.

Upvotes in meme communities do not increase reputation.


There needs to be consequences for getting lots of downvotes.

One of those could be something like this, where everyone can see that you get downvoted a lot and decide whether and how to engage with you in future.

#lemmy #PieFed #fediverse



Rimu reshared this.


That feeling when the code reaches a point of huge messiness that the only way to deal with it is print out the worst bit and scribble on it.

Low tech but very effective and satisfying.

#webdev #python #PieFed

Rimu reshared this.

in reply to edoxtator

@edoxtator Yeah, one long continuous piece of paper would be very nice. I still get nostalgic about the sound of a dot matrix printer.
in reply to Rimu

@edoxtator Me too. Printing source code and reason about it is a long forgotten practice.

I remember my instructor in the 90s who always printed huge piles of COBOL source code, and while smoking did all the programming on paper.

in reply to Rimu

After extensive refactoring, that chunk of code is now only 5.5 pages long instead of 11 😅

Still about 4 pages too long compared to what an ideal function would be but this is the main ActivityPub handling code we're dealing with here, so it's always going to be a little crazy.


Rimu reshared this.


Quite happy with the speed of the background task that ingests #ActivityPub data sent to #PieFed from other servers. Most Activitys are processed in around 0.1 seconds, average of 0.22 seconds, or ~5 per second. This is with just one worker process.

If a 4 core VPS can handle 6(?) worker processes/threads it'll do 6 * 5 = 30 per sec.

Based on the load of https://kglitch.social I expect at most 3 per second.

That'll be fine for now.

#fediverse

reshared this

in reply to Rimu

Glad to report that I've figured out what was causing some activities to spike to up to 1.4 seconds and fixed it. That should bring the average down to 0.1 seconds, or 10 Activities processed per second. Decent!

When an Activity arrives if it's the first time one from that instance or that user has arrived, there are a few extra network requests PieFed needs to make to ensure the Activity data is fully fleshed out. Fortunately most of them can be deferred to future background tasks.

This entry was edited (3 months ago)

Rimu reshared this.


Attitude, done!

#PieFed

Rimu reshared this.


Rimu reshared this.


There needs to be consequences for getting lots of downvotes.

One of those could be something like this, where everyone can see that you get downvoted a lot and decide whether and how to engage with you in future.

#lemmy #PieFed #fediverse

reshared this

in reply to Rimu

@box464
What if the downvotes are harassment? Then you have a legitimate user being ignored by everyone because some group decided they don't agree with them.
in reply to Andres Jalinton

@Andres @box464 Yeah, hmm...

I'm also planning on adding a "attitude" stat which is the ratio of upvotes vs downvotes a person does. I'm not sure where and how that data would be displayed or acted upon but people who downvote excessivly will be noticed.

in reply to Rimu

@box464
Myself I have thought a lot about "self moderation tools". It's an interesting but very hard topic, like you can define "higher quality" indicators like moderators downvotes (this can only help to certain extent if the ratio is doable) you can assign more "priority" to older users or hide downvotes like youtube, so there is less bias to "follow the example".
in reply to Andres Jalinton

@Andres @box464 Yes, it's a fun topic, and hard.

I'm also enabling site owners to designate certain communities as "low quality" (invisible to members), which are places where upvotes received do not increase your reputation 😉

Endless possibilities.

in reply to Rimu

@Andres Not related to bad behavior, but Phanpy displays a ratio of interaction types on the profile page. See “Last 20 posts in the past X days” section. You have to click it to see the ratio tho. Might spark some ideas.

Also, this is sounding a bit like Spoutible’s Bot Sentinel rating. An algorithm decides if you’re good/bad and assigns a letter grade. Users can decide to hide or limit others with a low letter grade.

https://help.spoutible.com/support/solutions/articles/150000050110-ratings-explained

in reply to Jeff Sikes

@box464
I'm still waiting to see a "bot" or "AI" that does well getting the intention of a post, not counting that it takes hell of a lot of computational resources to make up a "grade" for one post, let alone millions every second.

Jeff Sikes reshared this.

in reply to Andres Jalinton

@Andres Yeah the Spoutible system is a bit of magic soup. The guidelines are laid out well, but the way they are applied is not.

More than a few feathers were ruffled when the grades began appearing next to user names (you can’t remove it) and they weren’t “A”s. It’s settled down since tho.

in reply to Jeff Sikes

@box464 @Andres Oof, I'm really not keen on AI-assigned scores. And they let the D-rated accounts continue to post??? Now that's weird.

There could be value in using simple "AI" to flag accounts for manual mod review. I've been thinking a lot about fascist detection. It should be doable, for the most obvious ones (pepe profile pic, 88 in the user name, posting 4chan screenshots, that kind of thing). Some image recognition machine learning and keyword filters would get me 90% there.

in reply to Rimu

@box464 @Andres an idea which surely needs more time to bake, but what if webfinger queries included some accounting of that server's knowledge of the account's reputation. Different services could act on that in different ways.
in reply to Joe Germuska

@JoeGermuska @box464 @Andres Yes, possibly... But any data you make available over ActivityPub is technically public so it's not great to put sensitive information in there.
in reply to Rimu

@Andres @box464 good point

I'd thought of it as fairly objective measures, if not always flattering to the subject, but I'd defer to people who play black hat better than me who have ideas about how it could go wrong.


Rimu reshared this.


Made a little #ActivityPub log for #PieFed so I can spot anomalies and review data coming in and out of my dev instance.

After a few weeks of testing federation in canned scenarios, PieFed is now interacting with actual instances on the 'real' #fediverse, so all sorts of unexpected things are happening! Performance, timing issues, invalid requests, unresponsive servers, all that fun stuff.

Feels great to finally get to this point 😅

#python #flask

reshared this

in reply to Konsi

@konsi It is open source, yeah. I'll be able to start accepting PRs soon but at the moment the code is still too immature.
in reply to Rimu

happy to check it out if you are ready.

Rimu reshared this.


Inspired by https://nickpunt.com/blog/deescalating-social-media/, I've added a function to #PieFed so authors can acknowledge their mistakes and de-escalate difficult discussions.

I'm committed to building a happier & healthier social media. Read more at https://join.piefed.social/

#fediverse

This entry was edited (4 months ago)
in reply to Rimu

really interesting concept! Will following users be possible? Would be great
in reply to Rimu

Somebody open a feature requst to have this added into Mastodon main as well 🤗
@Gargron

Rimu reshared this.


Further progress with #PieFed this week, especially on the #ActivityPub front - posts, comments and up/down votes are now federating with #lemmy

https://join.piefed.social/ has more background info on the project. I'll be blogging about ActivityPub quirks at https://join.piefed.social/blog/

#python

reshared this


Rimu reshared this.


It took 4 months and 50 code commits, but my federated version of reddit (written in #python) can now follow and be followed by instances of #kbin and #lemmy!

Getting #ActivityPub working has been ... a journey.

#foss

in reply to Rimu

but does it federate with GNU Social (which neither of those do for some reason)
in reply to GNU Too

@gnu2 No.

I'm going to need to to prioritise interoperability based on ROI (effort to code vs amount of users reached) so Lemmy/Kbin will be first, followed by Mastodon, Pixelfed and Peertube. Then we'll see.


Rimu reshared this.


reshared this

in reply to Rimu

@reiver

Quick look at GitHub contributions for both m- and k-bin ... and it seems to be working.

mbin seems to have more contributors and more commits since the fork. Nice work!