On Jul 31, 12:06 pm, Berlin Brown wrote:
> On Jul 31, 4:45 am, Andy Fingerhut
> wrote:
>
>
>
> > I thought I'd follow up my own question with some programs that I
> > should have already known about for memory profiling, which were
> > already installed
On Jul 31, 4:45 am, Andy Fingerhut
wrote:
> I thought I'd follow up my own question with some programs that I
> should have already known about for memory profiling, which were
> already installed on my Mac as part of the standard Java installation
> from Apple (who are just passing them on fro
On Jul 28, 2:37 pm, fft1976 wrote:
> Thanks, AndyF for writing the code! I'm glad someone's done a
> comparison of idiomatic code instead of making unsubstantiated claims.
Are you implying that my claims are unsubstantiated or non idiomatic.
I took the frequency code from clojure/contrib and i
Thanks AndyF, do you mind if I use some of your examples and put my
own spin on them. I was curious and want to run my own tests and see
if I get similar output?
On Jul 28, 12:03 am, ataggart wrote:
> On Jul 27, 10:06 am, BerlinBrown wrote:
>
> > So far I have found that clojure is about
> >
p://groups.google.com/group/clojure/browse_thread/thread/6cd78dea8...>For
> more examples, please just browse the first google link I gave you.
>
> -- Aaron
>
> On Mon, Jul 27, 2009 at 2:00 PM, Berlin Brown wrote:
>
>
>
> > On Jul 27, 1:57 pm, Berlin Brown wrote:
&
On Jul 27, 1:57 pm, Berlin Brown wrote:
> "One thing you need to do is define what you mean exactly when you say
> "Java
> vs Clojure." "
>
> Like I said, I didn't want to get too focused on this particular
> example. Is there code where I could run
"One thing you need to do is define what you mean exactly when you say
"Java
vs Clojure." "
Like I said, I didn't want to get too focused on this particular
example. Is there code where I could run in Clojure and where I could
run in Java that would end up with the same result. And then I could
On Jun 26, 11:43 am, Stuart Halloway
wrote:
> I am working on a Clojure project that is becoming more and more
> schedule-oriented. So far I have been using Clojure's native
> concurrency constructs, but I am becoming tempted to use Java's
> concurrency primitives to get interruptability, etc.
On Jun 25, 3:52 pm, Mike Hinchey wrote:
> Instead of eval in the doseq, you could use a macro with a do block,
> something like:
> user> (defmacro deftags [tags]
> `(do ~@(map (fn [tag]
> `(defn ~(symbol (str tag "-with"))
> [block#] (str ~
On Jun 25, 9:39 am, Berlin Brown wrote:
> On Jun 25, 9:31 am, Nathan Hawkins wrote:
>
>
>
> > On Thu, 25 Jun 2009 11:29:24 +0530
>
> > Baishampayan Ghose wrote:
>
> > > Their concerns are thus:
>
> > > 1. How do you get Clojure programmers?
On Jun 25, 9:31 am, Nathan Hawkins wrote:
> On Thu, 25 Jun 2009 11:29:24 +0530
>
> Baishampayan Ghose wrote:
>
> > Their concerns are thus:
>
> > 1. How do you get Clojure programmers? Lisp is not for the faint
> > hearted.
>
> You can always ask on this list. I'd guess that at any given point
On Jun 22, 12:32 pm, Marko Kocić wrote:
> Have you tried (.close stream) in the end of let block?
>
> On 22 јун, 16:10, BerlinBrown wrote:
>
> > I want to make it clear, that it probably isn't Clojure's memory
> > problem but something with my code.
>
> > Anyway, I was trying to figure out my
On Jun 20, 3:34 am, Konrad Hinsen wrote:
> On 19.06.2009, at 10:35, Jon Harrop wrote:
>
> > If you really do mean scientific applications in general (e.g.
> > Mathematica,
> > MATLAB) then I would say that they are definitely almost all
> > running on
> > multicore desktops and not distribu
On Jun 19, 4:18 pm, Berlin Brown wrote:
> On Jun 19, 1:50 pm, Berlin Brown wrote:
>
>
>
> > On Jun 19, 1:04 pm, Four of Seventeen wrote:
>
> > > On Jun 19, 10:12 am, BerlinBrown wrote:
>
> > > > 574 instances of class clojure.lang.DynamicClassL
On Jun 18, 12:39 pm, Howard Lewis Ship wrote:
> I've been doing a number of presentations on Clojure lately (TheServerSide,
> Portland Code Camp, Open Source Bridge), and I'm getting some interest in
> Clojure and functional programming.
>
> A question that keeps coming up is: where would you u
On Jun 19, 1:50 pm, Berlin Brown wrote:
> On Jun 19, 1:04 pm, Four of Seventeen wrote:
>
> > On Jun 19, 10:12 am, BerlinBrown wrote:
>
> > > 574 instances of class clojure.lang.DynamicClassLoader
>
> > That is curious. Ordinarily one only needs one instance
On Jun 19, 1:04 pm, Four of Seventeen wrote:
> On Jun 19, 10:12 am, BerlinBrown wrote:
>
> > 574 instances of class clojure.lang.DynamicClassLoader
>
> That is curious. Ordinarily one only needs one instance of any
> particular classloader, not 574 of them. :) Not that I know much about
> cloj
On Jun 12, 10:31 am, Chouser wrote:
> On Thu, Jun 11, 2009 at 8:48 PM, Stephen C. Gilardi wrote:
>
> > > Do you think there will be any performance hits.
>
> > I haven't run any tools on it. In looking around the reflection-related code
> > in clojure.lang, it looks to me like the performance o
On Jun 11, 6:51 pm, "Stephen C. Gilardi" wrote:
> On Jun 11, 2009, at 2:30 PM, BerlinBrown wrote:
>
> > I have a Clojure applications with different files, different
> > namespaces and I have imports of classes within those files/
> > namespaces.
>
> I don't think the following is exactly what
On Jun 11, 3:42 pm, Chouser wrote:
> On Thu, Jun 11, 2009 at 3:03 PM, Adrian
>
>
>
> Cuthbertson wrote:
>
> > Here's a fuller example of similar techniques extracted from a working
> > program. It reads a file of lines and applies some transformations and
> > accumulates a vector of records whi
On Jun 11, 12:16 pm, Daniel Lyons wrote:
> On Jun 11, 2009, at 9:25 AM, BerlinBrown wrote:
>
>
>
> > I do this a lot but can't figure out to change the UPDATEABLE_VALUE, I
> > am using some pseudo code because I don't have a clojure solution yet.
>
> > SET UPDATEABLE_VALUE = 0
> > (loop [line (
On Apr 3, 10:09 am, Stuart Halloway wrote:
> No threads:
>
> (ancestors (class (fn[])))
> -> #{java.lang.Runnable java.io.Serializable clojure.lang.AFn
> clojure.lang.Obj java.lang.Object clojure.lang.Fn
> clojure.lang.AFunction clojure.lang.IObj clojure.lang.IFn
> java.util.concurrent.Callable
On Apr 3, 8:18 am, Jason Warner wrote:
> I'd be interested in seeing the ivy+ant solution. We use maven2 at
> work and there are obvious pros and cons. With clojure, part of the
> pain is initial setup and config. Maven2/ant+ivy might really help
> that. Post when you get a chance...am very int
On Apr 1, 3:23 pm, Vincent Foley wrote:
> I have no experience with gradual typing, but I'd love to try it. It
> seems there are many situations where dynamic typing just makes things
> easier than in a language like Haskell, however I long for their
> ability to verify correctness at compile
On Mar 31, 4:52 pm, Luc Prefontaine
wrote:
> I was searching for a Java alternative for our medical bus product and
> looked at Scala during summer 2008.
> I found it was too tied to an object model. The lack of a complete macro
> system was in my view also a short coming.
>
> I concluded that
On Mar 25, 3:16 am, Berlin Brown wrote:
> On Mar 25, 3:12 am, BerlinBrown wrote:
>
>
>
> > I know it isn't advised but I have my various reasons.
>
> > What are some of the best ways to invoke clojure scripts from Java but
> > still maintain the state of
On Mar 25, 3:12 am, BerlinBrown wrote:
> I know it isn't advised but I have my various reasons.
>
> What are some of the best ways to invoke clojure scripts from Java but
> still maintain the state of the current session.
>
> For example, if I run a script from Java, is there a way to ensure
>
On Mar 20, 10:15 am, Rich Hickey wrote:
> New release 20090320 -http://clojure.googlecode.com/files/clojure_20090320.zip
>
> Incorporates all the recent additions - fully lazy seqs, :let option
> for doseq/for, letfn for mutually recursive local fns, synchronous
> watches, multi-arg set/union/d
On Mar 16, 10:42 pm, Shawn Hoover wrote:
> On Mon, Mar 16, 2009 at 9:18 PM, Stuart Sierra
> wrote:
>
>
>
>
>
> > On Mar 16, 7:17 pm, BerlinBrown wrote:
> > > After many years (decade) of web development, here are the things that
> > > I want in a framework, mostly based in clojure:
>
> > > Wha
On Mar 16, 7:52 pm, Jeffrey Straszheim
wrote:
> I'd love to see something built around very-high scalability, using NIO and
> thread pools and such.
>
> On Mon, Mar 16, 2009 at 7:40 PM, Sean wrote:
>
> > I'm not sure if some of the design inputs make sense, specifically
> > Spring and Hibernat
On Mar 5, 6:29 pm, BerlinBrown wrote:
> http://code.google.com/p/lighttexteditor/
>
> * Simpletexteditor.
> * Simple File Manager for accessing important files quickly.
> * Search tools using Linux or Win32 applications (unxutils).
> * Built on Java 1.5 and the Clojure programming language.
>
>
On Mar 1, 12:19 pm, linh wrote:
> thank you for the information
>
> On Mar 1, 5:09 pm, "Michel S." wrote:
>
> > On Mar 1, 11:02 am, "Michel S." wrote:> On Feb
> > 28, 6:16 pm, linh wrote:> hello,
> > > > what's the common idiom in functional programming regarding checking
> > > > the validi
On Feb 28, 12:05 pm, Berlin Brown wrote:
> On Feb 28, 12:04 pm, BerlinBrown wrote:
>
> > If you want to use junit with clojure, this is what I ended up doing.
> > Yes, I know there are many clojure test frameworks. But if you are
> > stuck with a junit mind, then her
On Feb 28, 12:04 pm, BerlinBrown wrote:
> If you want to use junit with clojure, this is what I ended up doing.
> Yes, I know there are many clojure test frameworks. But if you are
> stuck with a junit mind, then here is an example approach.
>
> http://clojure.googlegroups.com/web/junit_exampl
On Feb 20, 11:08 pm, Feng wrote:
> Exception java.lang.StackOverflowError:
> [1] clojure.lang.PersistentHashMap$LeafNode.nodeSeq
> (PersistentHashMap.java:567), pc = 2
> [2] clojure.lang.PersistentHashMap$BitmapIndexedNode$Seq.create
> (PersistentHashMap.java:503), pc = 21
> [3] clojure.l
On Feb 20, 10:29 am, Laurent PETIT wrote:
> Hello Rich, thanks for answering.
>
> You may not have followed the following of the thread, where I precised my
> mind by saying what I really wanted to do (but did not at first) was using
> with-local-vars, since the value to be mutated is confined
On Feb 20, 10:35 am, Tom Ayerst wrote:
> You probably don't want to be doing this. Your function looks like it could
> use a lazy sequency and a filter.
>
> e.g. (doseq [e (filter odd? [1 2 3 4 5 6 7])] (prn e))
>
> You can get a long way with partition, for, filter and reduce; It is a pain
>
On Feb 19, 6:24 pm, Laurent PETIT wrote:
> Yes, thank you, I did the simplification.
>
> I couldn't resist continue to do some work around the problem, and I finally
> got both a working version of :
>
> swt-wrapper/sync-exec : a (debugged) macro that does what the initial thread
> was about
>
38 matches
Mail list logo