Re: Rationale behind the naming and semantics for agents.

2015-02-03 Thread Justin Smith
In fact agents in Scala were the only version I found that were like 
Clojure in design.

Beyond the fact that they exist in Scala, and the design goal was to 
replicate Clojure's agents, I didn't find that especially informative.


On Tuesday, February 3, 2015 at 6:59:09 PM UTC-8, Leonardo Borges wrote:
>
>
>> (as opposed to the combined state+behavior version of agents that one 
>> sees elsewhere) 
>>
>>
> Did you mean to say actors? Actor is the abstraction that bundles state 
> and behaviour together.
>
> Agents are different and in fact, Akka, a popular JVM actor library, 
> provides agents in addition to actors themselves: 
> http://doc.akka.io/docs/akka/snapshot/scala/agents.html
>
> Cheers,
> Leonardo Borges 
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Rationale behind the naming and semantics for agents.

2015-02-03 Thread Leonardo Borges
>
>
> (as opposed to the combined state+behavior version of agents that one sees
> elsewhere)
>
>
Did you mean to say actors? Actor is the abstraction that bundles state and
behaviour together.

Agents are different and in fact, Akka, a popular JVM actor library,
provides agents in addition to actors themselves:
http://doc.akka.io/docs/akka/snapshot/scala/agents.html

Cheers,
Leonardo Borges

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Rationale behind the naming and semantics for agents.

2015-02-03 Thread Justin Smith
I've used agents, and am familiar with the "reactive agent" concept as 
presented on the page http://clojure.org/agents

I just now decided to look into the background of this distinction (as 
opposed to the combined state+behavior version of agents that one sees 
elsewhere) and am stumped. When I try to look up "reactive agents" I see 
descriptions of an AI concept that doesn't map very cleanly to what the 
docs above describe.

So, I think I understand what agents are, but what I am wondering is why 
are they so different from what everyone else calls agents, and 
furthermore, why use that name given that they describe something so 
different? Perhaps there is an article, or an implementation in another 
language, or a book somewhere that would help bridge that gap?

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


State of Simulation Testing Survey - 2015

2015-02-03 Thread Ryan Neufeld

Hey folks!

As you probably know, there's always lots of new and exciting
developments in Clojure-land. One, more recent technique that has me
really excited has been *Simulation Testing*. I've used Simulant to
implement simulation tests on a few projects this last year with great
success, and I'm really curious to hear about if/how others are using
the technique.

To that end, I've put together a survey on sim-testing–*The State of
Simulation Testing*–that I hope can become an annual fixture both inside
and outside of the Clojure community. Once the ballots have closed on
February 20th, I'll tally and report upon the results on my blog.

If you've considered, implemented or even out-right rejected simulation
testing, I'm curious to hear more from you:

http://bit.ly/state-of-sim-testing-2015

Thanks for your time, Ryan Neufeld

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cider-repl show java and clojure version nil

2015-02-03 Thread SK Kim
That was it. I have tried re-install everything but leiningen till now.
Thanks a lot~


2015년 2월 4일 수요일 오전 7시 11분 52초 UTC+9, Bozhidar Batsov 님의 말:
>
> You're using a very old version of nREPL, which is likely coming from an 
> older version of lein. Try using the latest the latest leiningen. 
>
> On 3 February 2015 at 16:29, SK Kim > 
> wrote:
>
>> Hello all,
>>
>> This is what cider-repl shows right after cider-jack-in.
>>
>> ; CIDER 0.9.0alpha (package: 20150131.203) (Java nil, Clojure nil, nREPL 
>> 0.2.3)
>> user> 
>>
>> It shows java and clojure version nil.
>>
>> *clojure-version* value is as below:
>> user> *clojure-version*
>> {:major 1, :minor 6, :incremental 0, :qualifier nil}
>>
>>
>> Looks like everything works fine but it is annoying to watch it 
>> everytime. 
>> If anybody knows the reason, pls help me.
>> Thanks.
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Possible additions to tools.trace

2015-02-03 Thread Aaron France
Hi,

Roger!

Aaron

On Tuesday, 3 February 2015 16:25:23 UTC+1, Luc wrote:
>
> Hi, 
>
> Got your ticket notification, it's a 
> busy week, beeing on the road most of it. 
>
> I will look at it by next Sunday after 
> crossing the Atlantic :) 
>
> Luc P. 
>
>
> > Hi all, 
> > 
> > I've proposed some changed to tools.trace and created an initial 
> > implementation (linked in the JIRA ticket). 
> > 
> > http://dev.clojure.org/jira/browse/TTRACE-10 
> > 
> > Thanks, 
> > 
> > Aaron 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Clojure" group. 
> > To post to this group, send email to clo...@googlegroups.com 
>  
> > Note that posts from new members are moderated - please be patient with 
> your first post. 
> > To unsubscribe from this group, send email to 
> > clojure+u...@googlegroups.com  
> > For more options, visit this group at 
> > http://groups.google.com/group/clojure?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "Clojure" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to clojure+u...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> -- 
> Luc Prefontaine> sent by ibisMail! 
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cider-repl show java and clojure version nil

2015-02-03 Thread Bozhidar Batsov
You're using a very old version of nREPL, which is likely coming from an
older version of lein. Try using the latest the latest leiningen.

On 3 February 2015 at 16:29, SK Kim  wrote:

> Hello all,
>
> This is what cider-repl shows right after cider-jack-in.
>
> ; CIDER 0.9.0alpha (package: 20150131.203) (Java nil, Clojure nil, nREPL
> 0.2.3)
> user>
>
> It shows java and clojure version nil.
>
> *clojure-version* value is as below:
> user> *clojure-version*
> {:major 1, :minor 6, :incremental 0, :qualifier nil}
>
>
> Looks like everything works fine but it is annoying to watch it everytime.
> If anybody knows the reason, pls help me.
> Thanks.
>
> --
> 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 email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Possible additions to tools.trace

2015-02-03 Thread Luc Prefontaine
Hi,

Got your ticket notification, it's a
busy week, beeing on the road most of it.

I will look at it by next Sunday after
crossing the Atlantic :)

Luc P.


> Hi all,
> 
> I've proposed some changed to tools.trace and created an initial 
> implementation (linked in the JIRA ticket).
> 
> http://dev.clojure.org/jira/browse/TTRACE-10
> 
> Thanks,
> 
> Aaron
> 
> -- 
> 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 email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
--
Luc Prefontaine sent by ibisMail!

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Possible additions to tools.trace

2015-02-03 Thread Aaron France
Hi all,

I've proposed some changed to tools.trace and created an initial 
implementation (linked in the JIRA ticket).

http://dev.clojure.org/jira/browse/TTRACE-10

Thanks,

Aaron

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


cider-repl show java and clojure version nil

2015-02-03 Thread SK Kim
Hello all,

This is what cider-repl shows right after cider-jack-in.

; CIDER 0.9.0alpha (package: 20150131.203) (Java nil, Clojure nil, nREPL 0.2
.3)
user> 

It shows java and clojure version nil.

*clojure-version* value is as below:
user> *clojure-version*
{:major 1, :minor 6, :incremental 0, :qualifier nil}


Looks like everything works fine but it is annoying to watch it everytime. 
If anybody knows the reason, pls help me.
Thanks.

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: bool with strange behaviour

2015-02-03 Thread Eduardo Aquiles Affonso Radanovitsck
Got it, thanks!

*--*
*Eduardo Aquiles Radanovitsck*
ThoughtWorks Brasil

On Tue, Feb 3, 2015 at 1:59 PM, Andy Fingerhut 
wrote:

> Eduardo:
>
> This is due to the weirdness in Java, and Java's own documentation
> recommends against using the Boolean class constructor.  See the discussion
> at this link for more details:
>
> http://clojuredocs.org/clojure.core/if
>
> Andy
>
> On Tue, Feb 3, 2015 at 3:16 AM, Eduardo Aquiles Affonso Radanovitsck <
> eduardoaquiles...@gmail.com> wrote:
>
>> Hello,
>> we stepped into this on my team and we couldn't figure it out why the
>> different behaviour of the first line. Could someone with deeper knowledge
>> of the language explain us?
>>
>> (if (Boolean. false) 1 2) => 1
>> (if false 1 2) => 2
>> (if (Boolean/FALSE) 1 2) => 2
>> (if (= false (Boolean. false))
>> ​​
>> 1 2) =>
>> ​
>> ​
>> 1
>> ​ ​
>> ​
>>
>> ​
>>
>>
>> *--*
>> *Eduardo Aquiles Radanovitsck*
>>
>>  --
>> 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 email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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 email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: bool with strange behaviour

2015-02-03 Thread Andy Fingerhut
Eduardo:

This is due to the weirdness in Java, and Java's own documentation
recommends against using the Boolean class constructor.  See the discussion
at this link for more details:

http://clojuredocs.org/clojure.core/if

Andy

On Tue, Feb 3, 2015 at 3:16 AM, Eduardo Aquiles Affonso Radanovitsck <
eduardoaquiles...@gmail.com> wrote:

> Hello,
> we stepped into this on my team and we couldn't figure it out why the
> different behaviour of the first line. Could someone with deeper knowledge
> of the language explain us?
>
> (if (Boolean. false) 1 2) => 1
> (if false 1 2) => 2
> (if (Boolean/FALSE) 1 2) => 2
> (if (= false (Boolean. false))
> ​​
> 1 2) =>
> ​
> ​
> 1
> ​ ​
> ​
>
> ​
>
>
> *--*
> *Eduardo Aquiles Radanovitsck*
>
>  --
> 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 email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


bool with strange behaviour

2015-02-03 Thread Eduardo Aquiles Affonso Radanovitsck
Hello,
we stepped into this on my team and we couldn't figure it out why the
different behaviour of the first line. Could someone with deeper knowledge
of the language explain us?

(if (Boolean. false) 1 2) => 1
(if false 1 2) => 2
(if (Boolean/FALSE) 1 2) => 2
(if (= false (Boolean. false))
​​
1 2) =>
​
​
1
​ ​
​

​


*--*
*Eduardo Aquiles Radanovitsck*

-- 
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 email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.