Disconnecting from a remote repl?

2014-12-29 Thread Nick Gonzalez
If I execute a time consuming function in clojure while remotely connected via the REPL, and I get disconnected - will the function continue to run? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: [ANN] gg4clj 0.1.0 - ggplot2 in Clojure and Gorilla REPL

2014-12-29 Thread Jony Hudson
Hi Mike, some numbers on my 2012 MacBook Air (i7): Making a new namespace that requires gg4clj, in a newly started Gorilla REPL session (i.e. a newly started JVM): (time (ns test (:require [gg4clj.core :as gg4clj]))) takes ~80ms. If I add [clojure.core.matrix :as matrix] to the :require

How to create a core.async channel that will drop messages if no consumer is currently reading from the channel?

2014-12-29 Thread Yehonathan Sharvit
Hello, I would like to create a channel that will drop messages if no consumer is currently reading from the channel. Something like a channel with a dropping-buffer of size 0. The problem is that the API doesn't allow to create a dropping-buffer of size 0. With the following code snippet,

Looking for Clojure developers in Copenhagen

2014-12-29 Thread Steen Larsen
Hi, I'm starting up a new team in Copenhagen, with the Ministry of Taxation, so if you are interested in Clojure and making scalable web applications for a very high profile project, have a look here http://www.skm.dk/ministeriet/ministeriet/job/it-udviklere-til-nyt-ejendomsvurderingssystem/

Re: How to create a core.async channel that will drop messages if no consumer is currently reading from the channel?

2014-12-29 Thread Laurent PETIT
Hello, I'm still a newbie with core.async myself, but I'll try to answer anyway, learning on the way ;-) My idea is that you could leverage alts! which can return a default value immediately if none of the operations is ready. I think ready means would not wait/park (there's either a value to be

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-29 Thread Matt Revelle
Yes, will do. On Dec 28, 2014, at 9:58 PM, Mike Anderson mike.r.anderson...@gmail.com wrote: Looks like you have some good changes in your Vectorz branch - any chance you could tidy up and make a PR? I like the idea of specialised getSlices and getColumns in particular - these should

Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-12-29 Thread Malcolm Sparks
Thanks for the nice words about Bidi (https://github.com/juxt/bidi). For the record, Bidi now supports ClojureScript too. btw. The reason for matching on the path (rather than allowing matches on the query-string) is intentional, since I think that encourages a more RESTful architecture.

Re: how do you name your protocols?

2014-12-29 Thread Malcolm Sparks
I agree with you and Meikel's points about wrapping protocols with API functions, it makes sense, especially if you want to combine these calls with (Prismatic) schema checks. However, I'm not sure about your point that Stuart made an 'unfortunate' design to 'expose' protocol methods directly,

Re: problem redefining protocols and records in emacs+nrepl

2014-12-29 Thread Malcolm Sparks
I once worked with a Clojure dev who had a note stuck to his monitor with the words 'Have you tried lein clean?'. :) On Thursday, 16 May 2013 11:56:58 UTC+1, Joachim De Beule wrote: Just a small follow up in case somebody else hits the same problems: they disappear after a lein clean...

Re: how do you name your protocols?

2014-12-29 Thread Jozef Wagner
I was just refering to the fact that the 'start' protocol method is meant to be called directly by library's users. I'm not using components in any of my projects, so take it with a grain of salt. It seems to me that it would be better (i.e. less coupled, fewer assumptions about the starting

Finding ClojureScript Libraries

2014-12-29 Thread David Nolen
There's been an explosion of ClojureScript libraries over the past year. It would be nice to begin tracking them on the wiki so that newcomers can more easily get their bearings: If you have a ClojureScript library please add it to the following growing list:

Re: Finding ClojureScript Libraries

2014-12-29 Thread Raju Bitter
I agree, that would be really helpful. And cool to see ClojureScript taking off like this! - Raju On Mon, Dec 29, 2014 at 4:49 PM, David Nolen dnolen.li...@gmail.com wrote: There's been an explosion of ClojureScript libraries over the past year. It would be nice to begin tracking them on the

core async and transducers in Clojure 1.6.0

2014-12-29 Thread Udayakumar Rayala
Hi, We are currently using clojure 1.6.0 and using async channels version 0.1.346.0-17112a-alpha. I see that the (chan) function accepts a transducers but transducers are not available in Clojure 1.6.0. Is there any option other than upgrading to Clojure 1.7.0-alpha4? If not, how safe it is

Using ClojureScript in Production?

2014-12-29 Thread David Nolen
If you or your team are using ClojureScript in production add an entry here: https://github.com/clojure/clojurescript/wiki/Companies-Using-ClojureScript Many thanks, David -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Finding ClojureScript Libraries

2014-12-29 Thread Ashton Kemerling
Seems like we need a Clojurescript toolbox like website. --Ashton Sent from my iPhone On Dec 29, 2014, at 11:14 AM, Raju Bitter rajubit...@gmail.com wrote: I agree, that would be really helpful. And cool to see ClojureScript taking off like this! - Raju On Mon, Dec 29, 2014 at 4:49

Re: core async and transducers in Clojure 1.6.0

2014-12-29 Thread Francis Avila
It will be inconvenient to use transducer functions without the transducer support added in 1.7.0, but there's nothing magical about transducers that requires Clojure 1.7. Core.async 0.1.346.0-17112a-alpha does not depend on clojure 1.7 (it only depends on Clojure 1.6) and you don't need

Is there a Clojure library for generating checksum patterns

2014-12-29 Thread larry google groups
I've some questions about generating checksum patterns with Clojure. 1.) The simple case. Suppose I arbitrarily decide that in my project the correct answer will be 2, and I want this to be generated by 4 numbers. Is there a Clojure library that would give me: 2 8 4 7 1 1 2 2 4 1 3 4

Pending breaking change for derivate ClojureScript REPLs

2014-12-29 Thread David Nolen
I've spent the past week modifying the ClojureScript REPLs that ship with ClojureScript to dramatically decrease boot time. The official REPLs can now boot as quickly as 1 second or less. The changes will no doubt have consequences for Austin, Weasel etc. I've tried to describe the nature of the

Re: how do you name your protocols?

2014-12-29 Thread Luc Prefontaine
I do this when there is added value, like sone common logic I can wrap on top of the protocol methods that I do not want to call/duplicate in every implementation. But this is quite specific to my own app. The lifecycle's only purpose is to be extended to your own components. Can't see what

Re: [ANN] gg4clj 0.1.0 - ggplot2 in Clojure and Gorilla REPL

2014-12-29 Thread Jony Hudson
@Mike Thinking out loud here ... one option would be to put the core.matrix dependent stuff in gg4clj in a separate ns, like gg4clj.datasets or similar. This would then avoid the loading time for users just wanting to use gg4clj.core. I'm not sure I think this as good a solution, ultimately,

Re: Using ClojureScript in Production?

2014-12-29 Thread Yehonathan Sharvit
I know that CircleCi (circleci.com) uses clojurescript. But it's not my company :) On Monday, 29 December 2014 19:03:57 UTC+2, David Nolen wrote: If you or your team are using ClojureScript in production add an entry here:

ANN Serialism 1.3.0 is released

2014-12-29 Thread Michael Klishin
Serialism [1] is a tiny Clojure library that serializes and deserializes values into popular formats based on provided content type. Release notes: http://blog.clojurewerkz.org/blog/2014/12/30/serialism-1-dot-3-0-is-released/ 1. https://github.com/clojurewerkz/serialism -- @michaelklishin,

Re: [ClojureScript] Using ClojureScript in Production?

2014-12-29 Thread Mimmo Cosenza
Done! Thanks mimmo On 29 Dec 2014, at 18:03, David Nolen dnolen.li...@gmail.com wrote: If you or your team are using ClojureScript in production add an entry here: https://github.com/clojure/clojurescript/wiki/Companies-Using-ClojureScript Many thanks, David -- Note that posts

Re: [ANN] gg4clj 0.1.0 - ggplot2 in Clojure and Gorilla REPL

2014-12-29 Thread Mikera
I'm trying to figure out how to get core.matrix to load much faster - I think it's actually some kind of Clojure issue with protocols but I'm not *exactly* sure what is causing On Tuesday, 30 December 2014 05:13:24 UTC+8, Jony Hudson wrote: @Mike Thinking out loud here ... one option would be