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

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

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

adding a bit of choccy milk powder to coffee is nice

mh, uni 

i should really be studying for exam next week but the only thing that even got me out of bed was thinking about sideprojects...

nice finally looked something up in the no doubt very expensive Computer Organization textbook i got for first year CS, years ago

Show older
Pixietown

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