Hi Andreas,
I've definitely been thinking about it for a while: it's a tough one -
especially since it's built on so much great open source.
Have decided to keep it closed for the short term: right now I'd like
to be focused on finishing the app and on actually getting more than
three people to l
Ah, I'm embarassed for not trying it on the developer version earlier
-- I'm running 1.2. Since Clojure 1.3 changes the semantics of -
w.r.t. overflow, it succesffully catches this.
However, -' still has this bug as of Clojure 1.3 Alpha 4:
Clojure 1.3.0-alpha4
user=> (-' 0 -9223372036854775808)
-
On Fri, Dec 10, 2010 at 6:24 AM, Steve Purcell wrote:
>> If you have issues with emacs failing to pick up the right executables,
> you can use the following nifty trick to ensure Emacs' $PATH matches the
> one you've configured for Bash in Terminal:
>
> (defun set-exec-path-from-shell-PATH ()
> (
On Sun, Dec 12, 2010 at 19:45, Kevin Downey wrote:
> no, the runtime you get with every j2me implementation I've seen ia a
> stipped down java 1.3 or 1.4. Clojure requires 1.5 at least. Basically
> there are no phones with a real, up to date, jre.
Out of interest, and with no time to find this
no, the runtime you get with every j2me implementation I've seen ia a
stipped down java 1.3 or 1.4. Clojure requires 1.5 at least. Basically
there are no phones with a real, up to date, jre.
On Sun, Dec 12, 2010 at 6:25 PM, Stuart Sierra
wrote:
> In theory, it should. Aaron Bedra has been experim
Clojure 1.3 Alpha 2 is now available at
http://clojure.org/downloads
0 Changes from 1.3 Alpha 3 to 1.3 Alpha 4
1 Changes from 1.3 Alpha 2 to 1.3 Alpha 3
2 Changes from 1.3 Alpha 1 to 1.3 Alpha 2
3 Changes from 1.2 to 1.3 Alpha 1
4 About Alpha Releases
= 0 Changes from 1.3 Alpha 3 t
In theory, it should. Aaron Bedra has been experimenting with Android
http://dev.clojure.org/display/design/Android+Support with partial
success. In general, it is a goal to have Clojure work on mobile
platforms, up to possibly making an "mobile-optimized" version.
Getting there will take more peop
I can only reproduce this using 1.2 release.
under 1.3 master. I get
user=> (- 0 -9223372036854775808)
ArithmeticException integer overflow
clojure.lang.Numbers.throwIntOverflow (Numbers.java:1575)
On Sun, Dec 12, 2010 at 9:00 PM, James Koppel wrote:
> user> (- 0 -9223372036854775808)
> -92233
Hi James,
I am not seeing this behavior on master. If you are, would love to know
additional context.
Stu
> user> (- 0 -9223372036854775808)
> -9223372036854775808
>
> It's worth noting that -9223372036854775808 is Long/MIN_VALUE, and
> that this is the expected result with native 64-bit longs
Does Clojure work on Squawk or any other JavaME vm?
Thanks
Andreas
--
“There is a strong correlation between being smart and being a nerd, and an
even stronger inverse correlation between being a nerd and being popular”
(Paul Graham)
--
**
user> (- 0 -9223372036854775808)
-9223372036854775808
It's worth noting that -9223372036854775808 is Long/MIN_VALUE, and
that this is the expected result with native 64-bit longs, though not
in a language with automatic long-to-BigInteger conversion. It appears
that a few related bugs (e.g.: http:
Hey Peter,
Any plans of releasing the source? At least the Clojure part?
Cheers
Andreas
On 13/12/2010, at 2:50 AM, Peter T wrote:
> Hey guys,
>
> I hope this isn't inappropriate (?) - thought it might be interesting
> to some.
>
> I've just opened the doors on an early release of a Clojure-base
> Because posting the link would make some modicum of sense…
>
> http://blog.twonegatives.com/post/2168030248/kata
>
> ^_^
Excellent blog post.
I have yet to read Dave Thomas's book, though it's very high on my list.
One note: As a fairly seasoned amateur of pretty much anything East
Asian I obj
I really, really want ClojureCLR to play nice with emacs the way
Clojure does. I've looked at the swank-clojure sources, but I really
don't know enough about the Clojure and ClojureCLR internals to make
much headway with this project. Still, I'd love to help out in any
way that I can.
Is anyone
>
> This was the first issue, the second issue is that I'm queueing up lots of
> data for the thread pools and as a result I'm able to completely exhaust the
> available memory. the clj-sys/work framework seems to be what I need to
> ensure there is a fixed number of threads.
>
I wrote this up:
ht
So Clojure currently has a quirk (to put it tactfully) where AOT
compiling a namespace causes all the namespace's dependencies to be
AOTed as well. Chas Emerick has been cooking up a patch for this in
CLJ-322 (http://dev.clojure.org/jira/browse/CLJ-322), but not everyone
is going to be able to upgr
On Dec 11, 2010, at 12:16 AM, ka wrote:
> Hi Brian,
>
> Can you explain this in more detail :
>
>>> I didn't have the laziness problem. I don't know if that was by accident or
>>> because Midje applies an #'eagerly function before checking.
>
> Because it seems that if code has a laziness prob
On Sun, Dec 12, 2010 at 9:45 AM, Manuel Weikert
wrote:
> Why does this error only occur when I use ClojureQL? I built other
> jars bofore using many other libraries and never ran into this...
It's because of protocols. Code that uses protocols behaves
differently when it's AOT-compiled--the refer
If you are interested in Monads or want a good
example of why macros are really useful, this is
worth studying:
http://common-lisp.net/project/cl-monad-macros/monad-macros.htm
It is in common lisp but could probably be translated
to clojure by some bright-spot.
Tim Daly
--
You received this m
Hey guys,
I hope this isn't inappropriate (?) - thought it might be interesting
to some.
I've just opened the doors on an early release of a Clojure-based web
application I've been working on for a while now: www.wusoup.com.
The entire thing is Clojure: front- and back-ends. About 14,000 lines
o
Hmmm...
Why does this error only occur when I use ClojureQL? I built other
jars bofore using many other libraries and never ran into this...
--
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
You probably need to add " :keep-non-project-classes true" to
project.clj, see
https://github.com/technomancy/leiningen/issues/#issue/141
On Sunday, December 12, 2010 3:34:29 AM UTC-8, manuel.weikert wrote:Hi,
I'm trying to write a little tool that fetches data from the web and
stores it to a mysq
Hi,
I'm trying to write a little tool that fetches data from the web and
stores it to a mysql database. For the DB handling I decided to use
ClojureQL.
While developing on the REPL everything works fine and even compiling
with 'lein uberjar' shows no sign of any error but as soon as try to
run th
On Dec 12, 12:36 am, Ken Wesson wrote:
>
> You can "change" the metadata on the object held by the atom (if that
> object supports metadata) via (swap! a with-meta ...).
>
> One thing a bit annoying is if you want to alter the metadata in an
> incremental way. To do that atomically requires a cl
On Dec 12, 12:24 am, Meikel Brandmeyer wrote:
>
> I'm a bit confused. It just looks like a normal function call.
>
> (my-defmulti foo type)
>
> (my-defmethod foo String [x] (str "A String: " x))
>
> (foo "Hello, World!")
>
> So it just looks like an ordinary function. Extracting the multi-call
25 matches
Mail list logo