Re: Ethereum

2014-02-09 Thread Stephan Tual
Yes - add me on skype (stephan.tual) and I'll put you in touch On Sunday, February 9, 2014 4:48:58 AM UTC, jTA wrote: > > Has anyone a clojure-based project underway (or contemplating one) within > the Ethereum context? > Ethereum background accessible here: http://www.ethereum.org/ > http://

Re: Extending Java class in Clojure with multiple constructors

2010-04-18 Thread Stephan Mühlstrasser
s demo.demo (:import [demo Person]) (:gen-class :extends demo.Person)) (println (.toString (demo.demo. 15 "joe"))) (println (.toString (demo.demo. 15))) Regards Stephan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Running compojure in clojure eclipse plugin

2009-06-26 Thread Stephan Mühlstrasser
d browser to http://localhost:8080/, and "Hello world" was displayed in the browser Regards Stephan On 25 Jun., 03:51, "sailormoo...@gmail.com" wrote: > Sorry but it's a bit off-topic, any one tried running compojure in > REPL in clojure e

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-23 Thread Stephan Mühlstrasser
I think there are too many of the "j" names already. I thought about leveraging a hint to the REPL. What about calling it "REPtiLe"? This could also provide an idea for a logo derived from the Clojure logo, with a snake or a lizard instead of the lambda. Regards Stepha

Problem with clojure.xml/emit: unnecessary whitespace added

2009-02-18 Thread Stephan Mühlstrasser
as clojure.contrib.lazy-xml/emit regarding additional whitespace. Regards Stephan --~--~-~--~~~---~--~~ 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

Bug in clojure.contrib.lazy-xml: apostrophe not escaped correctly

2009-02-18 Thread Stephan Mühlstrasser
xpected result: user=> (use 'clojure.contrib.lazy-xml) nil user=> (emit { :tag :a, :attrs { :b "bloody apostrophe's :-)" }}) nil Regards Stephan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: (Ab)using agents for inter-process communication

2008-12-18 Thread Stephan Mühlstrasser
On Dec 18, 11:30 pm, Randall R Schulz wrote: > On Thursday 18 December 2008 13:33, Stephan Mühlstrasser wrote: > > > Nothing fancy: > > (defn cat-stream > >   (.flush *out*))) > As Chouser pointed out, the flush is the important ingredient. After thinking a whil

Re: (Ab)using agents for inter-process communication

2008-12-18 Thread Stephan Mühlstrasser
n the child process terminates. Maybe the missing piece is how your (cat-stream ...) function works, which is not included in your listing. How does it copy the data? Regards Stephan --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: (Ab)using agents for inter-process communication

2008-12-18 Thread Stephan Mühlstrasser
On Dec 18, 10:10 pm, Chouser wrote: > On Thu, Dec 18, 2008 at 3:07 PM, Stephan Mühlstrasser > > wrote: > > > The following is my attempt to start a sub-process and to pass through > > stdout and stderr.  The shell command prints out 1000 lines "hello" >

Re: (Ab)using agents for inter-process communication

2008-12-18 Thread Stephan Mühlstrasser
On Dec 18, 9:24 pm, Randall R Schulz wrote: > On Thursday 18 December 2008 12:07, Stephan Mühlstrasser wrote: > > > (let [pb (new ProcessBuilder ["sh" "-c" "yes hello | head -1000; echo > > command finished"]) > >         proc (.star

(Ab)using agents for inter-process communication

2008-12-18 Thread Stephan Mühlstrasser
terminate before all the output from the sub- process has been passed through? Is there a better way to synchronize with sub-processes in Clojure, or is it necessary to synchronize completely at the Java level? Thanks Stephan --~--~-~--~~~---~--~~ You received

Re: Lazy sequences without caching?

2008-12-09 Thread Stephan Mühlstrasser
On Dec 9, 8:48 pm, "Drew Olson" <[EMAIL PROTECTED]> wrote: > On Tue, Dec 9, 2008 at 2:28 PM, Stephan Mühlstrasser < > > [EMAIL PROTECTED]> wrote: > > > On Dec 9, 12:34 am, "harrison clarke" <[EMAIL PROTECTED]> wrote: > > > y

Re: Lazy sequences without caching?

2008-12-09 Thread Stephan Mühlstrasser
t (rest-fn (inc current) next] (rest-fn 1 0))) #'user/triangle-numbers user=> (nth (triangle-numbers) 100) 5151 user=> (nth (triangle-numbers) 1000) 501501 Thanks! Stephan --~--~-~--~~~---~--~~ You received this message be

Lazy sequences without caching?

2008-12-08 Thread Stephan Mühlstrasser
jure for representing and processing very large sequences? Thanks Stephan P.S.: I read the recent thread "memory issue with nth", but it is not clear to me whether this is the same problem. --~--~-~--~~~---~--~~ You received this message because you are

ants.clj: question about sleep in dosync

2008-11-19 Thread Stephan Mühlstrasser
before the dosync block, or doesn't it matter? Thanks Stephan --~--~-~--~~~---~--~~ 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 unsubscri

Re: newb slime/clojure question...

2008-11-04 Thread stephan
Hi Peter, don't know, but maybe you want to add additional classpaths for slime. in emacs: M-x customize-option RET swank-clojure-extra-classpaths RET hth, stephan On Nov 3, 9:00 pm, Peter Hart <[EMAIL PROTECTED]> wrote: > I've been trying to get clojure working with slime

Re: idiomatic Clojure for agents?

2008-10-29 Thread stephan
:total (+ (:total m) (:total @a))}) {:in 0 :total 0} agents Greetings, Stephan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojur

Re: use spit from clojure.contrib.duck_streams

2008-10-24 Thread stephan
Hi J. Thanks, that makes things a little bit clearer for a non-java- programmer. It was actually my fault to use the underscore in duck_streams instead of the minus sign. Best, Stephan On Oct 24, 4:20 pm, "J. McConnell" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008

use spit from clojure.contrib.duck_streams

2008-10-24 Thread stephan
e directory file? I couldn't find anything about that in the documentation. Thanks for your help, Stephan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group