I hereby claim:
- I am jli on github.
- I am circularly (https://keybase.io/circularly) on keybase.
- I have a public key ASD-DLn1DKb0al4WYDRJAhej8u8VXf9S-9pRLGrv26a9CQo
To claim this, I am signing this object:
;; user> (partition* [1 2 3 4 5 6 7 8] 3) | |
;; ((1 2 3) (2 3 4) (3 4 5) (4 5 6) (5 6 7) (6 7 8)) | |
(defn partition* [xs n] | |
(let [subs (loop [ys xs acc []] | |
(if (empty? ys) | |
acc | |
(recur (rest ys) (conj acc ys))))] | |
(take-while #(= (count %) n) | |
(map (partial take n) subs)))) |
" .config/nvim/init.vim | |
syntax on | |
""" basics | |
set ignorecase | |
set smartcase | |
set shiftwidth=2 | |
set expandtab |
I hereby claim:
To claim this, I am signing this object:
It's good to have pinned/versioned dependencies for reproducible builds: https://pythonspeed.com/articles/pipenv-docker/
The conda-lock and pip-compile tools are helpful for this. But, they're not ideal when installing dependencies from both conda and pip because the solvers run independently and may generate inconsistent versions.