Re: [ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-31 Thread Ning Sun
the size and >don't actually work ;-) > >On Tue, Jan 30, 2018 at 8:24 AM, Ning Sun >wrote: > >> Hi clojurians, >> >> I just created a Leiningen plugin that creates custom Java Runtime >> Environment based on you configuration. The custom JRE can be as >small

[ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-30 Thread Ning Sun
Hi clojurians, I just created a Leiningen plugin that creates custom Java Runtime Environment based on you configuration. The custom JRE can be as small as 29MB, and it's fully capable to run a Ring web app. With this plugin: 0. You can test your Clojure application against the custom JRE; 1. You

[ANN] diehard 0.6.0: Rate limiter

2017-07-08 Thread Ning Sun
Hi, I'm happy to announce the release of diehard 0.6.0. This release includes a new rate limiter that you can control the speed of your code, prevent it from overwhelming certain resource. The new release can be found at: https://github.com/sunng87/diehard BTW, what's diehard? Diehard is a lib

Re: The simplest way to publish to Clojars?

2017-05-31 Thread Ning Sun
PGP is a general-purpose encryption/sign tool. Lein uses it for two things: * Encrypting your clojars credentials on your disk * Signing your pom/jars to ensure those things are created by you, which is widely used in OpenSource world There were a lot of guides on the web on how to setup your k

Re: [ANN] Leiningen 2.7.0

2016-08-29 Thread Ning Sun
There is a minor issue in code example of https://github.com/technomancy/leiningen/blob/stable/doc/MANAGED_DEPS.md#lein-parent-projects, where `inherits` should be `inherit`. On 08/25/2016 08:03 AM, Jean Niklas L'orange wrote: > Greetings, fellow Clojurians! > > I am happy to announce Leiningen

Re: ANN: diehard 0.3.0

2016-08-09 Thread Ning Sun
Thank you, Richard. I hope this library will be helpful to you. Feel free to report any issue you have with it. On 08/08/2016 11:37 AM, Richard Möhn wrote: > Great! I was just going go implement a primitive retry myself, when I > found this by chance. Thanks for contributing! > > -- > You receiv

ANN: diehard 0.3.0

2016-08-07 Thread Ning Sun
Diehard 0.3.0 just released! Diehard is a library provides retry and circuit breaker for your clojure code. Currently it's based on Failsafe. What's new in 0.3.0: * Updated to Failsafe 0.9.2 * New option :jitter-factor and :jitter-ms on retry policy for adding randomness to retry delay * :fallbac

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-14 Thread Ning Sun
fail fast without blocking. (diehard/with-circuit-breaker test-cb ;; your protected code here ) For more information and issue reporting: https://github.com/sunng87/diehard https://sunng87.github.io/diehard/ On 07/04/2016 11:32 PM, Ning Sun wrote: > That's already in prog

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-04 Thread Ning Sun
That's already in progress: https://github.com/sunng87/diehard/pull/1 On 07/03/2016 02:21 AM, Janko Muzykant wrote: > Eagerly waiting for circuit-breaker wrapper :) > > cheers, > j. > > > Ning Sun writes: > >> Hi all, >> >> Just to announce the

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-02 Thread Ning Sun
Nice! You may also like its clustered version: https://github.com/sunng87/slacker-cluster Slacker and slacker-cluster now serves tens of millions RPC in our production. Feel free to contact me if you have any issue with both libraries. On 07/02/2016 12:31 PM, Stanislav Yurin wrote: > Thank you

ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-06-30 Thread Ning Sun
Hi all, Just to announce the first release of diehard[1], a clojure wrapper over the Failsafe[2] library, which deals retry stuff for you. Diehard allows you to set retry criteria for any block a clojure code, like: (diehard/with-retry {:retry-on IOException} (http/get "https://google.com";))

Re: [ANN] core.async 0.2.382

2016-06-23 Thread Ning Sun
I guess this change is to encourage user to configure their own pool size based on their use case, instead of completely relying on the default. On 06/23/2016 11:33 AM, Daniel Compton wrote: > I knew I must be missing something. You can also set the core.async > threadpool size with > > (System/s

Re: New Clojars feature: atomic deploys

2016-03-08 Thread Ning Sun
Thanks! This is a great feature and especially important for users with a poor network connection. On 03/08/2016 10:43 PM, Mayank Jain wrote: > Thank you so much for this! I've personally faced this issue before. So > I know how helpful this change is. Great job! :) > > On Mar 8, 2016 7:39 PM, "To

[ANN] Rigui: Hierarchical Timing Wheels for Clojure and ClojureScript

2016-02-27 Thread Ning Sun
Rigui is an implementation of hierarchical timing wheels, for Clojure and ClojureScript. The idea was inspired by this blog post[1]. Kafka has been using timing wheels based timer to track request timeout. Rigui provides a few functions for you to `start!` a timer, schedule something for `later!`,

Re: [ANN] Leiningen 2.5.3

2015-09-23 Thread Ning Sun
Thanks for the release! I confirm the GPG issue is fixed in 2.5.3. On 09/22/2015 06:04 AM, Jean Niklas L'orange wrote: > Greetings, Clojurians. > > I am happy to announce the release of Leiningen version 2.5.3. This > version > contains mostly bugfixes, most notably an issue where environment > va

[ANN] Ring-jetty9-adapter(rj9a) updated with HTTP2 support

2015-07-26 Thread Ning Sun
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all, I am pleased to announce the 0.9 release of ring-jetty9-adapter(rj9a): https://github.com/sunng87/ring-jetty9-adapter The new version is based on Jetty 9.3.1, which means you will be able to run your existed clojure web application on HTTP