Hi.
I'm starting a new project now, where users are presented with a set of
boardgames (chess, checkers, othello...) which they then can play together
online.
Does it make sense to implement the game logic using core.logic, and does
it transfer well to cljs (i'd like to share logic between
I can confirm, there seem to be problem fetching clojurescript versions
0.0-2301 and 0.0-2307.
Browsing the Central repo the files are there:
http://repo1.maven.org/maven2/org/clojure/clojurescript/0.0-2301/
http://repo1.maven.org/maven2/org/clojure/clojurescript/0.0-2307/
But the
Maybe is a geographical problem.
Currently if i run
lein try org.clojure/clojurescript 0.0-2307
it fails in Italy (where I live), but it succeeds on a DigitalOcean
instance in their US (SF1) datacenter.
Francesco
On Saturday, August 9, 2014 1:01:06 PM UTC+2, Nicola Mometto wrote:
I can
Timothy Baldridge has worked on it off and on. It is hard (maybe not
possible?) to extend channel semantics over the network. So I don't think
this is coming soon. Most people create threads at the edges that negotiate
in app-specific ways between internal channels external network I/O.
On
I think this may be a cache issue with the central repo. I can both see the
file via browsing and they are in the index for me, but the actual jar file
brings up a 404:
http://repo1.maven.org/maven2/org/clojure/clojurescript/0.0-2307/clojurescript-0.0-2307.jar
However, appending a junk query
I've struggled with the same issue as you, Sven. In a web app, your
handlers wind up needing access to every other component in the system
because they are the first point of contact with the outside world.
In my apps, I've done this one of two ways:
1. Close over the needed dependencies when
I use a closure, but with a slight twist in handler definitions. I close
over a make-handler fn with the system component.. which returns a
middleware-wrapped, dispatcher fn; the thing that handles the routing logic
to a particular handler fun. Each of my handlers are 2 arg fns: (fn [system
I will file an issue - thanks for the analysis!
Alex
On Saturday, August 9, 2014 8:41:34 AM UTC-5, Curtis Summers wrote:
I think this may be a cache issue with the central repo. I can both see the
file via browsing and they are in the index for me, but the actual jar file
brings up a 404:
The issue is resolved for me also. Thanks!
--Curtis
On Sat, Aug 9, 2014 at 10:18 AM, Paul Burt paul.b...@gmail.com wrote:
On Saturday, 9 August 2014 16:03:57 UTC+1, Rick B wrote:
There was a cache issue for the maven-metadata.xml and the possibly the
jar files for 0.0-2301 and 0.0-2307.
Hello Mikera,
Thanks!
I'll check the numerical Clojure group.
2014年8月7日木曜日 2時46分18秒 UTC+9 Mikera:
Sounds like a great project, would be really great to have a core.matrix
implementation running on the GPU!
I'm not too familiar with aparapi. Since core.matrix uses fairly
well-defined
As you mentioned, functions of core.matrix are well-defined.
So openCL may be suitable.
(call native functions by JNA)
(ereduce some-reduce-function (emap some-mapping-function some-gpu-array))
This is wonderful.
Since GPU is appropriate for map/reduce operations, I think there is a
room for
I'd like to thank everyone in the community for both Silk, and Secretary.
I'll throw out some (uninvited) feature requests I'd love to see in a
future route-matching library.
1) Make trie-based route dispatching possible. A feature pedestal has/will
soon have, is to compile the routing table
In case anyone hits the same problem:
strace showed the file being read, but it was having no effect, and c3p0
reported no errors in the config. Checking the c3p0 changelog, I found I
needed to update to the c3p0 prerelease to get slf4j support. Now it's
working.
On Friday, August 8, 2014
Please forgive this stupid question, but I'm still trying to understand
exactly what the double :: means. I have read that I can use (derive) to
establish a hierarchy and I can imagine how this would be useful for things
like throwing errors and catching them and logging, but I've also read
Ok thanks. Just curious.
On 9 Aug 2014 13:43, Alex Miller a...@puredanger.com wrote:
Timothy Baldridge has worked on it off and on. It is hard (maybe not
possible?) to extend channel semantics over the network. So I don't think
this is coming soon. Most people create threads at the edges that
Keep in mind that :: is just a syntax sugar that is processed by the
reader, before the compiler kicks in. ::foo is a shorthand for
:your.current.ns/foo. Its purpose is to make it easy to create keywords
that do not clash with other ones.
Keywords are equal (and identical) only when both of
Hi Allen,
Thanks for the feedback!
1) This, and precompiling regexes where possible, is my intention with Silk.
2) I'm not convinced that requiring fully-qualified routes would be a
feature. Let's say we have route A which should match /foo/bar and route
B which should match /foo/*. If these
Jozef is correct, but to give some examples:
(ns example.core
(:require [example.other :as other]))
(= ::foo :example.core/foo)
(= ::other/foo :example.other/foo)
(not= :foo :example.core/foo)
(not= :example.core/foo :example.other/foo)
(not= :other/foo ::other/foo)
- James
On 9 August
Thank you for the responses. However, when I look here:
http://clojure.org/multimethods
I see that it says:
You can define hierarchical relationships with (derive child parent).
Child and parent can be either symbols or keywords, and must be
namespace-qualified
Is there any way I can
If you want keywords to participate in a multimethod hierarchy, you must
qualify them.
You can however make up some namespace and use it throughout your code, so
instead of
::foo, you'll use :my-ns/foo. This namespace don't have to the current or
even a real one.
Jozef
On Saturday, August
Keywords hierarchies need to be namespace qualified, but you can require
namespaces and use the alias, as I demonstrated in my earlier example.
To give a further example, suppose you have a namespace like:
(ns example.other)
(derive ::dog ::animal)
(derive ::cat ::animal)
You can however make up some namespace and use it throughout your code,
so
instead of ::foo, you'll use :my-ns/foo. This namespace don't have to
the current or even a real one.
Interesting. I had no idea. Thank you for that tip.
On Saturday, August 9, 2014 4:02:36 PM UTC-4, Jozef Wagner
Keywords hierarchies need to be namespace qualified, but you can require
namespaces and use the alias, as I demonstrated in my earlier example.
I wasn't thinking clearly about what this meant, but now I see what you
mean. I could potentially have all of my (derive) statements in one
I think you missed the point of the last two emails.
In tools.analyzer Nicola and I use the keywords :ctx/statement,
:ctx/expr, :ctx.invoke/target and some others. The namespace ctx is
entirely synthetic. It has no representation in terms of a file or
actual Clojure ns form. It's just a
This release somehow breaks piggieback 0.1.3.
A production project:
lein repl
Exception in thread main java.lang.ExceptionInInitializerError
at clojure.main.clinit(main.java:20)
Caused by: java.lang.RuntimeException: Unable to resolve var:
reader/*alias-map* in this context,
Hi,
First I would like to thank everybody for your answers and hints.
I setup a small project you can find here:
https://github.com/sveri/component_test
You can run it with lein repl and then calling (go).
I have three questions/problems for this one:
1. Did I separate the handler and the
ClojureScript, the Clojure compiler that emits JavaScript source code.
README and source code: https://github.com/clojure/clojurescript
New release version: 0.0-2311
Leiningen dependency information:
[org.clojure/clojurescript 0.0-2311]
This release fixes a regression in browser REPL.
We've had a software product in congress for a while now. The version there
isn't clojure, but we've had a number of talks about integrating our newer
versions that do contain heavy amounts of clojure. We recently did a
complete rewrite of cosponsor.gov (which we had previously written in
was there any lawyerly review of the EPL as part of your project?
On Saturday, August 9, 2014 2:30:10 PM UTC-10, Dylan Butman wrote:
We've had a software product in congress for a while now. The version
there isn't clojure, but we've had a number of talks about integrating our
newer
On Saturday, August 9, 2014 3:04:03 PM UTC-7, Sven Richter wrote:
Hi,
I setup a small project you can find here:
https://github.com/sveri/component_test
You can run it with lein repl and then calling (go).
2. In scheduler.clj I defined a protocol (additionally to the lifecycle
Thank you much to everyone. In the end, I took James Reeves advice and used
a real namespace to qualify the keywords.
On Saturday, August 9, 2014 4:02:59 PM UTC-4, James Reeves wrote:
Keywords hierarchies need to be namespace qualified, but you can require
namespaces and use the alias, as
I've been playing and like Silk a lot!
However the following I find curious as I'm wondering what the intended
behaviour should be:
user= (silk/match (silk/composite [user- (silk/integer :id) -fred (silk
/option :this that) s]) user-42-fredjs)
{:id 42, :this j}
user= (silk/match (silk/composite
32 matches
Mail list logo