New to Clojure - productivity and debugging with Emacs

2017-01-12 Thread Chad Stovern
Not much to add here, but if you're digging into Emacs and the modes you've listed, I've started to document my emacs config here: https://github.com/chadhs/dotfiles/blob/master/editors/emacs-config.org If you're curious about common feature uses; head to the keybindings section and look at

Re: New to Clojure - productivity and debugging with Emacs

2017-01-12 Thread Bill Piel
The key to using sayid to capture curl requests is having emacs/cider connected to the same jvm instance that is running the web server. I did this by starting a repl with `lein repl`, then calling the -main function, which started the web server. From there, I used sayid to trace namespaces

Re: New to Clojure - productivity and debugging with Emacs

2017-01-11 Thread Colin Yates
The big barrier for me with emacs was discovering and then remembering all of the various finger-bending chords to do things. Spacemacs uses hydra so all the key mappings are grouped in a very logical way. Have a read of http://spacemacs.org, particularly the horizontal image slide show. But

Re: New to Clojure - productivity and debugging with Emacs

2017-01-11 Thread ahawk
Thanks a lot for your reply. I saw the video of your presentation and it seems like your tool is exactly what I am looking for. I've actually installed the package in Emacs and configured the Emacs/CIDER integration, but I haven't gotten to try it thoroughly just yet. In your video, you

Re: New to Clojure - productivity and debugging with Emacs

2017-01-11 Thread Gregg Reynolds
On Jan 8, 2017 1:52 AM, "ahawk" wrote: .. I find it difficult to know exactly what to expect from these libraries and many other, unless, of course, I read and understand their source. That is a challenge in its own right for a less advanced programmer such as myself. The

Re: New to Clojure - productivity and debugging with Emacs

2017-01-11 Thread ahawk
I guess you're right.. however, I'm generally inclined to try to do it the right way (or, what I perceive as the right way) the first time. Now I know liberator exists, I feel an urge to use it :-) With regards to logging, I actually considered that option, but it just didn't seem very

Re: New to Clojure - productivity and debugging with Emacs

2017-01-11 Thread ahawk
Thanks a lot for the very elaborate reply. I should probably buy SICP. With regards to discovery, I will have a closer look at clojure.spec. It looks interesting. I've previously (perhaps wrongfully) discarded Prismatic Schema, thinking something like "don't you really just want static

Re: New to Clojure - productivity and debugging with Emacs

2017-01-09 Thread J.-F. Rompre
Hi ahawk, If you have the time, by all means reach for all the references and books mentioned in this thread, and there is a wealth of free resources out there. However doing both that and learning a powerful tool such as Emacs/CIDER at the same time can be frustrating. If time is of the

Re: New to Clojure - productivity and debugging with Emacs

2017-01-09 Thread Bill Piel
ahawk, I've been using clojure for years, but can still relate to the issues you are facing, which is why I wrote a debugging/development tool to help. It's called sayid. It can be used directly from the repl, but has an emacs/cider integration that makes it much more powerful.

Re: New to Clojure - productivity and debugging with Emacs

2017-01-08 Thread Matching Socks
That is an ambitious project. Divide and conquer. One super duper benefit of Clojure is that if you make a web app with, say, just Ring and Compojure, you can later transplant that work into a more elaborate app scaffolding, because it's all just plain maps. "quite a lot of map manipulation

Re: New to Clojure - productivity and debugging with Emacs

2017-01-08 Thread Colin Yates
Hi ahawk and welcome to Clojure! Your question seems to cover multiple domains: - navigating/discovery in non-statically typed languages, specifically Clojure - developing in Clojure - developer tools (e.g. IDE for Clojure) (I can feel a stream of consciousness/ramble coming so so this might

New to Clojure - productivity and debugging with Emacs

2017-01-07 Thread ahawk
Hi everyone I am a rather unexperienced Clojure user, so please bear with me. I am developing a web app using popular libraries such as ring, compojure, liberator and friend to handle routing, content negotiation and authentication. There is quite a lot of map manipulation going on with the