ProTip: wp_query() defaults to post_status=‘publish’.
Unless called from Ajax. Then it adds ‘private’, ‘draft’, ‘future’, and ‘pending’.
— Dougal Campbell (@dougal) October 24, 2017
ProTip: wp_query() defaults to post_status=‘publish’.
Unless called from Ajax. Then it adds ‘private’, ‘draft’, ‘future’, and ‘pending’.
— Dougal Campbell (@dougal) October 24, 2017
“The async/await syntax in JavaScript ES7 makes it easier to coordinate asynchronous promises. If you need to asynchronously fetch data from multiple databases or APIs in a certain order, you can end up with a spaghetti of promises and callbacks. The async/await construct allows us to express such logic more succinctly with more readable and maintainable code.
This tutorial explains JavaScript async/await syntax and semantics with diagrams and simple examples.”
http://nikgrozev.com/2017/10/01/async-await/
Await and Async Explained with Diagrams and Examples – Nikolay Grozev
The time is upon us once again, my friends! It’s Talk Like a Pirate Day! For bonus points, you can dress like a pirate, too!
“If you are a dyed-in-the-wool software developer, you probably don’t need to be convinced to use Git. But even if you aren’t, there are a lot of things you can do with Git that don’t fit the usual mold.”
“In 1993, a Linux engineer found a nonintuitive case with load averages, and with a three-line patch changed them forever from “CPU load averages” to what one might call “system load averages.” His change included tasks in the uninterruptible state, so that load averages reflected demand for disk resources and not just CPUs. ”
A great bit of research explaining not just what “load average” means in general, but how and why Linux load averages are computed differently from other *nix systems.
http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html
I seem to have a knack for finding obscure edge-case bugs in WordPress. #wordpress #oembed https://t.co/aucCSDb76H
— Dougal Campbell (@dougal) August 28, 2017
In a component-oriented application, a suggestion that code should be organized by (more-or-less) stand-alone features, rather than layers of system architecture (authentication, database, ui, api, etc.)
http://ryanlanciaux.com/blog/2017/08/20/a-feature-based-approach-to-react-development/
A feature based approach to React development | Software Development Notes
#reactjs devs: interesting introduction to Preact (?smaller, faster React alternative) via @yomieluwande #JavaScript
https://blog.logrocket.com/introduction-to-preact-a-smaller-faster-react-alternative-ad5532eb6d79
Introduction to Preact — a smaller, faster React alternative
Agorakit is a web based open source “groupware for citizens initiatives” (which i’ve seen @buddypress used for too)…
Agorakit is a web based open source "groupware for citizens initiatives” (which i’ve seen @buddypress used for too) https://t.co/bFPw9ZZWi2 pic.twitter.com/H1REt0QfcO
— David Bisset (@dimensionmedia) August 18, 2017