Re: Congomongo or monger ???

2012-04-05 Thread Simone Mosciatti
Ok, honestly from the readme of github i like better monger, but when i try to run it into the shell swank it doesn't work... It is a new problem ? .>(use 'monger.collection) ;=> Error .>(:use 'monger.collection) ;=> nil ;; I guess ok .> (insert ,,) ;=> Error non var named insert (or something lik

Re: Congomongo or monger ???

2012-04-05 Thread Anthony Grimes
Either one of them is perfectly acceptable. They are both supported libraries. On Wednesday, April 4, 2012 12:51:07 PM UTC-5, Simone Mosciatti wrote: > > I don't like try to compare two different work, but when two programs have > the same task, i never know... > > What would you suggest, congom

blip clojure videos from roku

2012-04-05 Thread Terrance Davis
I love the videos up at blip.tv/clojure. Is there anyway to watch these episodes from my roku? I already explored every option I could think of, unsuccessfully. I'm hoping someone on the list already figured this one out. -- You received this message because you are subscribed to the Google G

Re: [ANN] Clojure Namespace Browser (clj-ns-browser "1.0.0")

2012-04-05 Thread Frank Siebenlist
Correct - thanks for catching that - should have c&p'ed ;-) -FrankS. On Apr 5, 2012, at 4:06 PM, Changa Damany Imara wrote: > I believe there's a typo in your announcement: > > :dev-development [[clj-ns-browser "1.0.0"]] > > should be > > :dev-dependencies [[clj-ns-browser "1.0.0"] > >

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Raphaël AMIARD
Thank you very much Aaron, for all your help ! I contacted David Nolen via twitter, because i couldn't find an email address, i'm gonna contact him via IRC right now. About your questions : > In your Python-to-Lua compiler, you ran into problems with limitations in the semantics of Lua. Why is

Re: ClojureScript One in Eclipse

2012-04-05 Thread Daniel Turczański
>I assume this means the browser repl from cljs-template would not work >from ccw either? (I tried it, and I get a continuous stream of EOF >errors scrolling by.) Yeah, it's just not compatible. Stream of EOFs is what you'll get. >Turcio, did you figure anything else out about your configurat

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Aaron Cohen
This looks _much_ better, Raphael. My next suggestion would be trying to contact dnolen directly, either via email or (preferably) on IRC so that he can have an opportunity to give you feedback. Tomorrow is the deadline, so I'm going ahead and doing an edit at the moment. I'll send a pull request

Re: Help with this error and comment.

2012-04-05 Thread Nelson Morris
It looks like you have the lein-newnew plugin installed. If I'm reading its project history correctly, 0.2.3 might cause this. Try removing it from ~/.lein/plugins or upgrading to 0.2.5. On Apr 5, 2012 9:47 AM, "uMany" wrote: > Hi, > > On Tuesday, April 3, 2012 11:20:10 PM UTC-4:30, Cedric Gree

Re: Compiling Libraries With :aot

2012-04-05 Thread Softaddicts
Just add :omit-source true to your project.clj options. You may have a look at the sample project.clj on github: https://github.com/technomancy/leiningen/blob/master/sample.project.clj All the options are documented there. Luc > Thanks for the replies. My technical instincts were to compile :a

Re: Compiling Libraries With :aot

2012-04-05 Thread octopusgrabbus
Thanks for the replies. My technical instincts were to compile :aot without having enough JVM, Java, or Clojure experience. How do you request lein to remove the source code? On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > Is there any reason to compile a Clojure library

Re: Help with this error and comment.

2012-04-05 Thread uMany
Hi, On Tuesday, April 3, 2012 11:20:10 PM UTC-4:30, Cedric Greevey wrote: > > On Tue, Apr 3, 2012 at 11:39 PM, uMany wrote: > > Hi everybody > > Everything was working great and just today, while trying to make a > simple > > "lein new foobar" I got this error: > > Exception in thread "main" java

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Raphaël AMIARD
Sorry about that, i messed up the link for the application ... ClojureScript to Lua Application -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Raphaël AMIARD
Here is the application : ClojureScript to Lua Application It gives detailled time line and deliverables, and i've been trying to keep it formal, and condensate my personal information into one section. -- You received this message because you are subscribed to the Google Groups "Clojure" grou

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Raphaël AMIARD
Hi to all. I created a better application for the ClojureScript project. I would be glad to have your feedback regarding its form and its content ! I decided to concentrate my efforts on the Lua alternative, because i think it's an easier project, while still being big enough for a GSOC. Also i

Re: Problems with map of empty collections

2012-04-05 Thread Leif
I'd also like to know if there is a way to construct a Map or Set that differentiates lists and vectors. To try to answer your question, Juan, I think it's because of the `clojure.core/=` semantics. From the docstring: "compares numbers and collections in a type-independent manner." So, user>

Re: Congomongo or monger ???

2012-04-05 Thread Alex P
I am definitely biased, but I would still suggest using Monger. Monger has a clear API where things are well separated across namespaces. Docs are still work in progress but there are plenty examples and a big test suite that covers many use cases. We used it in two projects, and it has proven

Re: Clojure code optimizer

2012-04-05 Thread Andru Gheorghiu
Sorry for dropping off the radar, I was caught up in some homework for college. I've written a very simple program for a limited form of constant folding: ; Forces evaluation of an expression or returns the expression if ; it can be evaluated (defn force-eval [exprs] (try (eval exprs) (catch

Re: Google Summer of Code 2012 Application

2012-04-05 Thread Sanel Zukan
Hi, Thank you for showing interest, specially for NativeClojure (you already got extremely good advices about your second application, related to pluggable backend). The one of ideas behind NativeClojure, beside compiling Clojure code, were to explore possibility of reusing Java (or whatever l

Re: What is fn*, fn suffixed with asterisk?

2012-04-05 Thread simon.T
Hi Timothy, Thanks for your informative answer, which give quite clear orientation to dig deeper into the how the fn macro works. Simon On Saturday, March 31, 2012 10:29:35 AM UTC+8, tbc++ wrote: > > fn* is a compiler intrinsic...it's pretty low-level, it doesn't > support destructuring,. So in

Re: Compiling Libraries With :aot

2012-04-05 Thread Softaddicts
For a public lib I agree. For commercial software running in foreign systems, its a must. Can't see any company shipping source code in the wild... I maintain a public lib to do dependency injection (boing), it's callable from Java, I maintain 2 AOT versions (clojure 1.2 and 1.3). It's a bit mor