Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
ohno I'm rewriting that async proxy swarm thing again
third time's the charm, right?
brain's a bit better so maybe I'll get rid of the weird mystery async hanging error this time...
and this time I'll have one persistence object instead of 4 scripts that all juggle loading the same files without running into each other through sheer wit (which now I'm so unsure of ðŸ˜, so fragile!). thanks tui
and there's a logging library called tracing that would let me access logs of innermost libraries if I log using tracing instead of print lines, then I can subscribe to the logs and get them in the tui to debug with them and bam. let's see how it goes. might work well for debugging async code. it's built to handle async logging actually
I'm not sure why a lot of rust libraries are a mess but with power of gp5 writing me demos I'm ticking along even if I run into dead ends... like how I gotta do my own text wrapping in tuis and it won't work with ansi codes. eesh. but that was only a couple hours detour of confusion at least instead of me getting too frustrated with it. I came up with a solution that works good enough and wasn't too fancy, phew
rant