What about a map of table IDs to agents?
The map itself only needs to change if an event creates or destroys a
table. Anything else impacts a single table, and can be sent off to that
table's agent. An agent makes sense to hold each single table, as tables
undergo sequential transformations trigge
Hi Mark,
Brilliant work, thank you!
I was playing with your arithmetic parser from tutorial, and noticed the
following definition for add and sub:
"expr = add-sub
= mul-div | add | sub
add = add-sub <'+'> mul-div
sub = add-sub <'-'> mul-div
...
And I realize now that the ord
On Thursday, April 11, 2013 2:35:03 PM UTC-7, James Adams wrote:
>
>
> How would you do this? All thoughts welcome and appreciated
>
To simplify matters you could think about decoupling the incoming game
events from the state changes; for example, have a queue hold game events
and then serial
have a look at this for a discussion of exactly that question.
http://clj-me.cgrand.net/2011/10/06/a-world-in-a-ref/
https://github.com/cgrand/megaref
On Friday, 12 April 2013 07:35:03 UTC+10, James Adams wrote:
>
> Hi,
>
> I'm new to Clojure and trying to write a multiplayer poker web app.
Hi Kevin,
That message means that Clojure can't find the file containing your macros
on the classpath. Looking at it, you appear to have the macro file in your
src-cljs directory. I've never used ClojureScript, but maybe that should be
in your src directory since it's Clojure and not ClojureScript
Hi,
I'm new to Clojure and trying to write a multiplayer poker web app. I'm
looking for advice early on regarding state management.
I'm using aleph and compojure for the communications with actions from
players coming in through compojure on different threads of the netty
server.
When a mess
Hello people,
I was wondering if Infer ( https://github.com/aria42/infer#readme ) is
still developed and if it is in use somewhere.
I´ve been plaiyng with Cascalog but I read that with Infer you can
prototipe on a single machine and then scale up to an Hadoop cluster if
needed with a reasonable e
You could use genclass and AOT compilation. I'm not sure of any other way.
On Thu, Apr 11, 2013 at 3:30 PM, Jim - FooBar(); wrote:
> since classes generated by proxy reside on memory how would the standard
> java.net.URLClassolader find them? is there a way to emit the class on disk?
>
> Jim
>
>
ClojureWerkz Money [1] is a Clojure library that deals with monetary
amounts and currencies.
It is built on top of Joda Money.
Release notes for 1.2.0:
http://blog.clojurewerkz.org/blog/2013/04/11/money-1-dot-2-0-is-released/
1. https://github.com/clojurewerkz/money
--
MK
http://github.com/mich
since classes generated by proxy reside on memory how would the standard
java.net.URLClassolader find them? is there a way to emit the class on disk?
Jim
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure
Hi all,
I released a simple prototype on Github of the Epochal Time model described
by Rich Hickey in his talk "The Language of the System".
It uses Zookeeper for co-ordination and Riak as a data-store, all behind a
simple Compojure app.
I'd be cool to get some feedback on it if anyone is
int
0.6.2 is six months old. I don't think anything about this has changed
since then, but you should at least try [org.flatland/protobuf "0.7.2"] and
see if that does what you expect.
On Thursday, April 11, 2013 8:39:12 AM UTC-7, David Pidcock wrote:
>
>
> I have some Java classes generated elsewhe
Ok I've narrowed it down a bit and it definitely is a classloader
issue...observe this:
hotel_nlp.externals.uima=> c
#hotel_nlp.externals.uima.proxy$org.uimafit.component.JCasAnnotator_ImplBase$0@16059e71>
hotel_nlp.externals.uima=> (class c)
hotel_nlp.externals.uima.proxy$org.uimafit.componen
On Thu, Apr 11, 2013 at 7:08 AM, Stathis Sideris wrote:
> Thanks, this looks fantastic! Is there any way to include comments in the
> syntax at all?
Last night I started a v1.1 branch to start work on these feature
requests. The first feature I added was, in fact, support for EBNF comment
synt
I have some Java classes generated elsewhere (not by the lein proto plugin)
and I'm wanting to use them as the basis for the [protobuf "0.6.2"] code
interactions (for interdependency with an existing java project)
One thing I noticed about the output in REPL is that only the first key is
pre
I found this on SO which seems to be related but the answer proposes
deftype which is not an option for me as I need to extend a particular
class with proxy... I'm completely stuck...
Jim
On 11/04/13 14:10, Jim - FooBar(); wrote:
Hi all,
I'm writing a tiny wrapper around apache UIMA but I'm
On Thursday, April 11, 2013 10:03:51 AM UTC-3, Gary Verhaegen wrote:
>
> The way the f function is written, there is no way to run it in
> parallel, since it needs the previous answer. The best you can hope
> for is to use two cores, one for a and one for b.
>
That was my goal at first, but you
Hello,
On Wed Apr 10 11:42 2013, Junseok Lee wrote:
> Hello! My name is Junseok Lee, and I'm studying CS at UC Berkeley. I was
> lead to Clojure through my interest in the Lisp family of languages,
> initiated by my studies of Scheme in my coursework. I've been lurking on
> this group for a whi
Sorry for the lack of clarity -- I meant comments about the grammar within
the resource file that describes it. The (str) approach would be good for
embedded grammars in Clojure code, but I'm working with a fairly bulky
grammar which would be better to keep in its own file.
Stathis
On Thursday
I'm not the OP, but if you mean comments within the grammar, sure as long
as "comment" is well defined, and if you mean comments *about* the grammar
within the parser code, how about creating the grammar using (str) with one
string per line, and putting your comments after each line's string?
-Ste
Thanks, this looks fantastic! Is there any way to include comments in the
syntax at all?
Thanks,
Stathis
On Tuesday, 9 April 2013 06:18:39 UTC+1, puzzler wrote:
>
> Instaparse is an easy-to-use, feature-rich parser generator for Clojure.
> The two stand-out features:
>
> 1. Converts standard
Hi all,
I'm writing a tiny wrapper around apache UIMA but I'm facing some
classloading issues. Before I start explaining I should point out that
UIMA makes heavy use of the .class member of classes. It is practically
everywhere (a small java code snippet follows for demonstration of what
I me
The way the f function is written, there is no way to run it in
parallel, since it needs the previous answer. The best you can hope
for is to use two cores, one for a and one for b.
What you can do if you want to make it parallel is use the closed
form, and create a lazy list of that closed form f
I'm currently building a project in clojurescript where I need to create
some macros. And I don't manage to get it to work.
What I'm currently doing is comparable with what you did in core.logic for
clojurescript:
https://github.com/clojure/core.logic/tree/master/src/main/clojure/cljs/core/logic
Yes, I agree.
Thanks for helping me to clarify my thoughts on this.
On Thursday, 11 April 2013 02:40:23 UTC+1, Cedric Greevey wrote:
>
> Let me clarify. If the library's designed to interoperate specifically
> with a particular record type, it should be designed with knowledge of the
> base key
PS The Clojure-Android group is pretty much dead in the water, though
Thomas Kalbe recently posted up a useful link to something he's been
working on.
https://groups.google.com/forum/#!topic/clojure-android/fzcX_ColRwE
--
--
You received this message because you are subscribed to the Google
G
>I'm hoping to find an effective way to express Android UI layouts with
Clojure
Are you thinking in terms of working with the standard XML layout files or
replacing them with something else...?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To
Thank you both for the helpful instruction. I'll be back once I've done a
bit more research on those projects.
On Thursday, April 11, 2013 12:34:00 AM UTC-7, Osbert Feng wrote:
>
> Be sure to look at neko and lein-droid, both most recently being worked on
> by alexander-yakushev, I believe as a
Be sure to look at neko and lein-droid, both most recently being worked on
by alexander-yakushev, I believe as a previous GSOC project:
http://clojure-android.blogspot.com/
https://gist.github.com/alexander-yakushev/2907442
https://github.com/alexander-yakushev/lein-droid/blob/master/sample/src/cl
On Apr 10, 2013, at 21:46 , Ulises wrote:
> Have you tried replacing all your calls to map for pmap yet?
That will not work. He'll need to rearrange his algorithm to something like
this before pmap will help:
(defn iterated-difference [f a b]
"Yields a lazy seq of the differences between (
30 matches
Mail list logo