Ancestors

Toot

Written by Avery (She/Her) on 2024-12-29 at 21:35

so what i'm gathering is that the ap standard is more of a suggestion then actual rules

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Descendants

Written by Julia :v_bi: on 2024-12-29 at 21:39

@shitpostalotl@axfedi.derg.rest yeah that sums it up

it tries to define this crazy fucking abstract model that is impossible to implement in practice, so actual implementations just implement parts of ActivtyStreams, usually with some extensions tacked on

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:40

@julia

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 21:40

@shitpostalotl@axfedi.derg.rest w3c

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:41

@julia nah like why is it impossible to implement?

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 21:43

@shitpostalotl@axfedi.derg.rest because it defines at least six different compact (standard JSON) shapes for most types of interactions, under the assumption that implementations will expand the JSON-LD into an RDF graph and then query it. Also every object has no guaranteed shape. Everything is technically allowed to be renamed, and the only property you can count on is @context.

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:44

@julia what do i need to read to understand these words

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 21:45

@shitpostalotl@axfedi.derg.rest You can try reading the standards document for it but it's genuinely like a week long rabbit hole

=> More informations about this toot | More toots from julia@eepy.moe

Written by Julia :v_bi: on 2024-12-29 at 21:45

@shitpostalotl@axfedi.derg.rest so for example, instead of having a content property on the compacted JSON-LD, you're allowed to rename that property to literally anything, just by defining an alias in the context. And, per spec, implementations have to accept this. In practice? they do not.

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:50

@julia so what i'm getting from this is that they are using a fucked up format and not enough things are actually defined definitively so a bunch of stuff is platform-specific implementation details?

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 21:51

@shitpostalotl@axfedi.derg.rest yes. implementing AP is largely looking at what is supported by the other implementations and building according to that

=> More informations about this toot | More toots from julia@eepy.moe

Written by Julia :v_bi: on 2024-12-29 at 21:52

@shitpostalotl@axfedi.derg.rest in most cases, mastodon

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:53

@julia let me guess: most people implement the same subset of the spec as masto and there is no agreement about how to add more things in addition to that?

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 21:53

@shitpostalotl@axfedi.derg.rest prettyyyy much

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 21:58

@julia that's fucked. please tell me that most softwares use a sane internal representation for all this?

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 22:00

@shitpostalotl@axfedi.derg.rest most? *oma just stores the JSONLD in the database as JSONB with a few keys for caches but that's a special case

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 22:08

@julia the software family known for db rot does something nonstandard with the db. that makes sense i guess.

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Avery (She/Her) on 2024-12-29 at 22:09

@julia is JSONB just uniquely shit software??

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 22:10

@shitpostalotl@axfedi.derg.rest JSONB is just a binary representation of JSON- the issue here is that they're just plopping the JSON into the database directly instead of translating it into something reasonable

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 22:11

@julia like as a string??? or the json fields being the db columns???

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 22:14

@shitpostalotl@axfedi.derg.rest as a binary representation of the JSON data, but pretty much the same as a string

It has some fields from the JSON data copied into the columns to make it more performant but it's not great

=> More informations about this toot | More toots from julia@eepy.moe

Written by Avery (She/Her) on 2024-12-29 at 22:17

@julia i've decided that i dont want to know enough about db design to understand what this means

=> More informations about this toot | More toots from shitpostalotl@axfedi.derg.rest

Written by Julia :v_bi: on 2024-12-29 at 22:17

@shitpostalotl@axfedi.derg.rest valid

=> More informations about this toot | More toots from julia@eepy.moe

Written by em on 2024-12-29 at 22:13

@julia @shitpostalotl I meannnnn with indexes it should be fine right? and it makes migrations less scary?

=> More informations about this toot | More toots from easrng@pleroma.envs.net

Written by Julia :v_bi: on 2024-12-29 at 22:15

@easrng@pleroma.envs.net @shitpostalotl@axfedi.derg.rest not really, I would be more worried about migrating a database like this than to just use a standard database design

=> More informations about this toot | More toots from julia@eepy.moe

Written by kopper [according to whom?] :colon_three: on 2024-12-29 at 21:40

@julia @shitpostalotl incorrect. it is actually extremely easy to implement real activitypub: github.com/w3c/activitypub/issues/482

=> More informations about this toot | More toots from kopper@brain.d.on-t.work

Written by Julia :v_bi: on 2024-12-29 at 21:41

@kopper@brain.d.on-t.work @shitpostalotl@axfedi.derg.rest killing you

=> More informations about this toot | More toots from julia@eepy.moe

Written by Mallory sympathizer :pride_heart: on 2024-12-29 at 21:59

@kopper@brain.d.on-t.work @julia@eepy.moe @shitpostalotl@axfedi.derg.rest can we get a Luigi themed ActivityPub instance that just does absolutely nothing

=> More informations about this toot | More toots from sodiboo@gaysex.cloud

Written by kopper [according to whom?] :colon_three: on 2024-12-29 at 21:59

@sodiboo @julia @shitpostalotl

sure, save this as luigi.py

while True:

pass</code></pre>

=> More informations about this toot | More toots from kopper@brain.d.on-t.work

Written by kopper [according to whom?] :colon_three: on 2024-12-29 at 21:40

@shitpostalotl yes

=> More informations about this toot | More toots from kopper@brain.d.on-t.work

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113738262598458745
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
530.170589 milliseconds
Gemini-to-HTML Time
8.500022 milliseconds

This content has been proxied by September (3851b).