On Sun, Oct 3, 2010 at 11:26 PM, ataggart wrote:
> I don't see what you're seeing for the type-hinted version:
...
> Perhaps you need to update your 1.3 install.
Just ran lein deps on the snapshot to get the latest versions and
still see the warnings:
(set! *warn-on-reflection* true)
; true
(def
2010/10/4 George Jahad
>
>
> On Oct 4, 2:34 am, Lee Spector wrote:
> > On Oct 4, 2010, at 3:58 AM, George Jahad wrote:
> >
> > I also look forward to the integration of CDT into Eclipse/ccw :-). Or
> maybe I need to migrate back to emacs, from whence I came (but was lured
> away by a couple nice
I don't see what you're seeing for the type-hinted version:
user=> (defn asum-sq [ ^floats xs ]
user=* (let [ ^floats dbl (amap xs i ret
user=* (* (aget xs i)
user=* (aget xs i)))]
user=* (areduce dbl i ret 0
user=* (+ ret (aget dbl i)
NO_SOURCE_FILE:
Thanks Ross, that gives me a better insight into your environment.
> In the online environment single cases are fetched from a
> database with no aggregation capability and fired at the service that
> contains the aggregation functionality.
What does a single case consist of? Is it just a result-
Hi,
I've added sandbar session mgmt to my google app engine + compojure
application, wrapping a stateful session around my routes
configuration with:
(def app (-> my-routes wrap-stateful-session))
(defservice my-routes)
The application compiles but I get the following error when I perform
sessi
Further digging seems to indicate aset etc work for int-array types -
but not float-array types?
(let [^ints xii (int-array [1 2 3 4 5])] (amap xii i ret (* (aget xii
i) (aget xii i
(without the hint, it also works but emits various reflection warnings)
On Sun, Oct 3, 2010 at 9:41 PM, Sean C
Managed to solve my own problem. For anyone with the same problem in
the future, here is the corrected code:
(defservice (-> my-routes wrap-stateful-session))
and remove the (def app) line.
P.
On Oct 4, 10:27 am, Paul wrote:
> Hi,
>
> I've added sandbar session mgmt to my google app engine +
On Oct 4, 2:34 am, Lee Spector wrote:
> On Oct 4, 2010, at 3:58 AM, George Jahad wrote:
>
> I also look forward to the integration of CDT into Eclipse/ccw :-). Or maybe
> I need to migrate back to emacs, from whence I came (but was lured away by a
> couple nice features of eclipse/ccw...).
>
Using the CDT I was able to confirm that one of the agents actually is
generating a run time exception, trying to cast an int from a long.
Could the perturb function be calling rand-int with a value that is
too large? I'm including the stack trace below in case that helps.
This is line 950 in RT.
Thanks for the two posts Shantanu.
The rql and Clause examples are useful, both as potential parts of a
solution and as examples of how query/aggregation stuff may be done in
Clojure style. It is conceivable that I may end up deciding all I
need is a DSL that covers the kinds of aggregations of i
BTW, having updated to the latest snapshot, when I press ctl-D in the
repl, I get this exception:
user=> Exception in thread "Thread-4" java.lang.RuntimeException:
java.lang.IndexOutOfBoundsException
at clojure.lang.AFn.run(AFn.java:28)
at java.lang.Thread.run(Thread.java:613)
Caus
Hello everybody,
I am trying to use clojure along with mathematica. Thanks to Clojuratica,
the integration is seamless..
when I try to execute the following code
(math (SetDelayed (func1 (Pattern x (Blank)))
(With [f 10 g 20]
(* f (+ g x)
(math (func1 30))
I got
(Clojuria
I am sorry for reposting .. I realized that the subject line was not very
intelligible .. so I am changing the subject line and reposting the same
message.
Hello everybody,
I am trying to use clojure along with mathematica. Thanks to Clojuratica,
the integration is seamless..
when I try to execu
With the usual apologies to those who receive multiple copies. This
version contains the schedules of presentations and tutorials.
~~~
International Lisp Conference 2010
October 19-21,
On Oct 4, 2010, at 3:58 AM, George Jahad wrote:
> Using the CDT I was able to confirm that one of the agents actually is
> generating a run time exception, trying to cast an int from a long.
> Could the perturb function be calling rand-int with a value that is
> too large? I'm including the stac
I write a search application, and to test it I need some util
functions such as "test-search" to run and see the result. I.e. this
function cannot be created as unit test - there's just no one correct
answer, and only human can understand it. So, test directory is not
the place to put such function
Hi,
I just pushed Clj-DBCP 0.1 to Clojars. It is a Java-6/Clojure wrapper
for the Apache DBCP library. Besides exposing the creation of
connection-pooled datasource, the wrapper also provides API for
embedding databases (in-memory, filesystem, network) such as Apache
Derby, HSQLDB/HyperSQL and H2.
On Sat, Oct 2, 2010 at 22:46, Scott Jaderholm wrote:
> On Sat, Oct 2, 2010 at 6:36 PM, Michael Ossareh wrote:
>
>> What is the recommended manner in which to let your application know its
>> on a dev machine?
>>
>
> I use an environment variable that determines which config (dev,
> production, t
Shantanu---
This looks great! Can you compare it to ClojureQL? Is it attempting
to do more or less the same thing? (Not sure what is happening with
ClojureQL right now.)
Thanks,
Nick.
On Aug 31, 1:19 pm, Shantanu Kumar wrote:
> SQLRat 0.1 GA is pushed to Clojars. Maven/Lein details
> here:
Not sure, but I suspect 'lein deps' doesn't kill your local maven
cache, so you might not actually be getting the latest jar off the
server. cake has a 'cake deps force' precisely to deal with this
issue.
On Oct 3, 11:32 pm, Sean Corfield wrote:
> On Sun, Oct 3, 2010 at 11:26 PM, ataggart wrote
David, Rich: any further updates on this?
Mike
On Sep 24, 8:24 am, dmiller wrote:
> Just waiting for that person's CA to be processed by Rich.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
On Oct 5, 2:42 am, nchubrich wrote:
> Shantanu---
>
> This looks great! Can you compare it to ClojureQL? Is it attempting
> to do more or less the same thing? (Not sure what is happening with
> ClojureQL right now.)
Thanks, Nick. From what I understood after reading the blog post[1]
and the
On 21 September 2010 07:15, Constantine Vetoshev wrote:
> I'd like to announce the release of a working version of appengine-
> magic, a library designed to make it easier to get started with Google
> App Engine using Clojure.
> .. chop ..
I noticed it uses ring out of the box. I was wondering
On Mon, Oct 4, 2010 at 5:27 PM, ataggart wrote:
> Not sure, but I suspect 'lein deps' doesn't kill your local maven
> cache, so you might not actually be getting the latest jar off the
> server. cake has a 'cake deps force' precisely to deal with this
> issue.
I nuked my maven repo and ran lein
Are you using "lein repl"? If so, I suspect that may be your issue;
at least on some systems, it seems to currently lose type hints:
http://groups.google.com/group/clojure/browse_thread/thread/41fd58c62ef1be36/40c88038f1a77d9c?show_docid=40c88038f1a77d9c
-Jason
On Oct 4, 11:05 pm, Sean Corfield
Thanx Jason. That could well be it. I'll try it in a file (tomorrow)
and report back.
On Mon, Oct 4, 2010 at 11:50 PM, Jason Wolfe wrote:
> Are you using "lein repl"? If so, I suspect that may be your issue;
> at least on some systems, it seems to currently lose type hints:
>
> http://groups.goo
A quick test to see if this is the issue; you should see this:
user> (meta ^:foo [])
{:tag :foo}
(from lein swank on my system), not this:
user=> (meta ^:foo [])
nil
(from lein repl on my system).
On Oct 4, 11:50 pm, Jason Wolfe wrote:
> Are you using "lein repl"? If so, I suspect that ma
27 matches
Mail list logo