Show newer

psa: pypy runs best when it uses pure-python modules, seriously

the C-API translation is NOT worth it, simply because of how expensive it is for pypy to emulate it

Jonathan boosted

Hi Fedinauts!

I'd done very little ForgeFed work in the last few months, first because of the covid mess and then because I've been very active in Extinction Rebellion.

This week I'm finally spending time coding again, implementing basic OCAPs for authorization when processing a request to merge a Merge Request / patch. So the whole workflow will be possible: Open a MR, comment on it, submit updated versions, & finally merge it into the repo. And all of this will be in the specs :-)

--fr33

legit cannot wait for forgefed to work, while i appreciate everyone choosing to make stuff on their own git servers, it breaks collaboration, and makes every server an island

And yes, i mean twisted trial, cuz synapse still uses twisted

Show thread

Forgot to pass environment variables in the local CI pipeline lol

Had to make trial multi-process, 3, so i can make my CPU scream in agony

whyyyy does lxml not publish pypy wheels

poking at pypy today, trying to figure out why in-memory databases are slower than cpython

Jonathan boosted
Jonathan boosted
Jonathan boosted
Jonathan boosted

Why? No idea, i got the original idea while I was making a tarot bot, and i did some trials alongside a more "randomised" version, basically grabbing random values from a set

The one with a hidden variable variant performed better, appearantly, despite from a black-box perspective it having no difference (randomized output)

Soooo, im making a general package, just so I can make my life easier (in some ways) when porting some of my bots from python to rust

Show thread

I'm currently working on something along the lines of a "hidden variable toolkit", I realise, to basically have something which you can rely on having a hidden variable for a while

Currently documenting rust code and feeling good

Show older
Fuzzy Systems Masto

Instance run by a non-profit association, with a mission to encourage an open internet, welcoming to everyone.