Hahahaha this got me. My sarcasm/satire detectors are clearly malfunctioning today...
HN user
_benton
You can also schedule code to run each "tick" of the event loop, which is a non-blocking version of a while loop.
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 :PJS has an event loop, it's single threaded but still lets you write asynchronous code.
let send = (payload, callback) => fetch(...).then(callback)
fetch() returns a promise synchronously, but it's not awaited.
Fascinating article. It's think the author's experiences are fairly context-dependant, with where you live, the political leanings of your social circle, your online community etc. But I have noticed an increase in the pathologizing of normal human behaviours and traits. Maybe not all character flaws should be fixed.
I find it really fulfilling to meet strangers but I need to be in the right headspace and it needs to be the right atmosphere.
"Every person you look at, you can see the universe in their eyes -- if you're really looking." -- George Carlin
Yeah fair enough :)
I'm introverted and I enjoy networking and group activities and also meeting and chatting with strangers. I just can't do it all day every day, I need breaks.
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 really should read Jung. So much wisdom in that.
I mean push the devs towards writing native swiftui.
I suppose it's only the bad ones that I notice, but I can definitely get annoyed by UI that's janky, choppy, or close-but-not-quite native. It's jarring.
I agree with you but I think at a certain point with large teams, the marginal benefit of hiring n+1 becomes negligible and then dips negative.
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.
I don't think it's that hard for someone with experience writing shaders to emulate. The moat is that it's almost impossible to replicate with browser technology, which hurts web-based ui systems and is still a big challenge with something like flutter or jetpack compose multiplatform.
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.
I clicked on this fully expecting it to be about the video game...
I'm sorry but what you are describing is not what a zero sum game is.
Yeah I agree. I think it's the same way as fashion - it's often not new styles, just new takes on the past. But it keeps things fresh and interesting.
Inequality is possible in a non-zero-sum game. It's just as possible to have an inequal non-zero-sum game as it is to have an equal zero-sum game.
Capitalism isn't zero sum because at its core principle are transactions, which are inherently non-zero-sum.
Nothing of what you said has anything to do with the concept of "zero sum". It has to do with if the resources in a system are fixed or if they are changing.
UI change is similar to fashion. Things can't remain stagnant, they must change.
I have a feeling this will be yet another case of the nerds thinking something is a huge deal and when people update their phones this fall I bet most people won't care after 10 minutes.
What the article describes is pretty sensationalized and full of bias.
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.
That isn't even close to being the same thing.
What an incredibly bad faith response to someone simply expressing their desire to see an idea experimentally validated. That's really the only way we can know if a political system is viable.
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.
I sorta want to see them happen as an experiment.
They aren't piggybacking, they provide the infrastructure, marketplace, and platform.
Depends on the contract between the grocery store and the construction company.
What right does a company have to piggyback off of another company?
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?
Then why not buy one of the multitude of houses that exist with alternative and open camera systems, that are also cheaper and more ubiquitous?
Is it mandatory to be on tier 1 to have your app in alternative stores or can you do that on tier 2?
Are the reduced fees on tier 1 in order to comply with EU mandates?
I'm curious what becomes the breaking point for them to pull out of a region. Obviously it's about profit but at what point (if any) does it make profitable sense for them to leave?
Yeah I forgot about that one. People who in the past owned some PC deciding not to replace it because their phone does everything they need.