Rob Lachlan napisał(a):
> Thanks for the help. I had initially installed slime, clojure-mode
> and swank following the instructions at
> http://riddell.us/tutorial/slime_swank/slime_swank.html
>
> I tried simply installing swank-clojure, but that seemed to conflict
> with what I already had. S
Hello fellow Clojurians,
I got lots of "java.lang.OutOfMemoryError: GC overhead limit exceeded
" exceptions ,and after a short investigation added the following
flags (JVM 1.6.0_17):
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:
+CMSIncrementalPacing
These flags seems to solve the problem,
On 07.01.2010, at 01:56, Steven E. Harris wrote:
I'm interested in what you mean by "composite computation", because I
think it's hinting at some concept for monads that I missed. If, as
you
say, executing the function immediately is not acceptable behavior,
then
I infer that the goal is to
On 07.01.2010, at 02:23, Steven E. Harris wrote:
That means that a monadic function has a signature like
a -> m b
RIght.
Say that we're looking to use some "normal" functions with this
monad. Those functions may have signatures like
a -> b
They clearly don't return the right kind of val
On Jan 5, 2010, at 5:59 PM, Richard Lyman wrote:
> For now I'd rather be compensated if someone were planning on using clj-peg
> commercially. I'm not sure how much I'd charge for a commercial-friendly
> license, and I don't have an automated process for handling billing and
> production of a d
Hello
I have a simple task of reading an XML structure, manipulate part of
it and writing it back to XML.
For example, adding 1$ for each book with a year element after 2005 in
the following example:
Everyday Italian
Giada De Laurentiis
2005
30.00
Harry Potter
J
First, make sure you have -server. If you can spare more heap, use -
Xmx1g . If you're on a 64bit jvm, -XX:+UseCompressedOops adds a
significant boost. A flag that helps quite a bit is -XX:
+DoEscapeAnalysis . Finally, if you want to play around with the JIT
threshold, use -XX:CompileThreshold=n ,
Rob Lachlan writes:
> Thanks for the help. I had initially installed slime, clojure-mode
> and swank following the instructions at
> http://riddell.us/tutorial/slime_swank/slime_swank.html
>
> I tried simply installing swank-clojure, but that seemed to conflict
> with what I already had. So I
"Steven E. Harris" writes:
> Here's the stack:
>
> o swank-clojure
> Git head.
>
> o SLIME
> Both CVS head and git://git.boinkor.net/slime.git head behave the same
> way, as the offending calls are in swank-clojure.
Could you try installing SLIME via ELPA as recommended in the
swank-clojur
I use -XX:+UseConcMarkSweepGC. And don't forget -Xmx, just having a
bigger heap can solve some problems. Some people have found it
necessary to increase the PermGen size, but usually only for programs
that generate a lot of functions dynamically.
-SS
On Jan 7, 4:20 am, Gabi wrote:
> Hello fel
We have a second Release Candidate for clojure-contrib version 1.1.
This avoids ticket #42, "AOT compilation of clojure-contrib.jar
pre-sets logging implementation," by not AOT-compiling logging.clj.
-SS
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
Whoops, yes, I meant Jan 9, thanks
On Jan 6, 8:02 pm, ajay gopalakrishnan wrote:
> It's Jan 9 I guess
>
>
>
> On Wed, Jan 6, 2010 at 10:53 PM, nallen05 wrote:
> > Two very cool presentations this Saturday at the Hacker Dojo in
> > Mountain View:
>
> > 1. An introduction to Wraith Scheme by Jay
Thanks I'll try those flags. I indeed use 64 bits
On Jan 7, 6:47 pm, kyle smith wrote:
> First, make sure you have -server. If you can spare more heap, use -
> Xmx1g . If you're on a 64bit jvm, -XX:+UseCompressedOops adds a
> significant boost. A flag that helps quite a bit is -XX:
> +DoEscapeAna
What I use:
-Xincgc : enable incremental garbage collector. Works great when
there's more than 1 CPU
-Xms4000m -Xmx4000m : set both min and max heap size to the same
amount (4 Gb in this case). Prevents dynamic heap resizing, which at
high loads may result in unexpected out of memory errors and
Hi All,
Does anyone know if ClojureCLR runs or could run on the Silverlight
CLR? Can one use ClojureCLR to build Silverlight applications?
I am as new as one can be to the .NET/CLR world, but the combination
seems promising for an application I am planning to work on.
Garth
--
You received this
Thanks Phil and Rob for your help.
I got rid of everything in emacs.d, and tried reinstalling from the
beginning. For some reason, elpa seems to get stuck halfway through
with this message:
trying to parse HTTP response code in odd buffer: *http tromey.com:80*
But having installed swank-clojure
Phil Hagelberg writes:
> Could you try installing SLIME via ELPA as recommended in the
> swank-clojure readme?
That will be a project I'll have to defer until the weekend, as I've
never used ELPA. I use the CVS SLIME almost daily for Common Lisp work,
so I'm reluctant to give it up. Also, it's n
Thank you, Konrad. Your explanation was perfect.
--
Steven E. Harris
--
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 wit
Konrad Hinsen writes:
> When the monadic values are functions representing computations,
> monadic composition yields a new function but doesn't execute
> anything. When the monadic values represent results of computations,
> then monadic composition implies execution of the computational steps.
"Steven E. Harris" writes:
>> Could you try installing SLIME via ELPA as recommended in the
>> swank-clojure readme?
>
> That will be a project I'll have to defer until the weekend, as I've
> never used ELPA. I use the CVS SLIME almost daily for Common Lisp work,
> so I'm reluctant to give it up.
Rob Lachlan writes:
> But having installed swank-clojure, I get an error:
>
> java.lang.ClassNotFoundException: swank.swank
>
> And I can't find swank-clojure.jar anywhere on my system. Should I
> have built that separately? Anyway, thanks very much for all your
> help.
How did you launch it? I
This is very interesting, but I cannot seem to get Clojure code to execute in
it. I have it installed and field thinks it is installed. Do I need to somehow
switch modes?
---
Joseph Smith
j...@uwcreations.com
On Jan 4, 2010, at 3:42 PM, Marc Downie wrote:
>
> Well, if people are in the m
Hi Gabi,
This may not be useful, but have you tried running the Clojure new
branch? Rich implemented fine-grained locals clearing on the new
branch, and it helps avoid holding onto unused data accidentally.
http://groups.google.com/group/clojure/browse_thread/thread/14baed8f26097515/583cd8375a0d4
Apologies for repeat emails… Note the 1 Feb. deadline!CfP: IEEE Software
Special Issue: Multiparadigm Programming
*Final submissions due: 1 February 2010
Publication date: September/October 2010*
For most of today’s applications, using one language and one paradigm—for
instance, object-oriented p
Tzach,
I'd start will clojure.xml. At a very high level, my program would
look like this
1. Load the xml file with clojure.xml/parse
2. Apply your filtering code with something like map-if (see below)
(defn map-if [pred f coll]
(map #(if (pred %) (f %) %) coll))
3. Use clojure.contrib.prx
On Jan 6, 6:07 pm, Perry Trolard wrote:
> I suppose I could create a leiningen project for my clj script,
> specifying libraries I want as dependencies & then just putting its
> uberjar on the classpath, but this requires that the libraries are
> available in maven repos. Have other leiningen use
Have you tried running with escape analysis on? It might help take
some of the burden off the garbage collector.
-XX:+DoEscapeAnalysis
On Jan 7, 4:20 am, Gabi wrote:
> Hello fellow Clojurians,
>
> I got lots of "java.lang.OutOfMemoryError: GC overhead limit exceeded
> " exceptions ,and after a
I agree with Steven on this. As one who uses emacs and SLIME for both common
lisp and clojure, I'd like to be able to use the current SLIME HEAD for clojure
development work. I consider the fact that swank-clojure and the SLIME HEAD
don't play nicely with each other to be a deficiency of swank-
On Mon, Jan 4, 2010 at 11:27 PM, Richard Lyman wrote:
> This project adds support in Clojure for Parsing Expression Grammars.
> You'll be able to write pseudo-ebnfs directly in your Clojure code.
Sounds nice, but where's the source code?
Cheers,
mk
--
You received this message because you are s
Hello,
I have an emacs setup on OSX using elpa with the latest clojure-mode,
swank-clojure, slime, slime-repl all from ELPA. When I upgraded to the
latest swank-clojure in ELPA (swank-clojure-1.1.0), I began to get
this error as well:
> Searching for program: no such file or directory, lisp
>
I t
Hi folks,
We're looking for someone savvy with Clojuresque ways of thinking, excited by
phrases like "Monte Carlo simulation", "Bayesian inference", and "combinatorial
optimization", willing to travel to New York for intense, engaging work, and
(we hope!) motivated by an interest in education,
Hi,
I'm new to monads in clojure, and I'm loving them, they're really awesome!
But right now I need some help. Either I'm using dist-m wrong, or it's
a bug I've found.
It can be reproduced with:
clojure commit f4c58e3500b3668a0941ca21f9aa4f444de2c652
clojure-contrib commit 25fec5b5771408c30b802b
I don't want to have to use ELPA, or maven, or some other
configuration management thing to get basic tools like an editing
environment for the language up and running. Perhaps I should just
bite the bullet and use the crazy configuration/package management
things that the clojure community
33 matches
Mail list logo