Re: idiomatic use of Stuart Sierra's component

2015-03-02 Thread Dylan Butman
I would do the latter. I like the extend types to component/Lifecycle wherever possible. The goal is to have all components in your system only interact via protocols. This way, you have established interfaces between components, and if you want to swap an implementation, you just satisfy the

Re: [ANN] lein-html5-docs-3.0.0

2015-03-02 Thread Colin Yates
And an example of its output would be nice :). The project is https://github.com/tsdh/lein-html5-docs I think. On 2 March 2015 at 20:49, Jeremy Heiler jeremyhei...@gmail.com wrote: Do you have a link to the project? :-) On Mon, Mar 2, 2015 at 3:26 PM, Tassilo Horn t...@gnu.org wrote: Hi all,

Re: idiomatic use of Stuart Sierra's component

2015-03-02 Thread Jonah Benton
Hi Colin, for me this is usually an Invented Here/Not Invented Here question. When I'm inventing a thing with state and a lifecycle I'll define it as a Record and slap the Lifecycle protocol implementation onto it. I'd do that with your Registry. When I'm using a thing someone else made, usually

Re: idiomatic use of Stuart Sierra's component

2015-03-02 Thread Colin Yates
Good foor for thought. Thanks both. On 2 Mar 2015 23:43, Jonah Benton jo...@jonah.com wrote: Hi Colin, for me this is usually an Invented Here/Not Invented Here question. When I'm inventing a thing with state and a lifecycle I'll define it as a Record and slap the Lifecycle protocol

Re: Breaking out of a sequence

2015-03-02 Thread Rangel Spasov
How about: (doseq [i [1 2 3 4] :while ( i 3)] (println i)) Alternatively, if you need some outside state you can: (let [stop-i (atom 3)] (doseq [i [1 2 3 4] :while ( i @stop-i)] (println i))) Rangel @raspasov On Sunday, March 1, 2015 at 2:30:22 AM UTC-8, Cecil Westerhof wrote:

Re: Breaking out of a sequence

2015-03-02 Thread Rangel Spasov
How about: (doseq [i [1 2 3 4] :while ( i 3)] (println i)) Alternatively, if you need some outside state you can: (let [stop-i (volatile! 3)] (doseq [i [1 2 3 4] :while ( i @stop-i)] (println i))) Rangel @raspasov On Sunday, March 1, 2015 at 2:30:22 AM UTC-8, Cecil Westerhof

Re: [ANN] Understanding the Persistent Vector

2015-03-02 Thread Rangel Spasov
Great work! On Saturday, February 28, 2015 at 8:14:17 AM UTC-8, Jean Niklas L'orange wrote: Hello fellow Clojurians, I am happy to announce that I have finished my blogpost series on the persistent vector. It consists of five parts: 1. The basic algorithms

Clatern machine learning library - a proposal for GSoC 2015

2015-03-02 Thread Rinu Boney
Hi all, Congrats on getting selected to GSoC 2015! I'm interested in applying. I would like to propose to build a machine learning library for Clojure. I've been working on the proposal for some time. The proposal is available here:

Re: Breaking out of a sequence

2015-03-02 Thread Sean Corfield
Another option to consider: Treat the problem as a `reduce` on the sequence of adjustments where the processing of each adjustment depends on the user input and cancel makes the processing return (reduced nil) to halt the reduction. That will stop automatically when the sequence of adjustments

Re: [ANN] lein-html5-docs-3.0.0

2015-03-02 Thread Tassilo Horn
Colin Yates colin.ya...@gmail.com writes: Hi Colin and Jeremy, And an example of its output would be nice :). Here's an example: http://userpages.uni-koblenz.de/~horn/funnyqt-docs/ The project is https://github.com/tsdh/lein-html5-docs I think. Yes, that's it. On 2 March 2015 at 20:49,

Re: GSoC 2015

2015-03-02 Thread Shubham Jain
Thanks Andy, I really appreciate your help. . Regards Shubham On Tuesday, 3 March 2015 01:46:28 UTC+5:30, Andy Fingerhut wrote: Shubham: Yes, Google has released its list of mentoring organizations for GSOC 2015, and Clojure has made it on the list again:

Get ready for Clojure/GSoC 2015!

2015-03-02 Thread Daniel Solano Gómez
Hello, all, I am happy to report that Clojure has been selected to participate in Google Summer of Code 2015, making this our fourth year to participate in the programme. Naturally, the next question you may have is how to get involved. Mentors If you are interested in being a mentor this

Re: [ANN] Understanding the Persistent Vector

2015-03-02 Thread Dave Della Costa
This is wonderful, I can't wait to dig in! On 2015/03/01 1:14, Jean Niklas L'orange wrote: Hello fellow Clojurians, I am happy to announce that I have finished my blogpost series on the persistent vector. It consists of five parts: 1. The basic algorithms

[ANN] lein-html5-docs-3.0.0

2015-03-02 Thread Tassilo Horn
Hi all, I've just pushed version 3.0.0 to Clojars. lein-html5-docs is a Leiningen plugin to generate API docs for Clojure projects. The docs are valid HTML5, and they have a simple JavaScript-based search facility. With version 3.0.0, lein-html5-docs now also supports generating docsets for

Re: [ANN] Ultra 0.3.0 released - Leiningen plugin for a superior development environment

2015-03-02 Thread W. David Jarvis
A little embarrassed to say that 0.3.0 shipped with a material bug; if you're going to upgrade there's an 0.3.1 release that doesn't have this problem. On Monday, March 2, 2015 at 11:16:59 AM UTC-8, W. David Jarvis wrote: Hi all - I'm happy to announce the release of Ultra 0.3.0. This

Re: [ANN] lein-html5-docs-3.0.0

2015-03-02 Thread Jeremy Heiler
Do you have a link to the project? :-) On Mon, Mar 2, 2015 at 3:26 PM, Tassilo Horn t...@gnu.org wrote: Hi all, I've just pushed version 3.0.0 to Clojars. lein-html5-docs is a Leiningen plugin to generate API docs for Clojure projects. The docs are valid HTML5, and they have a simple

Re: [ANN] Ultra 0.3.0 released - Leiningen plugin for a superior development environment

2015-03-02 Thread W. David Jarvis
By which I mean 0.3.2, unless you want to see my println debug statements. On Monday, March 2, 2015 at 12:41:07 PM UTC-8, W. David Jarvis wrote: A little embarrassed to say that 0.3.0 shipped with a material bug; if you're going to upgrade there's an 0.3.1 release that doesn't have this

Re: clj-uuid: time-based uuid now 350% faster than java.util.UUID/randomUUID

2015-03-02 Thread danle...@gmail.com
At first I was gonna go with *Dan's Miraculous UUID-o-Matic: computes a UUID before light can travel 200 feet in a vacuum* but I got tired of typing the namespace. Thanks for the kind words, though. Dan clj-uuid by danlentz http://danlentz.github.io/clj-uuid/ On Monday, March 2, 2015 at

Re: [ANN]: Octet 0.1.0: A Clojure(Script) library for working with binary data.

2015-03-02 Thread Andrey Antukh
Hi Mikera! Byte-streams is a conversion library (between different representation of byte streams) Octet is a library for work with them. Cheers. Andrey 2015-03-02 3:09 GMT+01:00 Mikera mike.r.anderson...@gmail.com: Thanks for sharing Andrey! Could you comment on how this compares with:

Would it be better to move future to the called function

2015-03-02 Thread Cecil Westerhof
I have a function info-table to display the output of a query. I have statements like the following: (defn show-all-quotes [] (future (info-table All Quotes '(:quote Quote :author Author) (all-quotes db-spec I was wondering if this

Re: Looking for an equivalent of reductions for reduce for -

2015-03-02 Thread Bill Allen
Thanks, this is perfect. Juxt is the key. I knew that it existed, but I just couldn't remember what it was called. I think your implementation fits the bill exactly. On Sunday, March 1, 2015 at 11:43:00 PM UTC-5, Thomas Hicks wrote: I'm not quite sure what you want to do here in the general

Re: clj-uuid: time-based uuid now 350% faster than java.util.UUID/randomUUID

2015-03-02 Thread Colin Yates
Note - at least in chrome on OS X the link is broken as it terminates at the hype (http://danlentz.github.io/clj-). Great work despite the chrome breaking project name ;). On Monday, 2 March 2015 00:35:16 UTC, danl...@gmail.com wrote: Ok, for anyone following my adventures optimizing

New Functional Programming Job Opportunities

2015-03-02 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Senior Software Engineer at McGraw-Hill Education http://functionaljobs.com/jobs/8787-senior-software-engineer-at-mcgraw-hill-education Cheers, Sean Murphy FunctionalJobs.com -- You received this message

[ANN] Ultra 0.3.0 released - Leiningen plugin for a superior development environment

2015-03-02 Thread W. David Jarvis
Hi all - I'm happy to announce the release of Ultra 0.3.0. This release contains several significant bugfixes and adds some significant initialization optimizations. Bugfixes: - Ultra now honors custom `print-methods` instead of overriding them with a set of defaults. - Tests comparing

Re: GSoC 2015

2015-03-02 Thread Andy Fingerhut
Shubham: Yes, Google has released its list of mentoring organizations for GSOC 2015, and Clojure has made it on the list again: http://www.google-melange.com/gsoc/org/list/public/google/gsoc2015 The list of proposed projects are here: http://dev.clojure.org/display/community/Project+Ideas The

GSoC 2015

2015-03-02 Thread Shubham Jain
Hi Everyone, Congrats for your selection as the mentoring organisation for GSOC 2015. I am Shubham Jain, and undergrad from BITS Pilani India. I want to work for the project Data Visualization for Clojure as my GSOC 2015 project. I am proficient in Java, C, Python, and am also familiar with