MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
Hello all, I am using eclipse IDE on windows 7 for developing clojure project with leiningen plugin. I think i have properly installed and configured java, lein and mvn commands. == D:\Chirag\workspace\process_itmvn -version Apache Maven 3.0.3

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
Since clojure 1.3, contrib as been replaced by distinct libraries: http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go You should be using them. No idea where the referenced lib you specify in your project comes from. I did not find it using maven central search or in clojars.

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Stefan Hübner
clojure.contrib.repl-utils migrated to clojure.repl, according to http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go Softaddicts lprefonta...@softaddicts.ca writes: Since clojure 1.3, contrib as been replaced by distinct libraries:

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
You are talking about [org.clojure/clojure-contrib 1.2.0] this. right?? and in replacement of that i have to include newer [org.clojure/ clojure-contrib 1.3-compat]. right?? On May 31, 5:17 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Since clojure 1.3, contrib as been replaced by distinct

Network Visual Layout Algorithm

2012-05-31 Thread Sean Devlin
Hey folks, I'm looking for help demonstrating Clojure's superiority to Scala :) I have a contest going with a colleague, where we each have to render a network layout in SVG. My gut says that Synthetic Annealing is the right tool for the job here. 1. Does anyone have a better thought than

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
Either this new compatible contrib or the individual libs officially supported. I would suggest using the standalone libs when available in lieu of the 13 monolithic compatible lib one. Luc You are talking about [org.clojure/clojure-contrib 1.2.0] this. right?? and in replacement of that i

Re: Network Visual Layout Algorithm

2012-05-31 Thread Ulises
I have a contest going with a colleague, where we each have to render a network layout in SVG.  My gut says that Synthetic Annealing is the right tool for the job here. I haven't heard of synthetic annealing (I have heard of simulated annealing though) but if you're looking to draw a network

Re: Network Visual Layout Algorithm

2012-05-31 Thread Dave Ray
Lacij (https://github.com/pallix/lacij) and Vijual (https://github.com/drcode/vijual) both implement graph layout algorithms in Clojure. Dave On Thu, May 31, 2012 at 6:42 AM, Ulises ulises.cerv...@gmail.com wrote: I have a contest going with a colleague, where we each have to render a network

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
@Softaddicts : I tried [org.clojure/clojure-contrib 1.2.0] and this one [org.clojure.contrib/generic 1.3.0-alpha4] too, but it still gives same error. And i am new to clojure so can you elaborate for individual libs with example syntax?? On May 31, 6:41 pm, Softaddicts

Re: Network Visual Layout Algorithm

2012-05-31 Thread Sean Devlin
This should work great. You guys rock :) On Thursday, May 31, 2012 9:48:28 AM UTC-4, daveray wrote: Lacij (https://github.com/pallix/lacij) and Vijual (https://github.com/drcode/vijual) both implement graph layout algorithms in Clojure. Dave On Thu, May 31, 2012 at 6:42 AM, Ulises

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
repl-util has been moved to clojure.repl. No need to define another dependency in this case. Just require clojure.repl in your code. The API is here: http://clojure.github.com/clojure/clojure.repl-api.html If you need other components from the old contrib, look at the url I mentioned in my

Re: Network Visual Layout Algorithm

2012-05-31 Thread Boris V. Schmid
I did some network visualization a long time ago, and for big networks I found it fast to call toxiclib from clojure for calculating the layout, and use repulsive springs to generate my network, and once its relatively stable, add additional repulsive springs between overlapping nodes, so that

using - on a nested hash-map with string keywords.

2012-05-31 Thread Boris V. Schmid
Can someone tell me what I'm overlooking (clojure 1.4) (- (hash-map :b (hash-map :a 3)) :b :a) 3 user (- (hash-map b (hash-map :a 3)) b :a) ; Evaluation aborted: java.lang.String cannot be cast to clojure.lang.IFn I'm not sure why the first can work, and the second cannot. Is it a logical

Re: using - on a nested hash-map with string keywords.

2012-05-31 Thread Dave Ray
Keywords implement IFn meaning they can act as functions that look themselves up in a map. Strings are just strings. Replace b with (get b) and you'll get the behavior you're looking for. Dave On Thu, May 31, 2012 at 7:55 AM, Boris V. Schmid boris.sch...@gmail.com wrote: Can someone tell me

Re: using - on a nested hash-map with string keywords.

2012-05-31 Thread Jay Fields
(:b {:b 1}) = 1 (b {b 1}) = same error. If you want that to work, you need something that creates ({b 1} b) or (get {b 1} b) for your example, I believe this works (- (hash-map b (hash-map :a 3)) (get b) :a) Cheers, Jay On Thu, May 31, 2012 at 10:55 AM, Boris V. Schmid

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Chirag Ghiyad
Thank you so much for your sincere interest, but i found that [com.draines/postal 1.7.1] was creating mess at downloading. so there is no issue of clojure-contrib. now my project is working properly. On May 31, 7:46 pm, Softaddicts lprefonta...@softaddicts.ca wrote: repl-util has been moved to

Re: MultipleArtifactsNotFoundException artifact missing error

2012-05-31 Thread Softaddicts
This lib had repl-utils in its dependencies a month ago. It has removed. That's why you hit this problem, no idea what specific version is sane. Luc P. Thank you so much for your sincere interest, but i found that [com.draines/postal 1.7.1] was creating mess at downloading. so there is no

Re: using - on a nested hash-map with string keywords.

2012-05-31 Thread Alan Malloy
Yes, but really to GET a value nested IN a series of maps, he should just be using get-in, rather than threading anything at all. On May 31, 7:59 am, Dave Ray dave...@gmail.com wrote: Keywords implement IFn meaning they can act as functions that look themselves up in a map. Strings are just

Re: using - on a nested hash-map with string keywords.

2012-05-31 Thread Dave Ray
Too true. On Thu, May 31, 2012 at 10:22 AM, Alan Malloy a...@malloys.org wrote: Yes, but really to GET a value nested IN a series of maps, he should just be using get-in, rather than threading anything at all. On May 31, 7:59 am, Dave Ray dave...@gmail.com wrote: Keywords implement IFn

ANN factual-clojure-driver 1.3.1, Factual's officially supported Clojure driver

2012-05-31 Thread dirtyvagabond
factual-clojure-driver is Factual's officially supported Clojure driver: https://github.com/Factual/factual-clojure-driver Version 1.3.1 has been upgraded to support the latest API feature set: - Core: Find places around a given geocode, filter by any combination of attributes, and

Re: ANN factual-clojure-driver 1.3.1, Factual's officially supported Clojure driver

2012-05-31 Thread Sun Ning
Awesome geo-data service! Can't wait to try out your APIs. On 06/01/2012 10:33 AM, dirtyvagabond wrote: factual-clojure-driver is Factual's officially supported Clojure driver: https://github.com/Factual/factual-clojure-driver Version 1.3.1 has been upgraded to support the latest API feature

[ANN] Itsy 0.1.0 released, a threaded web spider written in Clojure

2012-05-31 Thread Lee Hinman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm pleased to announce the initial 0.1.0 release of Itsy. Itsy is a threaded web spider written in Clojure. A list of some of the Itsy features: - - Multithreaded, with the ability to add and remove workers as needed - - No global state, run

[ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread Phil Hagelberg
I'm happy to announce the release of Leiningen 2.0.0-preview5. This release fixes a bug where the repl would hang under certain circumstances. It also adds support for encrypting credentials used to deploy to remote repositories. ## 2.0.0-preview5 / 2012-05-31 * Fix a repl bug where namespaced