What is the task doing? If it is in a tight loop, it must check explicitly
whether the interrupt flag is set and abort. If it is waiting on some
resource, it will receive InterruptedException.
Regards,
Praki Prakash
On Wed, Jan 22, 2014 at 11:20 AM, Mark Engelberg
mark.engelb...@gmail.comwrote
Hi Shantanu,
Congrats on the book. Looks like it's going to be a great read and no doubt
a much needed book on the subject of performant code.
Regards,
Praki Prakash
On Thu, Nov 21, 2013 at 11:09 AM, Shantanu Kumar
kumar.shant...@gmail.comwrote:
On Thursday, 21 November 2013 21:39:36 UTC+5
Please accept my thanks as well!
Regards,
Praki Prakash
On Wed, Nov 20, 2013 at 6:25 PM, Eduardo Lávaque eduanlava...@gmail.comwrote:
Thanks for this Logan. :)
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Hi,
For reasons I cant quite fathom, lein cljsbuild generates Symbol X is
not a protocol warning. I am using clojure 1.5.1 and cljsbuild 0.3.2. The
following code snippet reproduces the issue. Please note that renaming
my.foo namespace to foo compiles with no warning.
;; file:: foo.cljs
(ns
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
--
(praki
Is cljs/reader going to support reading defrecords? Also, is there a
clojurescript library that can serialize and deserialize defrecord/
deftype?
Thanks
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Tue, Jan 10, 2012 at 2:22 PM, billh2233 bill.har...@gmail.com wrote:
I'm trying to instantiate a new goog.fx/Animate object, but the
constructor doesn't return anything:
(:require [goog.fx :as fx])
(let [anim (fx/Animation (array 22 33) (array 44 55) 1000 nil)]
anim: #undefined end
email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
(praki)
--
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
to check for that, too..
Regards Benjamin
On Jan 3, 9:19 am, Praki praki.prak...@gmail.com wrote:
Hi,
I have a silly problem compiling my cljs files. I have to run the
cljsc command twice in succession to generate javascript source. The
first compilation results in:
ERROR
Hi,
I have a silly problem compiling my cljs files. I have to run the
cljsc command twice in succession to generate javascript source. The
first compilation results in:
ERROR: JSC_LATE_PROVIDE_ERROR. required foo.bar namespace not
provided yet at /home/.../src/../target/classes/public/js/core.js
Hi,
I have a clojurescript app which connects to a repl server. But it
never worked, always hanging in evaluating the expression. As the repl
sample app which comes with clojurescript worked, I soon managed to
establish that my browser repl works as expected if I don't run my
application code
I am running into a problem with memoized functions in ClojureScript.
Functions which take a single argument work okay but functions of two
args throw an error.
I haven't been able to isolate the bug (I am able to hash vectors and
nested vectors just fine). Any hints on the root cause or
In Clojure (read-string :a:b:c) returns :a:b:c (a keyword with two
embedded colons) whereas ClojureScript returns :a. In ClojureScript
reading of a token ends at whitespace or a macro character (except '
and #). Is this difference deliberate or just an oversight and colon
to be allowed to be part
Hi,
Compiling the following code throws an exception as below. I looked at
compiler.clj and don't understand the reason for this error. I am not
sure what a local var is and I would think x would be a field
which should be settable. Are mutable deftype fields not supported in
ClojureScript?
-end developer but I am currently stuck prototyping using
JQuery. I am
also not a JS expert. I am curious: can you list JQuery's issues and how it
uses JS badly?
Or, provide some references?
--
(praki)
--
You received this message because you are subscribed to the Google
Groups Clojure group
This looks like an issue with hyphenated attribute names in deftype.
defrecord seems to be fine.
user *clojure-version*
{:major 1, :minor 3, :incremental 0, :qualifier beta1}
user (deftype Foo [foo])
user.Foo
user (Foo. 1)
#user.Foo[1]
user (deftype Bar [bar-id])
user.Bar
user (Bar. 1)
;
bit-clear documentation doesn't explicitly state that index is zero-
based but I would think so. Alpha7 seems to have broken this function.
user *clojure-version*
{:major 1, :minor 3, :incremental 0, :qualifier alpha4}
user (bit-clear 3 1)
1
user (bit-clear 3 0)
2
user (bit-clear 3 2)
3
user
user
.
Praki
On Sun, Jan 9, 2011 at 10:52 AM, Mark Engelberg mark.engelb...@gmail.comwrote:
On Sun, Jan 9, 2011 at 3:15 AM, Mark Engelberg mark.engelb...@gmail.com
wrote:
In the meantime, I fired up the lein repl which did start up in
-server mode, and tried to do some profiling. It tells me 80
in one location and I just replace
latex lines with empty lines. How do you address this issue?
Thanks,
Praki
On Sat, Dec 25, 2010 at 10:01 PM, Tim Daly d...@axiom-developer.org wrote:
; 0 AUTHOR and LICENSE
; 1 ABSTRACT and USE CASES
; 2 THE LATEX SUPPORT CODE
; 3 IMPORTS
; 4 THE TANGLE
Hi,
I am getting this error when trying to load one of my modules. Does
anybody know if the compiler checks for method lengths? Has anyone run
into this issue and have suggestions on how to work around this?
Thanks,
Praki
Compiling singularis.repo.bucket to /home/pprakash/projects/gwave/repo
I think my number crunching code would benefit immensely from
equals/equiv code. When can we hope to see a release containing
equals/equiv effort?
Thanks
On Wed, Jul 14, 2010 at 10:42 AM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
Later release.
I didn't see mention of the new
I have the same problem and implicit file/line arguments would be very
useful to me as well.
On Wed, Jul 14, 2010 at 8:21 AM, Nicolas Oury nicolas.o...@gmail.com wrote:
Dear all,
I am using a lot of macros with a quite complex syntax and I would like to
be able to report error nicely.
I
I started using one-jar to package my clojure code as a single
executable jar and ran into a problem right away with loading of
classes. I have a very simple project at g...@github.com:fgx3prak/
bug.git that crashes in the same manner as my real code base and think
that the underlying problem is
Snapshots of
clojure-http-client, the namespace was renamed to clojure-http.client.
This was a small issue with my fork from clojure-couchdb.
(I think clojure-http-client really needs a stable release for clojure 1.1.0)
On Wed, Jun 9, 2010 at 7:31 PM, Praki praki.prak...@gmail.com wrote:
I
Same story with the latest snapshot of clojure-http-client. Same thing
happens with compojure.core.
BTW, I am using 1.2.0-master-SNAPSHOT for clojure and clojure-contrib
but clojure-http-client is 1.0.0-SNAPSHOT. I will try this with the
most recent version.
Thanks
personally, I like strip or trim than chomp/chop.
+1
Seeing how Clojure dropped/changed many classic Lisp monikers, there
is no reason to use comp/chop which may be familiar to somebody with
Perl/Python but confusing to others.
--
You received this message because you are subscribed to the
I am unable to read-string record instances produced by pr-str.
user (defrecord Z [x y])
user.Z
user (read-string (pr-str (Z. 1 2)))
; Evaluation aborted.
The exception is:
java.lang.Exception: No dispatch macro for: :
[Thrown class java.lang.RuntimeException]
However, struct instances are
Thanks Andrew.
I did catch 'this' argument requirement sometime back but the 'new' bit
escaped me.
Praki
On Sat, Apr 17, 2010 at 6:16 PM, Andrew Stein steinl...@gmail.com wrote:
(deftype Bar [a b c d e])
(def b (new Bar 1 2 3 4 5))
There are a few other syntax changes too, defrecord
That was my interpretation as well. I now have defrecord instead of deftype
everywhere. It looks like deftype was refactored into deftype and defrecord.
deftype implements none of the usual interfaces (IPersistentMap) whereas
defrecord does.
Praki
On Sun, Apr 18, 2010 at 11:33 AM, ataggart
I am seeing compilation errors in my code with deftype. I just updated
my project dependencies and probably pulled in the latest clojure
package. Anyway, the following code from wiki doesn't work anymore.
Pointers to any late breaking changes much appreciated!
TIA
(deftype Bar [a b c d e])
(def
with respect to the level of formalism you need to use them. But,
Haskell is one of the most mind bending programming language there and well
worth the study.
Praki
On Wed, Mar 17, 2010 at 5:16 PM, Ben Armstrong synerg...@gmail.com wrote:
On 17/03/10 04:54 PM, David Nolen wrote:
To me the beauty
is quite mature and well-documented. Any clojure-specific needs
could be addressed through a plug-in.
Comments, thoughts?
Thanks,
Praki
On Thu, Mar 4, 2010 at 5:52 AM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
Hi Jan,
My 2c: Leiningen is an important step, but there is still plenty to do
32 matches
Mail list logo