On Fri, May 11, 2012 at 12:47 AM, Rich Hickey richhic...@gmail.com wrote:
IMO, Nicolas' material is a distraction in understanding reducers, except as
historical background.
I perfectly agree.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
Hi,
What about something like this -
* Create a protocol called IGraphDBClient or something similar and
create a spec.
* Provide different client implementations in their own namespaces
using deftype, eg. bulbs.db.neo4j/client, bulbs.db.orientdb/client,
etc.
* Put your core functions in a core
Hi Rich,
I may be a bit aggressive here :) but will this be ready for 1.5 ? Or available
as an independent feature ? (I am not sure about this given the name)
I intend to skip 1.4 depending on our delivery cycles and the availability of
1.5, we are
about to move 1.3 in prod here and my eyes
java -jar clojure-1.4.0.jar
On May 10, 2012 9:36 AM, Zeno rcarthu...@gmail.com wrote:
Hi,
I have downloaded and unzipped Clojure 1.4.0 but when trying java -cp
clojure-1.4.0.jar clojure.main as stated on the getting started page
I get the following.
D:\Profiles\rcarthur\My
Hi,
I am trying to deploy ejb written in clojure to OpenEjb standalone
server. Clojure library clojure-1.3.0.jar is in /lib directory of
openejb. When ejb is initialising, I get the error pasted below. I'll
be very thankful for any hint or suggestion.
Ales
INFO: Configuring enterprise
I think you'd just have to do it manually with a reduce
Something like this should work.
(defn foldfn [i n]
(let [result (first i)
current (second i)]
(if (re-matches #^(\w)\1.* n)
(if (= [] current)
[result [n]]
[(conj result current) [n]])
[result
Hi,
I'm new to Clojure, but a longtime Java programmer. I'm trying to get
the hang of gen-class, and I'd like to write a custom JFrame that
extends the paint method so I can get some ***aw3xX0m3 gr4f-X***.
Anyways, I'm having some trouble understanding gen-class, inheritance,
etc.
Here's what
You may want to check-out Dave Ray's seesaw .
Seesaw turns the Horror of Swing into a friendly, well-documented, Clojure
library
https://github.com/daveray/seesaw
-FS.
On May 10, 2012, at 3:03 PM, JvJ wrote:
Hi,
I'm new to Clojure, but a longtime Java programmer. I'm trying to get
the
On Friday, May 11, 2012 4:03:52 AM UTC-5, Baishampayan Ghose wrote:
* Create a protocol called IGraphDBClient or something similar and
create a spec.
* Provide different client implementations in their own namespaces
using deftype, eg. bulbs.db.neo4j/client, bulbs.db.orientdb/client,
A work in progress:
http://github.com/swannodette/mori
Pull requests welcome :)
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 moderated -
On Fri, May 11, 2012 at 6:28 AM, Softaddicts
lprefonta...@softaddicts.ca wrote:
I may be a bit aggressive here :) but will this be ready for 1.5 ? Or
available
as an independent feature ? (I am not sure about this given the name)
Reducers are part of the 1.5.0 master branch. The only reason
On Fri, May 11, 2012 at 9:17 AM, Sean Corfield seancorfi...@gmail.com wrote:
Reducers are part of the 1.5.0 master branch. The only reason they're
not already available in a master-SNAPSHOT build is because Clojure
isn't building at the moment due to the jsr166y change and Java 6
dependency.
Looks awesome.
I think we're going the same direction. Myself, I wanted clays to be
first-class items that can live in Clojure namespaces, and give you all of
that. The downside is this: if I particular clay is wrong for some
particular evaluation, you're stuck. The clay is the clay is the
On Mon, May 7, 2012 at 8:48 PM, toan kidn...@gmail.com wrote:
Hi folks,
I've been trying to learn clojure for a while. I've read the clojure
section of seven languages... and currently trying to get through
joy of clojure. I've been practicing with the prompt a bit and
trying to learn emacs
Announcing C2, a data visualization library inspired by D3.js
C2 is not a charting library; there are no plotting functions like
scatterplot or piechart .
Instead, C2 is a collection of scales, map projections, and component
templates (e.g., axes) that you can compose to build custom data
graphics
Is setting a dynamic binding at runtime the recommended way of storing the
config map?
I prefer passing it in explicitly. Slightly more verbose, but easier to
understand.
-S
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
Just hasn't been implemented yet, I think.
-S
--
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 - please be patient with your
first post.
To
In addition to following up on all the great suggestions above, I'd hack about
with Quil; it's a lot of fun and you'll get instant feedback. You'll also very
quickly run into the fun that is juggling pure fns, lazy sequences and
orchestrating side effects (to sketch stuff).
I have a large-ish Clojure project that involves a lot of network servers
and background threads. It's difficult to work on a program like this by
reloading code at the REPL, because old background threads may still be
running with old code. So I end up restarting the process many times per
On Fri, May 11, 2012 at 2:33 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
I have a large-ish Clojure project that involves a lot of network servers
and background threads. It's difficult to work on a program like this by
reloading code at the REPL, because old background threads may
You are using an SSD drive I assume ? When you say large, how many
servers/threads ?
Luc
I have a large-ish Clojure project that involves a lot of network servers
and background threads. It's difficult to work on a program like this by
reloading code at the REPL, because old background
Are you on 32 or 64 bit Java? Startup is much faster on my machine
(2008 Macbook, Core2Duo) when I use a 32bit vm.
On Fri, May 11, 2012 at 11:33 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
I have a large-ish Clojure project that involves a lot of network servers
and background threads.
I use ubuntu with an SSD and I hardly notice the lein repl startup time.
Even in Eclipse the repl starts within a couple of seconds.
I am in the same situation, multiple processes, oracle, About 80
dependencies total.
I7 HT, 8 gig of ram
Before using an SSD, I used to copy the most used
On Fri, May 11, 2012 at 3:58 PM, Moritz Ulrich
ulrich.mor...@googlemail.com wrote:
Are you on 32 or 64 bit Java? Startup is much faster on my machine
(2008 Macbook, Core2Duo) when I use a 32bit vm.
If you have a newish JVM (hotspot 20+ IIRC) then TieredCompilation
will allow the 64-bit JVM to
Hello folks.
I'm happy to announce the release of the fourth preview of Leiningen 2.0.0.
The most important thing in this release is that it fixes a bug where
the dev profile would be applied when generating a pom to push to
clojars. So if you are developing libraries with preview3, it's
Hey there! I was taking a look at the libraries implementation and have a
few suggestions/questions.
Most importantly, what is going on
here:
https://github.com/wtetzner/exploding-fish/blob/master/src/org/bovinegenius/exploding_fish/query_string.clj
It looks like you have written a little
Phil Hagelberg:
I'm happy to announce the release of the fourth preview of Leiningen 2.0.0.
The most important thing in this release is that it fixes a bug where
the dev profile would be applied when generating a pom to push to
clojars. So if you are developing libraries with preview3, it's
It looks like you have written a little mini-library for creating and
working with association lists. Why on earth would you use association
lists instead of mas? The seq representation of a map is basically the
same.
user= (seq {foo bar})
([foo bar])
user= (into {} (seq {foo bar}))
On Fri, May 11, 2012 at 8:53 PM, James Thornton
james.thorn...@gmail.com wrote:
Is setting a dynamic binding at runtime the recommended way of storing the
config map?
There are many ways of doing this. One approach that I have seen a lot
is something like this -
;; core.clj
(def ^:dynamic
29 matches
Mail list logo