[Job Spam] Looking for a clojure devs

2015-06-04 Thread Murtaza Husain
Hi, A friend's startup is looking for couple of clojure devs. Its a startup and the stack they are using is reagent / clojure / datomic. They are looking for experienced developers with / without clojure experience, however with enthusiasm to learn and excel at the clojure stack. If intereste

Re: How to include ... in project.clj

2015-06-04 Thread skuro
Have a look at the sample-project.clj , as you can read: ;; Repositories named "snapshots" and "releases" automatically ;; have their :snapshots and :releases disabled as appropriate. hence, you should do this way:

Datomic query question

2015-06-04 Thread Wilker
Hi, good morning. I have this query here: [:find ?track (count ?lessons) :where [?t :track/name ?track] [?lessons :lesson/track ?t] ] A lesson has a track (so a track can be on multiple lessons), and with this query I can return the track names and the number of lessons where this track is be

Re: [Job Spam] Looking for a clojure devs

2015-06-04 Thread Shahrdad Shadab
Hi Morteza I have been doing Clojure past two years. Please find my Resume attached. Best Regards Shahrdad On Thu, Jun 4, 2015 at 3:45 AM, Murtaza Husain < murtaza.hus...@sevenolives.com> wrote: > Hi, > > A friend's startup is looking for couple of clojure devs. Its a startup > and the stack t

Re: How to include ... in project.clj

2015-06-04 Thread Jacob Goodson
Thanks, one last question(hopefully)... I have gotten it to pull down the sphinx4-core but for some reason it will not pull down the data. :dependencies [[org.clojure/clojure "1.6.0"] [edu.cmu.sphinx/sphinx4-data "1.0-SNAPSHOT"] [edu.cmu.sphinx/sphinx4-core "1.0-SNAP

Re: Datomic query question

2015-06-04 Thread Francis Avila
(This question is more appropriate to the datomic group: https://groups.google.com/forum/#!forum/datomic) Datomic/datalog queries always perform aggregation as a last step so the results of aggregation are unavailable to the :where clause. In other words, what you want is impossible with a sing

multi-arity functions with macros

2015-06-04 Thread Phillip Lord
I have a number of fairly nasty functions with a form that looks like this: (defn default-ontology ([f] (dispatch f)) ([f a] (dispatch f a)) ([f a b] (dispatch f a b)) ([f a b c] (dispatch f a b c)) ([f a b c d] (dispatch f a b c d)) ([f a b c d e] (dispa

Re: Datomic query question

2015-06-04 Thread Wilker
Thank you very much Francis, that was very helpful :) On Thu, Jun 4, 2015 at 1:21 PM Francis Avila wrote: > (This question is more appropriate to the datomic group: > https://groups.google.com/forum/#!forum/datomic) > > Datomic/datalog queries always perform aggregation as a last step so the > r

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Andy Fingerhut
I've filed http://dev.clojure.org/jira/browse/CLJ-1745 In checking Mike Rodriguez's test case for reproducing the issue, I could reproduce the behavior change in a lein repl, but the behavior appears to be the same with a plain Clojure REPL. See the ticket for what I found, and feel free to edit

[ANN] Dominator 0.3.0

2015-06-04 Thread David Sargeant
* Fixed an issue with :style attribute. * Added animation-frames signal for syncing with requestAnimationFrame. * Live examples! https://github.com/dubiousdavid/dominator#sample-programs Check out my Mario example: http://dubiousdavid.github.io/dominator/examples/mario/ Mario code: https://gith

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Sean Corfield
We took RC1 to production yesterday afternoon (after being on beta1 since mid-April). So far so good. I think the only 1.7 new feature we’re using so far is transducers (we wrote a transducer that takes a result set of user-to-user messages and returns a paginated, nested result set organized b

Re: multi-arity functions with macros

2015-06-04 Thread Fluid Dynamics
On Thursday, June 4, 2015 at 12:55:23 PM UTC-4, Phillip Lord wrote: > > > I have a number of fairly nasty functions with a form that looks like > this: > > (defn default-ontology > ([f] > (dispatch f)) > ([f a] > (dispatch f a)) > ([f a b] > (dispatch f a b)) > ([f a

Re: multi-arity functions with macros

2015-06-04 Thread Francis Avila
This is exactly the approach to take: a macro which expands to a defn with all your arities filled out. Here's a simple approach which might be enough for your problem: it will splice in argument names whenever some marker symbol is encountered, and repeat for the range of arities you want. (

Re: When should defrecord be slower than deftype?

2015-06-04 Thread Steven Yi
I gave overriding of equals/hashCode a try with records just as a path to test against the deftype performance. I guess with records, they're meant to be treated like immutable value types, so identity based hashCodes would sort of go against the spirit of that. On Wed, Jun 3, 2015 at 11:16 PM, Ma

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Luc Prefontaine
Hi, Have been using 1.7 since beta1 in dev and test in a new dev. Still 3 months away from production beta. So far no issues. Zero, nada, nil, ... Reader conditionals are quite amazing, we started unifying backend and front end code. Wow... No more split brain syndrome and a huge simplification

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Sean Corfield
On Jun 4, 2015, at 2:51 PM, Luc Prefontaine wrote: > Still 3 months away from production beta. I get twitchy if we go more than two weeks between production builds — but then it’s the web :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Mike Rodriguez
Thanks Andy for the extra info and for logging the follow-up Jira! It looks like the exception changes are expected and are a potential improvement with line numbers etc. My the main goal was just to provide constructive feedback on here of the issues I faced investigating the upgrade of a fair

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-06-04 Thread Luc Prefontaine
We have a planned upgrade at a customer site before xmas of our oldest product. Internal work on upgrading it to 1.7 starts in august. If I look at the Clojure upgrade track since 2009, I can't say that I am nervous about this. Not at all :) We are presently building a new product and integrat

I created a new macro "if-let-all"

2015-06-04 Thread crocket
The macro below is called if-let-all. (defmacro if-let-all "if-let-all evaluates every local binding sequentially and evaluates true-case only if every local binding is a truthy value. true-case has access to all local bindings, but false-case doesn't have access to local bindings." [bindi

namespace scope

2015-06-04 Thread Todd Stout
What are the scope rules of a namespace? For example, can a single file define multiple namespaces? Can multiple files contribute to the same namespace? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: I created a new macro "if-let-all"

2015-06-04 Thread crocket
Ouch, I didn't write. Gary Fredericks wrote it. I simply modified his if-let-all macro a little bit. On Friday, June 5, 2015 at 2:44:22 PM UTC+9, crocket wrote: > > The macro below is called if-let-all. > > (defmacro if-let-all > "if-let-all evaluates every local binding sequentially and evalua

Re: namespace scope

2015-06-04 Thread Andy Fingerhut
A single file can define multiple namespaces, and a single namespace's definition can be spread across multiple files. However, I have not seen either of those things done very often in Clojure projects. By far the most common approach is to have one file per namespace, and each namespace defined