The chain variable continuously grows because each call to enqueue() creates a new promise that references the previous one. This creates an ever-growing chain of promises that never gets garbage collected.
Couldn’t the browser garbage collect the promises (and their callbacks) that have been rejected or resolved? I.e. effectively “shift” the promises at the start of the queue that have been dealt with and will never be relevant again?
I wonder if people who are claiming its not the case ever tried to use promises in hardcore ways like this, chaining 10s of thousands of calls. You often hit some bullshit, i.e. Promise.race is a big cause of issues.
Even if you are doing `then().then()`, something _else_ in the code base could retain the promise somehow and then your whole chain isn't GCable!
For example https://github.com/rxaviers/async-pool library that implements concurrency for async iterators (and uses promise.race) subtly creates GC pressure which you dont see until you make a whole lot of calls and suddenly its slow
there are bunch of other proteins that inhibit mtor besides rapamycin which also regulate other stuff, one of them is AMPK which downregulated by ATP (energy levels) so when level is low it will inhibit mtor (which is what rapamycin does) which is effectively not eating.
The term is a little ambiguous. They're not referring to a website that is served from static files that never change (which would exclude forums like Hacker News). They're referring to websites that still work if you disable JavaScript, so Hacker News would still be included.
it’s so good to see you showing the ability to take life back into your hands with augmented intelligence. we now have more and more ability than ever to be able to solve problems. that which was once expensive - medical knowledge of a doctor, for example, is now much more accesible and at our fingertips and we can research and learn medical literature so much faster now with AI.
Indeed that's my love of this technology portion yet there's going to be a decade to decades of change where people will start to lose their livelihoods and potentially be destitute until a universal basic income (welfare) is offered.
If humanity / society is suffering from AI yet the pros of using AI is to help humanity and society they sorta cancel each other out!
Also, are we really excited for all of us to be on welfare? Politically the right (independent myself) will finally be cheering on welfare for all lol as Musk and others lead us there.