Damore’s “just asking questions” schtick was obvious from the get go but the way these fascists attack the Achilles…

Damore’s “just asking questions” schtick was obvious from the get go but the way these fascists attack the Achilles heel of liberalism so consciously and effectively is interesting. Liberalism’s only response is to give them more tools and platforms.

Originally shared by Roberto Bayardo

James Damore is following the alt-right playbook. It’s amazing that anyone other than alt-righties (aka neo-nazis) still come to this maladjusted twerp’s defense. It just shows how effective their playbook is, I guess. Best way to fight it is to expose it, so here you go:

Redux in a single line of RxJS.

Redux in a single line of RxJS.

action$.scan(reducer, initstate).subscribe(renderer)

The scan() operator in RxJS is just like reduce() operator in most fuctional libraries except for one thing, it emits partial reductions continuously as a stream which you can subscribe to. This is applied to a stream of actions (actions$) and the reducer is a pure function which is applied to each action in turn with the signature.

(state, action) => newstate

The state is the “accumulator” of the reduction and scan() emits a stream of states as its output. The render object is an Observer which is like a listener with callbacks for next(value), error(err) and complete().