Considering your enterprise/cloud requirements, it seems that quartz
(http://clojurequartz.info/) http://clojurequartz.info/ should be the
closest to your needs. It's also integrated into Immutant
(http://immutant.org/tutorials/jobs/) http://immutant.org/tutorials/jobs/.
More generally in the
Perhaps I should be more precise: quartz (http://quartz-scheduler.org/)
http://quartz-scheduler.org/ is a java-based open source scheduler,
and the link I gave earlier is to the clojure integration layer
quartzite (http://clojurequartz.info/) http://clojurequartz.info/.
Immutant
On 10/02/14 16:20, Toby Crawley wrote:
Actually, Immutant has its own Quartz integration, and is not based on
quartz-clj. You can, however, use the Quartzite API with the
cluster-aware Quartz scheduler that Immutant provides if you prefer
the Quartzite API over the Immutant one. - Toby
Thanks
On 10/02/14 18:46, Adrian Mowat wrote:
Thanks for the info. Quartz and it's Clojure DSLs seem to do some of
what I need. I had a quick scan of the docs and they don't appear to
support triggers that are not time based (on arrival of a file, on
completion of a job etc) - but it was only a
Great project!
I just watched this interesting video http://vimeo.com/44968627 on
reinventing the REPL which also talks about notebook/graphical REPL.
This was further developed at Clojure/con 2012
http://www.youtube.com/watch?v=sSQ1dqqINrQ, and there's a project
called Session on github
On 10/03/14 15:37, juan.facorro wrote:
I have taken this approach as well, but I can can't seem to find a
good answer to this question: When you create a bunch of elements with
their corresponding channels to handle certain events, how do you
handle the closing of those channels and the
On 15/03/14 01:59, Andy C wrote:
Maybe one day this idea http://en.wikipedia.org/wiki/Lisp_machine will
come back, I mean in a new form ..
That reminds me of this Urbit project http://www.urbit.org/, which is
nowhere near usefulness at present, but deserves to be mentioned as a
(radical)
Martin's point about immutable and persistent data structures is further
developed in his interview on infoq
http://www.infoq.com/interviews/reactive-system-design-martin-thompson, you
can skim to point #9 if you're in a hurry.
Overall what he says is that in terms of scalability of the
On 16/03/14 18:24, Softaddicts wrote:
I think that significant optimizations have to be decided at a higher level.
I doubt that any of that can be implemented at the hardware level alone
and let it decide on the fly. This sounds like magic, too good to be true.
I am also quite convinced that
I recently searched for other graph algorithms and did not find much
more than what you probably know: JUNG, JGraphT, Loom, Tinkerpop.
So my guess is that you'll be very lucky to find an implementation in
java, let alone in clojure.
Be prepared to write your own.
--
You received this message
On 18/03/14 18:03, Martin Thompson wrote:
Our use of language in the technology industry could, for sure, be
better. Take simple examples like RAM where random should be
arbitrary, or don't get me started on people who misuse the term
agnostic ;-)
I would even say our use of abstractions in
On 20/03/14 04:03, Andy C wrote:
So, the following test puzzles me. Not because it takes virtually the
same time (I know that Fork/Join is not cheap and memory is probably
the biggest bottleneck here). But because I do not get why map (as
opposed to r/ma) uses all 8 cores on my MacBookPro.
On 20/03/14 12:26, László Török wrote:
into uses reduce under the hood, you probably need fold to have
the computation to run on FJ:
Yes, now I see all my CPUs being maxed-out.
francois@laptop:~$ perf stat java -cp
~/.m2/repository/org/clojure/clojure/1.5.1/clojure-1.5.1.jar
clojure.main -e
Don't know if you still have the issue, but one way to solve it would be
to use a prefix like as shown in the README.md
https://github.com/zcaudate/vinyasa#inject---installation:
(vinyasa.inject/inject 'clojure.core '
'[[cemerick.pomegranate add-classpath
On 30/03/14 07:40, Andy C wrote:
Here are results where numbers are normalized gains.
++---++
| # of processes | random | linear|
++---++
|1 | 1.00| 1.00 |
On 31/03/14 23:25, Lee Spector wrote:
(defn functionalise
[ex var]
(eval (list 'fn (vector var) ex)))
(def ex '(+ 1 x))
(def exf (functionalise ex 'x))
(exf 3) ;; = 4
This calls eval only once when you call functionalise, and doesn't do any tree
walking.
FWIW this is the trick I use
On 31/03/14 23:51, François Rey wrote:
On 31/03/14 23:25, Lee Spector wrote:
(defn functionalise
[ex var]
(eval (list 'fn (vector var) ex)))
(def ex '(+ 1 x))
(def exf (functionalise ex 'x))
(exf 3) ;; = 4
This calls eval only once when you call functionalise, and doesn't do any tree
On 05/04/14 19:35, Travis Wellman wrote:
To be clear, in this topic I'm not interested in the functional purity
of Haskell, nor it's libraries or type system, but just the syntax.
It's probably not the answer you're looking for but did you check
https://github.com/Frege/frege?
--
You received
On 13/04/14 02:21, Stephen Feyrer wrote:
// Get the java file io library
(import '(java.io http://java.io File))
// Get some files
(def f (File. /My/files/))
(def fs (file-seq f))
// Filters for suffixes .mp3
(def get-mp3 (filter #(.endsWith (.getName %) .mp3) fs))
// Get the path of one
On 14/04/14 01:29, Stephen Feyrer wrote:
To be honest I am still not confident in what I'm doing but there are
still avenues to explore.
The REPL is you best friend, keep experimenting, keep reading, and I'm
sure it will all make sense at some point.
On 13/04/14 08:02, François Rey wrote
On 30/04/14 04:25, Paulo Suzart wrote:
If anyone knows any other sliding window impl please share.
Riemann seems to have one:
http://riemann.io/howto.html#group-events-in-time
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
On 06/05/14 15:32, Zhi Yang wrote:
thanks, this is mainly for benchmark expression, what I need is a
jmeter like app performance tool
In that case:
https://github.com/ptaoussanis/timbre
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
On 06/05/14 15:34, François Rey wrote:
On 06/05/14 15:32, Zhi Yang wrote:
thanks, this is mainly for benchmark expression, what I need is a
jmeter like app performance tool
In that case:
https://github.com/ptaoussanis/timbre
Looking at what Gatling provides in scalaland I guess you may
You may want to check timbre and/or The Grinder
http://grinder.sourceforge.net/, the latter being a full-featured java
tool that supports scenario scripting in clojure
http://grinder.sourceforge.net/g3/clojure.html.
--
You received this message because you are subscribed to the Google
Groups
On 10/05/14 22:59, Michał T. Lorenc wrote:
Since, core.async has goroutines maybe it would be possible to
implement go-circuit
https://thestrangeloop.com/sessions/go-circuit-distributing-the-go-language-and-runtime
for clojure to distrubute goroutines across computer nodes?
In a previous topic
I'm not sure I totally understand your use case, but somehow it sounds
like these libraries may be of interest to you:
propaganda https://github.com/tgk/propaganda
prismatic graph https://github.com/prismatic/plumbing
--
You received this message because you are subscribed to the Google
Groups
This may help:
https://groups.google.com/forum/#!msg/clojure/cFmCkdq9tQk/I23-uiqsEwEJ
https://groups.google.com/forum/#%21msg/clojure/cFmCkdq9tQk/I23-uiqsEwEJ
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On 05/06/14 08:29, Leonardo Borges wrote:
I believe you want:
(ns providence.core
(:gen-class)
(:require [seesaw.chooser :refer [choose-file]]))
This will make available the whole seesaw.chooser namespace available
via prefixed notation, with the bonus that choose-file which will be
(for[[k v] [[:a [1 2]] [:b [3 4]]]
n v]
[k n])
--
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
If you really want a vector, just wrap my answer with (into [] ...):
(into[]
(for[[k v] [[:a [1 2]] [:b [3 4]]]
n v]
[k n]))
= [[:a 1] [:a 2] [:b 3] [:b 4]]
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To
(keep-indexed #(if(=100 %1 1000)%2) (range1001))
= (100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
131 132 133 134 135 136 137 138 139 140 141 ...)
--
You received this
On 15/06/14 18:11, Steve Miner wrote:
You can use `drop` and `take` with infinite sequences. Something like this
should work:
(defn between [start end coll]
(take (- end start) (drop start coll)))
The `end` is exclusive as in `range`.
Nice, especially since I suppose this will not incur
http://clojure.org/reader#The Reader--Macro characters
http://clojure.org/reader#The%20Reader--Macro%20characters
--
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
On 20/06/14 15:11, gvim wrote:
Because it's 3 levels deep and requires substituting the vars back
into maps to then create a returned map. Your for example doesn't
emulate Ruby's each_with_index, as in the example, as far as I'm
aware. I'm fairly new to Clojure so the obvious may not be so
On 27/06/14 17:01, Glen Rubin wrote:
I have a list that I want to combine in some way with an incremented
list, so I was trying to write a for expression like this:
(for [i '(my-list-of-crap), j (iterate inc 0)] (str i j))
I would also use map, otherwise try using (range) instead of your
Tuleap http://www.tuleap.org/ is fully open source and integrates
gitolite, gerrit, hudson/jenkins, etc. along with an agile dashboard,
trackers, and more.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On 30/06/14 13:10, Torsten Uhlmann wrote:
We successfully used http://assembla.com in the past.
Except this cannot be hosted internally as requested by the OP...
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
You probably need to export your var:
http://stackoverflow.com/questions/1158091/defining-a-variable-with-or-without-export
--
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
On 10/07/14 10:26, Bertrand Dechoux wrote:
For both question 1) and 2), a more appropriate data structure might
be the answer like a graph/semantic-like store (Datomic or something
else). The questions are about intermediary solutions which would be
less heavier.
I would suggest you look
Also of interest is datomic datalog on regular clojure data structures
and records:
https://gist.github.com/stuarthalloway/2645453
https://gist.github.com/stuarthalloway/3068749
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
The resulting message is generated by the walk method of the s/Either
record, see this line:
https://github.com/Prismatic/schema/blob/ce582d1602abde47143a618745cdd079e0cdaf44/src/cljx/schema/core.cljx#L437
Perhaps removing the quote before 'schemas would make the message clearer:
(list'some
On 30/08/14 05:15, Atamert Ölçgen wrote:
Obviously I can't.
But I need to add this capability to an object. During testing I
attach meta to this object that contains an atom. Then I pass this
object to other functions, known in runtime. I can't use a dynamic var
because all this happens
Here is a link to an article which makes me think more people are seeing
the light on the java side:
http://java.dzone.com/articles/why-you-should-not-implement
It's a nice illustrative demonstration that might be handy if you're
looking for arguments for those left behind in
GC would be the first suspect, but then it could also be combined with a
swap issue, or a JVM bug.
Have a look at this article, which ends with a concrete list of things
to do:
https://blogs.oracle.com/poonam/entry/troubleshooting_long_gc_pauses
--
You received this message because you are
On 15/09/14 14:10, Gomzee wrote:
Hello All,
I am getting ClassCastException
java.lang.String cannot be cast to
java.util.concurrent.Future clojure.core/deref-future
(core.clj:2180) while loading my file on REPL.
On 15/09/14 14:26, Gomzee wrote:
Thanks, for your reply. Is there any other possibility of getting this
error. As I have checked for the situation mentioned by you.
Can you get a stacktrace?
http://tech.puredanger.com/2010/02/17/clojure-stack-trace-repl/
--
You received this message because
On 16/09/14 10:11, Kalina Todorova
wrote:
Relevant? Well it is always nice to find different articles
that are bashing on the issues that could appear from badly
designed OO programs if you want to get Clojure into
I think this blog post should help:
https://kotka.de/blog/2011/10/A_field_trip_into_logic_programming.html
The site seems to have an invalid certificate so you may or may not
want to proceed, but I just did and all is fine.
On 21/09/14 17:07, Casper wrote:
You also need to clarify your
intention: are you adding an author to a list of authors, or
setting the single author?
I suppose the first, but then you need to be clear on what the
list of authors is. , associated to the :authors key, look like.
In
(oops my earlier message isn't quite
right, here's the correct one)
You also need to clarify your intention: are you adding an author
to a list of authors, or setting the single author?
I suppose the first, but then you need to be clear on what the
(oops my earlier message isn't quite
right, here's the correct one)
You also need to clarify your intention: are you adding an author
to a list of authors, or setting the single author?
I suppose the first, but then you need to be clear on what the
On 22/04/15 20:22, Thomas Heller wrote:
As far as I know there is not a single Web Server
actually written in Clojure, they are all written in Java and we
just use them.
http-kit would be one,
although it's using netty which is a
On 23/04/15 00:49, Thomas Heller wrote:
You should check your sources. http-kit is not written in Clojure and
does not use netty.
You're right, I looked at it too quickly: the src directory is mostly
java and the project.clj has a dev only dependency to netty.
I always thought it was written in
53 matches
Mail list logo