Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Armando Blancas
Just to clarify, I meant the same result as I got on OSX with 64 bits, namely Infinity. Both with 1.4.0. I'm not getting the exception. On Tuesday, June 26, 2012 6:06:13 PM UTC-7, Sean Corfield wrote: > > Makes sense. I got the exception on my System76 Netbook which, > although technically 64-bi

Re: [ANN] clojure.java.jdbc 0.2.3 available on Maven Central

2012-06-26 Thread Chas Emerick
Random thought: recursive queries are possible in SQL using recursive common table expressions. The PostgreSQL manual has a good introduction to them: http://www.postgresql.org/docs/9.1/static/queries-with.html And another introduction to them, in the particular area of querying hierarchical d

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Colin Jones
To address the Infinity exception that Sean & AJ are seeing, I think the issue there is that in REPLy / lein repl, we do a `read` of the input, and then `pr-str` the result and send it on to nREPL. So when nREPL goes to re-read the value back in, that's what triggers the compiler error. user=>

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Sean Corfield
Makes sense. I got the exception on my System76 Netbook which, although technically 64-bit, is mostly running 32-bit software, including Java. On Tue, Jun 26, 2012 at 5:56 PM, Armando Blancas wrote: > Tried it on my old XP laptop and got the same result with 32 bits. > > > On Tuesday, June 26, 20

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Armando Blancas
Tried it on my old XP laptop and got the same result with 32 bits. On Tuesday, June 26, 2012 2:46:07 PM UTC-7, tbc++ wrote: > > > On Tue, Jun 26, 2012 at 11:25 AM, Armando Blancas > wrote: > >> I don't get the exception on 1.4.0: > > > Is this a 64bit vs 32bit issue? > > Timothy > -- You r

Re: Distributed transactions

2012-06-26 Thread Jim Crossley
Well, it took a little longer than I thought it would, but we announced support for XA on Immutant today: http://immutant.org/news/2012/06/26/transactions/ Enjoy! Jim On Saturday, December 31, 2011 7:59:27 PM UTC-5, Jim Crossley wrote: > > > > On Dec 31, 7:33 pm, Stuart Halloway wrote: > > >

Re: Overtone 0.7

2012-06-26 Thread Base
Fantastic!!! On Tuesday, June 26, 2012 3:31:28 PM UTC-5, Sam Aaron wrote: > > Hi all, > > I just thought I'd give you a quick heads up that Overtone 0.7 has been > released. It represents around 6 months worth of solid work (~500 commits) > and we're really rather pleased with how far we've com

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Timothy Baldridge
> On Tue, Jun 26, 2012 at 11:25 AM, Armando Blancas wrote: >> I don't get the exception on 1.4.0: Is this a 64bit vs 32bit issue? Timothy -- 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

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Allen Johnson
When I run the repl from leiningen (v2.0.0-preview6) I get the Infinity exception. But when I run the repl straight from the clojure.jar it works without error. java -jar ~/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar AJ On Tue, Jun 26, 2012 at 11:25 AM, Armando Blancas wrote: >

Overtone 0.7

2012-06-26 Thread Sam Aaron
Hi all, I just thought I'd give you a quick heads up that Overtone 0.7 has been released. It represents around 6 months worth of solid work (~500 commits) and we're really rather pleased with how far we've come. I'm especially pleased to welcome our new committers. Without these people (and al

Re: How I can convert this python line to clojure?

2012-06-26 Thread Lars Nilsson
On Tue, Jun 26, 2012 at 3:34 PM, Antonio Recio wrote: > I would like convert this python line to clojure: > vtkCompositeDataSet.NAME() > > When I read vtkCompositeDataSet.java I find this: >   private native long NAME_16(); >   public vtkInformationStringKey NAME() { >     long temp = NAME_16(); >

Re: How I can convert this python line to clojure?

2012-06-26 Thread Antonio Recio
I would like convert this python line to clojure: vtkCompositeDataSet.NAME() When I read vtkCompositeDataSet.java I find this: private native long NAME_16(); public vtkInformationStringKey NAME() { long temp = NAME_16(); if (temp == 0) return null; return (vtkInformationStringKey

ANN Monger 1.0.0 is released

2012-06-26 Thread Michael Klishin
After a few weeks of post-RC cooling down, Monger 1.0.0 is released to clojars. Changes from 1.0.0-rc2: https://github.com/michaelklishin/monger/blob/master/ChangeLog.md Get started in an instant: http://clojuremongodb.info/articles/getting_started.html Read documentation guides: http://clojurem

Re: How I can convert this python line to clojure?

2012-06-26 Thread Lars Nilsson
On Tue, Jun 26, 2012 at 1:45 PM, Antonio Recio wrote: > @Lars Nilson: You are right, I have take a look at vtkDataSetAttributes.java > and there is not any reference to SCALARS. > > In vtk documentation they have included SCALARS. > http://www.vtk.org/doc/nightly/html/classvtkDataSetAttributes.htm

Re: How I can convert this python line to clojure?

2012-06-26 Thread Antonio Recio
@Lars Nilson: You are right, I have take a look at vtkDataSetAttributes.java and there is not any reference to SCALARS. In vtk documentation they have included SCALARS. http://www.vtk.org/doc/nightly/html/classvtkDataSetAttributes.html#a156a8842bffd9139fa81193cca0d5bcbaefbcc1c766a1bad6e1e09d5be83

Re: Buggy FP behavior with Clojure 1.3

2012-06-26 Thread Armando Blancas
I don't get the exception on 1.4.0: ~ $ clj Clojure 1.4.0 user=> 1e309 Infinity user=> On Monday, June 25, 2012 11:09:14 PM UTC-7, Sean Corfield wrote: > > On Mon, Jun 25, 2012 at 10:30 PM, dennis zhuang > wrote: > > Added a postfix "M" to make the number as BigDecimal or "N" as a > BigInte

Re: lein-daemon 0.3

2012-06-26 Thread Jack Moffitt
>>> I've released a new version of lein-daemon. daemon is like 'lein run', >>> only it runs the process in the background rather than blocking. >>> >>> 0.3 and up is a complete re-write, that no longer depends on apache >>> commons daemon. The new version has no dependencies on any external >>> pro

Re: [ANN] clojure.java.jdbc 0.2.3 available on Maven Central

2012-06-26 Thread Niels van Klaveren
Yeah, it's a pain to include Datomic's Datalog implementation through Maven dependencies, since you need to install the jar by hand. Afaik clojure.contrib.datalog didn't compile to SQL. Theoretically it should be possible to do so, since Datalog is a superset of SQL. However, the extra function

leinigen 1.7.1 stalled when used from Jenkins

2012-06-26 Thread Pierre Allix
Hello, I have a build script called from Jenkins that calls "lein clean". Unfortunately lein stalled when executed from the script whereas it works fine if I do executed it from the command line. Leiningen is stalled executing this command: java -Xbootclasspath/a:/home/jboss/.m2/repository/or

Re: [ANN] clojure.java.jdbc 0.2.3 available on Maven Central

2012-06-26 Thread mnicky
Thanks! However it'd be nice if it was released as a separate library. Also, I thought that clojure.contrib.datalog worked for SQL queries... That would be even better ;) On Monday, June 25, 2012 1:50:19 PM UTC+2, Niels van Klaveren wrote: > > You can use the Datomic datalog implementation to qu