Re: cljsbuild and checkouts?

2012-04-06 Thread Dave Sann
I'll take a look On Thursday, 5 April 2012 16:34:34 UTC+10, Evan Mezeske wrote: > > I haven't used checkout dependencies with lein-cljsbuild myself, but my > understanding is that lein will put the "checkouts" directory earlier in > the classpath than other dependencies, so things in there will

Re: GSOC : Constraint based UI layout

2012-04-06 Thread Patrick Logan
Cassowary seems like a good summer-sized project. My only concern is that browsers are already gaining fairly expressive constraint-based layout. A project that would extend beyond a summer, but move clojure to the forefront of UI development (and by "forefront" I mean "up to early 1990s state o

Re: Clojure code optimizer

2012-04-06 Thread Sanel Zukan
Very good solution :) To continue this discussion, feel free to mail me; we will also reduce some noise here on the list. Sanel On Friday, April 6, 2012 6:47:37 PM UTC+2, Andru Gheorghiu wrote: > > It's ok now. The problem was in the let of the optimize function... > initially I had: > (let

Re: Google Summer of Code 2012 Application

2012-04-06 Thread Sanel Zukan
No problem :) I'm glad you found something you feel comfortable to complete in given timeframe. And good luck with the project. Sanel On Friday, April 6, 2012 6:21:09 PM UTC+2, Notfonk wrote: > > Sanel, i'm sorry but due to lack of time i prioritized finishing the > ClojureScript application. H

Re: [ANN] Korma SQL ported to ClojureCLR

2012-04-06 Thread Aaron
I think it's a goal to get Clojure.dll on nuget soon, but it hasn't happened yet. Hopefully soon. Still, we'll need a good build system for ClojureCLR that does everything that lein does. But, I don't think that should be that complicated if nuget is used as a basis. On Wednesday, April 4, 2

Slides with some basics on Clojure documentation

2012-04-06 Thread Andy Fingerhut
Slides aren't usually as fun without the talk that comes with them, but I don't think it was recorded. Nothing too fancy here -- just some slides I used at a discussion we had on Clojure documentation at last night's Bay Area Clojure User Group monthly meetup: http://www.meetup.com/The-Bay-Are

[ANN] WabbitMQ v0.2.0 release

2012-04-06 Thread Allen Johnson
WabbitMQ v0.2.0 has been pushed to clojars. [com.mefesto/wabbitmq "0.2.0"] This release contains the following updates: * Updated RabbitMQ Java Client (v2.8.1) * Updated Cheshire JSON library (v3.1.0) * `consuming-seq` no longer depends on the deprecated QueueingConsumer class Tested again

Re: Help with this error and comment.

2012-04-06 Thread Nelson Morris
1) The error says default.clj is trying to find a "render" that doesn't exist. This file isn't in leiningen's 1.x branch[1]. So what is trying to load it? 2) The next lein call in the stacktrace is "at leiningen.new$resolve_template$fn__117.invoke(new.clj:9)". But this doesn't exist in lein's ne

Re: Compiling Libraries With :aot

2012-04-06 Thread Softaddicts
Yep, that's the default in both cases (AOT option or not). The compilation is done on the fly as the name spaces get load either through use or require. Not different than when you are running your code directly from the REPL. You can have many things loaded from a jar file, byte code, resource fi

Nested refs & conflicting transactions

2012-04-06 Thread Bryce
I have a system that consists of a map, of the rough form {1 [1 2 3] 2 [2 3 4]}. An update to the system chooses a couple random keys, looks them up in the map, does some math with them, and writes two new values. If one or both of the keys don't exist, they need to be created and their values in

Re: ClojureScript and macros - Please explain

2012-04-06 Thread aki
A call to the snippets macro will be expanded to a map literal. The calls to the snippet function inside the snippets macro will be executed at macro expansion time. This use of macros is a very clever hack to get some strings containing HTML into the compiled JS, but it's probably not a great

Re: Compiling Libraries With :aot

2012-04-06 Thread Brandon Harvey
On Wednesday, April 4, 2012 12:48:33 PM UTC-7, Luc wrote: > > I would add that you can look at the resulting jar file and you will see > both the source code and the .class files in it. > > By default the source is present but you can ask leiningen to remove it > from the target. If you need to kee

Re: Congomongo or monger ???

2012-04-06 Thread Michael Klishin
Simone Mosciatti: > (Do you need more info ???) Simone, Please post full exception instead of just "Error". If you can put together a small sample project on github, even better. By the way, Monger has its own mailing list, feel free to post it there: https://groups.google.com/forum/#!forum/cl

Re: [ANN]: Trammel (contracts programming) v0.7.0

2012-04-06 Thread Ambrose Bonnaire-Sergeant
Wow! This is awesome, nice work fogus! Ambrose On Sat, Apr 7, 2012 at 1:55 AM, Fogus wrote: > What it is > -- > > Trammel is a [Clojure](http://clojure.org) providing contracts > programming (sometimes called "[Design by Contract]( > http://en.wikipedia.org/wiki/Design_by_Contract)" or

[ANN]: Trammel (contracts programming) v0.7.0

2012-04-06 Thread Fogus
What it is -- Trammel is a [Clojure](http://clojure.org) providing contracts programming (sometimes called "[Design by Contract](http://en.wikipedia.org/wiki/Design_by_Contract)" or DbC) capabilities. Features of Trammel currently include: * Contracts on functions * Composable contrac

Re: ClojureScript and macros - Please explain

2012-04-06 Thread aki
Hm I tried to respond to this just now but I think I accidentally deleted my post, or at least I hope so and I wasn't breaking some etiquette and being modded. The snippets macro expands into a map literal, and the snippet function will be executed at macro expansion time. You can see this by c

GSOC : Constraint based UI layout

2012-04-06 Thread SHIVAM HANDA
Hi everyone, I am Shivam Handa, a sophomore at IIT (Indian Institute of technology), Delhi majoring Computer Science and Engineering. I am intending to work on Constraint based UI layout as a GSOC project during the summer. I had a long chat with the mentor of the project Kevin Lynagh and with his

Re: Clojure code optimizer

2012-04-06 Thread Andru Gheorghiu
It's ok now. The problem was in the let of the optimize function... initially I had: (let [reduced (reverse (into nil (eval-deep exprs)))] because exprs was a lazy sequence and I wanted to turn it into a list. I replaced the "(reverse (into nil ..." part with "(apply list ..." and it works just f

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

2012-04-06 Thread Frank Siebenlist
Interesting - you did the opposite of what I asked and still we found the issue ;-) … which also confirms that there is something wrong with that Inconsolata font definition as it also garbles my readable text in Aquamacs to gibberish much worse than you showed - was blaming Aquamacs, but now t

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

2012-04-06 Thread Lars Nilsson
Well, as it turns out, I installed Inconsolata just yesterday, along with a couple of others, exploring alternatives to Courier New. Uninstalling Inconsolata results in sdoc displaying the text correctly. Thanks for a very nifty tool. :) Lars Nilsson On Fri, Apr 6, 2012 at 12:29 PM, Frank Sieben

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

2012-04-06 Thread Frank Siebenlist
Interesting "feature" on windoze… ;-) One thing that may cause that is the Inconsolata font that I used as a fixed-width font to display most text. (not sure what happens if it's not installed… should just substitute an other font…) Could you please try to install that font on your windows mach

Re: Google Summer of Code 2012 Application

2012-04-06 Thread Raphaël AMIARD
Sanel, i'm sorry but due to lack of time i prioritized finishing the ClojureScript application. However, in the next few monthes, i'll keep working with VMKit and J3 for my Z3 project, so i will try and AOT compile Clojure (My professor tells me that potentially any Java program should be AOT c

Re: Google Summer of Code 2012 Application

2012-04-06 Thread Raphaël AMIARD
Thanks David, submitted the proposal :) On Friday, April 6, 2012 5:05:44 PM UTC+2, David Nolen wrote: > > Sorry for the delayed response - looks nice! > > David > > On Thu, Apr 5, 2012 at 9:08 AM, Raphaël AMIARD wrote: > >> Sorry about that, i messed up the link for the application ... >> >> Cloj

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

2012-04-06 Thread Lars Nilsson
On Thu, Apr 5, 2012 at 1:56 AM, Frank Siebenlist wrote: > Caveat… it all works well on my MacOSX, but I have seen some issues with > Lubuntu and missing "unloaded namespaces" - also I haven't tested it on > windoze or other OS-flavors. So you mileage may vary… Got it working fine on Linux. Look

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

2012-04-06 Thread Laurent PETIT
2012/4/6 Jeff Rose > Cool, this will be helpful when exploring a new library. It would be > nice if the namespace column could optionally use a tree though, > rather than expanding everything to a single list. > Yes, having a tree is what the Counterclockwise namespace browser does. I never tho

Re: Help with this error and comment.

2012-04-06 Thread uMany
Thank your Nelson that worked. I remover the lein-newnew pluging and reintalled and now all works again. Can I ask you what lead you to that? Thanks On Thursday, April 5, 2012 11:26:53 AM UTC-4:30, Nelson Morris wrote: > > It looks like you have the lein-newnew plugin installed. If I'm reading >

Re: Google Summer of Code 2012 Application

2012-04-06 Thread David Nolen
Sorry for the delayed response - looks nice! David On Thu, Apr 5, 2012 at 9:08 AM, Raphaël AMIARD wrote: > Sorry about that, i messed up the link for the application ... > > ClojureScript to Lua > Application > > -- > You received this messag

IMPORTANT: GSoC 2012 Student Proposal Submission ends in 4 hours!

2012-04-06 Thread David Nolen
If you haven't submitted do so now! http://www.google-melange.com/gsoc/homepage/google/gsoc2012 David -- 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 Namespace Browser (clj-ns-browser "1.0.0")

2012-04-06 Thread Jeff Rose
Cool, this will be helpful when exploring a new library. It would be nice if the namespace column could optionally use a tree though, rather than expanding everything to a single list. Thanks, Jeff On Apr 5, 6:56 am, Frank Siebenlist wrote: > I still remember the first time I was introduced to

ClojureScript repl error

2012-04-06 Thread Pierre-Henry Perret
I constantly get the following error when trying evaluating a clojures script exp (from remoting sample, a request) __ # SyntaxError: Unexpected token . at http://localhost:8080/javascripts/out/clojure/browser/repl.js:21:158 at evaluate_javascript (http://localhos

Re: Congomongo or monger ???

2012-04-06 Thread Simone Mosciatti
Ok, my bad i was using clojure 1.2... im sorry Il giorno venerdì 6 aprile 2012 03:11:07 UTC-5, jaju ha scritto: > > On Fri, Apr 6, 2012 at 5:10 AM, Simone Mosciatti wrote: > >> 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

Re: Congomongo or monger ???

2012-04-06 Thread Ravindra Jaju
On Fri, Apr 6, 2012 at 5:10 AM, Simone Mosciatti wrote: > 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 > *This* is what you will need to investiga

ClojureScript and macros - Please explain

2012-04-06 Thread Duraid
In this doc ( https://github.com/brentonashworth/one/wiki/Design-and-templating) under 'Including templates in the application' it says: * In ClojureScript, macros are Clojure macros and run only at compile time. This means we can use any Clojure library from a macro. * * * The way I understand

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

2012-04-06 Thread Changa Damany Imara
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"] Great stuff especially for someone with no Swing experience! On Wednesday, April 4, 2012 10:56:51 PM UTC-7, FrankS wrote: > > I still remember

Re: blip clojure videos from roku

2012-04-06 Thread Aaron Cohen
Is your roku able to play video from the rss feed at http://blip.tv/clojure/rss ? On Thu, Apr 5, 2012 at 7:16 PM, Terrance Davis wrote: > 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, unsucces

Re: GSoC: Browser-based Clojure(Script) editor

2012-04-06 Thread Martin Forsgren
I've been thinking, and decided that I will not apply to GSoC this year, because I will not have enough time to devote to it this summer. I really like both the html-REPL idea and the live-editor idea, and I think they would be great tools for the clojure-community to have, so I will definitely

Re: Need help to find a bug in a genetic algorithm

2012-04-06 Thread Marcus Lindner
I am a littlebit puzzeled about the chosen structure. First we have the functions for the algorithm and the agents which performs the function. There are the creator agents in the domicilems, which adds new tested individuals into the populatin. Then the grimreaper which removes individuals from th

Re: Congomongo or monger ???

2012-04-06 Thread Marcus Lindner
On the monger page there is an example. There is also a clj-file with the example. I used the example to test monger first. Might be a good idea to use this example first. Am Freitag, 6. April 2012 schrieb Simone Mosciatti : > Ok, honestly from the readme of github i like better monger, > but wh

Re: Clojure code optimizer

2012-04-06 Thread Sanel Zukan
This looks really nice; good work! To force evaluation of lazy constructs, you can use 'doall' and 'dorun'. Can you show the snippet with this problem? Sanel On Thursday, April 5, 2012 1:19:32 AM UTC+2, Andru Gheorghiu wrote: > > Sorry for dropping off the radar, I was caught up in some homewor