16 Matching Annotations
  1. Nov 2025
    1. we can’t recapture the same processes we used to learn to speak for the very first time

      for - unlearning language - key insight - language - cannot recapture same process we used as child - cannot recapture the same processes we used to learn to speak language for the very first time - basically, we lose access to that original vocal learning circuit as an adult - question - language learning - what is this vocal learning circuit of an infant? - why do we lost access to the vocal learning circuit we had as a child? - observation - clue - language - accidental world recall and substitution - a clue to how we remember words - I wrote the above sentence "why do we lost access to the vocal learning circuit we had as a child?" when I meant to write: - "why do we LOSE access to the vocal learning circuit we had as a child?' - This very observation also has the same mistake: - "observation - clue - language - accidental world" instead of: - observation - clue - language - accidental WORD"! - I've noticed this accidental word substitution when we are in the midst of automatically composing sentences quite often and have also wondered about it often. - I think it offers an important clue about how we remember words, and that is critical for recall for using language itself. - We must store words in clusters that are indicated by the accidental recall

  2. Jun 2023
    1. Example 1: If a 1000-Ω resistor is connected in parallel with a3000-Ω resistor, what is the total or equivalent resistance? Alsocalculate total current and individual currents, as well as thetotal and individual dissipated powers.R R RR R1000 30001000 30003, 000, 0004000 750total1 21 2= ×+ = Ω × ΩΩ + Ω = ΩΩ = ΩTo find how much current flows through each resistor, applyOhm’s law:I VRI VR12 V1000 0.012 A 12 mA12 V3000 0.004 A 4 mA111222= = Ω = == = Ω = =These individual currents add up to the total input current:Iin = I1 + I2 = 12 mA + 4 mA = 16 mAThis statement is referred to as Kirchhoff’s current law. Withthis law, and Ohm’s law, you come up with the current divider

      Great intro problem to Kirchhoff's current law

      Current divider notes as well!

  3. Jan 2023
  4. Dec 2022
  5. Oct 2022
  6. Jun 2021
  7. Apr 2021
  8. Nov 2020
    1. Important caveat: in the combined expression, if the middle command has a non-zero exit status, then both the middle and the rightmost command end up getting executed.

      I don't think that is surprising, is it? Since && and || have the same order of precedence. So I think this is more of a clarification than a caveat.

      I think this is just because:

      a && b || c is equivalent to: (a && b) || c (so of course c gets evaluated if (a && b) is false (that if either a or b is false).

      I think they just mean, in this case:

      bedmap && mv || fail
      

      if mv fails, then fail still gets executed.

      Easier to see with a simpler example:

      ⟫ true && false || echo 'fail'
      fail
      
      ⟫ false && true || echo 'fail'
      fail
      

      Better example/explanation here: https://hyp.is/-foxmCVXEeuhnLM-le_R4w/mywiki.wooledge.org/BashPitfalls

      The caveat/mistake here is if you treat it / think that it is equivalent to if a then b else c. That is not the case if b has any chance of failing.

    1. The potential problem: if second_task fails, third_task will not run, and execution will continue to the next line of code - next_task, in this example. This may be exactly the behavior you want. Alternatively, you may be intending that if second_task fails, the script should immediately exit with its error code. In this case, the best choice is to use a block - i.e., curly braces: first_task && { second_task third_task } next_task Because we are using the -e option, if second_task fails, the script immediately exits.
  9. Jul 2020
  10. May 2020
  11. Dec 2019
  12. Jul 2018