18 Matching Annotations
  1. Dec 2022
  2. Jun 2021
  3. Apr 2021
  4. Nov 2020
  5. Oct 2020
    1. The lodash/fp module promotes a more functional programming (FP) friendly style by exporting an instance of lodash with its methods wrapped to produce immutable auto-curried iteratee-first data-last methods.
    1. One of the significant differences between the two is that a call to a partially applied function returns the result right away, not another function down the currying chain; this distinction can be illustrated clearly for functions whose arity is greater than two.
    2. Currying and partial function application are often conflated.
  6. Sep 2020
  7. Aug 2020
  8. Jul 2020
  9. Jun 2020
  10. Feb 2019
    1. You may believe that there is a relationship between 10,000 m running performance and VO2max (i.e., the larger an athlete's VO2max, the better their running performance), but you would like to know if this relationship is affected by wind speed and humidity (e.g., if the relationship changes when taking wind speed and humidity into account since you suspect that athletes' performance decreases in more windy and humid conditions).

      An example of partial correlation.

  11. Nov 2018
    1. rsync -azvvP /home/path/folder1/ /home/path/folder2

      Or the case with remotes:

      rsync -azvvP /full/path/source_folder_or_file username@remotehost:/full/path/target_folder_or_file

  12. Dec 2017
    1. After doing some research, we found mochiglobal, a module that exploits a feature of the VM: if Erlang sees a function that always returns the same constant data, it puts that data into a read-only shared heap that processes can access without copying the data. mochiglobal takes advantage of this by creating an Erlang module with one function at runtime and compiling it.

      This is a cool trick and it sounds like partial evaluation and just-in-time compilation.