Re: [ANN] Leiningen 2.7.0

2016-08-30 Thread Chris Price
) > > * Run `:prep-tasks` before `lein test`, so generated test namespaces > > will be tested. (Martin Reck) > > * Better error message when attempting to do `lein run` without > > `project.clj`. (Eduardo Seabra Silva) > > * Add support for `:managed-depende

Re: [ANN] Leiningen 2.7.0

2016-08-25 Thread Chris Price
The full list of significant user changes: >> >> * Add PowerShell script for Windows users. (Brian Lalonde) >> * Run `:prep-tasks` before `lein test`, so generated test namespaces >> will be tested. (Martin Reck) >> * Better error message when attempting to do `lein run` wit

Re: clojure.spec explain feedback

2016-06-27 Thread Chris Price
On Monday, June 27, 2016 at 12:45:07 PM UTC-7, Brent Millare wrote: > > I'm playing with clojure.spec (alpha7) to validate a data structure > storing information about workout history using the following code: > > > The problem is that when using s/explain on an invalid input where the >

Re: leiningen dependency management

2016-04-09 Thread Chris Price
We run into this sort of thing quite a bit. Our solution so far has been: 1. Always use `:pedantic? :abort` in the project file. It can be annoying, but we've found that's much better to get annoying errors about version conflicts at build time than to get cryptic failures at runtime, such as

[ANN] trapperkeeper-webserver-jetty9 v1.5.1 released

2016-02-19 Thread Chris Price
Today we did a new release of puppetlabs/trapperkeeper-webserver-jetty9 to clojars. trapperkeeper-webserver-jetty9 is the main webserver component for use with our "trapperkeeper" service framework. The new release is version 1.5.1, and it includes a fix for a memory leak that would be triggered

[ANN] trapperkeeper 1.3.0 - with support for restarts via HUP

2016-02-09 Thread Chris Price
Today we released puppetlabs/trapperkeeper v1.3.0 to clojars. Trapperkeeper[1] is a Clojure framework for hosting long-running applications and services. You can think of it as a sort of "binder" for Ring applications and other modular bits of Clojure code. The major change in the release is

lein: managing versions of common deps / soliciting assistance on PR review

2016-01-24 Thread Chris Price
Hi, As the number of Clojure projects at our company has increased, we've ended up running into more and more frequent issues where lein's "pedantic" is alerting us to conflicting versions of transitive dependencies. Up until now we've been managing this by surgically updating the lists of

[ANN] trapperkeeper-webserver-jetty9 v1.4.0 : initial support for websockets

2015-08-18 Thread Chris Price
Today we did a new release of puppetlabs/trapperkeeper-webserver-jetty9 to clojars. trapperkeeper-webserver-jetty9 is the main webserver component for use with our trapperkeeper service framework. The new release is version 1.4.0, and it includes some initial support for websockets. We're

Re: [ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-02 Thread Chris Price
, 1 Jul 2015 at 10:45 Chris Price ch...@puppetlabs.com javascript: wrote: Hiya. We really like the syntax of compojure for defining HTTP routes, but have had some trouble with use cases where we'd really like to be able to introspect the route tree, and aren't able to do so because

Re: [ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-02 Thread Chris Price
]: https://github.com/puppetlabs/comidi/blob/master/project.clj [discussion]: https://groups.google.com/forum/#!searchin/clojure/silk$20bidi/clojure/D95anPmhNhU/X7P53cGbfZMJ On Wednesday, July 1, 2015 at 5:45:40 AM UTC-4, Chris Price wrote: Hiya. We really like the syntax of compojure

[ANN] trapperkeeper-metrics, trapperkeeper-status, et al

2015-07-01 Thread Chris Price
Howdy. Just wanted to send out some info about a few new services we've open-sourced for use with our Trapperkeeper service framework recently. trapperkeeper-metrics: https://github.com/puppetlabs/trapperkeeper-metrics This service manages configuration and life cycle of a MetricRegistry (from

[ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-01 Thread Chris Price
Hiya. We really like the syntax of compojure for defining HTTP routes, but have had some trouble with use cases where we'd really like to be able to introspect the route tree, and aren't able to do so because the nested functions are pretty opaque. After spending some time trying to workaround

[ANN] trapperkeeper-jetty9 v1.2.0

2015-03-12 Thread Chris Price
Hi! Just wanted to let everyone know that we recently released a new version of trapperkeeper-webserver-jetty9 to clojars. The new version is v1.2.0. https://clojars.org/puppetlabs/trapperkeeper-webserver-jetty9 It's a feature release; there are a few new config options, but the most

[ANN] trapperkeeper, trapperkeeper-webserver-jetty9 1.0.0

2014-11-19 Thread Chris Price
Hi! We are excited to announce the 1.0.0 release of trapperkeeper and trapperkeeper-webserver-jetty9. Now that Puppet Labs is shipping several production apps built on the framework and we consider the API to be stable, we decided to bump the version number to 1.0.0 and ensure that we adhere to

[ANN] trapperkeeper-webserver-jetty9 v0.9.0 security release

2014-10-17 Thread Chris Price
We're planning on doing an offiicial 1.0 release of both trapperkeeper[1] and trapperkeeper-webserver-jetty9[2] in the not-too-distant future, and in that announcement e-mail we can highlight some of the new features that have been added over the last few months. However, due to the recent poodle

Re: Puppet Labs and Trapperkeeper

2014-05-30 Thread Chris Price
that for Trapperkeeper. Thank you. Sarwar On Tuesday, April 15, 2014 4:55:09 PM UTC+1, Chris Price wrote: Yep, you've pretty much nailed it... the design was heavily inspired by the OSGi service registry, but we didn't really have a need for most of the other functionality that OSGi offers. So we

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

2014-05-21 Thread Chris Price
I'm interested! One of the things on the wish list for trapperkeeper is to make our current configuration service swappable--currently it only supports files, but I'd really like to be able to swap in a database-backed config or zookeeper-based implementation. When we get some time to work on

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

2014-05-21 Thread Chris Price
On Wednesday, May 21, 2014 11:14:28 AM UTC-7, mlimotte wrote: I wrote a ZooKeeper based config system at Climate Corporation. I also found that there is a need to trigger some action when a config value changes, and went with a simple callback solution. I do like the idea of tying this

Re: clojure.test parameterized tests

2014-05-02 Thread Chris Price
I have been curious about this too. I was playing around with it a few weeks ago and came up with this: https://github.com/cprice404/clj-shared-test-sandbox/blob/master/test/shared_tests_foo/core_test.clj Which is pretty gross; it uses `binding` + a dynamic var in the shared test namespace,

java6 vs java7

2014-04-28 Thread Chris Price
Recently a few co-workers and I have been discussing options related to compiling a few tiny Java libraries that some of our Clojure libraries depend on. We realized that we should be explicitly setting the Java source/target version for jars that we publish to clojars/maven central. Now we're

Re: java6 vs java7

2014-04-28 Thread Chris Price
-survey/ On Monday, April 28, 2014 12:56:51 PM UTC-5, Chris Price wrote: Recently a few co-workers and I have been discussing options related to compiling a few tiny Java libraries that some of our Clojure libraries depend on. We realized that we should be explicitly setting the Java

Re: Puppet Labs and Trapperkeeper

2014-04-15 Thread Chris Price
Yep, you've pretty much nailed it... the design was heavily inspired by the OSGi service registry, but we didn't really have a need for most of the other functionality that OSGi offers. So we basically just came up with a way to describe services via Clojure protocols, and then we wire them

Re: Puppet Labs and Trapperkeeper

2014-04-14 Thread Chris Price
We published a follow-up post this morning, with a lot more detail on the Clojure side of things: https://puppetlabs.com/blog/clojure-nerds-puppet-labs-application-services On Sunday, April 13, 2014 6:48:10 PM UTC-7, Walter Heck wrote: As a non-clojure user, but a Puppet expert (ahum ;) ) I