ommits/640a4f719166558d0bb1a853f10c7d19bb3fa701"> Revīzijas 611 Laidieni 1 Vikivietne

Nav apraksta

Lucas Stadler 42b92e1e6c A few thoughts on The Joy of Clojure. 13 gadi atpakaļ
..
README.md 42b92e1e6c A few thoughts on The Joy of Clojure. 13 gadi atpakaļ
sql.clj 1a60afa0e2 Initial commit. Let's start playing (in public). 13 gadi atpakaļ

README.md

Notes for The Joy of Clojure

Notes and Code regarding 'The Joy of Clojure'. The code is either directly copied or directly inspired by the book. I'll add a note in each file when the former is the case.

Regarding the copied code, I think that it's ok to use it, but I don't know for sure. However, it is availlable online, so I am probably ok doing this. However, if you are Michael Fogus or Chris Houser and don't like me copying the code here, please tell me and I'll take it away.

Thoughts

Having just "finished" reading The Joy of Clojure for the first time, here are a few thoughts about it (and me reading it).

  • was to lazy reading it (didn't experiment much w/ types, protocols and the reference types (i.e. nothing in addition to shame.clj))
  • the final chapter (especially the dsl example) was the most interesting to me (combination of interesting topic + interesting/intriguing example)
  • overall, either there were not enough "real" examples or (quite likely) I should have played with it more (especially for the topics mentioned above re. lazyness)
  • I think it was a good book, but it didn't meet my expectations of it being a constantly enlightening and delighting book (then again, playing with clojure often is and I should have done that while reading the book, I might have to reread the chapters with new stuff in it)
lp - git.papill0n.org

Ei kuvausta

datomic-transactor.properties 1.4KB

    ################################################################ protocol=free host=localhost port=4334 ################################################################ # See http://docs.datomic.com/capacity.html # Recommended settings for -Xmx4g, ongoing usage. # memory-index-threshold=32m # memory-index-max=128m # object-cache-max=1g # Recommended settings for -Xmx4g import jobs. # memory-index-threshold=512m # memory-index-max=1g # object-cache-max=1g # Recommended settings for -Xmx1g usage, e.g. dev laptops. memory-index-threshold=32m memory-index-max=128m object-cache-max=128m ## OPTIONAL #################################################### # Set to false to disable SSL between the peers and the transactor. # Default: true # encrypt-channel=true # Data directory is used for dev: and free: storage, and # as a temporary directory for all storages. data-dir=/home/lu/k/lp/clj/datomic/data # Transactor will log here, see bin/logback.xml to configure logging. # log-dir=log # Transactor will write process pid here on startup # pid-file=transactor.pid ## OPTIONAL #################################################### # See http://docs.datomic.com/capacity.html # Soft limit on the number of concurrent writes to storage. # Default: 4, Miniumum: 2 # write-concurrency=4 # Soft limit on the number of concurrent reads to storage. # Default: 2 times write-concurrency, Miniumum: 2 # read-concurrency=8