Re: Bazel as Clojure build tool

2018-06-11 Thread Colin Yates
If we are off topic... I once worked with a really smart guy who decided that 
AOP (using the Spring proxying mechanisms) was a great way of enforcing that 
customers could only see their line items. Only he did this before he went on 
holiday, didn’t tell anybody about it and whilst the filtering logic was unit 
tested there were no integration tests.  Boy, did I (and the other 
programmers), who hadn’t even heard of AOP, have a fun time figuring out why 
the 1500 JDBC rows turned into 6 instances of a LineItem.

Oh, the XML hell :-).

For the record, I think AOP is a massively underused yet incredibly powerful 
tool, but please, for the love of sanity, understand the cognitive load it 
brings with it.

Another anecdote from when I worked for the the Spring Framework days: the AOP 
tooling mechanism in Eclipse was shoe-horned in using guess what? Yep, AOP :-).

Sent from my iPhone

> On 11 Jun 2018, at 21:03, Erik Assum  wrote:
> 
> Totally off topic, but I once worked on a Java project where some of the 
> tests were written in groovy and they were a huge PITA:
> 
> 1) The refactoring tools never found, nor refactored the groovy code
> 2) The compilation errors introduced by 1) never showed up in my IDE
> 3) Having to relate to tests I didn’t know about in a language I don’t care 
> about when I thought I was done was not great for my general mood at the time
> 
> I used to think that sneaking in another language by using it in the 
> test-code was a stellar idea. Now I’m quite certain it isn’t. 
> 
> Erik. 
> -- 
> i farta
> 
>> 11. jun. 2018 kl. 21:55 skrev Rick Mangi :
>> 
>> Next time you have to write unit tests for java, give groovy a try. It has a 
>> lot of features that make this easy, 1 line map construction, overriding of 
>> private methods, super easy to make mocks. There's definitely some weird 
>> syntax, and it's slow, but I'm fine using it for glue or scripting.
>> 
>> 
>>> On Mon, Jun 11, 2018 at 3:48 PM Gregg Reynolds  wrote:
>>> 
>>> 
 On Mon, Jun 11, 2018, 2:44 PM Rick Mangi  wrote:
 Believe it or not, I actually like groovy a lot. I used to use it to write 
 unit tests for java code. It's very easy to learn.
>>> 
>>> 
>>> Will wonders never cease? I had to learn a bit of groovy a while back while 
>>> dealing with Gradle, and came to hate it. Maybe I just have a bad attitude 
>>> - I blame Clojure!
 
> On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds  wrote:
> 
> 
>> On Mon, Jun 11, 2018, 2:30 PM  wrote:
> 
> ...
>> We're starting to lean towards gradle 
> 
> 
> You do understand that that means you have to deal with groovy? ;)
> 
> Fwiw I've been working with Bazel a lot lately and I would never go back.
> 
> 
> -- 
> 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 

Re: Bazel as Clojure build tool

2018-06-11 Thread Gregg Reynolds
On Mon, Jun 11, 2018, 3:03 PM Erik Assum  wrote:

> Totally off topic, but I once worked on a Java project where some of the
> tests were written in groovy and they were a huge PITA:
>
> 1) The refactoring tools never found, nor refactored the groovy code
> 2) The compilation errors introduced by 1) never showed up in my IDE
> 3) Having to relate to tests I didn’t know about in a language I don’t
> care about when I thought I was done was not great for my general mood at
> the time
>



>
> I used to think that sneaking in another language by using it in the
> test-code was a stellar idea. Now I’m quite certain it isn’t.
>

Unless it's clojure!

G

-- 
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: Bazel as Clojure build tool

2018-06-11 Thread Erik Assum
Totally off topic, but I once worked on a Java project where some of the tests 
were written in groovy and they were a huge PITA:

1) The refactoring tools never found, nor refactored the groovy code
2) The compilation errors introduced by 1) never showed up in my IDE
3) Having to relate to tests I didn’t know about in a language I don’t care 
about when I thought I was done was not great for my general mood at the time

I used to think that sneaking in another language by using it in the test-code 
was a stellar idea. Now I’m quite certain it isn’t. 

Erik. 
-- 
i farta

> 11. jun. 2018 kl. 21:55 skrev Rick Mangi :
> 
> Next time you have to write unit tests for java, give groovy a try. It has a 
> lot of features that make this easy, 1 line map construction, overriding of 
> private methods, super easy to make mocks. There's definitely some weird 
> syntax, and it's slow, but I'm fine using it for glue or scripting.
> 
> 
>> On Mon, Jun 11, 2018 at 3:48 PM Gregg Reynolds  wrote:
>> 
>> 
>>> On Mon, Jun 11, 2018, 2:44 PM Rick Mangi  wrote:
>>> Believe it or not, I actually like groovy a lot. I used to use it to write 
>>> unit tests for java code. It's very easy to learn.
>> 
>> 
>> Will wonders never cease? I had to learn a bit of groovy a while back while 
>> dealing with Gradle, and came to hate it. Maybe I just have a bad attitude - 
>> I blame Clojure!
>>> 
 On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds  wrote:
 
 
> On Mon, Jun 11, 2018, 2:30 PM  wrote:
 
 ...
> We're starting to lean towards gradle 
 
 
 You do understand that that means you have to deal with groovy? ;)
 
 Fwiw I've been working with Bazel a lot lately and I would never go back.
 
 
 -- 
 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 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 

Re: Bazel as Clojure build tool

2018-06-11 Thread Gregg Reynolds
On Mon, Jun 11, 2018, 2:55 PM Rick Mangi  wrote:

> Next time you have to write unit tests for java, give groovy a try.
>

Well I guess we're getting a little of topic for clojure, but I see your
point. Problem is I have only so much gray matter, I'm not sure how much
room there is inside my skull for yet another language. Can't we write such
tests in clojure?  ;)

It has a lot of features that make this easy, 1 line map construction,
> overriding of private methods, super easy to make mocks. There's definitely
> some weird syntax, and it's slow, but I'm fine using it for glue or
> scripting.
>
>
> On Mon, Jun 11, 2018 at 3:48 PM Gregg Reynolds  wrote:
>
>>
>>
>> On Mon, Jun 11, 2018, 2:44 PM Rick Mangi  wrote:
>>
>>> Believe it or not, I actually like groovy a lot. I used to use it to
>>> write unit tests for java code. It's very easy to learn.
>>>
>>
>> Will wonders never cease? I had to learn a bit of groovy a while back
>> while dealing with Gradle, and came to hate it. Maybe I just have a bad
>> attitude - I blame Clojure!
>>
>>>
>>> On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds 
>>> wrote:
>>>


 On Mon, Jun 11, 2018, 2:30 PM  wrote:

> ...

> We're starting to lean towards gradle
>

 You do understand that that means you have to deal with groovy? ;)

 Fwiw I've been working with Bazel a lot lately and I would never go
 back.

 --
 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 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 

Re: Bazel as Clojure build tool

2018-06-11 Thread Gregg Reynolds
On Mon, Jan 29, 2018, 10:16 AM Kiril Videlov  wrote:

> Hello,
> I have been looking at the Bazel  build tool for a
> multi-language mono-repo and I was wondering if anybody has tried it in the
> context of Clojure projects.
>

Let's go back to basics: what do you mean by "multi-language"?

Which languages do you need to support?

G

-- 
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: Bazel as Clojure build tool

2018-06-11 Thread Rick Mangi
Next time you have to write unit tests for java, give groovy a try. It has
a lot of features that make this easy, 1 line map construction, overriding
of private methods, super easy to make mocks. There's definitely some weird
syntax, and it's slow, but I'm fine using it for glue or scripting.


On Mon, Jun 11, 2018 at 3:48 PM Gregg Reynolds  wrote:

>
>
> On Mon, Jun 11, 2018, 2:44 PM Rick Mangi  wrote:
>
>> Believe it or not, I actually like groovy a lot. I used to use it to
>> write unit tests for java code. It's very easy to learn.
>>
>
> Will wonders never cease? I had to learn a bit of groovy a while back
> while dealing with Gradle, and came to hate it. Maybe I just have a bad
> attitude - I blame Clojure!
>
>>
>> On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds  wrote:
>>
>>>
>>>
>>> On Mon, Jun 11, 2018, 2:30 PM  wrote:
>>>
 ...
>>>
 We're starting to lean towards gradle

>>>
>>> You do understand that that means you have to deal with groovy? ;)
>>>
>>> Fwiw I've been working with Bazel a lot lately and I would never go back.
>>>
>>> --
>>> 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 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: Bazel as Clojure build tool

2018-06-11 Thread Gregg Reynolds
On Mon, Jun 11, 2018, 2:44 PM Rick Mangi  wrote:

> Believe it or not, I actually like groovy a lot. I used to use it to write
> unit tests for java code. It's very easy to learn.
>

Will wonders never cease? I had to learn a bit of groovy a while back while
dealing with Gradle, and came to hate it. Maybe I just have a bad attitude
- I blame Clojure!

>
> On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds  wrote:
>
>>
>>
>> On Mon, Jun 11, 2018, 2:30 PM  wrote:
>>
>>> ...
>>
>>> We're starting to lean towards gradle
>>>
>>
>> You do understand that that means you have to deal with groovy? ;)
>>
>> Fwiw I've been working with Bazel a lot lately and I would never go back.
>>
>> --
>> 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: Bazel as Clojure build tool

2018-06-11 Thread Rick Mangi
Believe it or not, I actually like groovy a lot. I used to use it to write
unit tests for java code. It's very easy to learn.

On Mon, Jun 11, 2018 at 3:40 PM Gregg Reynolds  wrote:

>
>
> On Mon, Jun 11, 2018, 2:30 PM  wrote:
>
>> ...
>
>> We're starting to lean towards gradle
>>
>
> You do understand that that means you have to deal with groovy? ;)
>
> Fwiw I've been working with Bazel a lot lately and I would never go back.
>
> --
> 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] depify - generate deps.edn from project.clj

2018-06-11 Thread Luke Burton

depify reads your Leiningen project.clj configuration file and produces a 
deps.edn file suitable for the Clojure CLI tools.

GitHub: https://github.com/hagmonk/depify/ 

It's not meant to be an exhaustive replacement, just something to get you 
up-and-running with the basics, and to help you keep a project.clj and deps.edn 
in sync. Over time I may add more aliases to give your deps.edn more parity 
with the project.clj from which it's derived. PRs and feedback welcome!

Luke.

-- 
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: Bazel as Clojure build tool

2018-06-11 Thread Gregg Reynolds
On Mon, Jun 11, 2018, 2:30 PM  wrote:

> ...

> We're starting to lean towards gradle
>

You do understand that that means you have to deal with groovy? ;)

Fwiw I've been working with Bazel a lot lately and I would never go back.

-- 
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: Bazel as Clojure build tool

2018-06-11 Thread rick
We currently use Pants to manage our huge python deployment and it's been a 
godsend for dependency management. We also have a bunch of clojure based 
kafka consumers (and a few APIs) that live in the same repo, but are built 
manually with lein and versioned/deployed separately. We've wanted a 
pants-like system for our clojure builds for a while now. I looked at 
building a plugin for pants (as have 
others https://groups.google.com/forum/#!topic/pants-devel/PPIAEKzKm8w) as 
Pants does support java, however it's based on incremental builds with 
nailgun and seems to build a separate jar per directory (fitting in with 
the pants philosophy). I'm not sure I like this model, and there doesn't 
seem to be an nailgun-like solution for clojure anyway. 

We're starting to lean towards gradle as a top-level build system that 
would allow us to declare internal dependencies and keep 3rd party artifact 
versions in sync. I think this is the cleanest solution. Gradle's very 
flexible and it's easy to add new functionality to it. 



On Thursday, June 7, 2018 at 1:03:45 AM UTC-4, Reid McKenzie wrote:
>
> I previously worked with pants [1] in the context of an extremely large 
> (~50GiB) repository which saw a huge amount of daily churn. In that context 
> build tools like pants and Bazel become absolutely essential because the 
> only way to have a reasonable CI/CD system and build/test times is to do 
> change analysis to predict what tests and other products are impacted. 
> While I think that Pants, Buck [2], Bazel and other Google Blaze 
> derivatives have made fundamental and perhaps undesirable complexity 
> sacrifices in order to be polygot, they do add significant value to a large 
> organization.
>
> Presently, I work on a much smaller Clojure project encompassing several 
> microservices which communicate over Kafka. Each service is its own 
> sub-project in a single repository. We coordinate modules using 
> lein-modules [3]. For a variety of reasons, the majority of our interesting 
> tests involve Kafka and potentially integrating against other services 
> continually built out of the same repo. These tests are wall clock 
> expensive due to a variety of system initialization overheads which are 
> difficult to amortize.
>
> It has already proven very profitable for us to deploy a limited amount of 
> test invalidation by using the inter-module dependency information 
> lein-modules exposes to restrict test runs to those modules which have seen 
> source changes or which according to topological sort order may depend on 
> impacted modules. This is a correct but non-minimal heuristic which leaves 
> time on the table. Our deployment artifacts are also fairly expensive to 
> produce, and so I'm very interested in the possibility of a polygot tool 
> which can capture dependency information both for test invalidation and 
> build product invalidation.
>
> It is in theory possible to write a "macro" (function) for either Pants or 
> Buck which defines a clojure_library or clojure_app target in terms of 
> simply generating a java_library which happens to have your clj(c) files 
> for resources and depend on Clojure. I got this working for Buck at one 
> point, but Buck doesn't support Maven dependencies and requires that you 
> hand-manage all your jars which made the ergonomics unfortunate. I haven't 
> taken a serious crack at getting Pants wired up that way. I worked with the 
> pants developers at one point to understand what they thought it would take 
> to get a clojure_library target integrated "the right way" and it turns out 
> to be a mess because of how pants' JVM model is coupled to Ivy, Scala's 
> incremental compiler.
>
> I've been sketching at Katamari [4] on and off, the thought being that the 
> fundamental dependency and invalidation concerns are well enough understood 
> [7] that maybe by trying to build a framework or fire customers it's 
> possible to achieve a meaningful complexity reduction. I haven't managed 
> that yet. Of particular frustration is notions of when to build classpaths 
> and resolve dependencies - although forcing dependency pinning fixes this 
> which is Buck's answer.
>
> There's also Juxt's mach [5] (not to be confused with Mozilla's build tool 
> of the same name), krei.alpha [6] which has some of the same goals as 
> katamari and I've seen some sketches at multi-module boot.
>
> In  short, I do think that more sophisticated build tools make sense in 
> the Clojure space. Sure Clojure itself doesn't have traditional compilation 
> needs in the sense of say C++ or Scala, but notions of products and static 
> dependency information is more generally valuable and can help with whole 
> applications or systems. After spending a fair bit of time evaluating the 
> options, I concur with Colin. If lein-modules or lein-monolith doesn't 
> solve your problem Gradle is probably the most mature "off the shelf" 
> solution.
>
> Reid
>
> [1] https://pantsbuild.org/ 

Job Announcement: Data Architect /Solutions Architect/Senior Developer- Fulltime- Philadelphia

2018-06-11 Thread Ripu Gupta
Hello Everyone,
Good Afternoon, I am Ripu Gupta from Xavient Digital and I am looking out 
for the Candidates with the skills in Clojure, Kafka, Cassandra, Git, Go, 
Java. Kindly review the job description and feel free to apply.

Job Description: Data Architect IV/ Solutions Architect/ Developer
Interview Process: Phone /Webex Interview and in person interview
Location: Philadelphia, PA
Job Type: Fulltime, C2H, C2C

• Designs and builds relational databases for data storage or processing.
• Develops strategies for warehouse implementation, data acquisition, and 
archive recovery.
• Cleans and maintains the database by removing and deleting old data.
• May evaluate new data sources for adherence to the organization's quality 
standards and ease of integration.
• May require a bachelor's degree in a related area and at least 8+ years 
of experience in the field or in a related area.
• Has knowledge of commonly-used concepts, practices, and procedures within 
a particular field.
• Relies on instructions and pre-established guidelines to perform the 
functions of the job.
• Works under immediate supervision.
• Primary job functions do not typically require exercising independent 
judgment.
• Typically reports to a supervisor or manager.
• Code review & Code contribution.
• Overview of deployment of solution
Solution architect/developer of this position must possess skills in the 
following areas
• Clojure.
• Kafka.
• Cassandra.
• Git, Go.
• Java 8 JVM tuning (specifically garbage collection)
Position Comments:
Candidate will be responsible for tracking story creation and communication 
to stakeholders.

Regards
Ripu Gupta
Email: rgupt...@xavient.com
Contact: +1-805-955-4631
www.xavient.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.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Cronut: Scheduled Execution via Quartz and Integrant

2018-06-11 Thread Juraj Martinka
This looks really nice!
Thanks for putting this together.

On Friday, 8 June 2018 14:08:14 UTC+2, Derek Troy-West wrote:
>
> Cronut provides a data-first wrapper for the Quartz Job Scheduler.
>
> Github: https://github.com/troy-west/cronut
> Clojars: [com.troy-west/cronut "0.1.0"]
>
> Clojure has two existing wrappers for Quartz:
>
> * Quartzite by Michael Klishin / ClojureWerkz
> * Twarc by Andrew Rudenko / Prepor
>
> How does Cronut differ?
>
> * Configured entirely from data (with Integrant bindings provided)
> * No macros or new protocols, just implement the org.quartz.Job interface
> * No global Clojure state
> * Latest version of Quartz
> * Tagged literals to shortcut common use-cases (#cronut/cron, 
> #cronut/interval)
> * Easily extensible for further triggers / tagged literals
> * Zero dependencies other than Clojure, Quartz, and Integrant.
>
> This is a fairly early release, but we use it internally and will be 
> pushing it along as needed.
>
> Ta, 
>   Derek
>

-- 
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.