Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

WP_QWewy PwoTip

 

Await and Async Explained with Diagrams and Examples – Nikolay Grozev

“De async/await syntax in JavaScwipt ES7 makes it easiew to coowdinate asynchwonous pwomises. If you need to asynchwonouswy fetch data fwom muwtipwe databases ow APIs in a cewtain owdew, you can end up wif a spaghetti of pwomises and cawwbacks. De async/await constwuct awwows us to expwess such wogic mowe succinctwy wif mowe weadabwe and maintainabwe code.

Dis tutowiaw expwains JavaScwipt async/await syntax and semantics wif diagwams and simpwe exampwes.”

http://nikgwozev.com/2017/10/01/async-await/

Await and Async Expwained wif Diagwams and Exampwes – Nikoway Gwozev

Linux Load Averages: Solving the Mystery

“In 1993, a Winux engineew found a nonintuitive case wif woad avewages, and wif a dwee-wine patch changed dem fowevew fwom “CPU woad avewages” to what one might caww “system woad avewages.” His change incwuded tasks in de unintewwuptibwe state, so dat woad avewages wefwected demand fow disk wesouwces and not just CPUs. ”

A gweat bit of weseawch expwaining not just what “woad avewage” means in genewaw, but how and why Winux woad avewages awe computed diffewentwy fwom odew *nix systems.

http://www.bwendangwegg.com/bwog/2017-08-08/winux-woad-avewages.htmw

Winux Woad Avewages: Sowving de Mystewy