Re: [ANN][book] Clojure Reactive Programming

2015-03-27 Thread Jeremy Heiler
Congrats, Leonardo!

On Tue, Mar 24, 2015 at 10:25 AM, Leonardo Borges <
leonardoborges...@gmail.com> wrote:

> Hi all,
>
> Some of you may know that I have been working on a book for the better
> part of last year.
>
> I'm happy to announce it has finally been published! Here's the link:
> https://www.packtpub.com/web-development/clojure-reactive-programming
>
> I hope you find it useful! I've had a great time putting it together!
>
> Cheers,
> Leonardo Borges
> www.leonardoborges.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.
>

-- 
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: Deterministic macro expansion for Clojure?

2015-03-27 Thread Ben Wolfson
One way you can get what you want is to give up on the auto-gensym feature
of the #-terminated identifiers, and call gensym directly, enabling it to
be mocked out with with-redefs. E.g. instead of:

(defmacro m1
  [x f]
  `(let [x# ~x]
(~f x#)))

do

(defmacro m1 [x f]
   (let [x-sym (gensym)]
 `(let [~x-sym ~x] (~f ~x-sym

You can then do something like

(defn new-gensym []
   (let [counter (atom 0)]
  (fn [& [extra]] (symbol (str (or extra "G_") (swap! counter inc))

(with-redefs [gensym (new-gensym)] (macroexpand-1 '(m1 1 inc)))

(not tested)

On Fri, Mar 27, 2015 at 5:50 PM, David James  wrote:

> I agree with this motivation behind this request, which I explain in more
> detail here:
> http://stackoverflow.com/questions/16745135/how-to-test-a-clojure-macro-that-uses-gensyms
>
> We should be able to test the behavior *and* the macroexpansion. (Most
> things in life are not simple either/or decisions. Don't believe people
> that tell you otherwise.)
>
> On Monday, March 23, 2015 at 12:58:49 PM UTC-4, Chris Ford wrote:
>>
>> I think it's useful to think of macros as an odd form of I/O. Just as you
>> would separate out your templating from your domain functions, separate out
>> your defmacro from regular functions that just happen to manipulate
>> symbols. These functions will be easier to test.
>>
>> On 23 March 2015 at 16:23, Sean Corfield  wrote:
>>
>>> On Mar 22, 2015, at 7:52 PM, myguidingstar 
>>> wrote:
>>> > I wonder if there is any way to make macro expansion in Clojure
>>> deterministic. That would be useful in unit tests.
>>>
>>> I'd be very interested to understand your use case... Testing what the
>>> macro expands to seems like it is test the macro system itself, not your
>>> own code. Surely in a unit test you'd want to test the _behavior_ of the
>>> code instead?
>>>
>>> Sean Corfield -- (904) 302-SEAN
>>> An Architect's View -- http://corfield.org/
>>>
>>> "Perfection is the enemy of the good."
>>> -- Gustave Flaubert, French realist novelist (1821-1880)
>>>
>>>
>>>
>>> --
>>> 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 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.
>



-- 
Ben Wolfson
"Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure."
[Larousse, "Drink" entry]

-- 
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: Deterministic macro expansion for Clojure?

2015-03-27 Thread David James
I agree with this motivation behind this request, which I explain in more 
detail 
here: 
http://stackoverflow.com/questions/16745135/how-to-test-a-clojure-macro-that-uses-gensyms

We should be able to test the behavior *and* the macroexpansion. (Most 
things in life are not simple either/or decisions. Don't believe people 
that tell you otherwise.)

On Monday, March 23, 2015 at 12:58:49 PM UTC-4, Chris Ford wrote:
>
> I think it's useful to think of macros as an odd form of I/O. Just as you 
> would separate out your templating from your domain functions, separate out 
> your defmacro from regular functions that just happen to manipulate 
> symbols. These functions will be easier to test.
>
> On 23 March 2015 at 16:23, Sean Corfield 
> > wrote:
>
>> On Mar 22, 2015, at 7:52 PM, myguidingstar > > wrote:
>> > I wonder if there is any way to make macro expansion in Clojure 
>> deterministic. That would be useful in unit tests.
>>
>> I’d be very interested to understand your use case… Testing what the 
>> macro expands to seems like it is test the macro system itself, not your 
>> own code. Surely in a unit test you’d want to test the _behavior_ of the 
>> code instead?
>>
>> Sean Corfield -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>>
>> "Perfection is the enemy of the good."
>> -- Gustave Flaubert, French realist novelist (1821-1880)
>>
>>
>>
>> --
>> 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 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: Clojure Culture Question on TDD

2015-03-27 Thread Brian Marick

Sebastian Bensusan wrote:

What is TDD culture in Clojure like?


There are many ways to design a program, just as there are many ways to 
write a textbook. In both cases, the right way depends on the subject 
matter, but also on the personality and habits of mind of the writer(s).


This is not as well understood in the Clojure community as in other 
language communities. Which is pretty typical of communities with 
brilliant, charismatic, and opinionated leaders.


TDD, at least in the full Beck / London School style, is not popular. 
But as long as you don't mind a little scorn ("guardrails"), there's 
plenty of tools and helpful people to support you.


--
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: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
Done, thanks for bearing with me. I foolishly didn't even think at first 
that an attachment would be insufficient -- and it's a bit too bad, since 
markdown definitely served me better than the provided text box. I realized 
just a bit too late that it really wanted those boxes filled.

On Friday, March 27, 2015 at 4:30:57 PM UTC-5, Ambrose Bonnaire-Sergeant 
wrote:
>
> You should be able to edit the proposal now. Please copy the gist over.
>
> On Fri, Mar 27, 2015 at 5:12 PM, Ambrose Bonnaire-Sergeant <
> abonnair...@gmail.com > wrote:
>
>> Ah yes. Then we're all good!
>>
>> On Fri, Mar 27, 2015 at 4:52 PM, Sean Laguna > > wrote:
>>
>>> Hi,
>>>
>>> I did get the melange submission in on time, it just points to the gist. 
>>> Presumably that means I'm technically on time?
>>>
>>> Best, 
>>> Sean
>>> On Mar 27, 2015 3:28 PM, "Ambrose Bonnaire-Sergeant" <
>>> abonnair...@gmail.com > wrote:
>>>
 Hi Sean,

 I'm afraid student applications are a hard deadline, so you will have 
 to try again next year.
 I will go through your application over the weekend.

 Thanks,
 Ambrose

 On Fri, Mar 27, 2015 at 3:20 PM, Sean Laguna >>> > wrote:

> Hi,
>
> I did end up taking your advice and submitting a bit of an ambitious 
> proposal! You can find it here: 
> https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as 
> submitted.
>
> I made a bit of a blunder though -- I didn't think about the fact that 
> by submitting my proposal as a gist (an external link from the 
> submission), 
> I would be (in some sense) circumventing the deadline. I really hope this 
> doesn't affect my ability to potentially be accepted, and am definitely 
> willing to do whatever might be necessary to correct for this. Of course, 
> the gist has full revision history, so you can see the only thing I did 
> past 2:00pm Central Time (where I am) was add a link to my resume (since 
> I 
> realized I could not attach two files within melange itself).
>
> I also do apologize for cutting this so close; I got a bit carried 
> away delving into Clojure, though I had a great time. To comment on the 
> way 
> that I work, I would say that I do get very engrossed in what I'm doing, 
> and benefit a lot from frequent communication that keeps me on-track. I 
> do 
> think that summer of code would facilitate my style of work well in that 
> regard. I will also say that I note that my open-source contributions are 
> not particularly strong (they barely exist, actually). I have focused 
> more 
> on the academic side of work, but I love the ideals of open source and 
> have 
> always been meaning to make direct contributions. I really do hope that 
> this is a way to get my foot in the door and stay there, and I hope that 
> whether or not I'm accepted that you have some interest in my ideas and 
> can 
> perhaps give me feedback of any sort. 
>
> This is another reason I took a while to submit my proposal: I wanted 
> to provide some code in the background section of my proposal which would 
> show that I did have some chops for parallel programming in Clojure to 
> indicate that I could pick up languages quickly and that this is a 
> feasible 
> project for me. I have done some programming in Clojure before but 
> getting 
> some of the reducer/atom/future/do* syntax exactly right was a fun 
> challenge!
>
> Again, I'd love to hear comments on my proposal, and let me know if 
> there's anything else I can do in the meantime.
>
> Best,
> Sean
>
> On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose 
> Bonnaire-Sergeant wrote:
>>
>> Hi Sean,
>>
>> Sounds like you have greater ambitions than simply supporting 
>> transients. Please feel free to disregard any suggestions
>> in the project template and make the *you* would like to implement 
>> over the summer. Please post it here or on Melange then we 
>> can discuss further.
>>
>> Thanks!
>> Ambrose
>>
>> On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna  
>> wrote:
>>
>>> Hi,
>>>
>>> I am a third year computer science PhD student at the University of 
>>> Chicago, and am interested in submitting a proposal for the typed 
>>> transients project. I am very interested, in general, about 
>>> presistency, 
>>> transience, and the interaction between the two models for operating on 
>>> data. Persistency is actually influence some of my current work on 
>>> eliminating race conditions on data structures common in scientific 
>>> computing (ghost nodes and other regions allocated to overlapping 
>>> processors in distributed memory programs, etc). I've poked around in 
>>> the 
>>> Clojure source code to get some inspiration for my own im

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Ambrose Bonnaire-Sergeant
You should be able to edit the proposal now. Please copy the gist over.

On Fri, Mar 27, 2015 at 5:12 PM, Ambrose Bonnaire-Sergeant <
abonnaireserge...@gmail.com> wrote:

> Ah yes. Then we're all good!
>
> On Fri, Mar 27, 2015 at 4:52 PM, Sean Laguna 
> wrote:
>
>> Hi,
>>
>> I did get the melange submission in on time, it just points to the gist.
>> Presumably that means I'm technically on time?
>>
>> Best,
>> Sean
>> On Mar 27, 2015 3:28 PM, "Ambrose Bonnaire-Sergeant" <
>> abonnaireserge...@gmail.com> wrote:
>>
>>> Hi Sean,
>>>
>>> I'm afraid student applications are a hard deadline, so you will have to
>>> try again next year.
>>> I will go through your application over the weekend.
>>>
>>> Thanks,
>>> Ambrose
>>>
>>> On Fri, Mar 27, 2015 at 3:20 PM, Sean Laguna 
>>> wrote:
>>>
 Hi,

 I did end up taking your advice and submitting a bit of an ambitious
 proposal! You can find it here:
 https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as
 submitted.

 I made a bit of a blunder though -- I didn't think about the fact that
 by submitting my proposal as a gist (an external link from the submission),
 I would be (in some sense) circumventing the deadline. I really hope this
 doesn't affect my ability to potentially be accepted, and am definitely
 willing to do whatever might be necessary to correct for this. Of course,
 the gist has full revision history, so you can see the only thing I did
 past 2:00pm Central Time (where I am) was add a link to my resume (since I
 realized I could not attach two files within melange itself).

 I also do apologize for cutting this so close; I got a bit carried away
 delving into Clojure, though I had a great time. To comment on the way that
 I work, I would say that I do get very engrossed in what I'm doing, and
 benefit a lot from frequent communication that keeps me on-track. I do
 think that summer of code would facilitate my style of work well in that
 regard. I will also say that I note that my open-source contributions are
 not particularly strong (they barely exist, actually). I have focused more
 on the academic side of work, but I love the ideals of open source and have
 always been meaning to make direct contributions. I really do hope that
 this is a way to get my foot in the door and stay there, and I hope that
 whether or not I'm accepted that you have some interest in my ideas and can
 perhaps give me feedback of any sort.

 This is another reason I took a while to submit my proposal: I wanted
 to provide some code in the background section of my proposal which would
 show that I did have some chops for parallel programming in Clojure to
 indicate that I could pick up languages quickly and that this is a feasible
 project for me. I have done some programming in Clojure before but getting
 some of the reducer/atom/future/do* syntax exactly right was a fun
 challenge!

 Again, I'd love to hear comments on my proposal, and let me know if
 there's anything else I can do in the meantime.

 Best,
 Sean

 On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose
 Bonnaire-Sergeant wrote:
>
> Hi Sean,
>
> Sounds like you have greater ambitions than simply supporting
> transients. Please feel free to disregard any suggestions
> in the project template and make the *you* would like to implement
> over the summer. Please post it here or on Melange then we
> can discuss further.
>
> Thanks!
> Ambrose
>
> On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna 
> wrote:
>
>> Hi,
>>
>> I am a third year computer science PhD student at the University of
>> Chicago, and am interested in submitting a proposal for the typed
>> transients project. I am very interested, in general, about presistency,
>> transience, and the interaction between the two models for operating on
>> data. Persistency is actually influence some of my current work on
>> eliminating race conditions on data structures common in scientific
>> computing (ghost nodes and other regions allocated to overlapping
>> processors in distributed memory programs, etc). I've poked around in the
>> Clojure source code to get some inspiration for my own implementations
>> (I've done some work on that in C++ and in Nim), and of course have read
>> the canonical set of blog posts
>> 
>> on the implementation of persistent vectors in Clojure. (Which, if I 
>> recall
>> correctly, Rich Hickey actually cited in on of his papers on Clojure!)
>>
>> I would be happy to work on typing transient data structures in
>> core.clojure, and to work out a means of typing transient that interacts
>> efficiently and elegantly with other types, especiall

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Ambrose Bonnaire-Sergeant
Ah yes. Then we're all good!

On Fri, Mar 27, 2015 at 4:52 PM, Sean Laguna  wrote:

> Hi,
>
> I did get the melange submission in on time, it just points to the gist.
> Presumably that means I'm technically on time?
>
> Best,
> Sean
> On Mar 27, 2015 3:28 PM, "Ambrose Bonnaire-Sergeant" <
> abonnaireserge...@gmail.com> wrote:
>
>> Hi Sean,
>>
>> I'm afraid student applications are a hard deadline, so you will have to
>> try again next year.
>> I will go through your application over the weekend.
>>
>> Thanks,
>> Ambrose
>>
>> On Fri, Mar 27, 2015 at 3:20 PM, Sean Laguna 
>> wrote:
>>
>>> Hi,
>>>
>>> I did end up taking your advice and submitting a bit of an ambitious
>>> proposal! You can find it here:
>>> https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as
>>> submitted.
>>>
>>> I made a bit of a blunder though -- I didn't think about the fact that
>>> by submitting my proposal as a gist (an external link from the submission),
>>> I would be (in some sense) circumventing the deadline. I really hope this
>>> doesn't affect my ability to potentially be accepted, and am definitely
>>> willing to do whatever might be necessary to correct for this. Of course,
>>> the gist has full revision history, so you can see the only thing I did
>>> past 2:00pm Central Time (where I am) was add a link to my resume (since I
>>> realized I could not attach two files within melange itself).
>>>
>>> I also do apologize for cutting this so close; I got a bit carried away
>>> delving into Clojure, though I had a great time. To comment on the way that
>>> I work, I would say that I do get very engrossed in what I'm doing, and
>>> benefit a lot from frequent communication that keeps me on-track. I do
>>> think that summer of code would facilitate my style of work well in that
>>> regard. I will also say that I note that my open-source contributions are
>>> not particularly strong (they barely exist, actually). I have focused more
>>> on the academic side of work, but I love the ideals of open source and have
>>> always been meaning to make direct contributions. I really do hope that
>>> this is a way to get my foot in the door and stay there, and I hope that
>>> whether or not I'm accepted that you have some interest in my ideas and can
>>> perhaps give me feedback of any sort.
>>>
>>> This is another reason I took a while to submit my proposal: I wanted to
>>> provide some code in the background section of my proposal which would show
>>> that I did have some chops for parallel programming in Clojure to indicate
>>> that I could pick up languages quickly and that this is a feasible project
>>> for me. I have done some programming in Clojure before but getting some of
>>> the reducer/atom/future/do* syntax exactly right was a fun challenge!
>>>
>>> Again, I'd love to hear comments on my proposal, and let me know if
>>> there's anything else I can do in the meantime.
>>>
>>> Best,
>>> Sean
>>>
>>> On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose
>>> Bonnaire-Sergeant wrote:

 Hi Sean,

 Sounds like you have greater ambitions than simply supporting
 transients. Please feel free to disregard any suggestions
 in the project template and make the *you* would like to implement over
 the summer. Please post it here or on Melange then we
 can discuss further.

 Thanks!
 Ambrose

 On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna 
 wrote:

> Hi,
>
> I am a third year computer science PhD student at the University of
> Chicago, and am interested in submitting a proposal for the typed
> transients project. I am very interested, in general, about presistency,
> transience, and the interaction between the two models for operating on
> data. Persistency is actually influence some of my current work on
> eliminating race conditions on data structures common in scientific
> computing (ghost nodes and other regions allocated to overlapping
> processors in distributed memory programs, etc). I've poked around in the
> Clojure source code to get some inspiration for my own implementations
> (I've done some work on that in C++ and in Nim), and of course have read
> the canonical set of blog posts
>  on
> the implementation of persistent vectors in Clojure. (Which, if I recall
> correctly, Rich Hickey actually cited in on of his papers on Clojure!)
>
> I would be happy to work on typing transient data structures in
> core.clojure, and to work out a means of typing transient that interacts
> efficiently and elegantly with other types, especially persistent data
> structures. I'm working on a proposal for this now and can send it in a
> couple hours, but I wonder if there's a good way of identifying the lowest
> hanging fruit for typing a crucial transient data structure in the core
> Clojure codebase where I could d

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
Hi,

I did get the melange submission in on time, it just points to the gist.
Presumably that means I'm technically on time?

Best,
Sean
On Mar 27, 2015 3:28 PM, "Ambrose Bonnaire-Sergeant" <
abonnaireserge...@gmail.com> wrote:

> Hi Sean,
>
> I'm afraid student applications are a hard deadline, so you will have to
> try again next year.
> I will go through your application over the weekend.
>
> Thanks,
> Ambrose
>
> On Fri, Mar 27, 2015 at 3:20 PM, Sean Laguna 
> wrote:
>
>> Hi,
>>
>> I did end up taking your advice and submitting a bit of an ambitious
>> proposal! You can find it here:
>> https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as
>> submitted.
>>
>> I made a bit of a blunder though -- I didn't think about the fact that by
>> submitting my proposal as a gist (an external link from the submission), I
>> would be (in some sense) circumventing the deadline. I really hope this
>> doesn't affect my ability to potentially be accepted, and am definitely
>> willing to do whatever might be necessary to correct for this. Of course,
>> the gist has full revision history, so you can see the only thing I did
>> past 2:00pm Central Time (where I am) was add a link to my resume (since I
>> realized I could not attach two files within melange itself).
>>
>> I also do apologize for cutting this so close; I got a bit carried away
>> delving into Clojure, though I had a great time. To comment on the way that
>> I work, I would say that I do get very engrossed in what I'm doing, and
>> benefit a lot from frequent communication that keeps me on-track. I do
>> think that summer of code would facilitate my style of work well in that
>> regard. I will also say that I note that my open-source contributions are
>> not particularly strong (they barely exist, actually). I have focused more
>> on the academic side of work, but I love the ideals of open source and have
>> always been meaning to make direct contributions. I really do hope that
>> this is a way to get my foot in the door and stay there, and I hope that
>> whether or not I'm accepted that you have some interest in my ideas and can
>> perhaps give me feedback of any sort.
>>
>> This is another reason I took a while to submit my proposal: I wanted to
>> provide some code in the background section of my proposal which would show
>> that I did have some chops for parallel programming in Clojure to indicate
>> that I could pick up languages quickly and that this is a feasible project
>> for me. I have done some programming in Clojure before but getting some of
>> the reducer/atom/future/do* syntax exactly right was a fun challenge!
>>
>> Again, I'd love to hear comments on my proposal, and let me know if
>> there's anything else I can do in the meantime.
>>
>> Best,
>> Sean
>>
>> On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose
>> Bonnaire-Sergeant wrote:
>>>
>>> Hi Sean,
>>>
>>> Sounds like you have greater ambitions than simply supporting
>>> transients. Please feel free to disregard any suggestions
>>> in the project template and make the *you* would like to implement over
>>> the summer. Please post it here or on Melange then we
>>> can discuss further.
>>>
>>> Thanks!
>>> Ambrose
>>>
>>> On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna  wrote:
>>>
 Hi,

 I am a third year computer science PhD student at the University of
 Chicago, and am interested in submitting a proposal for the typed
 transients project. I am very interested, in general, about presistency,
 transience, and the interaction between the two models for operating on
 data. Persistency is actually influence some of my current work on
 eliminating race conditions on data structures common in scientific
 computing (ghost nodes and other regions allocated to overlapping
 processors in distributed memory programs, etc). I've poked around in the
 Clojure source code to get some inspiration for my own implementations
 (I've done some work on that in C++ and in Nim), and of course have read
 the canonical set of blog posts
  on
 the implementation of persistent vectors in Clojure. (Which, if I recall
 correctly, Rich Hickey actually cited in on of his papers on Clojure!)

 I would be happy to work on typing transient data structures in
 core.clojure, and to work out a means of typing transient that interacts
 efficiently and elegantly with other types, especially persistent data
 structures. I'm working on a proposal for this now and can send it in a
 couple hours, but I wonder if there's a good way of identifying the lowest
 hanging fruit for typing a crucial transient data structure in the core
 Clojure codebase where I could do a sort of trial run? It would help
 immensely I think with coming up with a laundry list of tasks for
 performing this, instead of it being more of a casual perusal of the code.

 On

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Ambrose Bonnaire-Sergeant
Hi Sean,

I'm afraid student applications are a hard deadline, so you will have to
try again next year.
I will go through your application over the weekend.

Thanks,
Ambrose

On Fri, Mar 27, 2015 at 3:20 PM, Sean Laguna  wrote:

> Hi,
>
> I did end up taking your advice and submitting a bit of an ambitious
> proposal! You can find it here:
> https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as
> submitted.
>
> I made a bit of a blunder though -- I didn't think about the fact that by
> submitting my proposal as a gist (an external link from the submission), I
> would be (in some sense) circumventing the deadline. I really hope this
> doesn't affect my ability to potentially be accepted, and am definitely
> willing to do whatever might be necessary to correct for this. Of course,
> the gist has full revision history, so you can see the only thing I did
> past 2:00pm Central Time (where I am) was add a link to my resume (since I
> realized I could not attach two files within melange itself).
>
> I also do apologize for cutting this so close; I got a bit carried away
> delving into Clojure, though I had a great time. To comment on the way that
> I work, I would say that I do get very engrossed in what I'm doing, and
> benefit a lot from frequent communication that keeps me on-track. I do
> think that summer of code would facilitate my style of work well in that
> regard. I will also say that I note that my open-source contributions are
> not particularly strong (they barely exist, actually). I have focused more
> on the academic side of work, but I love the ideals of open source and have
> always been meaning to make direct contributions. I really do hope that
> this is a way to get my foot in the door and stay there, and I hope that
> whether or not I'm accepted that you have some interest in my ideas and can
> perhaps give me feedback of any sort.
>
> This is another reason I took a while to submit my proposal: I wanted to
> provide some code in the background section of my proposal which would show
> that I did have some chops for parallel programming in Clojure to indicate
> that I could pick up languages quickly and that this is a feasible project
> for me. I have done some programming in Clojure before but getting some of
> the reducer/atom/future/do* syntax exactly right was a fun challenge!
>
> Again, I'd love to hear comments on my proposal, and let me know if
> there's anything else I can do in the meantime.
>
> Best,
> Sean
>
> On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose
> Bonnaire-Sergeant wrote:
>>
>> Hi Sean,
>>
>> Sounds like you have greater ambitions than simply supporting transients.
>> Please feel free to disregard any suggestions
>> in the project template and make the *you* would like to implement over
>> the summer. Please post it here or on Melange then we
>> can discuss further.
>>
>> Thanks!
>> Ambrose
>>
>> On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna  wrote:
>>
>>> Hi,
>>>
>>> I am a third year computer science PhD student at the University of
>>> Chicago, and am interested in submitting a proposal for the typed
>>> transients project. I am very interested, in general, about presistency,
>>> transience, and the interaction between the two models for operating on
>>> data. Persistency is actually influence some of my current work on
>>> eliminating race conditions on data structures common in scientific
>>> computing (ghost nodes and other regions allocated to overlapping
>>> processors in distributed memory programs, etc). I've poked around in the
>>> Clojure source code to get some inspiration for my own implementations
>>> (I've done some work on that in C++ and in Nim), and of course have read
>>> the canonical set of blog posts
>>>  on
>>> the implementation of persistent vectors in Clojure. (Which, if I recall
>>> correctly, Rich Hickey actually cited in on of his papers on Clojure!)
>>>
>>> I would be happy to work on typing transient data structures in
>>> core.clojure, and to work out a means of typing transient that interacts
>>> efficiently and elegantly with other types, especially persistent data
>>> structures. I'm working on a proposal for this now and can send it in a
>>> couple hours, but I wonder if there's a good way of identifying the lowest
>>> hanging fruit for typing a crucial transient data structure in the core
>>> Clojure codebase where I could do a sort of trial run? It would help
>>> immensely I think with coming up with a laundry list of tasks for
>>> performing this, instead of it being more of a casual perusal of the code.
>>>
>>> One endgame for this work that I'm interested in is automatic
>>> parallelization, which Clojure's persistent data structures, in my opinion,
>>> do inspirationally well. Something I'm very interested in is applying the
>>> shared memory concurrency model to a distributed memory environment.
>>> Persistency has natural distributed memo

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
Hi,

I did end up taking your advice and submitting a bit of an ambitious 
proposal! You can find it here: 
https://gist.github.com/seanlaguna/c2003b52cc197119bdec as well as 
submitted.

I made a bit of a blunder though -- I didn't think about the fact that by 
submitting my proposal as a gist (an external link from the submission), I 
would be (in some sense) circumventing the deadline. I really hope this 
doesn't affect my ability to potentially be accepted, and am definitely 
willing to do whatever might be necessary to correct for this. Of course, 
the gist has full revision history, so you can see the only thing I did 
past 2:00pm Central Time (where I am) was add a link to my resume (since I 
realized I could not attach two files within melange itself).

I also do apologize for cutting this so close; I got a bit carried away 
delving into Clojure, though I had a great time. To comment on the way that 
I work, I would say that I do get very engrossed in what I'm doing, and 
benefit a lot from frequent communication that keeps me on-track. I do 
think that summer of code would facilitate my style of work well in that 
regard. I will also say that I note that my open-source contributions are 
not particularly strong (they barely exist, actually). I have focused more 
on the academic side of work, but I love the ideals of open source and have 
always been meaning to make direct contributions. I really do hope that 
this is a way to get my foot in the door and stay there, and I hope that 
whether or not I'm accepted that you have some interest in my ideas and can 
perhaps give me feedback of any sort. 

This is another reason I took a while to submit my proposal: I wanted to 
provide some code in the background section of my proposal which would show 
that I did have some chops for parallel programming in Clojure to indicate 
that I could pick up languages quickly and that this is a feasible project 
for me. I have done some programming in Clojure before but getting some of 
the reducer/atom/future/do* syntax exactly right was a fun challenge!

Again, I'd love to hear comments on my proposal, and let me know if there's 
anything else I can do in the meantime.

Best,
Sean

On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose Bonnaire-Sergeant 
wrote:
>
> Hi Sean,
>
> Sounds like you have greater ambitions than simply supporting transients. 
> Please feel free to disregard any suggestions
> in the project template and make the *you* would like to implement over 
> the summer. Please post it here or on Melange then we 
> can discuss further.
>
> Thanks!
> Ambrose
>
> On Wed, Mar 25, 2015 at 3:55 PM, Sean Laguna  > wrote:
>
>> Hi,
>>
>> I am a third year computer science PhD student at the University of 
>> Chicago, and am interested in submitting a proposal for the typed 
>> transients project. I am very interested, in general, about presistency, 
>> transience, and the interaction between the two models for operating on 
>> data. Persistency is actually influence some of my current work on 
>> eliminating race conditions on data structures common in scientific 
>> computing (ghost nodes and other regions allocated to overlapping 
>> processors in distributed memory programs, etc). I've poked around in the 
>> Clojure source code to get some inspiration for my own implementations 
>> (I've done some work on that in C++ and in Nim), and of course have read 
>> the canonical set of blog posts 
>>  on 
>> the implementation of persistent vectors in Clojure. (Which, if I recall 
>> correctly, Rich Hickey actually cited in on of his papers on Clojure!)
>>
>> I would be happy to work on typing transient data structures in 
>> core.clojure, and to work out a means of typing transient that interacts 
>> efficiently and elegantly with other types, especially persistent data 
>> structures. I'm working on a proposal for this now and can send it in a 
>> couple hours, but I wonder if there's a good way of identifying the lowest 
>> hanging fruit for typing a crucial transient data structure in the core 
>> Clojure codebase where I could do a sort of trial run? It would help 
>> immensely I think with coming up with a laundry list of tasks for 
>> performing this, instead of it being more of a casual perusal of the code.
>>
>> One endgame for this work that I'm interested in is automatic 
>> parallelization, which Clojure's persistent data structures, in my opinion, 
>> do inspirationally well. Something I'm very interested in is applying the 
>> shared memory concurrency model to a distributed memory environment. 
>> Persistency has natural distributed memory implications with regard to 
>> especially parallelism, because modifications to the "same" value that are 
>> made, at the same logical time, in different, distributed places in memory, 
>> can potentially be reconciled when the values are eventually synced 
>> (perhaps even lazily). Transien

Re: test.check :autotest ?

2015-03-27 Thread Andrew Forward

Hey boz,

You probably found your post, but just in case someone lands here from a 
search there are a few options, but take a look at lein-autotest

https://github.com/dakrone/lein-autotest

Here's the stackoverflow page, which might have more (or better) answers too

http://stackoverflow.com/questions/8406984/what-autotest-tools-exist-for-clojure


On Monday, 5 May 2014 11:34:48 UTC-4, boz wrote:
>
> Is there an :autotest for test.check with Leiningen?
>
> Something like midje, where you can do: lein midje :autotest
>
> Many thanks,
> boz
>

-- 
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][book] Clojure Reactive Programming

2015-03-27 Thread Daniel Kersten
Just bought a copy too. So far looks great! Can't wait to read the rest of
it :)

On Fri, 27 Mar 2015 at 12:52 Luc Prefontaine 
wrote:

> Bought it myself too...
> If this is some kind of  marketing stunt, it
> caught me off guard...  (sic)
>
> Luc P.
>
>
> > The list is so cool that I think this discussion is actually part of the
> > book's marketing strategy. It worked! I just bought my copy ;-)
> >
> > On Thu, Mar 26, 2015 at 4:57 PM, Colin Yates 
> wrote:
> >
> > > Hi Leonardo, I haven't read it yet but I am very much looking forward
> > > to it based on other people's responses :).
> > >
> > > On 26 March 2015 at 15:52, Leonardo Borges <
> leonardoborges...@gmail.com>
> > > wrote:
> > > > Thanks everyone for the kind words!
> > > >
> > > > It makes it all worth it :)
> > > >
> > > > Cheers,
> > > > Leonardo
> > > >
> > > >
> > > > On Thursday, March 26, 2015 at 11:44:27 AM UTC-3, Shaun Mahood wrote:
> > > >>
> > > >> Just thought I would leave a quick note for anyone interested in the
> > > book
> > > >> (and hopefully get the thread back on topic). I'm about 1/3 through
> the
> > > book
> > > >> and have found it really well written and interesting so far. It's
> an
> > > >> excellent introduction to reactive programming in general and for
> > > clojure
> > > >> specifically, and is easy to follow for a relative beginner in both
> > > clojure
> > > >> and reactive programming. If you have any interest at all in the
> topic I
> > > >> highly recommend picking it up.
> > > >>
> > > >> Thanks for writing it Leonardo!
> > > >>
> > > >> On Tuesday, March 24, 2015 at 8:26:02 AM UTC-6, Leonardo Borges
> wrote:
> > > >>>
> > > >>> Hi all,
> > > >>>
> > > >>> Some of you may know that I have been working on a book for the
> better
> > > >>> part of last year.
> > > >>>
> > > >>> I'm happy to announce it has finally been published! Here's the
> link:
> > > >>> https://www.packtpub.com/web-development/clojure-reactive-
> programming
> > > >>>
> > > >>> I hope you find it useful! I've had a great time putting it
> together!
> > > >>>
> > > >>> Cheers,
> > > >>> Leonardo Borges
> > > >>> www.leonardoborges.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.
> > >
> > > --
> > > 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.
> > >
> >
> >
> >
> > --
> > Hildeberto Mendonça, Ph.D
> > Blog: http://www.hildeberto.com
> > Community: http://www.cejug.net
> > Twitter: https://twitter.com/htmfilho
> >
> > --
> > 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.
> >
> --
> Luc Prefontaine sent by ibisMail!
>
> --
> 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 uns

Re: [ANN] Clojure related articles on Semaphore Community

2015-03-27 Thread Luc Prefontaine
Nice to you to raise the flag :)
Luc P.


> Hi everyone,
> 
> I wanted to share a few articles about testing and deployment of Clojure 
> applications that I wrote for Semaphore Community - 
> https://semaphoreci.com/community/tags/clojure.
> 
> I plan to continue writing on those and other topics so I would love to 
> hear some feedback or ideas. What topics would you recommend me to explore? 
> Any questions you would like to be answered in the tutorial form?
> 
> Thanks,
> 
> Nebojša Stričević
> 
> -- 
> 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.
> 
--
Luc Prefontaine sent by ibisMail!

-- 
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][book] Clojure Reactive Programming

2015-03-27 Thread Luc Prefontaine
Bought it myself too...
If this is some kind of  marketing stunt, it
caught me off guard...  (sic)

Luc P.


> The list is so cool that I think this discussion is actually part of the
> book's marketing strategy. It worked! I just bought my copy ;-)
> 
> On Thu, Mar 26, 2015 at 4:57 PM, Colin Yates  wrote:
> 
> > Hi Leonardo, I haven't read it yet but I am very much looking forward
> > to it based on other people's responses :).
> >
> > On 26 March 2015 at 15:52, Leonardo Borges 
> > wrote:
> > > Thanks everyone for the kind words!
> > >
> > > It makes it all worth it :)
> > >
> > > Cheers,
> > > Leonardo
> > >
> > >
> > > On Thursday, March 26, 2015 at 11:44:27 AM UTC-3, Shaun Mahood wrote:
> > >>
> > >> Just thought I would leave a quick note for anyone interested in the
> > book
> > >> (and hopefully get the thread back on topic). I'm about 1/3 through the
> > book
> > >> and have found it really well written and interesting so far. It's an
> > >> excellent introduction to reactive programming in general and for
> > clojure
> > >> specifically, and is easy to follow for a relative beginner in both
> > clojure
> > >> and reactive programming. If you have any interest at all in the topic I
> > >> highly recommend picking it up.
> > >>
> > >> Thanks for writing it Leonardo!
> > >>
> > >> On Tuesday, March 24, 2015 at 8:26:02 AM UTC-6, Leonardo Borges wrote:
> > >>>
> > >>> Hi all,
> > >>>
> > >>> Some of you may know that I have been working on a book for the better
> > >>> part of last year.
> > >>>
> > >>> I'm happy to announce it has finally been published! Here's the link:
> > >>> https://www.packtpub.com/web-development/clojure-reactive-programming
> > >>>
> > >>> I hope you find it useful! I've had a great time putting it together!
> > >>>
> > >>> Cheers,
> > >>> Leonardo Borges
> > >>> www.leonardoborges.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.
> >
> > --
> > 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.
> >
> 
> 
> 
> -- 
> Hildeberto Mendonça, Ph.D
> Blog: http://www.hildeberto.com
> Community: http://www.cejug.net
> Twitter: https://twitter.com/htmfilho
> 
> -- 
> 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.
> 
--
Luc Prefontaine sent by ibisMail!

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

[GSoC] Attention mentors and students

2015-03-27 Thread Daniel Solano Gómez
Hello, all,

The student application deadline is coming up at 19;00 UTC, less than seven 
hours from now.  What does this mean for you?

*If you are a student…*

You must have your application submitted to Melange 
 by 19:00 
UTC.  This is a hard deadline, and we have no control over that.  On a case 
by case basis, during review, we may allow you to revise your application, 
but please be sure that the application is ready when you submit it. 
 Please adhere to the Student Application Deadlines 
. 
 Also, be sure that the mentor you have been working with is signed up as a 
mentor in Melange.

*If you are considering being a mentor…*

Please be sure to sign into Melange and request to connect with Clojure as 
a mentor.  Be sure to write something about who you are and what projects 
you are interested in mentoring when you apply.

*What happens next?*

Once the student application deadline closes, all of the Clojure mentors 
and admins will review all of the student proposals.  During this period, 
we will assess the number of good mentor/student combinations available. By 
the 13th of April, we have let Google know how many students we would like 
to have.  Over the next couple of weeks, Google will allocate student slots 
to all of the organisations and we will deduplicate in any cases where the 
same student is accepted by more than one organisation.  Finally, on the 
27th of April, Google will announce the students who have been selected. 
 Until then, we cannot comment on who is or is not accepted.



Thanks again to everyone who is volunteering to make this effort a success. 
 Clojure/GSoC could not succeed without all of your efforts.  I am looking 
forward to a wonderful summer of code.

Sincerely,

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.
For more options, visit https://groups.google.com/d/optout.


[ANN] Clojure related articles on Semaphore Community

2015-03-27 Thread Nebojša Stričević
Hi everyone,

I wanted to share a few articles about testing and deployment of Clojure 
applications that I wrote for Semaphore Community - 
https://semaphoreci.com/community/tags/clojure.

I plan to continue writing on those and other topics so I would love to 
hear some feedback or ideas. What topics would you recommend me to explore? 
Any questions you would like to be answered in the tutorial form?

Thanks,

Nebojša Stričević

-- 
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: Best way to test multiple implementations of a protocol?

2015-03-27 Thread Atamert Ölçgen
Hi Leif,

What does this answer fail to address?

http://stackoverflow.com/a/16579272/42188


On Wed, Mar 25, 2015 at 3:40 AM, Leif  wrote:

>
> If I have a protocol that supposedly satisfies some constraints, and
> multiple implementations that supposedly implement the protocol, what is
> the best way to test them all?
>
> A minimal example is here:
> https://gist.github.com/leifp/bf5c74eea98026329a76
>
> This question on SO is basically the same as mine, but the answer seems
> less than ideal to me:
>
> http://stackoverflow.com/questions/16578882/testing-to-the-interface-in-clojure
>
> In my mind, the ideal solution lets you:
> * See the failing implementation in the test output
> * Don't repeat yourself
>
> I'm surprised that this isn't well-trodden ground, given the amount of
> people using Components to organize their apps, but I can't find any
> examples.  Perhaps I am just failing to use the internet properly.
>
> Thanks,
> Leif
>
> --
> 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.
>



-- 
Kind Regards,
Atamert Ölçgen

◻◼◻
◻◻◼
◼◼◼

www.muhuk.com
www.olcgen.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] Reagent + Sente (+ Heroku) = Rente

2015-03-27 Thread Luposlip
By "dead app" I mean an app with no compilation of cljs.

Perhaps only the "LEIN_BUILD_TASK": "package" parameter that is needed!

On Fri, Mar 27, 2015 at 8:06 AM Joe Kutner  wrote:

> The buildpack you show in the readme appears to be the standard buildpack
> (unless i'm overlooking something):
> https://github.com/heroku/heroku-buildpack-clojure
>
> I was able to pull the Git repo down and deploy successfully without
> setting BUILDPACK_URL.
>
> What do you mean by "dead app"? Did it fail the compile process, or just
> fail to start the app after the compile?
>
>
> On Fri, Mar 27, 2015 at 1:49 AM, Henrik Mohr  wrote:
>
>> Thanks Joe! :)
>>
>> It's not the standard Clojure buildpack, that's the reason it has to be
>> specified explicitly.
>>
>> I actually started out having no env parameter in app.json. The result
>> was a completely dead app.
>> After I added the variable it worked.
>>
>> Best,
>> Henrik
>>
>>
>> On Thursday, March 26, 2015 at 5:41:37 PM UTC+1, Joe Kutner wrote:
>>>
>>> That's awesome. I'm really glad to see people using the Heroku button
>>> for projects like this.
>>>
>>> Is there a reason you explicitly set the BUILDPACK_URL? Heroku should
>>> detect the `project.clj` and use the Clojure buildpack automatically (I was
>>> able to deploy like that when I tested it). If there was a problem please
>>> let me know and I'll see if we can fix it (I work for Heroku).
>>>
>>> On Wednesday, March 25, 2015 at 4:24:52 PM UTC-5, Henrik Mohr wrote:

 Rente just got a "Deploy to Heroku" button for easy clone/deployment:
 https://github.com/enterlab/rente

 A running demo of Rente can be found here:
 https://enterlab-rente.herokuapp.com

 Best,
 Henrik

 On Tuesday, March 10, 2015 at 12:11:51 PM UTC+1, Henrik Mohr wrote:
>
> Rente has been upgraded to sente 1.4.0 (breaking change).
>
> Best,
> Henrik
>
>
> On Sunday, January 18, 2015 at 1:28:50 PM UTC+1, Henrik Mohr wrote:
>>
>> Hi guys,
>>
>> If you want a sample on how to make the newest versions of Reagent,
>> Sente (for web sockets) work together, want figwheel for ease of
>> development, and deploy it to Heroku, take a look at my small demo 
>> project:
>> https://github.com/enterlab/rente
>>
>> I use it myself as a template/basis for Proof-of-Concept projects,
>> and plan to use it for production stuff later.
>>
>> Comments/feedback/suggestions/enhancements are welcome!
>>
>> Best,
>> Henrik
>>
>  --
>> 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 a topic in the
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojure/lK7MRwahT0Y/unsubscribe.
>> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/lK7MRwahT0Y/unsubscribe.
> To unsubscribe from this group and all its topics, 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.


Some guidance on how to write good property tests with test.check?

2015-03-27 Thread John Louis Del Rosario
I have a function I want to try out test.check on. But I'm having trouble 
grokking how to write the tests.
Basically the function checks if a vector value in a hash-map has at least 
2 elements.

(defn valid-vector?
  [d]
  (>= 2 (count (:vec d


and in my tests (I'm using test.chuck 
)

(def gen-data
  (gen/hash-map :v (gen/vector gen/string)))

(deftest valid-vector-test
  (checking "data with at least 2 elements in :vec" 100 [d gen-data]
;; what to do here?
  ))

I'm confused on how I should write the body of the test. My first thought 
is to do something like:

(checking "data with at least 2 elements in :vec" 100 [d gen-data]
  (if (>= 2 (count (:vec d)))
(is (true? (valid-vector d)))
(is (false? (valid-vector d)

But that means I just re-wrote my function definition in the `if` 
condition. Is there a better way to test my function? Or does test.check 
just not a good fit for it?

Thanks.

-- 
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] Reagent + Sente (+ Heroku) = Rente

2015-03-27 Thread Joe Kutner
The buildpack you show in the readme appears to be the standard buildpack
(unless i'm overlooking something):
https://github.com/heroku/heroku-buildpack-clojure

I was able to pull the Git repo down and deploy successfully without
setting BUILDPACK_URL.

What do you mean by "dead app"? Did it fail the compile process, or just
fail to start the app after the compile?

On Fri, Mar 27, 2015 at 1:49 AM, Henrik Mohr  wrote:

> Thanks Joe! :)
>
> It's not the standard Clojure buildpack, that's the reason it has to be
> specified explicitly.
>
> I actually started out having no env parameter in app.json. The result was
> a completely dead app.
> After I added the variable it worked.
>
> Best,
> Henrik
>
>
> On Thursday, March 26, 2015 at 5:41:37 PM UTC+1, Joe Kutner wrote:
>>
>> That's awesome. I'm really glad to see people using the Heroku button for
>> projects like this.
>>
>> Is there a reason you explicitly set the BUILDPACK_URL? Heroku should
>> detect the `project.clj` and use the Clojure buildpack automatically (I was
>> able to deploy like that when I tested it). If there was a problem please
>> let me know and I'll see if we can fix it (I work for Heroku).
>>
>> On Wednesday, March 25, 2015 at 4:24:52 PM UTC-5, Henrik Mohr wrote:
>>>
>>> Rente just got a "Deploy to Heroku" button for easy clone/deployment:
>>> https://github.com/enterlab/rente
>>>
>>> A running demo of Rente can be found here:
>>> https://enterlab-rente.herokuapp.com
>>>
>>> Best,
>>> Henrik
>>>
>>> On Tuesday, March 10, 2015 at 12:11:51 PM UTC+1, Henrik Mohr wrote:

 Rente has been upgraded to sente 1.4.0 (breaking change).

 Best,
 Henrik


 On Sunday, January 18, 2015 at 1:28:50 PM UTC+1, Henrik Mohr wrote:
>
> Hi guys,
>
> If you want a sample on how to make the newest versions of Reagent,
> Sente (for web sockets) work together, want figwheel for ease of
> development, and deploy it to Heroku, take a look at my small demo 
> project:
> https://github.com/enterlab/rente
>
> I use it myself as a template/basis for Proof-of-Concept projects, and
> plan to use it for production stuff later.
>
> Comments/feedback/suggestions/enhancements are welcome!
>
> Best,
> Henrik
>
  --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/lK7MRwahT0Y/unsubscribe.
> To unsubscribe from this group and all its topics, 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.