News for hackers. Stuff that matters.

akrumel

Re:The OODA Loop and the Half-Beat on Tuesday March 17, 2020 @06:58PM (#22611535)
Boyd describes the OODA loop as an analogue process, not digital. A person or organization continually orients, observes, decides, and acts. This is different than Deming's PDCA cycle which is a serial process. Speeding up the OODA loop requires the 'right' culture for the objectives, openness to new information, distributed decision making, common understanding of mission and priorities (Boyd calls this schwerpunkt),... In military terms, the goal is to disorient the enemy and thus disrupt their OODA loop while being able to function effectively in a confusing environment.

From experience, this is critical in a military setting. I find this theory difficult to employ in the technology/startup arena in most cases. That said, the elements which make for an effective and efficient OODA loop are invaluable when building an effective organization. In my experience, many companies miss opportunities because insightful information (observe) often comes into the organization from unexpected sources and does not get properly taken into account (orient); employees have not uniformly internalized the organizations priorities (decision); and decision making cannot be effectively distributed (action).

Re:React v16.3.0: New lifecycles and context API on Friday March 30, 2018 @12:45AM (#16713744)
Intriguing. Been too busy cranking on a new product to stay up on the latest changes so thanks for the pointer. I have lots of reading to do.

And thanks for listening about my use case. One concern about using a static function for getDerivedStateFromProps() is that it will not allow for taking instance variables into account. Have not thought through how that might come into play but components certainly allow for this, though many may feel it a strange idea. Perhaps a reference to the component could be passed as well as an additional argument.

I look forward to coming up for air and catching up with the improved approach. Things continue to move quickly and I continue to be impressed at how the changes bring improvement to the ecosystem.

Re:React v16.3.0: New lifecycles and context API on Thursday March 29, 2018 @10:36PM (#16713240)
Component count is around 140. Fwiw, some are stateless, functional components while others are more complex.

A form of master/detail is driving the need to detect prop changes to fetch additional data while freeing previous data. Consider the master/detail of multiple levels deep driven by route parameters through the ui hierarchy. In RN, this is less of an issue since screens tend to be more focused and ui stack driven. But users working full-time in a complex ui specialized for power users can require much more data/dynamism.

Re:React v16.3.0: New lifecycles and context API on Thursday March 29, 2018 @09:09PM (#16712787)
Responding to "exists for a fairly rare use case" statement, I just searched the the web app I am currently writing and it uses componentWillReceiveProps() ~20 times. Most cases are for detecting changes requiring freeing/fetching network based resources where the data involved can get excessive if care is not taken. This would seem to be a common scenario for many domains. On a sidenote, I have thoroughly enjoyed working with react and RN over the last 4 years and have learned much from dan's work. Thanks guys.