ShittyKopper

joined 1 year ago
[–] ShittyKopper@lemmy.blahaj.zone 2 points 23 hours ago* (last edited 23 hours ago)

A lot of it boils down to most fedi software not being "native" and only having federation designed more-or-less as an afterthought addition on top of a traditional centralized-ish system (even for ones that have federation from the get-go). Meaning you make assumptions like "it's fine if I deletes the replies of a post if the post gets deleted".

This, combined with how much data you can't re-load and have to track as it comes in (e.g. nobody implements the necessary collections to backfill who liked or boosted what from it's source, so you have to track that implicitly through Like and Announce activities), makes it extremely infeasible to implement while keeping the same user experience. Hell, even reply collections needed to backfill missing replies are a rarity (though a lot more common than the others given Mastodon implements them).

Additionally, people want the same user experience they're used to in centralized systems, like search actually searching through everyone, globally. This is something I believe AP simply isn't "intended" for. ATProto, for example, is much better in this specific regard (but comes at it's own hefty costs, as an implementor).

I don't blame the implementors for doing things this way. IMO it's better to partially implement something like AP as an extension, as opposed to diving in head first into being AP-native. The standards are extremely vague and incomplete once you start looking below the shallow surface, and this way at least if a better protocol comes by migration (or multi-protocol federation) won't be too difficult compared to if your source of truth was the same AS2 data you federated, the way AP intended you to.

[–] ShittyKopper@lemmy.blahaj.zone 7 points 1 day ago* (last edited 1 day ago) (2 children)

Eh, I'd make the argument the fediverse is overly inefficient, way more than it has to be. (But that doesn't seem to be the actual point of the post, instead rehashing the same "distribution = good" thing without bringing anything new to the table)

Here are just a few things that could be fixed without needing to centralize fedi:

  • A vast majority of instance software will store all old remote non-media data (that could easily be re-fetched when needed) permanently, even if nobody has seen it in years.
  • If you're lucky enough to be on instance software that backfills replies (GoToSocial, the Iceshrimp rewrite as of a few days ago, Mastodon in an extremely limited capacity), it will be done slowly and recursively, when much better alternatives that don't need to deal with easy-to-get-wrong recursion handing are possible. (There is work going on to improve this, but it may take a while for it to land on enough instance software to make a difference)
  • The obvious thing everyone harps on: Abysmal media caching defaults.
  • No batching of activities. And relatedly, all sent activities are individually re-signed for each instance on each delivery (to be fair, handling this in a privacy preserving way is hard)
  • No batching of fetches.
  • RSA, just to make the above signature situation even worse
  • Mastodon. Just in general. It's by far the most heavyweight fedi software I know of, running on a synchronous and poorly threaded tech stack that's is not very adequate to the fairly IO bound (when not using authorized fetch) and very concurrent AP use case. Running Mastodon for any instance less than ~500 active users is extremely overkill and you'd likely be suited with other, lighter, instance software if you don't need any of the features that are Mastodon exclusive (which there aren't that much of).
  • Pleroma database rot, an exemplar of why the C2S advocates' model of "store the raw JSON for everything" is a terrible idea (thankfully the C2S model hasn't taken off enough to be important)
[–] ShittyKopper@lemmy.blahaj.zone 2 points 1 day ago (1 children)

I mean, I'd say that all instances copying media by default, to be stored forever, is kind of unnecessary. (And as far as I'm aware Mastodon is the only one configured like this by default anyway)

The largest instances? Sure. I'd say they have an obligation to not DoS smaller instances by simply hotlinking or proxying without any kind of cache. But smaller ones can get away with short lived middleware-level caches, and single user ones can often get away with hotlinking (oh boo hoo your firewalled IPv4 behind enough CGNATs to block any incoming connections got exposed)

One idea I’ve seen floated around is to have some sort of cooperative CDN for instances. Let’s say four or five relatively kindred instances, make a commitment to last and pool their resources to maintain a joint CDN from from which they’ll get their “media federation” from. This would reduce costs and issues a lot, since by the very nature of the fediverse, if everyone builds their own caches most of those caches are going to be hosting most of the same content. Basically: deduplication, but the poor man’s version.

https://jortage.com/ already exists, and the code behind is open.

[–] ShittyKopper@lemmy.blahaj.zone 15 points 3 days ago* (last edited 3 days ago) (1 children)

All other devs jumped ship. I think both Iceshrimp and Sharkey were launched by former Firefish devs (at least one of them was, Iceshrimp being a former hard fork of Firefish which was quickly rebased into a more up-to-date Misskey soft fork

Iceshrimp (Misskey fork) did not rebase their version of Misskey. They're still based on the same Misskey v12 era code from Firefish and there's no interest in significantly updating the JS version (as it'd make migration harder) now that the rewrite is well underway and (in my potentially biased opinion) quite promising.

[...] This is far from done which means it’s even farther from being daily-driveable.

If you're on a single-user instance, and can limit yourself to apps targeting the Mastodon API, it's quite usable. The web frontend still needs a fair chunk of work, and moderation tooling required for larger instances are still not there yet. (But there's enough to fend off spam)

Iceshrimp was designed for stability which is also why a number of Firefish features had been kicked out. It itself is on maintenance for as long as it will continue to exist, which won’t be that long.

The only features kicked out from the Misskey fork were, from what I remember, post imports (which were broken and leaked DMs (Sharkey's on the other hand should work fine, as their implementation is unrelated to the Firefish one)), and the centered view in the web front-end. The rewrite may end up removing more features, it's still not exactly clear as more important foundational work is needed before decisions like that can be made.

Sharkey used to be the king of features, but at the cost of reliability. Especially Sharkey’s Mastodon API implementation is infamously bad. The Sharkey community has been waiting for someone to step up and develop a completely new Mastodon API implementation for Sharkey for I don’t know how long.

Sharkey's Mastodon API was I believe more or less a direct port of the old Firefish one. (And, yeah, it's not in a pretty state right now.) Firefish's implementation has since gotten replaced with the implementation from Iceshrimp some time after Firefish was handed off to Naskya (which may just be the only Mastodon API implementation on Misskey-based software that actually works).

Also, the Sharkey devs lost a whole lot of community support when they collected donations for a server for Sharkey purposes and then took the money to set up a Minecraft server. Make of that what you want.

This is way too much of an oversimplification that I would plain remove this claim altogether. All I can say is that Sharkey/transfem.social has had a change of ownership and things are more or less resolved now.

And then there’s CherryPick. AFAIK, it’s a Japan-based Sharkey soft-fork in which a whole lot of Misskey and Sharkey issues have been fixed; don’t ask me for details, I only know this stuff from hearsay. Basically, CherryPick is Sharkey in good. Or in better.

CherryPick is older than Sharkey, and Korean (from what I know, anyway)

 

[cats source: https://www.youtube.com/watch?v=7wEOkT9-AeQ]

 
[–] ShittyKopper@lemmy.blahaj.zone 14 points 3 weeks ago

on the contrary, 99% of the people who find themselves in a hole stop digging right before they fix the situation

[–] ShittyKopper@lemmy.blahaj.zone 2 points 1 month ago* (last edited 1 month ago) (1 children)

But these features were totally non-standard extensions right?

that's the thing, everything in activitypub is a non-standard extension. hashtags are an extension. post visibility the way it's commonly done is an extension (more like a convention in that it doesn't introduce anything new, but still not written down anywhere official), the concept of an un-locked account is a convention (and the marker that marks an account as locked is an extension). pinned posts, marking images as sensitive, they're all extensions

(surprisingly, this is the second time i'm writing this exact thing today)

It’s weird but it almost feels like the fediverse needs a benevolent dictator to kind of get an overview and set a clearer direction, when it comes to the standards.

this has historically been mastodon. and they have put themselves in such a place that anything they do not approve of gets seen as a "nonstandard extension" and anything they approve of gets seen as a part of the standard. see the above reply.

edit: additionally, emoji reactions are federated by the SECOND MOST POPULAR free/open AP software and has implementations in at least 5 other software families (not just forks of one software, entire software families). if they cannot determine a de-facto standard but mastodon can, is AP really an open standard?

[–] ShittyKopper@lemmy.blahaj.zone 2 points 1 month ago* (last edited 1 month ago) (3 children)

this issue is a blocker for mastodon not supporting filtering remote posts by words (which would've helped with many spam attacks, which the pleroma family supported just fine for a WHILE via MRF, and more recently misskey has added support for)

if you go to socialhub you'll find MANY threads of reasonable ideas that are in json-ld representation bikeshed hell as people unnecessarily debate over which exact json-ld representation of the same exact data is the most correctest. the most infuriating recent ones i have seen is the emoji reaction fep discussion and FEP-fb2a: Actor metadata both of which does this bullshit ON FEATURES ACTIVELY FEDERATING RIGHT NOW, where changing it would BREAK BACKWARDS COMPATIBILITY

[–] ShittyKopper@lemmy.blahaj.zone 2 points 1 month ago (5 children)

Yeah, that is a shortcoming of the protocol. But it's necessary in order to be secure until things improve (and given this is AP, that's gonna be a while. People seem to love bikeshedding in circles instead of doing actual work)

[–] ShittyKopper@lemmy.blahaj.zone 4 points 1 month ago* (last edited 1 month ago) (7 children)

Instead of sending the entire object embedded in the activity the secure way would be to only the URI instead. This is permitted by JSON-LD.

In the receiving side, if the object is untrusted (i.e. if it isn't signed or if it's from a separate authority from the parent object containing it) it should be thrown away and the id should be fetched from the remote instance directly (same as it would happen if it was a URI instead of an inline object). This is completely an oversight on Lemmy's implementation and not a protocol problem.

[–] ShittyKopper@lemmy.blahaj.zone 6 points 1 month ago* (last edited 1 month ago) (9 children)

I seriously doubt Lemmy currently does any validation whatsoever. There were communities using this blatant security issue for non-malicious purposes (see https://endlesstalk.org/c/tails@lemmon.website, which re-wrote posts from people (which is only possible if the posts weren't validated, or at least re-fetched from their origins)).

There is a way to re-share and validate remote activities, either through LD signatures (ew, JSON-LD processing :vomit:) (which only Mastodon and Misskey implement) or the newfangled FEP-8b32 Object Integrity Proofs (which nobody relevant on the microblogging space implements).

27
rule (media.d.on-t.work)
 

[alt: jack black as steve from the minecraft movie teaser, saying "i am". the video freezes and slides down to revel the caption "bro is"]

(is lemmy supid? why doesn't it show the alt text field for videos?)

[–] ShittyKopper@lemmy.blahaj.zone 2 points 1 month ago (1 children)

i'm pretty excited for fedify since i'm unsure if there has been any other activitypub abstraction that feels as comprehensive as it seems right now (from a brief skim, anyway).

one thing i had in mind ever since i first skimmed the docs some time ago is this:

federation.setActorDispatcher("/users/{handle}", async (ctx, handle) => {

i would really recommend you to NOT tell people to use handles here. i assume this is just naming and the framework doesn't actually require a handle there, but documentation matters and if you follow on the footsteps of mastodon, pleroma, lemmy, and friends everyone who follows your docs will lose the ability to change usernames down the line without more pain than it's worth (and yes, there are software out there that allow it right now! please do not build fedi software assuming usernames are immutable jsut because mastodon doesn't let people do it)

just like how you wouldn't use a natural key in a database, you should tell people to use a surrogate key like an autoincrement id or a uuid on the actor IDs, as they're effectively permanent. while it may be probably fine for a quickstart thing like this to omit that, a lot of permanent codebases do start up by following these kinds of guides, and nudging people to do the correct thing when it's not that hard is always a good idea IMO

 
 

[alt: a video of a kitten with a voiceover saying "if you just know you're that girl, you just have no choice but to be that girl, and i feel like i'm that girl"]

351
geologists (media.d.on-t.work)
 

[alt: Tumblr post from the purple geologist:

in my own experience with geology most precautions with smallest are to preserve the life and safety if the geologist, most of the rocks are fine

reply by laboradoresence:

i am continually reminded of one of my colleagues, who wanted to collect a sample of gypsum on a field excursion but was too lazy to take off his backpack and get his rock hammer. so he said "eh, it's soft enough" just fucking punched the rock until a piece fell off like it was fucking Minecraft]

 

[alt: inspirational quote from an air conditioner:

be the reason a building is cold inside]

(stolen from https://www.reddit.com/r/thomastheplankengine/comments/1evhufi/i_had_a_dream_that_this_was_an_inspirational/)

 

[alt: reddit post titled "minecraft redstone machine idea to spice up your survival world"

the post contains the below image:

a diagram titled "heart attack simulator", where two sugar cane farms are connected to an and gate that activates when both farms update at the same time. the gate is connected to dispensers with 100 splash potions of harming, aimed towards an ender pearl statis chamber]

 

[alt text: dialog from YouTube Premium: "This could be your last video. Reactivate now to keep your life"]

 

[alt: safety warning thingy, big red header simply saying "dan"

on the left is an icon of a person, presumably dan, with a giant "no" in front of it.

on the right is text edited to say "do not connect no matter how much it asks"]

0
rule (media.d.on-t.work)
 

[alt: "you wouldn't download a car" edited to say "you woulge"]

 

[alt: blatantly edited google results page, all the new text is in comic sans.

search for "soup definition" returning an ai result saying "you can write literally anything on here and people will eat it up and blame it on ai. look im not even using the right font its not like anyone cares"]

view more: next ›