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

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

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

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

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

[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

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

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 top

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 d

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

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

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 a

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

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

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 s

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,

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 a

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 decisi

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

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