Re: Clojure web framework

2012-10-03 Thread kovas boguta
Lets not forget http://clojurescriptone.com/ Its a pretty amazing artifact, a complete app with perfect documentation. Its also essentially a template. If someone is totally lost on how to get started with clojure web programming, just go to that. In the more general case, I strongly agree that

Re: Meaning of =

2012-10-03 Thread Mark Engelberg
It is surprising at first, but since vectors are used so commonly in Clojure instead of lists to represent literal sequential collections of data, it turns out to be extremely convenient to be able to compare it for equality against sequential collections generated as lists or lazy sequences.

Re: [ldnclj] Re: ANN: Cascalog = Hadoop + Sanity on 2 October in London

2012-10-03 Thread Bruce Durling
The podcast is up already: http://skillsmatter.com/podcast/home/cascalog-hadoop-sanity Thanks again to Stefan for a great talk. I hope you had a good time with the London Clojurians. cheers, Bruce On Wed, Oct 3, 2012 at 12:40 PM, Ian Rumford rumford@gmail.com wrote: Just a note to thank

Re: Regarding Starting Clojure

2012-10-03 Thread aboy021
The general feeling seems to be that there is good content out there, but it would be nice if it were on Clojure.org, especially from the perspective of new users and promoting the language. The copyright on the site is to Rich Hickey, and the logo and site design are credited to Tom Hickey.

Re: Regarding Starting Clojure

2012-10-03 Thread Grant Rettke
You guys are over-thinking it. Set up a new site, get users, tweak it, perfect it, it will become the defacto site, and you will make it really easy for Rich et al to make the switch :). It may take loads of hard and unappreciated labor though :(. That is why it has to be a labor of love. On Wed,

Re: Meaning of =

2012-10-03 Thread Grant Rettke
The Joy of Clojure book touches on this, it is an important design and style decision. Great book, good question too. I'm learning about all this stuff right now and it is all good stuff. On Wed, Oct 3, 2012 at 3:44 AM, Mark Engelberg mark.engelb...@gmail.com wrote: It is surprising at first,

Trouble with dotrace

2012-10-03 Thread justinhj
I'm trying to use dotrace from clojure.tools and having some trouble. Here's my leiningen project file (defproject test1 1.0.0-SNAPSHOT :description test1 :dependencies [[org.clojure/clojure 1.4.0] ]] :dev-dependencies [ [swank-clojure 1.3.3]

Re: Clojure web framework

2012-10-03 Thread Pierre-Henry Perret
It seems you have missed one important framework: ClojureScript One So I have choosed to make the *TodoMVC* template (see [0]) application with *ClojureScript One* and *Enfocus*. ( see [1] for running app ) What I could say now, is that CjOne is a little hard to embrace, but when it's done ,

Re: Trouble with dotrace

2012-10-03 Thread Softaddicts
Hi, dotrace is used to trace fns by rebinding their vars and providing a list of expressions to be traces in a restricted scope. Like this: (dotrace [my-add] (my-add 4 6) (my-add 7 3)) I played with it but now it's pretty useless because how vars are handled in 1.4. Not even sure if it works

best practices for small RAM usage

2012-10-03 Thread cej38
I have watched, listened-to, or read most of the stuff out there that is on how to tune your code to be faster (ie. type-hints). All of these pointers are great. It is useful to know. What I haven't seen is something similar about best practices for how to make your code use as little memory

Re: best practices for small RAM usage

2012-10-03 Thread Craig Brozefsky
cej38 junkerme...@gmail.com writes: I have watched, listened-to, or read most of the stuff out there that is on how to tune your code to be faster (ie. type-hints). All of these pointers are great. It is useful to know. What I haven't seen is something similar about best

Re: best practices for small RAM usage

2012-10-03 Thread Softaddicts
Hi, We are running our medical hub product on a cluster of 7 nodes, mainly Atom 330 cpus with 2gig of RAM, 32 bits JVM. We manipulate heavy data structures, marshaling them back and forth between end points. Never hit resource related problems. You do not have much control on the JVM, you can

Re: Regarding Starting Clojure

2012-10-03 Thread Shantanu Kumar
On Oct 3, 8:42 pm, Grant Rettke gret...@acm.org wrote: Set up a new site, get users, tweak it, perfect it, it will become the defacto site, and you will make it really easy for Rich et al to make the switch :). It may take loads of hard and unappreciated labor though :(. That is why it has

Re: Meaning of =

2012-10-03 Thread Warren Lynn
On Wednesday, October 3, 2012 4:44:44 AM UTC-4, puzzler wrote: It is surprising at first, but since vectors are used so commonly in Clojure instead of lists to represent literal sequential collections of data, it turns out to be extremely convenient to be able to compare it for equality

Re: Clojure web framework

2012-10-03 Thread arekanderu
Hello, I had a similar question as the OP so I thought i should post it in this thread instead of starting a new one. I am trying to build a web services api which will only respond in json format. I had a look at everything suggested in this topic and I am leaning towards noir. Do you think

interleave

2012-10-03 Thread Marc Dzaebel
clojure.core*/interleave *could be implemented as: (defn *interleave *[ s] (apply mapcat list s)) rather than: (defn *interleave* ([c1 c2] (lazy-seq (let [s1 (seq c1) s2 (seq c2)] (when (and s1 s2) (cons (first s1) (cons (first s2)

Re: interleave

2012-10-03 Thread Andy Fingerhut
I don't know the reason for the current implementation rather than your suggested one, but at least on the comment about 0 or 1 arguments has a ticket for it: http://dev.clojure.org/jira/browse/CLJ-863 Andy On Oct 3, 2012, at 11:03 AM, Marc Dzaebel wrote: clojure.core/interleave could be

Re: interleave

2012-10-03 Thread Marc Dzaebel
Thanks for the link! I proposed the change there. Am Mittwoch, 3. Oktober 2012 20:06:42 UTC+2 schrieb Andy Fingerhut: I don't know the reason for the current implementation rather than your suggested one, but at least on the comment about 0 or 1 arguments has a ticket for it:

Re: Clojure web framework

2012-10-03 Thread gaz jones
You do not need noir to create a simple json api, just use compojure. I find the Cheshire json library to also be useful: https://github.com/dakrone/cheshire. Authentication and authorization libs were pretty much up to you until https://github.com/cemerick/friend was released fairly recently, so

Re: Clojure web framework

2012-10-03 Thread arekanderu
Thanks a lot Gaz :) I am pretty new to clojure but I like it a lot so far. Good to know that there are a lot of things going fast in the clojure community! On Wednesday, October 3, 2012 9:39:21 PM UTC+3, Gaz wrote: You do not need noir to create a simple json api, just use compojure. I find

Re: Meaning of =

2012-10-03 Thread Timothy Baldridge
It is surprising at first, but since vectors are used so commonly in Clojure instead of lists to represent literal sequential collections of data, it turns out to be extremely convenient to be able to compare it for equality against sequential collections generated as lists or lazy

Re: best practices for small RAM usage

2012-10-03 Thread Thomas
try and use a 32bit JVM. I found that a 64bit JVM uses almost twice as much memory. YMMV Thomas -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: Clojure / RootBeer / CUDA / GPU

2012-10-03 Thread Jules
Hey Karsten, You obviously have a lot more energy and patience to throw at this problem than me :-) - I am lazy and looking for a quick fix... I thought I would post my findings here and resuscitate this thread in case anyone had anything to add... Here's what I have found - There are a

Re: Regarding Starting Clojure

2012-10-03 Thread Brent Millare
What's the best way to allow collaborative contribution on content that must be agreed upon? Here's one approach: Make a github of the code and content that runs the site. People fork and make pull requests. -- You received this message because you are subscribed to the Google Groups Clojure

Re: Trouble with dotrace

2012-10-03 Thread justinhj
Thanks for the info Luc I'm fine with trace, that works for me. Justin On Tuesday, October 2, 2012 10:25:13 PM UTC-7, justinhj wrote: I'm trying to use dotrace from clojure.tools and having some trouble. Here's my leiningen project file (defproject test1 1.0.0-SNAPSHOT :description