Re: run clojure on 5,832 cores?

2009-02-13 Thread Christian Vest Hansen
Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr

Re: run clojure on 5,832 cores?

2009-02-14 Thread Christian Vest Hansen
On Sat, Feb 14, 2009 at 1:31 AM, Stuart Sierra the.stuart.sie...@gmail.com wrote: On Feb 13, 6:13 pm, Christian Vest Hansen karmazi...@gmail.com wrote: I see no mention of a JVM being available for those CPUs, but perhaps the no-asm HotSpot can be build with gcc on it. Looks like they run

Re: Anonymous recursive functions

2009-02-16 Thread Christian Vest Hansen
this is not the best way to write a factorial (it is not tail- recursive), the point is just to show an example of a recursive call. Konrad. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: do-form swallows exception?

2009-02-17 Thread Christian Vest Hansen
]) no exception)) this however does throw exception: (defn foo [] (map (fn [_] (throw (RuntimeException. fail))) [1 2])) Is this a bug or am I missing something? -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received

Re: map literals, computed keys and side-effects

2009-02-17 Thread Christian Vest Hansen
, 8 8} Granted, it's not casual Clojure code but it's surprising. Christophe -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You

Re: map literals, computed keys and side-effects

2009-02-17 Thread Christian Vest Hansen
in turn causes it to evaluate twice; into two different keys with two different associations. On Tue, Feb 17, 2009 at 8:28 PM, Christian Vest Hansen karmazi...@gmail.com wrote: That's odd. Might you have uncovered a bug regarding: user= (class {1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9

Re: map literals, computed keys and side-effects

2009-02-17 Thread Christian Vest Hansen
Just to clarify; I think PersistentArrayMap is too naïve: user= {1 1 1 1 1 1 2 2} {1 1, 1 1, 1 1, 2 2} Also, this is rev 1286 (just prior to lazy-branch merge thingy). On Tue, Feb 17, 2009 at 8:50 PM, Christian Vest Hansen karmazi...@gmail.com wrote: I think I got it :) The two (swap! a inc

Re: map literals, computed keys and side-effects

2009-02-17 Thread Christian Vest Hansen
. Christophe -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: map literals, computed keys and side-effects

2009-02-17 Thread Christian Vest Hansen
On Tue, Feb 17, 2009 at 10:07 PM, Rich Hickey richhic...@gmail.com wrote: On Feb 17, 3:30 pm, Christian Vest Hansen karmazi...@gmail.com Please don't create issues without getting a nod from me here first. Ok. I won't. I must have overlooked the Similarly, please confirm a bug before making

Re: Clojure Questions

2009-02-21 Thread Christian Vest Hansen
answer, that would be a great help. What is the minimum required JVM version for clojure? What versions of Java have been tested? What versions of Java are supported? Thanks! -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: alternate syntax

2009-02-23 Thread Christian Vest Hansen
of scriptability by people who cannot be expected to be lisp savvy. -- R. Mark Volkmann Object Computing, Inc. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
to generate the docs I can live with, but that File not found line looks pretty suspect. Daniel On Feb 26, 10:58 am, Christian Vest Hansen karmazi...@gmail.com wrote: Nice initiative! However, it the net-ssh dependency has problems: [cvh: ~]$ sudo gem install djspiewak-buildr ERROR

Re: ANN: Preliminary Clojure Support in Buildr

2009-02-26 Thread Christian Vest Hansen
, but you should still be ok (crazy gems).  Try the following:  buildr --version Daniel On Feb 26, 3:16 pm, Christian Vest Hansen karmazi...@gmail.com wrote: On Thu, Feb 26, 2009 at 6:17 PM, Daniel Spiewak djspie...@gmail.com wrote: Odd.  Must be a problem with RubyForge.  If you try again

Re: Mathy operations on non-numerics (was Adding strings)

2009-02-27 Thread Christian Vest Hansen
-- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group

Re: Question about instance?

2009-03-10 Thread Christian Vest Hansen
)] (println x)) I think that should print 'true', and therefor I am against this proposal. Thanks in advance, -- Laurent -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: What is Clojure NOT good for?

2009-03-10 Thread Christian Vest Hansen
success chances, since you and your team-mates will be of a higher caliber. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Question about instance?

2009-03-10 Thread Christian Vest Hansen
and fits the intent better. Regards, Tim. On Mar 10, 7:15 pm, Christian Vest Hansen karmazi...@gmail.com wrote: On Mon, Mar 9, 2009 at 11:10 PM, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, I have the use case for calling instance? where, once instance? returns true, I want

Re: filter1 interesting?

2009-03-11 Thread Christian Vest Hansen
On Wed, Mar 11, 2009 at 9:01 AM, Vagif Verdi vagif.ve...@gmail.com wrote: Is (first (filter ..) lazy like in haskell ? Yes. I would hate to wait for filter to get all results just to throw them out and pick the first one. -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Performance tips for Clojure

2009-03-13 Thread Christian Vest Hansen
it takes to build the vector goes up significantly, but the timed part, calling 'rest' a million times, doesn't take anywhere near 100 times longer. --Chouser -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received

Re: filter1 interesting?

2009-03-16 Thread Christian Vest Hansen
hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email

Re: User contributed packages (Cabel, CPAN, etc)

2009-03-22 Thread Christian Vest Hansen
generate.  A good package manager will help fuel that growth. And now I'll cop out say that I have no idea about how to actually implement this sort of thing - I'm hoping somebody else will want to do it for me :) Thanks, Brad -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: ANN: Preliminary Clojure Support in Buildr

2009-03-23 Thread Christian Vest Hansen
compilation with Scala/Java or Groovy/Java does not necessitate an extra require, but this first one is necessary to get the process started and ensure that Clojure's compiler becomes the dominant selection. Daniel -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: STM and useful concurrency

2009-03-24 Thread Christian Vest Hansen
, Inc. -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Clojure + Java compilation and IntelliJ IDEA plugin

2009-03-25 Thread Christian Vest Hansen
be switched off. For more details see File - Settings - Compiler - Clojure. For someone these settings might seem not sufficiently flexible. So, all comments and proposals are appreciated. :) With best regards, Ilya Sergey -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Clojure Users Group - Denmark

2009-03-30 Thread Christian Vest Hansen
lambda lounge? Cheers, /Karl -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

Re: I feel I'm making an elementary mistake with proxy, but I don't know what...

2009-04-02 Thread Christian Vest Hansen
to a Swing container. I'd greatly appreciate it if anyone has any insight regarding what is going on... Thanks, -Luke -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Print a Large Lazy Seq - Heap Error

2009-04-02 Thread Christian Vest Hansen
, PJ -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from

Re: Is Clojure production ready?

2009-04-16 Thread Christian Vest Hansen
. Thanks, Aaron -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

Re: Concerns About Pushing Clojure 1.0.0 to Maven Central Repo?

2009-05-07 Thread Christian Vest Hansen
, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr

Re: Is apply slow or am I incorrectly benchmarking this?

2009-05-20 Thread Christian Vest Hansen
(let [i [1]]  (time (dotimes [j 1000]          (apply #(Math/ceil %) i Elapsed Time: 4123.448 msecs (let [i 1]  (time (dotimes [j 1000]          (Math/ceil i Elapsed Time: 555.107 msecs -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: The thread ring problem

2009-05-29 Thread Christian Vest Hansen
compile the class? Thanks a lot. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Clojure STM not serializable

2009-06-18 Thread Christian Vest Hansen
) ; or any slow computation        (ref-set a (dec old-b)) (Thread/sleep 6000) ; or join the above threads (println a= @a , b= @b)      a= -1 , b= 1 -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message

Re: offtopic - where are you come from? (poll)

2008-10-17 Thread Christian Vest Hansen
Slovakia. :) RK -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe

Re: Modified doto

2008-10-24 Thread Christian Vest Hansen
? In addition, I think having to always use dot-something for methods is good consistency. +1. Rich -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

Re: Concerned about Clojure's license choice.

2008-11-02 Thread Christian Vest Hansen
On Mon, Nov 3, 2008 at 2:11 AM, Rich Hickey [EMAIL PROTECTED] wrote: MIT and BSD are not reciprocal licenses. I want a reciprocal license. What does it mean that a license is reciprocal? -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Back on max again...

2008-11-03 Thread Christian Vest Hansen
and Date both implement Comparable. Comparable is supposed to impose a total ordering on a set, so in a finite set of objects of the same type, the max is always well defined. +1 on (min) and (max) operating on Comparables. -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Back on max again...

2008-11-04 Thread Christian Vest Hansen
On Tue, Nov 4, 2008 at 3:12 PM, Rich Hickey [EMAIL PROTECTED] wrote: On Nov 4, 9:00 am, Christian Vest Hansen [EMAIL PROTECTED] wrote: Generally by custom but not required by contract of the Comparable interface. And those are all Numbers, right? Comparable imposes natural ordering

Re: STM criticisms from Bryan Cantrill (Sun)

2008-11-04 Thread Christian Vest Hansen
your argument probably still holds, but I don't think it will hold forever. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: Back on max again...

2008-11-04 Thread Christian Vest Hansen
On Tue, Nov 4, 2008 at 1:45 PM, Rich Hickey [EMAIL PROTECTED] wrote: On Nov 4, 2:56 am, Christian Vest Hansen [EMAIL PROTECTED] wrote: On Tue, Nov 4, 2008 at 6:23 AM, Mark H. [EMAIL PROTECTED] wrote: On Nov 3, 6:48 pm, Cosmin Stejerean [EMAIL PROTECTED] wrote: I think clearly spelling

Re: POLL: Domain name for project hosting site.

2008-11-18 Thread Christian Vest Hansen
Thanks for the help Clojurians! Cheers, drewc -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: seq and vector

2008-11-22 Thread Christian Vest Hansen
! -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email

Re: Improved Maven Build

2008-12-03 Thread Christian Vest Hansen
with groupId, artifactId and version, so the jar can be refered from other poms. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: Clojure indentation conventions

2008-12-04 Thread Christian Vest Hansen
recommended style (indecision ftw). -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

Re: Elegant but very slow

2008-12-04 Thread Christian Vest Hansen
Ah, disregard that. I found the rules: http://shootout.alioth.debian.org/u32q/benchmark.php?test=binarytreeslang=all#about On Fri, Dec 5, 2008 at 1:04 AM, Christian Vest Hansen [EMAIL PROTECTED] wrote: Is it important that we build and deconstruct a complete tree in the process, or is merely

Re: Clojure Blogs | Yahoo Pipes | Clojure Pipe

2008-12-06 Thread Christian Vest Hansen
, Akregator (KDE-based RSS feed aggregator) does not like that URL. s/feed/http/ seems to do the trick, for some reason. Randall Schulz -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you

Re: memory issue with nth

2008-12-06 Thread Christian Vest Hansen
On Sun, Dec 7, 2008 at 2:22 AM, Randall R Schulz [EMAIL PROTECTED] wrote: On Saturday 06 December 2008 17:11, Christian Vest Hansen wrote: I played around with some code, trying to explore the memory problems with 'filter' that is discussed in another thread, when I noticed an unexpected

Re: memory issue with nth

2008-12-07 Thread Christian Vest Hansen
non-standard memory size arguments to the VM unless I expect I'll need it for something I'm doing. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: memory issue with nth

2008-12-11 Thread Christian Vest Hansen
...@gmail.com wrote: I think this might just be a JVM version issue. I can reproduce this issue with a 1.5 JVM, but I can't reproduce it with 1.6. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because

Re: doall and dorun

2008-12-16 Thread Christian Vest Hansen
user= What's the explanation for that? thanks sun -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Suggestion: introduce (defn name attr-map? [params*] doc-string body) form.

2008-12-18 Thread Christian Vest Hansen
/ Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

Re: Suggestion: introduce (defn name attr-map? [params*] doc-string body) form.

2008-12-19 Thread Christian Vest Hansen
esiot...@gmail.com -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

Re: Listen on changes to refs

2008-12-20 Thread Christian Vest Hansen
' for now. Another option, as long as you don't tell Rich, is that you could abuse the validator function to send to your agent. Anyway, apparently watchers for Refs are planned, so you could just wait for that. --Chouser -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: multiple sets on one item - is this a good idea?

2008-12-20 Thread Christian Vest Hansen
' is different in that it's only for dealing with .class files. --Chouser Good material for the FAQ, no? Or maybe just the docs. Regardless, this is a good explanation. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received

Re: Suggestion: introduce (defn name attr-map? [params*] doc-string body) form.

2008-12-29 Thread Christian Vest Hansen
)) (list fdecl) fdecl) On Fri, Dec 19, 2008 at 1:06 PM, Christian Vest Hansen karmazi...@gmail.com wrote: On Fri, Dec 19, 2008 at 12:46 PM, Michael Wood esiot...@gmail.com wrote: Where would it go when you have multiple parameter lists and bodies

Re: Constant expression optimization

2009-01-01 Thread Christian Vest Hansen
the constant expression, but before doing so I'd like to know if I really have to. Konrad. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group

Re: Local mutually recursive functions?

2009-01-01 Thread Christian Vest Hansen
/ Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

Re: update-values for clojure.contrib.sql

2009-01-02 Thread Christian Vest Hansen
) [values]))) It only send one set of values to do-prepared because of the where clause that would have to change according to each sets. I'm ready for your commentaries and/or suggestions. -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: literate snake

2009-01-02 Thread Christian Vest Hansen
of the snake reaches 10 - automatically restarting the game after an overlap or a win -- R. Mark Volkmann Object Computing, Inc. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Exercise: words frequency ranking

2009-01-03 Thread Christian Vest Hansen
Hehe, venlig hilsen is danish for kind regards :) On Sat, Jan 3, 2009 at 3:23 PM, Emeka emekami...@gmail.com wrote: Venlig hilsen and Timothy Prately Thanks so much. Emeka -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Bug in .hashCode for vectors/lists (Old subject: Bugs in contains? (?))

2009-01-03 Thread Christian Vest Hansen
/ Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

Re: Bugs in contains? (?)

2009-01-03 Thread Christian Vest Hansen
/ Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

Re: recur with many parameters

2009-01-03 Thread Christian Vest Hansen
result (- n 1)) ] (recur a1 a2 ... an))) I'd like to get rid of this a1, a2, ..., an and call recur in some more convenient way. I've tried (apply recur result), but without any success (Unable to resolve symbol: recur in this context). -- Venlig hilsen / Kind regards, Christian Vest

Re: terminating an app that uses agents

2009-01-05 Thread Christian Vest Hansen
ms] (Thread/sleep ms) (* old-state times)) (send-off my-agent sleep-and-multiply 2 1500) (send-off my-agent sleep-and-multiply 3 1000) (await my-agent) (println my-agent = @my-agent) -- R. Mark Volkmann Object Computing, Inc. -- Venlig hilsen / Kind regards, Christian Vest

Re: Cons.count overflows stack (with patch)

2009-01-06 Thread Christian Vest Hansen
, don't hesitate or I'll move this to the issues page! --Chouser -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: Cons.count overflows stack (with patch)

2009-01-07 Thread Christian Vest Hansen
On Wed, Jan 7, 2009 at 2:10 PM, Chouser chou...@gmail.com wrote: On Wed, Jan 7, 2009 at 2:41 AM, Christian Vest Hansen karmazi...@gmail.com wrote: On Wed, Jan 7, 2009 at 5:26 AM, Chouser chou...@gmail.com wrote: Since I couldn't find any other class that uses this kind of recursion

Re: sort behavior question

2009-01-08 Thread Christian Vest Hansen
implement Comparable. Comparable implies that an Object can be reduced to a scalar value, if only for the purpose of comparing. How do you imagine this should work on list of arbitrary things? -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: when performance matters

2009-01-12 Thread Christian Vest Hansen
hopes? And are there any other performance enhancing possibilities that I have not taken into account? Thanks, Mark P. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Patch: Arbitrary Symbols between ||

2009-01-14 Thread Christian Vest Hansen
On Wed, Jan 14, 2009 at 1:59 PM, Rich Hickey richhic...@gmail.com wrote: I am interested in symbols with arbitrary names, Why is this interesting? -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because

Re: Synchronization Benchmarks

2009-01-15 Thread Christian Vest Hansen
). mfh -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from

Re: Synchronization Benchmarks

2009-01-15 Thread Christian Vest Hansen
On Thu, Jan 15, 2009 at 8:47 PM, Christian Vest Hansen karmazi...@gmail.com wrote: On Thu, Jan 15, 2009 at 8:35 PM, Mark H. mark.hoem...@gmail.com wrote: On Jan 15, 1:38 am, stuhood stuh...@gmail.com wrote: The benchmark contains 4 bi-directional dictionary implementations: ... Doesn't Java

Re: Synchronization Benchmarks

2009-01-16 Thread Christian Vest Hansen
with a majority of writes. (see the 100% write case in the writes graph.) Thanks, Stu On Thu, Jan 15, 2009 at 2:52 PM, Christian Vest Hansen karmazi...@gmail.com wrote: On Thu, Jan 15, 2009 at 8:47 PM, Christian Vest Hansen karmazi...@gmail.com wrote: On Thu, Jan 15, 2009 at 8:35 PM

Re: Mysterious performance anomalies

2009-01-16 Thread Christian Vest Hansen
. Thanks for your help! Jason -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

JScrollPane + JTextPane trouble.

2009-01-18 Thread Christian Vest Hansen
/b184f842686861a3b4a947a24ea92a610edd8b46/textjure.clj#L318 [3]: http://github.com/karmazilla/textjure/blob/b184f842686861a3b4a947a24ea92a610edd8b46/textjure.clj#L627 -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you

Re: JScrollPane + JTextPane trouble.

2009-01-19 Thread Christian Vest Hansen
Excellent! The getScrollableTracksViewportWidth() trick did it :) On Mon, Jan 19, 2009 at 3:26 PM, MikeM michael.messini...@invista.com wrote: This might be helpful: http://os-lists.sun.com/thread.jspa?messageID=457986 -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Unexpected binding behavior

2009-01-20 Thread Christian Vest Hansen
, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr

Re: Agent as a processing queue

2009-01-22 Thread Christian Vest Hansen
sequential processing (which could be achieved with a single agent). Regards, Tim. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Streams work

2009-01-22 Thread Christian Vest Hansen
the other. For those looking to experiment with such things, feel free to try it now and provide feedback. Thanks, Rich -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Regarding (.keySet {:a :map})

2009-01-23 Thread Christian Vest Hansen
I type this expression in the REPL (trunk 1228): user= (let [s (.keySet {:a 1})] [(set? s) (ifn? s)]) [false false] But I expected it to return [true true]. Is this an oversight, or is there a good reason for this behavior? -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: Regarding (.keySet {:a :map})

2009-01-23 Thread Christian Vest Hansen
On Fri, Jan 23, 2009 at 11:06 PM, Rich Hickey richhic...@gmail.com wrote: On Jan 23, 1:47 pm, Christian Vest Hansen karmazi...@gmail.com wrote: I type this expression in the REPL (trunk 1228): user= (let [s (.keySet {:a 1})] [(set? s) (ifn? s)]) [false false] But I expected

Re: PermGen growth

2009-01-25 Thread Christian Vest Hansen
function creation inside my (permGen) function. I don't have any anonymous function definitions in my function, so what is causing the used PermGen growth? thanks, Greg -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You

Re: Binding values in a list of symbols and evaluating as code

2009-01-25 Thread Christian Vest Hansen
to all Classes that it has loaded. So, if an Object whose Class was loaded by loader A holds a reference to any Object whose Class was loaded by loader B, then you will not be able to GC loader B or any of its classes. -- Venlig hilsen / Kind regards, Christian Vest Hansen

Re: PermGen growth

2009-01-25 Thread Christian Vest Hansen
, Jan 25, 2009 at 3:08 PM, Greg Harman ghar...@gmail.com wrote: I believe you, but I don't understand why. I'm doing nothing but evaluate my test function over and over. Since no new functions are being defined, why would this evaluation use any PermGen? On Jan 25, 5:57 am, Christian Vest Hansen

Re: PermGen growth

2009-01-25 Thread Christian Vest Hansen
, The expression to call your function was being defined over and over, causing new classes to be generated. This is a side-effect of eval, which the REPL is based upon. why would this evaluation use any PermGen? On Jan 25, 5:57 am, Christian Vest Hansen karmazi...@gmail.com wrote: Clojure

Re: NewBie Q: doall forces eval and dorun not; but why?

2009-01-26 Thread Christian Vest Hansen
/ Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

Re: an example where locking is appropriate?

2009-01-26 Thread Christian Vest Hansen
-- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group

Re: Dauphin: mona lisa genetic algorithm in clojure

2009-01-27 Thread Christian Vest Hansen
of the function. When the function is no longer live, both it and its ClassLoader become legible for garbage collection. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Multi-CPU on Mac Not Exploited?

2009-01-27 Thread Christian Vest Hansen
-- blog: whydoeseverythingsuck.com -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: dispatch macros that are new to me

2009-01-27 Thread Christian Vest Hansen
/bin/env clj :) -- Cosmin Stejerean http://offbytwo.com -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: nested maps

2009-01-29 Thread Christian Vest Hansen
by constantly will take any number of arguments. -- R. Mark Volkmann Object Computing, Inc. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group

Re: Memory Consumption of Large Sequences

2009-02-02 Thread Christian Vest Hansen
-- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email

Re: what does - mean?

2009-02-02 Thread Christian Vest Hansen
On Mon, Feb 2, 2009 at 1:34 PM, wubbie sunj...@gmail.com wrote: any concrete example? http://github.com/karmazilla/textjure/blob/cf4ac457358e02f1d1d46d14a2885da0544dbd46/textjure.clj#L342 thanks, -sun On Feb 2, 5:13 am, Christian Vest Hansen karmazi...@gmail.com wrote: On Sun, Feb 1

Re: what does - mean?

2009-02-02 Thread Christian Vest Hansen
quoted text - -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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 To unsubscribe

Re: Queues

2009-02-03 Thread Christian Vest Hansen
the other, so one of the two operations is necessarily expensive. But is there a difference between the two? Konrad. -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Clojure speed

2009-02-03 Thread Christian Vest Hansen
significantly in JDK 7: http://markmail.org/message/7conncsespvrlazn -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Type hint Java array of your own Java class

2009-02-05 Thread Christian Vest Hansen
someone :) -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Java STM

2009-07-13 Thread Christian Vest Hansen
. On Mon, Jul 13, 2009 at 2:07 AM, Vagif Verdivagif.ve...@gmail.com wrote: Potentially interesting library for clojurians. Java STM implementation: http://www.deucestm.org/ -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You

Re: ANN: FnParse, a functional parsing library

2009-07-15 Thread Christian Vest Hansen
, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

Re: Examining performance on the JVM

2009-07-16 Thread Christian Vest Hansen
, but it does seem like there are many knowledgeable people on this list that might be able to offer some tips. Thanks, Brad -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Good memory profilers (program or human)?

2009-07-31 Thread Christian Vest Hansen
. Thank, Andy -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ 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

  1   2   >