Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Mark Engelberg
You seem to be requiring the numeric-tower functions into the foobar.core
namespace, and then "use"ing the foobar.core namespace from the user
namespace and expecting the numeric-tower functions to show up in the user
namespace.  However, namespaces aren't transitive like that.  You need to
require math.numeric-tower from user if you intend to use it from user, or
change your namespace to foobar.core in the REPL.

A further problem (based on your github issue) may be that your foobar.core
namespace is in a file called src.clj (and you don't say what directory
that file is in).  Usually, the system will expect foobar.core namespace to
be in a file called core.clj in a directory called foobar.


On Fri, Jan 19, 2018 at 1:55 PM, Andrew Dabrowski 
wrote:

> Maybe it isn't a cider problem, I'm having a similar issue with lein.
> Working in the project directory created by lein:
>
> $ lein repl
> nREPL server started on port 42585 on host 127.0.0.1 - nrepl://
> 127.0.0.1:42585
> REPL-y 0.3.7, nREPL 0.2.12
> Clojure 1.9.0
> OpenJDK 64-Bit Server VM 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Exit: Control+D or (exit) or (quit)
>  Results: Stored in vars *1, *2, *3, an exception in *e
>
> user=> (use 'foobar.core)
> nil
> user=> (math/expt 2 3)
>
> CompilerException java.lang.RuntimeException: No such namespace: math,
> compiling:(/tmp/form-init2355284152590406554.clj:1:1)
> user=>
>
>
> It seems that the lein repl also is not processing the
>
>  (:require [clojure.math.numeric-tower :as math])
>
> line in project.clj.
>
> On the other hand:
>
> user=> (require 'clojure.math.numeric-tower)
> nil
> user=> (clojure.math.numeric-tower/expt 2 3)
> 8
>
>
> On Friday, January 19, 2018 at 12:10:59 PM UTC-5, Sean Corfield wrote:
>>
>> Can’t reproduce in Boot either. Based on that CIDER ticket, it may be
>> something specific to Andrew’s project.clj file…
>>
>>
>>
>> (! 910)-> boot -d org.clojure/math.numeric-tower repl
>>
>> Retrieving maven-metadata.xml from https://repo1.maven.org/maven2/ (1k)
>>
>> Retrieving math.numeric-tower-0.0.4.pom from
>> https://repo1.maven.org/maven2/ (1k)
>>
>> Retrieving math.numeric-tower-0.0.4.jar from
>> https://repo1.maven.org/maven2/ (5k)
>>
>> …
>>
>> boot.user=> (clojure-version)
>>
>> "1.9.0"
>>
>> boot.user=> (require '[clojure.math.numeric-tower :as math])
>>
>> nil
>>
>> boot.user=>
>>
>>
>>
>> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>>
>> "If you're not annoying somebody, you're not really alive."
>> -- Margaret Atwood
>>
>>
>> --
>> *From:* clo...@googlegroups.com  on behalf of
>> Alex Miller 
>> *Sent:* Friday, January 19, 2018 6:04:42 AM
>> *To:* Clojure
>> *Subject:* Re: numeric-tower versus clojure 1.9
>>
>> I can't reproduce this problem in either a lein repl or clj repl using
>> math.numeric-tower + clojure 1.9. Looking at the code, I don't see anything
>> that should be different with Clojure 1.9.
>>
>> On Friday, January 19, 2018 at 7:38:57 AM UTC-6, Bozhidar Batsov wrote:
>>>
>>> I also got a CIDER ticket about pretty much the same problem
>>> https://github.com/clojure-emacs/cider/issues/2169
>>>
>>> I guess there's some problem with Clojure 1.9 and the tower, but I'm not
>>> sure about its exact extent.
>>>
>>> On 18 January 2018 at 02:41, Alex Miller  wrote:
>>>
 I can't reproduce that locally. Checking with the new clojure 1.9 clj
 tool:

 $ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version
 "0.0.4"}}}' > deps.edn
 $ clj
 Clojure 1.9.0
 user=> (require '[clojure.math.numeric-tower :as n])
 nil
 user=> (dir n)
 MathFunctions
 abs
 ceil
 ...


 On Wednesday, January 17, 2018 at 4:26:44 PM UTC-6, Andrew Dabrowski
 wrote:
>
> Is clojure.math.numeric-tower incompatible with clojure 1.9?  The
> numeric tower is still at version 0.0.4, 4 years old.  WHen I try to use I
> get the error
>
> 1. Caused by java.io.FileNotFoundException
>Could not locate clojure/math/numeric_tower__init.class or
>clojure/math/numeric_tower.clj on classpath. Please check that
>namespaces with dashes use underscores in the Clojure file name.
>
> In particular math.numeric-tower does not seem to obey the
> dash->underscore convention, nor does the installation seem to include
> init.class or .clj files.
>
 --
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, 

Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Andrew Dabrowski
Maybe it isn't a cider problem, I'm having a similar issue with lein.  
Working in the project directory created by lein:

$ lein repl
nREPL server started on port 42585 on host 127.0.0.1 - 
nrepl://127.0.0.1:42585
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.9.0
OpenJDK 64-Bit Server VM 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12
Docs: (doc function-name-here)
  (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

user=> (use 'foobar.core)
nil
user=> (math/expt 2 3)

CompilerException java.lang.RuntimeException: No such namespace: math, 
compiling:(/tmp/form-init2355284152590406554.clj:1:1) 
user=> 


It seems that the lein repl also is not processing the 

 (:require [clojure.math.numeric-tower :as math])

line in project.clj.

On the other hand:

user=> (require 'clojure.math.numeric-tower)
nil
user=> (clojure.math.numeric-tower/expt 2 3)
8


On Friday, January 19, 2018 at 12:10:59 PM UTC-5, Sean Corfield wrote:
>
> Can’t reproduce in Boot either. Based on that CIDER ticket, it may be 
> something specific to Andrew’s project.clj file…
>
>  
>
> (! 910)-> boot -d org.clojure/math.numeric-tower repl
>
> Retrieving maven-metadata.xml from https://repo1.maven.org/maven2/ (1k)
>
> Retrieving math.numeric-tower-0.0.4.pom from 
> https://repo1.maven.org/maven2/ (1k)
>
> Retrieving math.numeric-tower-0.0.4.jar from 
> https://repo1.maven.org/maven2/ (5k)
>
> …
>
> boot.user=> (clojure-version)
>
> "1.9.0"
>
> boot.user=> (require '[clojure.math.numeric-tower :as math])
>
> nil
>
> boot.user=>
>
>  
>
> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>  
> --
> *From:* clo...@googlegroups.com   > on behalf of Alex Miller  >
> *Sent:* Friday, January 19, 2018 6:04:42 AM
> *To:* Clojure
> *Subject:* Re: numeric-tower versus clojure 1.9 
>  
> I can't reproduce this problem in either a lein repl or clj repl using 
> math.numeric-tower + clojure 1.9. Looking at the code, I don't see anything 
> that should be different with Clojure 1.9.
>
> On Friday, January 19, 2018 at 7:38:57 AM UTC-6, Bozhidar Batsov wrote: 
>>
>> I also got a CIDER ticket about pretty much the same problem 
>> https://github.com/clojure-emacs/cider/issues/2169 
>>
>> I guess there's some problem with Clojure 1.9 and the tower, but I'm not 
>> sure about its exact extent. 
>>
>> On 18 January 2018 at 02:41, Alex Miller > > wrote:
>>
>>> I can't reproduce that locally. Checking with the new clojure 1.9 clj 
>>> tool: 
>>>
>>> $ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version "0.0.4"}}}' 
>>> > deps.edn
>>> $ clj
>>> Clojure 1.9.0
>>> user=> (require '[clojure.math.numeric-tower :as n])
>>> nil
>>> user=> (dir n)
>>> MathFunctions
>>> abs
>>> ceil
>>> ...
>>>
>>>
>>> On Wednesday, January 17, 2018 at 4:26:44 PM UTC-6, Andrew Dabrowski 
>>> wrote: 

 Is clojure.math.numeric-tower incompatible with clojure 1.9?  The 
 numeric tower is still at version 0.0.4, 4 years old.  WHen I try to use I 
 get the error

 1. Caused by java.io.FileNotFoundException
Could not locate clojure/math/numeric_tower__init.class or
clojure/math/numeric_tower.clj on classpath. Please check that
namespaces with dashes use underscores in the Clojure file name.

 In particular math.numeric-tower does not seem to obey the 
 dash->underscore convention, nor does the installation seem to include 
 init.class or .clj files.

>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@googlegroups.com 
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to clojure+u...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com 
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received 

[ANN] walmartlabs/system-viz 0.2.0

2018-01-19 Thread Howard Lewis Ship
system-viz is a tiny, simple library to visualize a system, constructed
using Stuart Sierra's component library.

This release allows the diagram to be laid out horizontally, and allows the
GraphViz source of the document to be saved.

https://github.com/walmartlabs/system-viz

-- 
Howard M. Lewis Ship

Senior Mobile Developer at Walmart Labs

Creator of Apache Tapestry

(971) 678-5210
http://howardlewisship.com
@hlship

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Datomic Cloud

2018-01-19 Thread Gal Dolber
Given that Datomic Cloud is just a different implementation for the Client
API you could use an on-prem or in memory transactor for the dev/test
environments. I think aside from performance and load testing there's no
good reason to run tests on a solo instance.

On Fri, Jan 19, 2018 at 5:08 PM Julio Barros  wrote:

> So, let me know if I understand this correctly. It seems that this would
> have some challenges such as:
>
> - a single shared instance would require creating and destroying different
> (isolated) dbs for each developer and test runner
> - or your organization needs to have enough aws sophistication to allow
> every developer / tester to spin up a solo db on demand.
> - actually spinning up an instance would take some time so that needs to
> be planned around
> - you have to be connected to do any development or testing
>
> Any clarification would be welcomed?
>
> Is the client api in starter close enough to use for development? Is there
> anyway that can be moved into a developer friendly license?
>
> Thanks.
>
> Julio
>
>
> On Jan 17, 2018, at 1:08 PM, Stuart Halloway 
> wrote:
>
> Hi Nando,
>
> Datomic Cloud is deeply integrated with AWS. Our recommended approach for
> dev is to provision a Solo system and enable the bastion server [1], then
> you can use it directly from your dev/staging/CI environment [2].
>
> Cheers,
> Stu
>
> [1]
> https://docs.datomic.com/cloud/getting-started/configuring-access.html#authorize-bastion
> [2]
> https://docs.datomic.com/cloud/getting-started/connecting.html#socks-proxy
>
> On Wed, Jan 17, 2018 at 3:46 PM, Nando Breiter 
> wrote:
>
>> Is it / how is it possible to develop locally against the cloud version
>> (or close enough to the cloud version) of datomic?
>>
>> My Datomic Pro Starter Edition license expired some 8 months ago. I don't
>> remember if local development is allowed for subsequent versions released.
>>
>> thanks,
>>
>> Nando
>>
>>
>>
>> Aria Media Sagl
>> +41 (0)76 303 4477 <+41%2076%20303%2044%2077> cell
>> skype: ariamedia
>>
>> On Wed, Jan 17, 2018 at 4:59 PM, Alan Thompson 
>> wrote:
>>
>>> Cool.
>>>
>>> On Wed, Jan 17, 2018 at 6:25 AM, Jeroen van Dijk <
>>> jeroentjevand...@gmail.com> wrote:
>>>
 Congrats!

 On Wed, Jan 17, 2018 at 3:06 PM, Stuart Halloway <
 stuart.hallo...@gmail.com> wrote:

> Datomic Cloud is now available!
> http://blog.datomic.com/2018/01/datomic-cloud.html
>
> --
> 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
> 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
> ---
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


 --
 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
 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
 ---
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>> --
>>> 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
>>> 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
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to 

RE: numeric-tower versus clojure 1.9

2018-01-19 Thread Sean Corfield
Can’t reproduce in Boot either. Based on that CIDER ticket, it may be something 
specific to Andrew’s project.clj file…

(! 910)-> boot -d org.clojure/math.numeric-tower repl
Retrieving maven-metadata.xml from https://repo1.maven.org/maven2/ (1k)
Retrieving math.numeric-tower-0.0.4.pom from https://repo1.maven.org/maven2/ 
(1k)
Retrieving math.numeric-tower-0.0.4.jar from https://repo1.maven.org/maven2/ 
(5k)
…
boot.user=> (clojure-version)
"1.9.0"
boot.user=> (require '[clojure.math.numeric-tower :as math])
nil
boot.user=>

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Alex 
Miller 
Sent: Friday, January 19, 2018 6:04:42 AM
To: Clojure
Subject: Re: numeric-tower versus clojure 1.9

I can't reproduce this problem in either a lein repl or clj repl using 
math.numeric-tower + clojure 1.9. Looking at the code, I don't see anything 
that should be different with Clojure 1.9.

On Friday, January 19, 2018 at 7:38:57 AM UTC-6, Bozhidar Batsov wrote:
I also got a CIDER ticket about pretty much the same problem 
https://github.com/clojure-emacs/cider/issues/2169

I guess there's some problem with Clojure 1.9 and the tower, but I'm not sure 
about its exact extent.

On 18 January 2018 at 02:41, Alex Miller 
> wrote:
I can't reproduce that locally. Checking with the new clojure 1.9 clj tool:

$ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version "0.0.4"}}}' > 
deps.edn
$ clj
Clojure 1.9.0
user=> (require '[clojure.math.numeric-tower :as n])
nil
user=> (dir n)
MathFunctions
abs
ceil
...


On Wednesday, January 17, 2018 at 4:26:44 PM UTC-6, Andrew Dabrowski wrote:
Is clojure.math.numeric-tower incompatible with clojure 1.9?  The numeric tower 
is still at version 0.0.4, 4 years old.  WHen I try to use I get the error

1. Caused by java.io.FileNotFoundException
   Could not locate clojure/math/numeric_tower__init.class or
   clojure/math/numeric_tower.clj on classpath. Please check that
   namespaces with dashes use underscores in the Clojure file name.

In particular math.numeric-tower does not seem to obey the dash->underscore 
convention, nor does the installation seem to include init.class or .clj files.

--
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
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
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
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
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
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Datomic Cloud

2018-01-19 Thread Julio Barros
So, let me know if I understand this correctly. It seems that this would have 
some challenges such as:

- a single shared instance would require creating and destroying different 
(isolated) dbs for each developer and test runner
- or your organization needs to have enough aws sophistication to allow every 
developer / tester to spin up a solo db on demand.
- actually spinning up an instance would take some time so that needs to be 
planned around
- you have to be connected to do any development or testing

Any clarification would be welcomed?

Is the client api in starter close enough to use for development? Is there 
anyway that can be moved into a developer friendly license?

Thanks.

Julio


> On Jan 17, 2018, at 1:08 PM, Stuart Halloway  
> wrote:
> 
> Hi Nando,
> 
> Datomic Cloud is deeply integrated with AWS. Our recommended approach for dev 
> is to provision a Solo system and enable the bastion server [1], then you can 
> use it directly from your dev/staging/CI environment [2].
> 
> Cheers,
> Stu
> 
> [1] 
> https://docs.datomic.com/cloud/getting-started/configuring-access.html#authorize-bastion
>  
> 
> [2] 
> https://docs.datomic.com/cloud/getting-started/connecting.html#socks-proxy 
> 
> 
> On Wed, Jan 17, 2018 at 3:46 PM, Nando Breiter  > wrote:
> Is it / how is it possible to develop locally against the cloud version (or 
> close enough to the cloud version) of datomic? 
> 
> My Datomic Pro Starter Edition license expired some 8 months ago. I don't 
> remember if local development is allowed for subsequent versions released.
> 
> thanks,
> 
> Nando
> 
> 
> 
> Aria Media Sagl
> +41 (0)76 303 4477  cell
> skype: ariamedia
> 
> On Wed, Jan 17, 2018 at 4:59 PM, Alan Thompson  > wrote:
> Cool.
> 
> On Wed, Jan 17, 2018 at 6:25 AM, Jeroen van Dijk  > wrote:
> Congrats!
> 
> On Wed, Jan 17, 2018 at 3:06 PM, Stuart Halloway  > wrote:
> Datomic Cloud is now available! 
> http://blog.datomic.com/2018/01/datomic-cloud.html 
> 
> 
> -- 
> 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 
> 
> 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 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> -- 
> 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 
> 
> 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 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> -- 
> 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 
> 
> 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 
> 
> --- 
> You received this message 

[ANN] clojure tools 1.9.0.309, tools.deps.alpha 0.5.323, tools.gitlibs 0.2.47

2018-01-19 Thread Alex Miller
This morning there are new releases of Clojure tools 1.9.309, 
tools.deps.alpha 0.5.323, and tools.gitlibs 0.2.47.

Highlights (across one or more of these releases):

  * NEW clj -Spom emits dep exclusions and classifier
  * NEW clj -Spom can also be used with -R and -C (but only for top-level 
modifications)
  * NEW pom file reader for local and git deps
   one note is that this will read  as the 
source path, which defaults to src/main/java
   if you are using it with Clojure source, you should probably set 
that to src/main/clojure
   given that most existing Clojure poms don't do this, we may just add 
this automatically instead
  * FIX git deps now use :deps/root if specified - thanks Dominic Monroe!
  * FIX  major updates in transitive version selection
  * ENHANCE git dep :sha now requires a full sha
  * ENHANCE git version resolution now uses stricter rules in comparison
   either both deps must be the same url, or both repos must include 
both commits
  * ENHANCE dump stack on unexpected errors for debugging
  * NEW gitlibs cache location can be modified with GITLIBS env var - 
thanks Pierre-Yves Ritschard!

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Alex Miller
I can't reproduce this problem in either a lein repl or clj repl using 
math.numeric-tower + clojure 1.9. Looking at the code, I don't see anything 
that should be different with Clojure 1.9.

On Friday, January 19, 2018 at 7:38:57 AM UTC-6, Bozhidar Batsov wrote:
>
> I also got a CIDER ticket about pretty much the same problem 
> https://github.com/clojure-emacs/cider/issues/2169
>
> I guess there's some problem with Clojure 1.9 and the tower, but I'm not 
> sure about its exact extent. 
>
> On 18 January 2018 at 02:41, Alex Miller  wrote:
>
>> I can't reproduce that locally. Checking with the new clojure 1.9 clj 
>> tool:
>>
>> $ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version "0.0.4"}}}' 
>> > deps.edn
>> $ clj
>> Clojure 1.9.0
>> user=> (require '[clojure.math.numeric-tower :as n])
>> nil
>> user=> (dir n)
>> MathFunctions
>> abs
>> ceil
>> ...
>>
>>
>> On Wednesday, January 17, 2018 at 4:26:44 PM UTC-6, Andrew Dabrowski 
>> wrote:
>>>
>>> Is clojure.math.numeric-tower incompatible with clojure 1.9?  The 
>>> numeric tower is still at version 0.0.4, 4 years old.  WHen I try to use I 
>>> get the error
>>>
>>> 1. Caused by java.io.FileNotFoundException
>>>Could not locate clojure/math/numeric_tower__init.class or
>>>clojure/math/numeric_tower.clj on classpath. Please check that
>>>namespaces with dashes use underscores in the Clojure file name.
>>>
>>> In particular math.numeric-tower does not seem to obey the 
>>> dash->underscore convention, nor does the installation seem to include 
>>> init.class or .clj files.
>>>
>> -- 
>> 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
>> 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
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Clojure By Example: IN/Clojure'18 workshop source material

2018-01-19 Thread Aditya Athalye
Hello,

I'd like to share the material (source code etc.) for a Clojure workshop 
for programmers.

The material supported a 1-day guided workshop conducted at the 
recently-concluded IN/Clojure conference in Bangalore, India 
(http://inclojure.org/).

While the material is most fun and effective in a live interactive session, 
we've documented it heavily so one may follow along at home too.

The README explains more (study goals, setup, design perspective).

The source is available here: 
https://github.com/inclojure-org/clojure-by-example

My friends[1] and I enjoyed making and teaching this material.

We hope it will be another useful entry point into the weird and wonderful 
land of Clojure.

Sincerely,
Aditya
---
[1] https://github.com/inclojure-org/clojure-by-example#credits

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Bozhidar Batsov
I also got a CIDER ticket about pretty much the same problem
https://github.com/clojure-emacs/cider/issues/2169

I guess there's some problem with Clojure 1.9 and the tower, but I'm not
sure about its exact extent.

On 18 January 2018 at 02:41, Alex Miller  wrote:

> I can't reproduce that locally. Checking with the new clojure 1.9 clj tool:
>
> $ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version "0.0.4"}}}'
> > deps.edn
> $ clj
> Clojure 1.9.0
> user=> (require '[clojure.math.numeric-tower :as n])
> nil
> user=> (dir n)
> MathFunctions
> abs
> ceil
> ...
>
>
> On Wednesday, January 17, 2018 at 4:26:44 PM UTC-6, Andrew Dabrowski wrote:
>>
>> Is clojure.math.numeric-tower incompatible with clojure 1.9?  The numeric
>> tower is still at version 0.0.4, 4 years old.  WHen I try to use I get the
>> error
>>
>> 1. Caused by java.io.FileNotFoundException
>>Could not locate clojure/math/numeric_tower__init.class or
>>clojure/math/numeric_tower.clj on classpath. Please check that
>>namespaces with dashes use underscores in the Clojure file name.
>>
>> In particular math.numeric-tower does not seem to obey the
>> dash->underscore convention, nor does the installation seem to include
>> init.class or .clj files.
>>
> --
> 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
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.