News for hackers. Stuff that matters.

Xichom2k

Go is a perfect information game. RTS are not.

And the micro advantage is not all that relevant since APM and latency restrictions can be imposed on the AI to force them to play under conditions comparable to human players.

Re:Idle Until Urgent on Thursday September 20, 2018 @12:02PM (#18033453)
You can yield back to the UI event loop in an async function through

   await new Promise((resolve) => setImmediate(resolve))
or similar constructs using setTimeout or requestAnimationFrame
Re:Idle Until Urgent on Thursday September 20, 2018 @11:55AM (#18033406)
Sure, it's incremental, but static site layouts, especially the old float-based ones will have had their headers and sidebars loaded from the start and the main content would not jump around.

Modern pages with ads and widgets popping in potentially anywhere main remain unusable and unreadable because the main content keeps jumping around.

Re:Idle Until Urgent on Thursday September 20, 2018 @09:12AM (#18032126)
Not in strict mode
Re:A Plea to Unfuck Our Codes of Conduct on Thursday September 20, 2018 @09:01AM (#18032031)
To put it bluntly I only see radical shouting on twitter from both sides (look at the latest tweets from the CoC author and the reactionary responses). I have not really experienced it in real life.

So the debate itself seems to be like an alien war fought above my head with the occasional fallout dropping on projects I care about. I would very much prefer both sides to do more coding and less clawing at each other.

Re:Idle Until Urgent on Thursday September 20, 2018 @08:55AM (#18031991)
Due to javascript's funky notion of object methods. If you just pass the function reference itself invoking it will execute it with a |this| set to undefined.

Put differently, a property access x = foo.bar followed by x() is not the same as foo.bar()

Re:A Plea to Unfuck Our Codes of Conduct on Thursday September 20, 2018 @08:52AM (#18031969)
link: https://lkml.org/lkml/2018/9/19/234

Some of the replies are worth a read too. I like the one on cultural differences because it resonates with me that the whole CoC thing seems to be a very american thing.

Re:Idle Until Urgent on Thursday September 20, 2018 @08:16AM (#18031702)
I don't think scroll gestures or incrementally-loaded content with layout reflows were a thing back then, so that might need re-evaluating.