142 karma · joined March 9, 2025
Or you could promisify the send function and use normal async/await.
let q = Promise.resolve(),
sendAsync = (p) => new Promise(r => send(p, r)),
sendOnce = (p, c, ms) => setTimeout(_ => q.then(_ => sendAsync(p)).then(c), ms)
Or you could actually spin up a new worker thread and get multithreading :Plet send = (payload, callback) => fetch(...).then(callback)
fetch() returns a promise synchronously, but it's not awaited.
"Every person you look at, you can see the universe in their eyes -- if you're really looking." -- George Carlin
Having social anxiety is different from not knowing how to talk to people and make friends. Bill Russel would get so worked up before games he would throw up. But he could also perform.
I think it depends on what you're anxious about. Being scared that people will dislike you is different from being scared of embarrassment and it's different from being scared you don't know what to do in the moment.
Of course all of those can be helped by simply exposing yourself to the situation over and over again. You learn that if you do embarrass yourself or if people dislike you, the world doesn't turn to ash.
I've never worked for a company with thousands of devs but I imagine at a certain point the cost of simply collaborating and managing those devs becomes pretty high too.
Stuff like React Native get it basically for free because their ui is still technically "native".
But apps that rely on web views are screwed and I'm sure Apple will be happy to push devs away from those solutions as they're inferior for users.
Now they just need to figure out a way to push RN apps towards true native.
Capitalism isn't zero sum because at its core principle are transactions, which are inherently non-zero-sum.
Obviously there is plenty of room for it to go wrong but I don't think it's automatically the case that somehow paradoxically, giving the government less control over a region will make that region more authoritarian. I would expect the null hypothesis to be the opposite.
Eg. both communism and socialism seemed plausible until multiple independent experiments proved otherwise. It would be interesting to see how a modern day laissez faire city-state would fair.
Like think about this logically? Should a grocery store be forced to sell my products without receiving any of the profit? Can I force a cafe to let me serve customers on their premises without giving anything in return?
Are the reduced fees on tier 1 in order to comply with EU mandates?