Francis Lavoie lav.fran...@gmail.com writes:
(filter even? (range 10))
What's puzzle me is that past at certain number (10 millions), clojure
chocks and throw a «java.lang.OutOfMemoryError: Java heap space»,
1. Why does it happen?
The JVM puts a limit on the amount of memory that can be
.
Konrad
__ Information provenant d'ESET NOD32 Antivirus, version de la
base des signatures de virus 4819 (20100130) __
Le message a été vérifié par ESET NOD32 Antivirus.
http://www.eset.com
--
You received this message because you are subscribed to the Google
Groups Clojure
I should not go with an automatic parser. Binary network protocols can
mean a broad range of things :). If there is just a passive consumer
(like a textual HTTP browser), you could consume all the binary data
and then parse it, though I don't know if do exist a grammar for
binary symbols (just
Dear vimming Clojurians,
I want to populate the Bitbucket Wiki of VimClojure with tips and FAQs from the
field. I'd like to collect the problems you hit, while using it and how you
(hopefully) solved them.
Please send me your suggestions for FAQ and other tips via private email or add
a
On 30 January 2010 13:36, Roberto Mannai roberm...@gmail.com wrote:
I should not go with an automatic parser. Binary network protocols can
mean a broad range of things :). If there is just a passive consumer
Yes, I suppose so :)
(like a textual HTTP browser), you could consume all the binary
Michael Wood esiot...@gmail.com writes:
How about for things like binary network protocols? Would you treat
them the same way as e.g. source code for a language? Obviously
there's no code generation, but you still need to parse it.
As Roberto points out, most common (application-level)
On Sat, Jan 30, 2010 at 1:04 PM, Alex Osborne a...@meshy.org wrote:
there *are* binary protocol parser generators. An
example would be Google protocol buffers:
http://code.google.com/p/protobuf/
Very interesting, thank you
--
You received this message because you are subscribed to the
On Sat, Jan 30, 2010 at 1:04 PM, Michael Wood esiot...@gmail.com wrote:
I have come across references to a declarative implementation of the
DICOM-3 network protocol written in Common Lisp and I was wondering
what that means, exactly, and how one would go about doing something
for an
Hi:
What is the right place to report a clojure-contrib compile failure, or
to look for information?
The clojure-contrib I just pulled from github fails to compile, with an
error that the ColumnWriter class extended by PrintWriter is not found.
The relevant source directory does define
Jeff Rose ros...@gmail.com writes:
Getting with a timeout versus without one is the difference of:
; blocking deref
@p
; deref with 100ms timeout
(.get (future @p) 100 TimeUnit/MILLISECONDS)
But the former just blocks on the promise being delivered, while the
latter creates an anonymous
Hi,
On Sat, Jan 30, 2010 at 22:07, Jeff Schwab j...@schwabcenter.com wrote:
What is the right place to report a clojure-contrib compile failure, or to
look for information?
The clojure-contrib I just pulled from github fails to compile, with an
error that the ColumnWriter class extended by
Meikel Brandmeyer wrote:
Please send me your suggestions for FAQ and other tips via private email or add a ticket
in the bb tracker for the documentation component.
Hope you don't mind if I add to this thread instead. By the way, can
you suggest a forum for reporting VimClojure bugs and
Mike Mazur wrote:
http://paste.lisp.org/display/94135
The automated build is also broken:
http://build.clojure.org/job/clojure-contrib/lastFailedBuild/console
Thanks, I didn't know about that. Looks like I guessed right about the
ordering issue, though:
Does anyone have style suggestions for distinguishing the states from
the refs to mutable data?
Let's say I'm manipulating a cell in a lattice, or doing dynamic
programming, or something. In any case, I have a cell.
;; Current convention: use cell- as the type of the state of a
cell.
(defstruct
Johann Hibschman wrote:
Does anyone have style suggestions for distinguishing the states from
the refs to mutable data?
Let's say I'm manipulating a cell in a lattice, or doing dynamic
programming, or something. In any case, I have a cell.
;; Current convention: use cell- as the type of the
How about Cell?
--
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 unsubscribe from this group, send
Akin to what Johann said, why bother with the functions that deal with
the value/state? Put another way, the cell has identity over time,
thus implemented as a ref. A function that, say, prints a cell, should
take a cell/ref as its arg.
Probably more than you need, but I highly recommend Rich's
How would I do something like these 3 TreeMap operations with
clojure's sorted-map?
The goal is to narrow down a map to include only keys with a given
prefix.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
If you can live with an O(n) operation, take/drop-with will do the
job.
Sean
On Jan 30, 6:59 pm, Rowdy Rednose rowdy.redn...@gmx.net wrote:
How would I do something like these 3 TreeMap operations with
clojure's sorted-map?
The goal is to narrow down a map to include only keys with a given
I want to have it in O(1). That's why I use a tree map in the first
place.
On Jan 31, 9:15 am, Sean Devlin francoisdev...@gmail.com wrote:
If you can live with an O(n) operation, take/drop-with will do the
job.
Sean
On Jan 30, 6:59 pm, Rowdy Rednose rowdy.redn...@gmx.net wrote:
How would
Andy Fingerhut andy_finger...@alum.wustl.edu writes:
I don't know about using map, but here is a function inspired by one
called 'most' in Paul Graham's On Lisp. You could use (most fit-fn
(take k (shuffle popu))) in place of your (first ...) subexpression
above, and it would avoid sorting
On Sat, Jan 30, 2010 at 7:31 PM, Rowdy Rednose rowdy.redn...@gmx.net wrote:
I want to have it in O(1). That's why I use a tree map in the first
place.
On Jan 31, 9:15 am, Sean Devlin francoisdev...@gmail.com wrote:
If you can live with an O(n) operation, take/drop-with will do the
job.
On Jan 30, 6:59 pm, Rowdy Rednose rowdy.redn...@gmx.net wrote:
The goal is to narrow down a map to include only keys with a given
prefix.
I want to have it in O(1). That's why I use a tree map in the first
place.
You can get at the subtree of sorted-map in O(log(n)) but only as a
On Jan 30, 4:35 pm, ataggart alex.tagg...@gmail.com wrote:
Akin to what Johann said, why bother with the functions that deal with
the value/state? Put another way, the cell has identity over time,
thus implemented as a ref. A function that, say, prints a cell, should
take a cell/ref as its
I am trying to figure out some systematic and clear way how to handle
exceptions in clojure and their bubbling up through the call chain.
Let me illustrate it on some code examples (not executable, just to show the
principle).
One response touched on it briefly, but I'm not sure what problem
Hi,
Same thing here.
$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0_16
OS name: linux version: 2.6.28-17-generic arch: i386 Family:
unix
$ java -version
java version 1.6.0_16
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode,
We installed clojure.contrib, more info on: http://www.facebook.com/ideone
please check it out!
regards!
On 18 Sty, 15:38, cej38 junkerme...@gmail.com wrote:
Hi,
This is interesting. I have often wanted something like this. Is
there a way to access clojure.contrib?
Thanks
--
You
Hi Shawn,
You're right - my problems are with 1.1.0 on win7.
I see you've updated your page (http://clojure.bighugh.com/) with
instructions recommending using 1.1.RC1 for the moment. I'll try that
and report back here.
Thanks for your help!
Rollo
On Jan 30, 4:37 pm, Shawn Hoover
Hi Shawn,
Just tried with 1.1.RC1 - no luck. Emacs server won't start and system
will start spawning thousands of cmdproxy processes again.
Where does that bad condition comes from?
Let me know if I can help diagnose or test further.
Thanks,
Rollo
On Jan 30, 4:37 pm, Shawn Hoover
On Sat, Jan 30, 2010 at 5:48 PM, Rollo rollo.toma...@gmail.com wrote:
Hi Shawn,
Just tried with 1.1.RC1 - no luck. Emacs server won't start and system
will start spawning thousands of cmdproxy processes again.
Where does that bad condition comes from?
Let me know if I can help diagnose or
30 matches
Mail list logo