orp
Joined 17 years ago
Joined 17 years ago
https://www.amazon.com/Shadows-Rediscovered-Classics-Roger-Z...
Quick comment on item 2.3: SHOULD NOT update a var using loops or conditions.
you conclude that this expression is the best option: val sum = elements.map(_.value).sum
This expression is not equivalent to the previous options in performance and memory, as the map expression will create a entire new sequence.
For large sequences, a better option is to write: val sum = elements.view.map(_.value).sum
http://en.wikipedia.org/wiki/Taxicabs_of_the_United_Kingdom#...
"Apparently though, Brandt never intended the nomination to be taken seriously. Brandt was to all intents and purposes a dedicated antifascist, and had intended this nomination more as a satiric criticism of the current political debate in Sweden."
No need for complex explanations when a simple one is given.
http://yudkowsky.net/rational/bayes
Useful if you want to know (or need a good way to explain) what a posterior probability is and how it's different from a prior probability
We're happy to have a conversation - feel free to reach out to me via my profile email or you can find our contact details at https://www.tasq.ai/