Fork me on GitHub
#admin-announcements
<
2015-07-31
>
spinningarrow08:07:31

From Guido on Python (https://lwn.net/Articles/651967/): > If you were to design a new language today, he said, you would make it without mutable (changeable) objects, or with limited mutability. Sounds familiar 😄

scriptor17:07:25

can anyone recommend a docker image with all the things you'd need for clojure dev?

scriptor17:07:48

i.e. comes with emacs, git, lein, etc.

markmandel17:07:44

scriptor... hahaha... I'm pretty much working on that now (although no emacs) - but it is personalised

scriptor17:07:19

markmandel: yeah, going that route too, shouldn't be too difficult

markmandel17:07:22

and I'm presenting on it next week

markmandel17:07:32

at the Bay Area CLJ meetup

markmandel17:07:20

https://github.com/markmandel/dotfiles/tree/master/sandboxes < it's all in there. You want the "leinshell" folder (but include.zsh has a lot of the core functions)

markmandel17:07:35

If that all helps

scriptor17:07:41

awesome, thanks

markmandel17:07:50

I've kept my editor (cursive) out of the dockerfile

markmandel17:07:57

Keeping that on the host

scriptor17:07:00

I'm based in nyc, so prooobably can't make it to the meetup

scriptor17:07:05

but the source should do just fine

markmandel18:07:08

If you see anything that can be improved, let me know

shofetim18:07:58

@scriptor: I find a docker image more work then it's worth for development with the artifacts for dependencies being stored in ~/.m2, though you can volume map it if you really want to. I use SaltStack to setup and to update my dev box with editor, lein etc. Then each project gets a minimal Dockerfile, and is auto built by http://registry.hub.docker.com then pulled onto production machines.

markmandel18:07:29

I volume mount .m2

markmandel18:07:41

But I've also done similar things with ansible - provision my local machine

markmandel18:07:17

it's driven by two things (1) I go back and forth on things alot, so I have rvm (for ruby version control) installed on host on a stack of machines that I've not used Ruby on in years,in a "just in case" scenario. The docker approach is nice because I only fire up the image if I need it. (2) I can tailor my shell specifically for the env I'm working in. I'm using clojure, lets add the lein plugin to my zsh, maybe add a few more handy aliases that I otherwise wouldn't load by default etc.

markmandel18:07:24

But yeah - it is a bit more work

markmandel18:07:34

If I was working day to day, all day, every day in one thing, I may not bother

markmandel18:07:56

Oh yeah, its fun too 😉