Home

Conversation

$$13181
https://cosocial.ca/users/timbray posted on Mar 16, 2026 20:41
In reply to: https://metalhead.club/users/mariusor/statuses/116147663003454651

@mariusor BTW I think Spencer Nelson just fixed Quamina's /v2 problem. Now I'll look at what you did (somehow I missed this post back in February)

https://cosocial.ca/users/timbray/statuses/116240791358348082
Reply
$$13467
https://metalhead.club/users/mariusor posted on Mar 17, 2026 08:34
In reply to: https://cosocial.ca/users/timbray/statuses/116240791358348082

@timbray no worries, there isn't much that I did on my side.

I have some "filter" types, that I use for filtering ActivityPub collections and objects and now they get transformed into quamina patterns and applied on the raw json that we store the ActivityPub objects as before marshaling them into the structs that the filters themselves get applied against.

Hopefully it saves some computation, but the benchmarks I created weren't very conclusive... perhaps because there's so much other functionality in the pipeline...

However the feature has made its way into production into the various servers that use this library...

https://metalhead.club/users/mariusor/statuses/116243593842669007
Reply
$$13473
https://metalhead.club/users/mariusor posted on Mar 17, 2026 08:49
In reply to: https://metalhead.club/users/mariusor/statuses/116243593842669007

@timbray erm... apologies for the verbosity, on a second look my first paragraph doesn't read very well at all. Hopefully it makes at least a little sense.

Anyway the permalink to the function where I do all that has changed a little since previous post: https://github.com/go-ap/filters/blob/master/bytes_filter.go#L201

https://metalhead.club/users/mariusor/statuses/116243650325568749
Reply
$$13700
https://cosocial.ca/users/timbray posted on Mar 17, 2026 16:45
In reply to: https://metalhead.club/users/mariusor/statuses/116243650325568749

@mariusor OK, feel free to yell at me if anything goes wrong.

https://cosocial.ca/users/timbray/statuses/116245524763232745
Reply