Re: [parallel][incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-24 Thread Lee Spector
On Jul 22, 2011, at 11:20 AM, bernardH wrote: > > But there is a small catch : most of the time is spent in the Random > Number Generator [3] so it would be sub-optimal to just have worker > threads processing the output of a single threaded rng. I am not very confident in my solution to a simil

Re: User.clj and set!

2011-07-24 Thread Andreas Liljeqvist
This should really be in some earthshaking announcement somewhere... https://github.com/technomancy/leiningen/commit/2ff64b77367601a216afa9e6964d1d330e3dbdb1 Load ~/.lein/user.clj inside project if present. Fixes #215 . Now I can finally do (s

Re: Needing type hinting help for number crunching

2011-07-24 Thread Chas Emerick
A couple of thoughts: You should be using 1.3.0-beta1 of Clojure 1.3 -- anything with -master-SNAPSHOT is woefully out of date at this point. No, reduce always returns an Object, and will always box the result of the function you're using in the reduce. Clojure's type inference does not work

{ANN} clojure-control---DSL for system admin and deployment with many remote machines

2011-07-24 Thread dennis
1.What is clojure-control? The idea came from node-control(https://github.com/tsmith/node- control). Define clusters and tasks for system administration or code deployment, then execute them on one or many remote machines. Clojure-control depends only on OpenSSH and clojure on the local control ma

Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
Alright, to be honest, I'm disappointed. First of all, congrats and good job to all involved in putting it out. On the plus side, it's a good way to use the Google Closure javascript platform. On the minus, imho, that's what's wrong with it. Google Closure is too Java. It's not idiomatic JavaSc

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Stuart Halloway
Hi James, The Clojure/dev folks who built ClojureScript disagree with all of the key points of your analysis: > Google Closure is too Java. It's not idiomatic JavaScript. If you target idiomatic JavaScript you will find yourself living in the world of JavaScript semantics. It is evident that m

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Aaron Bedra
First: * I respect your opinions. I am glad that you have taken the time to start exploring ClojureScript Second: * Dude, stop trolling. This is the second time you have started a thread with a baiting subject line and no clear end goal. Your opinions are yours, and I have no problems with

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Mark Rathwell
Wasn't it just a couple weeks ago that you were arguing that everything should be more like Java? Now you're arguing that Google Closure is bad because it has some similarities to Java development (mainly verbosity and documentation). I'm honestly not sure if you are just trying to be controversi

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Baishampayan Ghose
Sorry for the digression, but what about YUI 3? Regards, BG --- Sent from phone. Please excuse brevity. On Jul 24, 2011 9:32 PM, "Mark Rathwell" wrote: > Wasn't it just a couple weeks ago that you were arguing that everything > should be more like Java? Now you're arguing that Google Closure is

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Mark Rathwell
Yes, true, I always forget about YUI, and it never gets its fair recognition. - Mark On Sun, Jul 24, 2011 at 12:08 PM, Baishampayan Ghose wrote: > Sorry for the digression, but what about YUI 3? > > Regards, > BG > > --- > Sent from phone. Please excuse brevity. > On Jul 24, 2011 9:32 PM, "Mark

Re: Anyone on Google+ yet?

2011-07-24 Thread MHOOO
I've never been fond of facebook, mainly because there is this tendency to have a lot of people in your friends list whom you barely know. G+ seems to do better with circles being private. Anyone mind giving me an invite? Its thomas.karol...@googlemail.com -- You received this message because you

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread David Nolen
As a professional JavaScripter for the past 6 years who has built his own frameworks and written considerable amounts of Prototype, MooTools, and jQuery. I don't think jQuery is special or particularly interesting and most of the libraries around it are terrible IMO. It certainly doesn't help in b

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Frank Gerhardt
On Sun, Jul 24, 2011 at 7:03 PM, David Nolen wrote: > > I think the Clojure community can do much, much better. In fact a > clientside framework could be the first Clojure killer app ... > Yes, absolutely. Integration with other libraries is essential, and possible as I understand it. For client

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
On Jul 24, 5:02 pm, Mark Rathwell wrote: > Wasn't it just a couple weeks ago that you were arguing that everything > should be more like Java?  Now you're arguing that Google Closure is bad > because it has some similarities to Java development (mainly verbosity and > documentation).  I'm honest

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Wilson MacGyver
Given that google closure library has a fairly decent size UI elements, and the pitch about how clojurescript makes google closure usable for mortals. I think that's probably where it will start. On Jul 24, 2011, at 1:15 PM, Frank Gerhardt wrote: ... > expect that story to be completely done.

Re: ClojureScript

2011-07-24 Thread Peter Taoussanis
Just want to throw in on this real quick. I am -dumbfounded- by how cool ClojureScript is. It was about 2AM my time when I first heard the announcement and I stayed up another 3 hours after that watching Rich's talk and playing with the samples. As I see it right now, this is a Big Deal. For lots

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
On Jul 24, 6:03 pm, David Nolen wrote: > As a professional JavaScripter for the past 6 years who has built his own > frameworks and written considerable amounts of Prototype, MooTools, and > jQuery. > > I don't think jQuery is special or particularly interesting and most of the > libraries aroun

Forcing evaluation of returned anonymous javascript function in ClojureScript

2011-07-24 Thread Alen Ribic
Firstly, thank you Clojure/core team and other contributors for this exciting project. I have a small problem I've encountered while building a simple personal blog, as an exercise, with Clojure/ClojureScript and would appreciate any feedback. I have a client-side function that sends a request to

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread David Nolen
On Sun, Jul 24, 2011 at 1:46 PM, James Keats wrote: > The Javascript notaries have advocated using a small functional subset > of javascript, rather than the full gamut of javscript's quirks, and I > was saddened while watching the Rich Hickey talk when he said that > clojurescript would abstract

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
On Jul 24, 7:05 pm, David Nolen wrote: > On Sun, Jul 24, 2011 at 1:46 PM, James Keats wrote: > > > The Javascript notaries have advocated using a small functional subset > > of javascript, rather than the full gamut of javscript's quirks, and I > > was saddened while watching the Rich Hickey tal

clojurescript patches

2011-07-24 Thread kjeldahl
I've got a small patch that I would like to contribute (simple stuff, figures out the correct classpath for repljs and cljsc), but I can't find any "issues" link on github. Am I required to fork clojurescript and request a pull to contribute patches, or does clojurescript use another issue tracker

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Michael Gardner
On Jul 24, 2011, at 1:11 PM, James Keats wrote: >> Restricting yourself to a functional subset of JavaScript can't fix >> JavaScript. The functional subset stinks, Javascript notaries be damned. > > If so where does this leave clojure itself and its advocacy of > functional programming, then; see

Problem with ClojureScript + Node.js

2011-07-24 Thread Benny Tsai
I'm experimenting with ClojureScript on Windows. After applying the patch kindly provided by pmbauer in this thread: https://groups.google.com/d/topic/clojure/kObCK4Ik3tY/discussion ... I was able to get as far as compiling the nodehello.cljs example code from the Quick Start guide. However,

Re: clojurescript: How to transform a clojurescript map to a javascript object?

2011-07-24 Thread Matthew Gilliard
A function to turn clojure maps is shown here: https://gist.github.com/1098417 to go the reverse way, use (js->clj), there are examples here: https://github.com/clojure/clojurescript/blob/master/samples/twitterbuzz/src/twitterbuzz/core.cljs mg On Fri, Jul 22, 2011 at 8:50 PM, Robert Luo wrote:

clojurescript and external libs

2011-07-24 Thread Jack Moffitt
I'm exploring clojurescript and wondering how to use an external library? In my particular case, I was trying to use Soy from Closure Templates. I realize that arbitrary third party libraries will need to fit into the Closure Compiler ways, and part of my exploration is trying to port some of my o

ClojureScript source maps

2011-07-24 Thread John
Is there any interest in having ClojureScript generate source maps? http://code.google.com/p/closure-compiler/wiki/SourceMaps There are a couple of ways to accomplish this. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: clojurescript and external libs

2011-07-24 Thread Wilson MacGyver
You use js* like here https://gist.github.com/1098417 See how jquery is being pulled in On Jul 24, 2011, at 12:35 PM, Jack Moffitt wrote: > I'm exploring clojurescript and wondering how to use an external > library? In my particular case, I was trying to use Soy from Closure > Templates. > >

Re: ClojureScript source maps

2011-07-24 Thread David Nolen
On Sun, Jul 24, 2011 at 1:19 PM, John wrote: > Is there any interest in having ClojureScript generate source maps? > > http://code.google.com/p/closure-compiler/wiki/SourceMaps > > There are a couple of ways to accomplish this. > I'm sure there is a considerable amount of interest in this. Davi

Re: Anyone on Google+ yet?

2011-07-24 Thread Dave Ray
Invite sent in case someone else didn't send one already. Cheers, Dave On Sun, Jul 24, 2011 at 12:26 PM, MHOOO wrote: > I've never been fond of facebook, mainly because there is this > tendency to have a lot of people in your friends list whom you barely > know. G+ seems to do better with circl

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
On Jul 24, 7:24 pm, Michael Gardner wrote: > On Jul 24, 2011, at 1:11 PM, James Keats wrote: > > >> Restricting yourself to a functional subset of JavaScript can't fix > >> JavaScript. The functional subset stinks, Javascript notaries be damned. > > > If so where does this leave clojure itself a

Re: Forcing evaluation of returned anonymous javascript function in ClojureScript

2011-07-24 Thread Dave Ray
See the "Host Interop" section here [1]. With ClojureScript there's a distinction between method lookup and method invocation. I think what you want is: (-> % .target (.getResponseText)) Dave [1] https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure On Sun, Jul 24, 2011 at 1:51

Re: Anyone on Google+ yet?

2011-07-24 Thread MHOOO
Thanks Joop Kiefte & Dave Ray! On Jul 24, 9:00 pm, Dave Ray wrote: > Invite sent in case someone else didn't send one already. > > Cheers, > > Dave > > > > > > > > On Sun, Jul 24, 2011 at 12:26 PM, MHOOO > wrote: > > I've never been fond of facebook, mainly because there is this > > tendency to

Re: clojurescript patches

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 11:15 AM, kjeldahl wrote: > I've got a small patch that I would like to contribute (simple stuff, > figures out the correct classpath for repljs and cljsc), but I can't > find any "issues" link on github. Am I required to fork clojurescript > and request a pull to contribut

Re: clojurescript and external libs

2011-07-24 Thread Jack Moffitt
> You use js* like here > > https://gist.github.com/1098417 > > See how jquery is being pulled in Unfortunately this means that my external JS lib won't get any benefits from the closure compiler. Is there some way to tell the compiler where more external libs are and then use them via :require ju

Re: clojurescript: How to transform a clojurescript map to a javascript object?

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 5:33 AM, Matthew Gilliard wrote: > A function to turn clojure maps is shown here: https://gist.github.com/1098417 There's also this (shorter) way using Google Closure's API: https://gist.github.com/1098521 -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http:/

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Michael Gardner
On Jul 24, 2011, at 2:08 PM, James Keats wrote: > On Jul 24, 7:24 pm, Michael Gardner wrote: >> The functional parts of Javascript are far different from those of Clojure >> (and not in a good way). > > How so? javasript, while not as functional as clojure, is far more > functional than java (

Re: Forcing evaluation of returned anonymous javascript function in ClojureScript

2011-07-24 Thread Alen Ribic
Thanks Dave for pointing me to the distinctions section. For some reason (-> % .target (.getRequestText)) didn't work but instead the .. interop macro worked as follows (.. % target (getResponseText)) [1]. -Al [1] Working version: https://gist.github.com/1102641 On Jul 24, 9:19 pm, Dave Ray wr

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 11:11 AM, James Keats wrote: > If so where does this leave clojure itself and its advocacy of > functional programming, then; see last paragraph of my reply to Mark. Given that JS is merely the "assembler" that ClojureScript targets - in exactly the same way that Java byte

Re: clojurescript and external libs

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 12:31 PM, Jack Moffitt wrote: > Unfortunately this means that my external JS lib won't get any > benefits from the closure compiler. Is there some way to tell the > compiler where more external libs are and then use them via :require > just like closure library (let's assum

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Mark Rathwell
>I think it's a bit absurd, folks, to criticize Java's OOP as >incidental complexity, too much ceremony, and even suggest in the Joy >of Clojure that a Steve Yegge's Universal Design Pattern and prototype >pattern a la Javascript could be married to clojure's in the chapter >that discuss namespaces

Clojure number crunching win ! was Re: Needing type hinting help for number crunching

2011-07-24 Thread bernardH
Thank you very much for the help ! On Jul 24, 2:30 pm, Chas Emerick wrote: > A couple of thoughts: > > You should be using 1.3.0-beta1 of Clojure 1.3 -- anything with > -master-SNAPSHOT is woefully out of date at > this point. Damned, I thought -master-SNAPSHOT was as snapshot of the current HE

Re: clojurescript and external libs

2011-07-24 Thread Brenton
Jack, You can use the :libs key in the options which are passed to build. For example, there is a directory of third party libraries in "closure/ library/third_party/closure" which may be pulled in like this: cljsc src {:libs ["closure/library/third_party/closure"] ...other options...} > ouptput

Re: Clojure number crunching win ! was Re: Needing type hinting help for number crunching

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 1:11 PM, bernardH wrote: > On Jul 24, 2:30 pm, Chas Emerick wrote: >> You should be using 1.3.0-beta1 of Clojure 1.3 -- anything with >> -master-SNAPSHOT is woefully out of date at >> this point. > Damned, I thought -master-SNAPSHOT was as snapshot of the current > HEAD.

Re: Anyone on Google+ yet?

2011-07-24 Thread Alen Ribic
https://plus.google.com/118362877851205553020/posts -Al On Jul 14, 7:12 pm, Claudia Doppioslash wrote: > My Clojure circle is all set up but empty. > My g+ is:http://gplus.to/gattoclaudia > > Please add link to your profile below. -- You received this message because you are subscribed to the

Re: [incanter]State, how to do it right ? (rng state for parallel computing)

2011-07-24 Thread bernardH
(@cej38: thanks for bringing that up to my radar ! However, I'd have to check the fine prints because I like the "Open" in "OpenCL" and dispise vendor lock-ins, no matter how shiny the shackles :) ) On Jul 24, 1:11 pm, Lee Spector wrote: > On Jul 22, 2011, at 11:20 AM, bernardH wrote: > > > > >

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Base
"Why should we care what kind of Javascript ClojureScript generates, as long as it's correct and performant? The whole point of the project is to allow us to write Clojure rather than Javascript!" James, you do get this point, right? Just like GWT allows you to program in Java to write JavaScript

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Rich Hickey
On Jul 24, 11:19 am, James Keats wrote: > Alright, to be honest, I'm disappointed. > I'll make sure you get a refund then. Seriously, this is like being disappointed an action movie was an action movie instead of a comedy. Your expectations are a complete mismatch for the intentions of Clojure

clojurescript development workflow

2011-07-24 Thread Sam Aaron
Hi there, Having never really enjoyed javascript and therefore avoiding it for the longest time, I'm now quite excited to jump into it given the introduction of ClojureScript. It's really quite exciting - thanks everyone for putting so much effort and thought into it. One thing I'm wondering a

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Charlie Griefer
On Sun, Jul 24, 2011 at 2:28 PM, Rich Hickey wrote: >ClojureScript is an action movie, and we're interested in > helping people kick butt. Could you please tweet that, if only so I can retweet it? :) -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But

Re: leiningen 1.6.1 not compatible with lein-nailgun 1.1.0

2011-07-24 Thread Phil Hagelberg
On Tue, Jul 19, 2011 at 6:27 PM, Wei Hsu wrote: > Thanks for the tips, Phil! This may be somewhat of a newbie question, > but what's the best way to modify lein-nailgun and include that local > fork in my project using leiningen? It's probably best to create your own github fork of lein-nailgun a

Re: clojurescript development workflow

2011-07-24 Thread Eric Lavigne
> > > Although I did get a REPL, it was totally disconnected from the browser, so > I wasn't able to test any GUI stuff with it and if I modified the code I had > to wait quite a long time for the js to compile before I saw the changes in > the browser. > > As mentioned in Rich's presentation video

Re: Leiningen on OpenBSD

2011-07-24 Thread Phil Hagelberg
On Sat, Jul 23, 2011 at 10:24 AM, Scott Scites wrote: > While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL > fails to display a prompt.  When I control-c out, the final output before > closing shows a connection being made and the prompt.  If I change out of the > pro

Re: Leiningen on OpenBSD

2011-07-24 Thread Aaron Bedra
It appears that the ports tree does offer a sun jdk now that you can build, but it is 1.7. If you are running 4.9 and are using the jdk from the ports tree, this could also be the source of your problem. Cheers, Aaron Bedra -- Clojure/core http://clojure.com On 07/23/2011 09:57 PM, Aaron Be

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
Well I'm very very sorry if the intent of my post was misunderstood or I articulated it poorly, but I would like to emphasize, Rich, that I'm a big fan of yours and in no way intended to exhaust you, I was merely and honestly voicing my concerns, just like in a previous thread I have quoted you ti

Re: Problem with ClojureScript and Node.js

2011-07-24 Thread Ulrik Sandberg
I have the same problem, using an unmodified clojurescript checkout (08db38f) with nodejs 0.4.10 on MacOSX 10.6.8. $ cat nodehello.cljs (ns nodehello) (defn -main [& args] (println (apply str (map [\ "world" "hello"] [2 0 1] (set! *main-cli-fn* -main) $ bin/cljsc nodehello.cljs '{:optimiza

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread James Keats
On Jul 24, 10:23 pm, Base wrote: > "Why should we care what kind of Javascript ClojureScript generates, > as long as it's correct and performant? The whole point of the project > is to allow us to write Clojure rather than Javascript!" > > James, you do get this point, right?  Just like GWT allo

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-24 Thread Ulrik Sandberg
OK, good. Now, say you're sorry if you offended him. -"I'm sorry if I offended you." And you, say you're sorry if you over-reacted. "I'm sorry if I over-reacted." Very good. Now, shake hands. Good. I love you both. You should love each other too. You'll need each other later. -- Father of three bo

clojurescript advanced compile error

2011-07-24 Thread Jack Moffitt
I'm working through Closure tutorials translating them to ClojureScript. Unfortunately, I've hit a problem where the code works with {:optimizations :simple} but fails with {:optimizations :advanced}. The code is very simple. It basically is a trivial template example with Soy (from Closure templa

Re: clojurescript and external libs

2011-07-24 Thread Jack Moffitt
> You can use the :libs key in the options which are passed to build. Thanks very much for this pointer. That worked like a charm. jack. -- 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 No

casting and type declaration

2011-07-24 Thread Kartik
Hello. I have the following code snippet to start reading an mp3 file (let [file (File. filename) stream (AudioSystem/getAudioInputStream file) base-format (.getFormat stream) decoded-format (AudioFormat. AudioFormat$Encoding/ PCM_SIGNED ...) line-info (DataLine$Info. Sour

Re: Problem with ClojureScript + Node.js

2011-07-24 Thread Sean Corfield
On Sat, Jul 23, 2011 at 9:28 PM, Benny Tsai wrote: > The same error was encountered with both the 0.5.2 and 0.5.1 Windows > binaries from http://nodejs.org/dist/.  A similar error was thrown when I > tried the 0.4.9 and 0.4.8 binaries from http://node-js.prcn.co.cc/: ... > Has anyone had success u

Re: Problem with ClojureScript + Node.js

2011-07-24 Thread Benny Tsai
On Sunday, July 24, 2011 1:33:47 PM UTC-6, Sean Corfield wrote: > > That gave me version v0.4.11-pre and it seems to be working just fine > with ClojureScript. The build from source option on Windows sounds > like it isn't very stable which makes we wonder about the pre-built > binaries and why tho

Re: Problem with ClojureScript and Node.js

2011-07-24 Thread Benny Tsai
Thank you for your response, Urlik. It's good to know someone else saw the same error, on a non-Windows platform, no less. Sean Corfield, responding to an earlier failed attempt by me to post about the problem, said that he was able to use Node with ClojureScript on OSX after following the in

Re: better community docs: getting started

2011-07-24 Thread nchurch
> The community getting started page could be much better. In particular, > people have opined that there should be a clear, no-choices- > to-make path "For Newbies" section.Help welcome! I just got edit privileges on dev.clojure and am eager work on it. How do people want to see Getting Started

Re: {ANN} clojure-control---DSL for system admin and deployment with many remote machines

2011-07-24 Thread dennis
Now it's allow passing command line arguments to task now,the task macro is changed,it must have an argument vector now: (task :deploy "deploy a file to remote machines" [file] (scp (file) "/home/user1")) And run with clojure controls.clj deploy release.tar.gz The "release.tar.

Re: Leiningen on OpenBSD

2011-07-24 Thread scitesy
On Jul 24, 6:21 pm, Aaron Bedra wrote: > It appears that the ports tree does offer a sun jdk now that you can > build, but it is 1.7.  If you are running 4.9 and are using the jdk from > the ports tree, this could also be the source of your problem. Thanks for your help! I'm running OpenBSD 5.0 b

Re: better community docs: getting started

2011-07-24 Thread Ken Wesson
On Sun, Jul 24, 2011 at 10:28 PM, nchurch wrote: > >> The community getting started page could be much better. In particular, >> people have opined that there should be a clear, no-choices- >> to-make path "For Newbies" section.Help welcome! > > I just got edit privileges on dev.clojure and am ea

Re: better community docs: getting started

2011-07-24 Thread László Török
+1, as I went through the same process. Emacs should be the option for the brave ones who already wrote their first helloworld.clj. sent from my mobile device On Jul 25, 2011 6:14 AM, "Ken Wesson" wrote: > On Sun, Jul 24, 2011 at 10:28 PM, nchurch wrote: >> >>> The community getting started pag

Re: better community docs: getting started

2011-07-24 Thread Ambrose Bonnaire-Sergeant
On Mon, Jul 25, 2011 at 12:14 PM, Ken Wesson wrote: > > How about making the main suggestion be clooj instead, with emacs, > eclipse, netbeans in the list of alternative options? :) > > +1! I'd be embarrassed trying to sell clojure to a newbie with anything else. Clean and simple, and not a toy.

Re: better community docs: getting started

2011-07-24 Thread pmbauer
+1 on clooj. One click and you have a working build environment, REPL, and REPL-aware editor. https://github.com/downloads/arthuredelstein/clooj/clooj-0.1.5-standalone.jar -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: Leiningen on OpenBSD

2011-07-24 Thread Phil Hagelberg
On Sun, Jul 24, 2011 at 8:39 PM, scitesy wrote: > On Jul 24, 6:21 pm, Aaron Bedra wrote: >> It appears that the ports tree does offer a sun jdk now that you can >> build, but it is 1.7.  If you are running 4.9 and are using the jdk from >> the ports tree, this could also be the source of your pro

Re: ClojureScript

2011-07-24 Thread FL
On Jul 24, 1:44 pm, Peter Taoussanis wrote: > ... > I am, literally, deploying this to my web app right now. I've got a > Compojure route setup for a the resulting output of memoized > ClojureScript compile call. I can work on the ClojureScript directly > from my project. When something changes,

Re: Leiningen on OpenBSD

2011-07-24 Thread pmbauer
FWIW, lein and JDK 1.7 play fine together on both my linux systems (Ubuntu 10.10 and 11.04). -- 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 moderated

ClojureScript Questions

2011-07-24 Thread cljneo
Hi, I have started reading about ClojureScript and Closure and had some questions which I am sure will eventually be answered as I move along. But I am too eager to know now so I thought of asking instead of waiting. - On page 2 of the Closure book, there is a workflow figure on using the Closure t

Re: better community docs: getting started

2011-07-24 Thread Sean Corfield
On Sun, Jul 24, 2011 at 9:14 PM, Ken Wesson wrote: >> Under 2) would be a guide for setting up Emacs (immediately divided >> into Mac, Windows, Linux).  At the end would be a list of alternative >> options: Eclipse, Netbeans, IntelliJ, etc. > > No. > > No, no, no, no, no! > > That will kill 90% of

Re: clojure.contrib.profile crashes

2011-07-24 Thread Sunil S Nandihalli
Hi Aaron Bedra, Thanks for your quick response. Sorry I could not get back to you with the information you asked for sooner.. I am using user> *clojure-version* {:major 1, :minor 2, :incremental 1, :qualifier ""} My project.clj is as follows... (defproject bitvector "1.0.0-SNAPSHOT" :descri

Re: clojure.contrib.profile crashes

2011-07-24 Thread Sunil S Nandihalli
here is the list of jar files in my lib directory github@eagle ~/bitvector/lib#tree . |-- clj-iterate-0.95-20110417.030036-2.jar |-- clojure-1.2.1.jar |-- clojure-contrib-1.2.0.jar `-- dev |-- cdt-1.2.6.1-20110417.030036-6.jar |-- clojure-1.2.1.jar |-- clojure-contrib-1.2.0.jar |--

Re: Clojure number crunching win ! was Re: Needing type hinting help for number crunching

2011-07-24 Thread Tassilo Horn
Sean Corfield writes: Hi Sean, > If you specify the Sonatype snapshots repository, you can pull nightly > builds: > > :repositories { "sonatype" { :url > "https://oss.sonatype.org/content/repositories/snapshots"; } } > :dependencies [[org.clojure/clojure "1.3.0-master-SNAPSHOT"]] > > That ju

Re: better community docs: getting started

2011-07-24 Thread pmbauer
> > I do not think we should attempt a recommended IDE (not even Clooj). > We should offer a path for all existing IDEs / editors. > ... > Use an editor not listed here? Try Clooj > (i.e., use this as a simple catch-all if we haven't covered what you > already used today). > That's one way of

Re: Why is this code so slow?

2011-07-24 Thread Oskar
On Jul 23, 4:06 pm, Dmitry Gutov wrote: > Ahem. > > Here is a more idiomatic version that runs under half a second, no > annotations required. I did that from the beginning, but as I really needed 4e6 and not 1e5 elements, that map got very big. And I didn't remember the argument to give java mor

Re: better community docs: getting started

2011-07-24 Thread Ken Wesson
On Mon, Jul 25, 2011 at 12:28 AM, pmbauer wrote: > +1 on clooj. > One click and you have a working build environment, REPL, and REPL-aware > editor. > https://github.com/downloads/arthuredelstein/clooj/clooj-0.1.5-standalone.jar This URL is somewhat unfortunate. For some reason, both https://git