>
> You can probably also avoid the 60- to 80-second wait if you call
> (shutdown-agents) at the end of your program.
>
My program is endless =)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
Hello! I'm student and I'm finishing the 4-year university studying
(baccalaureate). I'm not from English-talking country but, you see, my
text-speech is pretty understandable. I'm improving my spoken English also.
I'm writing my diploma in Clojure and I really like this language. But
there's n
Yes, that's exactly what I needed, thank you!
--
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 un
I need to create logger for machine learning debugging. First, I wanted to
perform this string:
(create-logger 10 "Epoch #" :epoch ", Error: " :error)
This code will cause this output while training:
Epoch #10, Error: 2.0
Epoch #20, Error: 1.0
Epoch #30, Error: 0.0
Epoch #40, Error: 0.0
...
I
But if I perform such thing this in clojure:
(send-off (:movement-agent game) (fn [_] game))
As I found out, I get something like this:
Game {:heroes-container obj[Ref],
:movement-agent obj[Agent{:val
Game {:heroes-container obj[Ref],
:movement-agent obj[Agent
And there are several agents that realize game objects behavior. For
example this is movement agent:
(defn movement-loop [{:keys [game last-time] {:keys [heroes-container
bullets-container finished?]} :game}]
"Moves heroes by their current direction"
(if-not finished?
(send-off *agent*
I made a simple example-game for practice. Everything worked fine with
global containers like heroes-container or pickups-container (refs). They
were working in global agents. But now I need to run several game instances
at the same time, so I need Game class with its own "global variables"
Thi