On Apr 30, 8:16 pm, Nathan Sorenson wrote:
> Yes but the contract of subvec is that it returns a "persistent
> vector" and the resulting data structure returns "true" under the
> "vector?" predicate. I know that subvec returns a different type
> because I've looked at the Java source code but th
Hi,
I just published a Clojure wrapper for the java library Hector, client for
Apache Cassandra.
https://github.com/damienlepage/vhector
This is my first project with Clojure so the internals are certainly far
from optimal.
However I'm very happy with the API I've been able to put together.
--
With Lance's help, I've gotten a better understanding of why CDT fails
with Cake. The problem is that Cake makes use of Classlojure,
(https://github.com/ninjudd/classlojure), which allows multiple
versions of clojure to be loaded in the same vm simultaneously. (It's
pretty cool!)
Anyways that bre
I think you'll find http://blip.tv/file/4645227 relevant to the subject. I
shows the inner working of pmap.
--
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
I'm not exactly sure of your specific use case, but you should take a
look at clojure.template. It could be what you're looking for.
http://clojuredocs.org/clojure_core/clojure.template
Paul
On Apr 30, 3:39 am, Ambrose Bonnaire-Sergeant
wrote:
> Hi David,
>
> I can only comment on a subset of
Yes but the contract of subvec is that it returns a "persistent
vector" and the resulting data structure returns "true" under the
"vector?" predicate. I know that subvec returns a different type
because I've looked at the Java source code but that's a leaky
abstraction.
On Apr 30, 10:57 am, Ken We
On Sat, Apr 30, 2011 at 11:27 AM, Armando Blancas
wrote:
> On Apr 29, 10:54 am, Nathan Sorenson wrote:
>> (transient (subvec [1 2 3 4 5] 0 2)) fails with a class cast
>> exception. Is this expected/unavoidable? How do I know whether the
>> vectors I'm passed are regular vectors or come via subvec
I've read that, and the claim seems to be that Vectors support
transience. Within Clojure's abstraction SubVectors are Vectores:
(vector? (subvec [1 2 3] 0 2)) => true.
On Apr 30, 8:27 am, Armando Blancas wrote:
> Check this out:http://clojure.org/Transients
>
> On Apr 29, 10:54 am, Nathan Sorens
Stu,
Just a quick thought, you can use Java2D for the images and then iText
to create the PDFs.
Brenton
On Apr 29, 9:26 pm, stu wrote:
> Hi,
>
> I'm developing a Clojure project that loads and creates a bunch of
> simple 2D geometry (lines, polygons, beziers, text etc). I need to
> create in a
> does access to
> lets say second part of partitioned range cause first part to be
> materialized or no?
Yes, it does.
> My second question is connected to first. If we have 4 cores and *pmap *starts
> 4 threads to perform our function on 4 parts of partitioned range, is this
> happening in para
I've also had success with Batik for server-side image generation. As
long as you don't mind SVG.
Dave
On Saturday, April 30, 2011, Nathan Sorenson wrote:
> Batik can serialize to both PNG and PDF. http://xmlgraphics.apache.org/batik/
>
> I currently use Batik in a clojure project doing a lot of
Check this out: http://clojure.org/Transients
On Apr 29, 10:54 am, Nathan Sorenson wrote:
> (transient (subvec [1 2 3 4 5] 0 2)) fails with a class cast
> exception. Is this expected/unavoidable? How do I know whether the
> vectors I'm passed are regular vectors or come via subvec?
>
> I'm assumi
Hi David,
I can only comment on a subset of your post.
Records can be cumbersome to work with during early stages of development,
when
everything is rather volatile (when isn't it?).
You might like to try using maps instead. They are easier to work with when
you are
working out what properties y
I am using maven directly to work with clojure and I had the problem
with the tools.jar, too. I resolved it by adding the following block
to my pom.xml:
default-tools.jar
java.vendor
Sun Microsystems Inc.
c
G'day everyone,
Are there any libraries or projects that are similar to Python Traits
or Zope Schemas (http://pypi.python.org/pypi/zope.schema) for clojure.
I am developing a compojure application and there is a lot of
duplication between areas of the codebase, e.g.
- Fields listed on the defreco
Batik can serialize to both PNG and PDF. http://xmlgraphics.apache.org/batik/
I currently use Batik in a clojure project doing a lot of drawing of
2d vector-based images. It's a very extensive library but it suits my
needs well.
On Apr 29, 9:26 pm, stu wrote:
> Hi,
>
> I'm developing a Clojure p
16 matches
Mail list logo