16 Matching Annotations
  1. May 2019
    1. However, it is still often stated that the other orbital energies have no physical meaning, and that it is a pity that nothing like Koopmans' theorem to give meaning to the other occupied orbital energies exists. The truth could not be more different: it has been established22–25 that the KS orbital energies of the valence levels in molecules approximate the experimental ionization energies much more closely (typically at 0.1 eV level) than the Hartree–Fock orbital energies do (difference with IPs typically ∼1 eV).

      This is really one of the more spicy takes here. KS orbitals having no physical interpretation is often heard in the community, and here is a list of references and evidence that they do have physical significance.

  2. Jan 2019
    1. after the terminal operation of the stream pipeline commences.

      Above is because of the nature of Streams in general: they are lazily executed (or put another way, execution is delayed until the latest convenient method call).

  3. Nov 2018
    1. That is using a specific tool for a specific use case. You don’t actually have a table view of your data. Once it’s in a table, man, you’re good. That is the modeling. A sequel database table, you have this amazing high-level language for doing all sorts of cool operations with it.To turn this into some class hierarchy, it’s almost criminal. There, I said it. It’s like you’re throwing away the power that you have.

      about a situation when you sometime want an is-a relationship but in most cases just have it as loosely structured (table-like) data format

  4. Sep 2018
  5. Aug 2018
  6. Apr 2018
    1. (== 10)

      This confused me. I'm relatively new to Haskell and did not know about sectioning. After learning that detail, this makes sense as a (right) partial application of the (==) function.

  7. Aug 2017
    1. Since Clojure uses the Java calling conventions, it cannot, and does not, make the same tail call optimization guarantees. Instead, it provides the recur special operator, which does constant-space recursive looping by rebinding and jumping to the nearest enclosing loop or function frame. While not as general as tail-call-optimization, it allows most of the same elegant constructs, and offers the advantage of checking that calls to recur can only happen in a tail position.

      Clojure's answer to the JVM's lack to tail call optimization

  8. Apr 2016
    1. In Switzerland, one of my recent ancestors was functionally illiterate. Because of this, she “signed away” most of her wealth. Down the line, I’m one of her very few heirs. So, in a way, I lost part of my inheritance due to illiteracy.

      Explained further in the screencast. My paternal grandfather’s mother came from a well-to-do Schneider family and was a devout Christian, but she “read” the Bible upside-down, according to my paternal grandmother.

  9. Mar 2016
  10. Jul 2015
    1. Keeping unpure functions clearly named and organized in such a way that they can be easily identified versus pure functions is a common goal of modularizing and organizing Scala applications.
    2. Much like a Unix power user will compose multiple single-purpose tools into a complex piped command, a functional programmer will combine single-purpose function invocations into chains of operations (think Map/Reduce).