$ curl -fsSL https://raw.github.com/tcnksm/docker-alias/master/zshrc >> ~/.bashrc && source ~/.bashrc# ------------------------------------| (let [a [1 1 2 3 4] | |
| b [1 2 3 4 1]] | |
| (and | |
| #_(time | |
| (and | |
| (.containsAll a b) | |
| (.containsAll b a))) | |
| (time | |
| (= (frequencies a) |
| function sum (fn, xs) { | |
| var toRet = 0; | |
| for (var i = 0, ii = xs.length; i < ii; i++) { | |
| toRet += fn(xs[i], i, xs); | |
| } | |
| return toRet; | |
| } | |
| function update(t, o) { | |
| for (var k in o) { |
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats. The link below jumps at the answer in this file, the link on the question points back at the original post.
Index:
| Dr. Alan Kay explains when "object-oriented" was first used and what it means. [] (Meaning of "Object-Oriented Programming" According to Dr. Alan Kay (meaning of OOP objectoriented definition term notion meaning explanation what is)), document, page 721691 | |
| http://www.purl.org/stefan_ram/pub/doc_kay_oop_en (permalink) is the canonical URI of this page. | |
| Stefan Ram | |
| Dr. Alan Kay on the Meaning of “Object-Oriented Programming” | |
| (To link to this page, please use the canonical URI "http://www.purl.org/stefan_ram/pub/doc_kay_oop_en" only, because any other URI is valid only temporarily.) | |
| E-Mail of 2003-07-23 | |
| Dr. Alan Kay was so kind as to answer my questions about the term “object-oriented programming”. | |
| Clarification of "object-oriented" [E-Mail] | |
Alan J. Perlis, Yale University
This text has been published in SIGPLAN Notices Vol. 17, No. 9, September 1982, pages 7 - 13. I'm offering it here online until ACM stops me.
The phenomena surrounding computers are diverse and yield a surprisingly rich base for launching metaphors at individual and group activities. Conversely, classical human endeavors provide an inexhaustible source of metaphor for those of us who are in labor within computation. Such relationships between society and device are not new, but the incredible growth of the computer's influence (both real and implied) lends this symbiotic dependency a vitality like a gangly youth growing out of his clothes within an endless puberty.
The epigrams that follow attempt to capture some of the dimensions of this traffic in imagery that sharpens, focuses, clarifies, enlarges and beclouds our view of this most remarkable of all mans' artifacts, the computer.
| from https://stepik.org/lesson/21772/step/6?course=Нейронные-сети | |
| Источники | |
| При создании курса я, конечно, использовал множество различных источников и опирался на опыт некоторых других онлайн-курсов. Ниже приведены те из них, которые просто нельзя не упомянуть перед началом нашего курса. Данный список будет постепенно пополняться. | |
| https://www.coursera.org/learn/machine-learning/ — живая легенда, курс Andrew Ng по машинному обучению. С него началось когда-то моё увлечение этой темой. Крайне рекомендую к просмотру и, пользуясь случаем, хочу выразить публично глубокую благодарность его автору. | |
| http://neuralnetworksanddeeplearning.com/ — замечательная онлайн-книга по нейросетям. Я, кстати, потихоньку её перевожу (первые главы должны появиться в открытом доступе в начале лета). |
#RxJS 5 Operators By Example
UPDATE: I have moved the contents of this gist plus more to https://github.com/btroncone/learn-rxjs and http://www.learnrxjs.io. For expanded examples, explanations, and resources, please check out this new location!
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
| select t.Name, s.Name, t.Max_Length, t.Precision, t.Scale, t.Is_Nullable | |
| from sys.types t | |
| inner join sys.types s | |
| on s.User_Type_ID = t.System_Type_ID | |
| where t.is_user_defined = 1 |