Show newer

the most basic of caches, it's a Map with an array tracking access order, removing the oldest accessed item from the map when it's about to get bigger than maxEntries

Show thread

nevermind i can't be bothered anymore, I'll just make it remove the oldest entry...

Show thread

alc 

tschunk but im too lazy for cocktailing so it's just rum and winter club-mate

alc bad 

if you're pissed off you might as well get pissed too, right?

when the punycode is in the url literally like mxc://xn--puny--59d2hgc.dev.cthu.lu/testmedia, Synapse still fails, but Conduit and matrix-media-repo do fetch it correctly.
None of them do url decoding of the mxc right however..

Show thread

ah fuck i reallly stumbled into a bad wormhole doing punycode domain testing, seems neither Synapse, Conduit nor matrix-media-repo can fetch media from those properly (and I can :3)

Show thread

also the fact that nginx just fucking crashes if you reload it with a wrong config

Show thread

(neo)vim mouse mode was the biggest fucking mistake ever, it's such an annoyance using my middle-click paste buffer

I love how the server-server spec for the media repo is "yeah just call their client-server endpoint" which is also how i implemented it already

Show thread

oh yeah and also verifying the symbols in the requested mxc for 'security reasons' lol

Show thread

now to limit the in-memory cache on <remote> and check up the federation spec, and then /upload and /download are fully implemented

Show thread

nice nice nice file uploads work very well now, properly stored where Synapse would normally expect them too, and a listing in the database

Show thread
Show older
Pixietown

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