Re: Should I switch to Clojure after 3 years of learning another full stack ?

2016-10-11 Thread Matt Mitchell
My first Clojure "app" was a CLI utility that pulled data from a SQL database, mapped records into another form, and pushed them into a search engine app. It took me about 3 weeks to do that with no lisp experience at all, and I was super rusty on Java at that point. It was "hard", but I really

Re: [ANN] prismatic/schema 1.0 adds automatic test data generation

2015-09-02 Thread Matt Mitchell
I just created a scratch project using schema-1.0.0. Requiring schema.core works fine, but coerce throws an exception. Here's the repl session: user=> (require '[schema.core]) nil user=> (require '[schema.coerce]) CompilerException java.lang.RuntimeException: No such var: s/spec, comp

Re: [ANN] prismatic/schema 1.0 adds automatic test data generation

2015-09-01 Thread Matt Mitchell
Awesome and good work! Can't wait to try it out. - Matt On Tuesday, September 1, 2015 at 2:02:30 PM UTC-4, Jason Wolfe wrote: > > We're excited to finally bring Schema out of alpha, while introducing some > new exciting features around testing: test.check integration and data > completion. Che

Re: [ANN] Clojure 1.7.0-beta2

2015-04-24 Thread Matt Mitchell
Awesome. Just tested it on our API and working well. Looking forward to a more in depth testing session! - Matt On Friday, April 24, 2015 at 2:27:40 PM UTC-4, Alex Miller wrote: > > Clojure 1.7.0-beta2 is now available. > > Try it via > - Download: > https://repo1.maven.org/maven2/org/clojure/c

Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-13 Thread Matt Mitchell
Just picked it up! Thanks Alex. Sounds like the sort of thing I've been wanting more info on for a while now. Looking forward to the reading! - Matt On Wednesday, April 8, 2015 at 9:27:58 AM UTC-4, Alex Miller wrote: > > Hey all, > > I'm very happy to announce that Clojure Applied is now availab

Re: Debugging in CIDER

2015-03-30 Thread Matt Mitchell
Awesome. +1 for a new release too, lots of other good stuff in there too. - Matt On Saturday, March 28, 2015 at 1:46:33 PM UTC-4, Bozhidar Batsov wrote: > > Hey everyone, > > Just wanted to let you know that the most requested feature for CIDER (a > debugger, in case you're wondering) has just

[job] Clojure opportunity at Lucidworks

2015-02-06 Thread Matt Mitchell
/security-engineer/>, and please ping me directly (not here) if you have specific questions -> *matt.mitchell at lucidworks.com* Really hope to hear from some of you! - Matt Mitchell -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: using Stuarts component library correctly

2014-08-10 Thread Matt Mitchell
Here's some relevant info about tools.namespace and protocols: https://github.com/clojure/tools.namespace#warnings-for-protocols - Matt On Saturday, August 9, 2014 6:04:03 PM UTC-4, Sven Richter wrote: > > Hi, > > First I would like to thank everybody for your answers and hints. > > I setup a sm

Re: using Stuarts component library correctly

2014-08-09 Thread Matt Mitchell
I use a closure, but with a slight twist in handler definitions. I close over a "make-handler" fn with the system component.. which returns a middleware-wrapped, dispatcher fn; the thing that handles the routing logic to a particular handler fun. Each of my handlers are 2 arg fns: (fn [system r

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-22 Thread Matt Mitchell
+1 for open sourcing drcfg! Might be interesting to apply the same idea (drcfg) to the SS component model, where a component manages the atoms instead of having to def them. I did something very similar but on top of Curator. One component defined as a service discovery component, and others th

Re: use/require/import and quoted form

2014-02-07 Thread Matt Mitchell
Can you give a code example? - Matt On Thursday, February 6, 2014 3:15:13 AM UTC-5, Andy Smith wrote: > > Hi, > > I was wondering why use/require and import take quoted forms as their > arguments, other alternatives could be strings or keywords, so what is > special about the choice of quoted f

Re: Video: Generating Beautiful (and Correct) Documentation from Unit Tests Files

2013-09-26 Thread Matt Mitchell
Very nice! Does lein-midje-doc use the Midje fact(s) labels? - Matt On Wednesday, September 25, 2013 10:33:31 PM UTC-4, zcaudate wrote: > > I've put up a video of a new documentation plugin for leiningen > > Project Page: > https://github.com/zcaudate/lein-midje-doc > > Youtube Video: > http://ww

Re: Best way to pass through named arguments (destructured map)?

2013-09-09 Thread Matt Mitchell
And also: (mapcat identity {:in [1 2 3]}) => '(:in [1 2 3]) But yeah, destructuring with *&* then using *apply* is pretty clear too. - Matt On Monday, September 9, 2013 10:41:12 PM UTC-4, Leif wrote: > > Careful - `flatten` recursively flattens sequential things. E.g. > (flatten (seq {:in [1 2

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Matt Mitchell
The upgrade ended up "breaking" lein on my system. This fix worked for me. Thanks! On Friday, August 9, 2013 5:30:42 AM UTC-4, Jean Niklas L'orange wrote: > > Hey guys, > > I've hacked together a temporary fix for people who really, really, really > want to use 2.3.0 right away, or have broken t

Re: Lexer and parser generator in Clojure

2012-05-19 Thread Matt Mitchell
Here's a parser: https://github.com/joshua-choi/fnparse Doesn't look like it's active, but could be a starting point? - Matt On Friday, May 18, 2012 8:46:19 AM UTC-4, Alexsandro Soares wrote: > > Hi, > > I'm trying to build a compiler using Clojure. Is there any tools > like flex and bison

Help organizing code and namespaces

2011-06-18 Thread Matt Mitchell
Hi, I have 3 namespaces, each with functions that relate to the name of the ns: core -- contains config and *server* var query -- contains fn's related to querying update -- contains update/delete fn's I want to be able to "use" my core ns in my application, and call all of the public fn's in