Posts

Showing posts with the label Gotcha

5 Ab Exercice Mistakes

Summary of Jeff Cavaliere's video . 0. 0:24 Not getting nutrition in check. Fat levels determine whether we see the abs at all. 1a. 0:48 Cheating by pulling the neck. Put the hands barely touching the head instead. 1b. 1:08 Cheating by rolling or using the hands in low abs exercices. Get the legs up by contraction only. 2. 1:36 Not breathing properly (BLOATED ABS). Exhale as you tighten down and make the waist smaller. 3. 2:53 Not enough hanging exercises. Requires a lot of stabilization just to hang. More challenging, so more effective. 4. 4:10 Not training frequently enough. Short sessions of 4 to 8 minutes but ideally once a day. 5. 5:15 Neglecting rest of the core (obliques, serratus, etc). E.g. Squeeze your thighs together for the windshield wiper to include abductors. Morale: focus on quality rather than quantity (doing fast reps is another mistake).

In Dart, A ∪ B != B ∪ A

The title is misleading, other languages are prone to this gotcha. At least that's less deceptive than "Hot mathematician refutes conjecture with a weird trick". Be amazed People stop me in the subway arguing it's contrived or even ill formed. Stepanov answers (*) that basic math properties should be respected, all the more nothing forewarns the possible asymmetry of the addAll operation. If it's ill formed, shouldn't the langage tell you? C++ would reject that at compile time. Model consistency You could consider this behavior as perfectly fine since the respective models of d1 and d2 (sensitivity to the case) are preserved. Nevertheless, the commutativity of union isn't, breaking the consistency. Julia Belyakova's paper notes that dependent types allows models consistency by letting the comparer be a part of the type. Does it suggest that C++ templates can encode dependent types? If not, it means that models consistency relies on a sub-...