Show newer

sheesh, 12 commits and a lot of improvements for synapse-media-proxy

ohhhh and I just realized another SSRF attack avenue to patch

Show thread

just happened to have restored direct streaming from remote > client which I broke...

Show thread

ever set out to rewrite something and end up fixing something totally different

haha me neither

@anarchiv it's simply the pretty stripes they put in their logo as a marketing stunt in june

meh, unsilicitate adivce 

@erikk@chaos.social hmm that is nice, thanks :)

meh 

should probably go outside but there's nothing to do there, i've been to all the parks, taken all the photo's

where a normal least-recent-used cache just removes the oldest entry when you add a new one but hit the max entry limit, this has a constraint set based on total size used, and can invalidate multiple old smaller entries to make space for a new bigger one, and as such dynamically shrinks/grows the amount of entries stored

will be used for the caching in synapse-media-proxy

Show thread

in the end didn't even use the index tracking method the Computer Organization book recommended, but instead a linked list across the Map entries

Show thread

fixed, and now my randomized cache set/get/remove testing loop is just going speedy, no crashes :))

Show thread

@thufie not that hot of a take tbh, boycott f-droid (donations) for platforming nazis...

@thufie for some toots i'd like the option to have it federate to all the techbro instances we have suspended, just to see the shit reactions for a laugh

this code is kinda cursed? but also super cool? size based lru so it can invalidate multiple elements as needed to fit the size constraint

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.