Re: Idiom for transforming a map

2013-01-10 Thread Jonathon McKitrick
Excellent stuff, guys. Thanks for the help. I just got 'Joy of Clojure' and 'Clojure Programming' in the mail yesterday so hopefully I'll be up to speed quickly. On Wednesday, January 9, 2013 1:37:45 PM UTC-5, Jim foo.bar wrote: On 09/01/13 18:20, Jim - FooBar(); wrote: Alex's solution

Re: Idiom for transforming a map

2013-01-10 Thread Jim foo.bar
On 10/01/13 12:57, Jonathon McKitrick wrote: Excellent stuff, guys. Thanks for the help. I just got 'Joy of Clojure' and 'Clojure Programming' in the mail yesterday so hopefully I'll be up to speed quickly. no worries...happy reading! :-) Jim -- You received this message because you are

Re: [ANN] Persistent disjoint-set forests for Clojure

2013-01-10 Thread Fernando Pazin
Wow, I was studying clojure by messing around with the Chromatic Polynomial ( deletion-contration of a Graph ) and I think this will be extremely useful. I'll check it out this weekend. Thanks! On Tuesday, January 8, 2013 10:10:40 PM UTC-2, Jordan Lewis wrote: Hi all, I couldn't find any

Re: deploying clojure/compojure web apps

2013-01-10 Thread Josh Kamau
Thanks for all the contribution in thread. Josh On Thu, Jan 10, 2013 at 8:48 AM, kinleyd kinl...@gmail.com wrote: Yes, thank you all. This was a very useful thread. On Thursday, January 10, 2013 9:35:38 AM UTC+6, John Gabriele wrote: Thanks, all. Updated CDS basic web dev tut with this

Re: [ANN] Persistent disjoint-set forests for Clojure

2013-01-10 Thread David Powell
Cool - this looks great. One of the first commercial problems I used Clojure for required union-find, and I basically solved it using one-huge-hashmap which I repeatedly assoc'd the equivalences into; I expect that your library is a lot better. -- Dave On Wed, Jan 9, 2013 at 12:10 AM, Jordan

Re: New Clojure user group in Israel

2013-01-10 Thread shlomivaknin
Hey Daniel, are you making a clojure-israel google group? On Monday, December 17, 2012 12:58:21 PM UTC+2, Daniel Szmulewicz wrote: Hi everybody, Happy to announce that Israel has its first Clojure user group. http://www.meetup.com/Clojure-Israel/ Sincerely, Daniel Szmulewicz --

Re: abysmal multicore performance, especially on AMD processors

2013-01-10 Thread Wm. Josiah Erikson
Am I reading this right that this is actually a Java problem, and not clojure-specific? Wouldn't the rest of the Java community have noticed this? Or maybe massive parallelism in this particular way isn't something commonly done with Java in the industry? Thanks for the patches though - it's nice

Re: ANN: bouncer, validation library for clojure

2013-01-10 Thread Gary Johnson
Thanks for releasing this library. I've written quite a few large command-line driven applications in Clojure thus far, and each one has used a slightly different homegrown approach as different core functionality became available (and the contrib libs kept mutating). Your state monad inspired

Montreal Clojure user group

2013-01-10 Thread Jeff Heon
For newcomers who might not know, there is a Clojure user group in Montreal and our next meeting is Tuesday January 15th. Details here: http://groups.google.com/group/montreal-clojure-user-group -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Delay with atom

2013-01-10 Thread Simone Mosciatti
Thanks Dave, I come out with that too... I put the wrong question honestly, but why the atom is not working I wonder ? On Thursday, January 10, 2013 2:43:27 AM UTC+1, Dave Sann wrote: Create the atom in a let, in the function - so it's new and isolated better still - use an accumulator in

Re: Need help in geeting cemerick/friend working with openid

2013-01-10 Thread Marc Haemmerle
Along the lines of automatically starting of the OpenID workflow: is there a nicer solution than patching https://github.com/cemerick/friend/blob/master/src/cemerick/friend/openid.clj#L108 to work with a redirect (hence GET would be needed) and pass in the identifier either as url-arg or as

Re: clojure.core/ns documentation glitch?

2013-01-10 Thread Stuart Sierra
yes On Wednesday, January 9, 2013 11:32:41 AM UTC-5, wujek@gmail.com wrote: The documentation of clojure.core/ns says nearly to the end of its docstring: If :refer-clojure is not used, a default (refer 'clojure) is used. Shouldn't it say that a default (refer 'clojure.core) is used?

bug in clojure.zip/node implementation

2013-01-10 Thread Daniel Dinnyes
Hi, I am trying to navigate an XML structure using the clojure.contrib.zip-filter.xml library, but for some strange reason I receive the following exception: ClassCastException clojure.lang.LazySeq cannot be cast to clojure.lang.IFn clojure.zip/node (zip.clj:67) Here is an example which

Re: clojure.core/ns documentation glitch?

2013-01-10 Thread Andy Fingerhut
Ticket with patch submitted: http://dev.clojure.org/jira/browse/CLJ-1143 Andy On Jan 10, 2013, at 10:49 AM, Stuart Sierra wrote: yes On Wednesday, January 9, 2013 11:32:41 AM UTC-5, wujek@gmail.com wrote: The documentation of clojure.core/ns says nearly to the end of its

How to integrate front-end designers into Clojure/Ring/Jetty workflow?

2013-01-10 Thread larry google groups
So, I am working on a web app that is buillt with Clojure/Ring/Jetty and, importantly, Enlive. My directory structure is like this: /resources /public /css /js /img /templates /src /discovery core.clj The great thing about Enlive is that the

Re: ANN: bouncer, validation library for clojure

2013-01-10 Thread Leonardo Borges
Hi Gary, First off, I wanna thank you for you thorough review and feedback of bouncer - it's very much appreciated. Please see my comments inline. On Fri, Jan 11, 2013 at 2:35 AM, Gary Johnson gwjoh...@uvm.edu wrote: Also, I agree with Stathis that there is a problem including the errors map

Re: New Clojure user group in Israel

2013-01-10 Thread ronen
Great initiative guys, I remember the days when Clojure was an exotic beast no one heard of Its great to have a Clojurian meetup Ronen On Monday, December 17, 2012 12:58:21 PM UTC+2, Daniel Szmulewicz wrote: Hi everybody, Happy to announce that Israel has its first Clojure user group.

Re: How to integrate front-end designers into Clojure/Ring/Jetty workflow?

2013-01-10 Thread Sean Corfield
My first thought is: don't bother compiling the code, just run it live from source (and maybe provide a way to easily reload the templates (such as a URL parameter). What I've done in my FW/1 framework (convention-based MVC, built on Ring and Enlive) is to have a mode that auto-reloads templates

Numerical Clojure - discussion open!

2013-01-10 Thread Mikera
Hello everybody, I've created a new discussion group Numerical Clojure for anyone interested in doing serious numerical computing in Clojure. The vision is to build a numerics capability / set of libraries in Clojure somewhat inspired by what the Python community has done with NumPy, but also

Re: core.matrix proposal

2013-01-10 Thread Mikera
On Monday, 7 January 2013 15:53:20 UTC+8, Konrad Hinsen wrote: Mikera writes: Initial tests seem to suggest that supporting N-dimensional arrays should be pretty easy in terms of the API itself. We could also provide fast-paths for 1D and 2D arrays. Of course, actual support

Re: ANN: bouncer, validation library for clojure

2013-01-10 Thread faenvie
i took a look at it. bouncers DSL seems smart inside and out. Has an excellent Documentation too. Thanks for sharing it. -- 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