Good Clojure article by Uncle Bob

2019-08-23 Thread 'Gerard Klijs' via Clojure
And maybe more important it's by Uncle Bob. I have a few colleagues that are 
almost Uncle Bob devotees, would be great if they would also start exploring 
Clojure.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/c627aeee-0fec-4e1b-8a63-6b1454e0203b%40googlegroups.com.


Good Clojure article by Uncle Bob

2019-08-23 Thread Alan Thompson
Nicely sums up the advantages of Clojure:

http://blog.cleancoder.com/uncle-bob/2019/08/22/WhyClojure.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAN67zA3fJK0aEV4qb8RfFd5WPb40U1_4yNjQhBFtf86p-8TyEQ%40mail.gmail.com.


Clojupyter 0.2.3 released

2019-08-23 Thread Klaus Harbo


Clojupyter-0.2.3 is now available on Github, Clojars, and Anaconda Cloud.


Highlights from Changelog.md:

   - Add support for conda install of Clojupyter supporting installs on 
   Linux, MacOS, and Windows - if you have Anaconda, all you have to do is 
conda 
   install -c simplect clojupyter
   - Add support for using Clojupyter as a library where resulting 
   standalone jar knows how to install itself as a Jupyter kernel (similar to 
   lein-jupyter, but without depending on Leiningen)
   - Improve and extend command line interface for managing installed 
   kernels

Reports of experiences with the release - positive or negative - are much 
appreciated. Please report to the Clojupyter issue list.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/90bf6833-ade7-44cd-8aa9-2843fa027c1f%40googlegroups.com.


Re: gen-class/AOT considered harmful (in libraries)???

2019-08-23 Thread dimitris
Ok, so after a bit of more thinking/reading, I realise now that my 
question was somewhat misplaced.


Any AOT compiled code (not just gen-class), is an artifact of the 
compiler used to compile it, and therefore, in some sense, implicitly 
tied to that compiler version. However, that's not to say that the 
produced class definitely will or won't work with some other version. If 
my understanding is correct, it will work for future versions (which is 
the main point here) as long as Clojure itself maintains backwards 
compatibility (in this case wrt to gen-class).


I'm still torn on whether to actually add Clojure as a proper dependency 
- I think I will probably end up doing so, but I'm not thrilled about it...


Kind regards,

Dimitris


On 23/08/2019 08:15, dimitris wrote:


Why would I write the class in Java, when this below works exactly as 
expected?


(ns foo
   (:gen-class :name foo.Bar
   :extends java.lang.System$LoggerFinder
   :constructors {[] []}))

(let [slm (delay (-> 'foo/system-logger-memo
 requiring-resolve
 var-get))]
   (defn -getLogger
 "Returns a subclass of `System$Logger` which routes logging requests 
to the `core/*root*` logger." [this name module]
 ;; resolve it at runtime (and only once), ;; in order to prevent AOT 
leaking out of this ns (@slm)))



My question boils down to this:

Let's say that I used clojure1.10 to compile the above gen-class. Does 
the project containing it need to specify Clojure 1.10 as a proper 
dependency, or will the end user be able to provide any version of 
Clojure greater or equal to 1.10?


Thanks in advance...

Kind regards,

Dimitris


On 23/08/2019 02:00, Matching Socks wrote:
You are considering gen-class as an alternative to writing the 
service-provider class in Java and using only methods in Clojure's 
public Java API to connect it with an implementation-in-Clojure?

--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/0660b640-cf91-429b-9a40-1695e7955aef%40googlegroups.com 
.


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/301cea19-425f-85cd-9eb7-ef8e81e58d2d%40gmail.com.


Re: Web meeting series: data visualization and literate programming

2019-08-23 Thread Daniel Slutsky
Preparing to the meeting next week, with Jon Anthony 's talk about
interactive data visualization and literate programming with Hanami:

https://twitter.com/scicloj/status/1164887113680281600

On Sat, 10 Aug 2019 at 21:39, Daniel Slutsky 
wrote:

> Here is the video of yesterday's meeting, with Christopher Small's talk
> about Oz:
> https://youtu.be/CRLvHgQzhmI
> Moderator: John Stevenson
>
> On Sat, 3 Aug 2019 at 16:41, Daniel Slutsky 
> wrote:
>
>> Registration to Friday's meeting with Christopher Small about Oz:
>> https://twitter.com/scicloj/status/1157646172770721798
>>
>> On Fri, 19 Jul 2019 at 23:28, Daniel Slutsky 
>> wrote:
>>
>>> Hi.
>>>
>>> In August, the Scicloj  community will
>>> begin a series of web meetings about data visualization and literate
>>> programming in Clojure.
>>>
>>>
>>> On the first meeting, Friday, Aug 9th, 5pm-7pm UTC,
>>> @Christopher_Smallwill talk about Oz
>>> .
>>>
>>>
>>> If you are interested in this series, it is recommended to follow this
>>> topic here
>>> at
>>> the Clojurians Zulip.
>>>
>>> If you wish to suggest a topic for this series of meetings, it would be
>>> great to suggest it under that topic, or in a private message.
>>>
>>>
>>> See you there,
>>>
>>> Daniel
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CADTWONNS_Z1En0bEPbz1_sbfgejeFT8Q_5isMn%3DOHFFKT4h97A%40mail.gmail.com.


Re: gen-class/AOT considered harmful (in libraries)???

2019-08-23 Thread dimitris
Why would I write the class in Java, when this below works exactly as 
expected?


(ns foo
  (:gen-class :name foo.Bar
  :extends java.lang.System$LoggerFinder
  :constructors {[] []}))

(let [slm (delay (-> 'foo/system-logger-memo
requiring-resolve
var-get))]
  (defn -getLogger
"Returns a subclass of `System$Logger` which routes logging requests to 
the `core/*root*` logger." [this name module]
;; resolve it at runtime (and only once), ;; in order to prevent AOT 
leaking out of this ns (@slm)))



My question boils down to this:

Let's say that I used clojure1.10 to compile the above gen-class. Does 
the project containing it need to specify Clojure 1.10 as a proper 
dependency, or will the end user be able to provide any version of 
Clojure greater or equal to 1.10?


Thanks in advance...

Kind regards,

Dimitris


On 23/08/2019 02:00, Matching Socks wrote:
You are considering gen-class as an alternative to writing the 
service-provider class in Java and using only methods in Clojure's 
public Java API to connect it with an implementation-in-Clojure?

--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/0660b640-cf91-429b-9a40-1695e7955aef%40googlegroups.com 
.


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/705bcd0f-6c4f-a928-0859-e5b6e3c31126%40gmail.com.