Re: Keep application running when main thread only starts go blocks

2016-08-07 Thread Timothy Baldridge
So I'm tempted to ask at this point, what does your program do? If you're doing nothing but CPU work, then yeah you may need to do something in the main thread. However, all IO work should be done outside of go block. Go blocks are limited in the number of concurrent threads that they use, so it's

Re: Keep application running when main thread only starts go blocks

2016-08-07 Thread Richard Möhn
Am Samstag, 6. August 2016 21:30:53 UTC+9 schrieb Alex Miller: > > I think this is solution is fine. A single channel is not going to use any > noticeable resources. You've basically created a latch - there are several > latch-like things built into Java you can use as well. > > In the main

Re: Keep application running when main thread only starts go blocks

2016-08-07 Thread Richard Möhn
Am Samstag, 6. August 2016 16:50:35 UTC+9 schrieb Miguel Ping: > > Dunno about clojure, but in javaland you would submit jobs through an > executor and then wait for all tasks on the executor to finish, blocking > the main thread. > > A bit of googling, and you can alter the core.async

Re: ANN: diehard 0.3.0

2016-08-07 Thread Richard Möhn
Great! I was just going go implement a primitive retry myself, when I found this by chance. Thanks for contributing! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from

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 *

ANN: system 0.3.1

2016-08-07 Thread Daniel Szmulewicz
Hello everybody, This is to announce that system version 0.3.1 is out! This is a minor update that ships with usability improvements. - Boot users will get better error messages when the system task is not configured properly. - The system

RE: can clojure java.jdbc function 'result-set-seq' add option tosupportcustom 'result-set-read-column' ?

2016-08-07 Thread sean
Thank you! I’ll take a look at this while I’m back at work this week. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org From: Xiangtao Zhou -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: How to do functional programming

2016-08-07 Thread Piyush Katariya
www.slideshare.net/*piyush*katariya/*thinking*-*functionally* -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your

Re: wondering why spec.test/instrument doesn't check :ret

2016-08-07 Thread Tom Connors
Thank you both for the responses and links, they've been helpful. On Saturday, August 6, 2016 at 1:02:16 PM UTC-4, Tom Connors wrote: > > spec.test/instrument doesn't check the return value of spec'd functions > and according to the spec guide this is because we should be checking > function

Re: Hoplon with websockets

2016-08-07 Thread William la Forge
A little documentation never hurt: https://github.com/hoplon/hoplon/wiki/Hoplon-with-Sente On Friday, August 5, 2016 at 4:48:04 PM UTC-4, William la Forge wrote: > > I've added a new demo to hoplon which uses sente websockets in place of > castra:

ANN: Clojureverse.org

2016-08-07 Thread Arne Brasseur
Clojureverse.org is a forum based on Discourse that serves as a home for Clojure related projects. Many projects and groups have need for some kind of mailing list, be it open source projects, local meetups, study groups. The most common choice is Google Groups, but

Re: can clojure java.jdbc function 'result-set-seq' add option to supportcustom 'result-set-read-column' ?

2016-08-07 Thread Xiangtao Zhou
hi Sean, Done. see http://dev.clojure.org/jira/browse/JDBC-137 Joe. On Sunday, August 7, 2016 at 1:33:10 PM UTC+8, Sean Corfield wrote: > > Hi Joe, > > > > I’m starting to see more requests for per-database customization in a > multi-database environment so this is definitely something I’d