Re: Is it possible to print log statements on clojure repl as well?

2015-12-16 Thread Mayank Jain
Thanks Shantanu for your reply, It still didn't work. Here's my project.clj (defproject log "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME; :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"}

[ANN] Clojure 1.8.0-RC4 is now available

2015-12-16 Thread Alex Miller
Clojure 1.8.0-RC4 is now available. *This build is a "release candidate"!* We would appreciate any and all testing you can do on your own libraries or internal projects to find problems. Of particular note, CLJ-1861 removes the interning of unused vars. This change reduces compiled class size

Clojars maintenance this weekend

2015-12-16 Thread Toby Crawley
This weekend I'll be taking clojars.org down to migrate to a larger instance to gain more disk space. The process should take about 45 minutes, but I'm blocking out a two hour window just in case. During the migration period, the repo will be completely unavailable. The migration will start at

[ANN] Boot 2.5

2015-12-16 Thread Alan Dipert
Hi all, Boot, your friendly neighborhood functional build tool, has just hit version 2.5. I invite you to try it out! * For a little context around this release: http://adzerk.com/blog/2015/12/boot-2.5-released/ * For general info and getting started: http://boot-clj.com/ * For a concise list

Re: Is it possible to print log statements on clojure repl as well?

2015-12-16 Thread Mayank Jain
I tried both the solutions, neither worked. Solution #1 - Use only clojure.tools.logging My Dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/tools.logging "0.3.1"]] Repl Output > (require '[clojure.tools.logging :as ctl]) nil > (ctl/error "hi") nil > (ctl/info "hi") nil Console Output

Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-16 Thread Alex Miller
On Wed, Dec 16, 2015 at 7:34 PM, Mikera wrote: > > What's the plan with Tuples more broadly? > Don't know. -- 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

Re: [ANN] Clojure 1.8.0-RC4 is now available

2015-12-16 Thread Mikera
Thanks Alex, working well for me and startup times certainly seem a bit snappier. I also agree that APersistentVector should not implement IMapEntry. always seemed like a bad idea to so glad to see it rolled back. What's the plan with Tuples more broadly? I worked on this many months ago

Re: Clojars maintenance this weekend

2015-12-16 Thread Devin Walters
Thanks for the heads up, and for the work you're doing. It is much appreciated. On Wed, Dec 16, 2015 at 4:31 PM Toby Crawley wrote: > This weekend I'll be taking clojars.org down to migrate to a larger > instance to gain more disk space. The process should take about 45 >

[ANN] Boot 2.5

2015-12-16 Thread Ryan Neufeld
Great upgrades! Keep up the good work. -- 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 first post. To

Re: Is it possible to print log statements on clojure repl as well?

2015-12-16 Thread Shantanu Kumar
Below is the order in which c.t.l picks up loggers: 1. SLF4j (which also includes Logback, since it natively implements the SLF4j API) 2. Apache Commons-logging 3. Log4j 4. java.util.logging Reference:

core.async channel /w transducer which thread?

2015-12-16 Thread Leon Grapenthin
Is it safe to say that a transducer in a channel always executes on the producer thread? Kind regards, Leon. -- 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

Re: core.async channel /w transducer which thread?

2015-12-16 Thread Timothy Baldridge
When the transducer code was originally added to core.async I asked Rich this very question. He declined to specify where the transducer is run. The reasoning is simple: since the transducer is executed inside the channel lock, your transducers should always be fast enough that you don't care

Re: core.async channel /w transducer which thread?

2015-12-16 Thread Leon Grapenthin
Thanks for your reply. I just studied the pipeline code and am now wondering how it can affect on which thread the transducer runs if the answer to the question is unspecified. The blocking put is made on a separate thread (channel named res), then later a blocking take from that same channel

Is it possible to print log statements on clojure repl as well?

2015-12-16 Thread Mayank Jain
Hi, I would like to be able to print log statements via clojure.tools.logging to print on clojure repl as well. I am using log4j logging framework for configurations. Is this possible? I am unable to figure it out. I am open to any other logging framework if that solves this. Thanks. -- You

Re: Is it possible to print log statements on clojure repl as well?

2015-12-16 Thread Shantanu Kumar
If you enabled Log4j console logger, the logs should appear in the REPL too. See example at http://www.mkyong.com/logging/log4j-log4j-properties-examples/ You do not necessarily need log4j to log to the REPL via clojure.tools.logging - you can just use c.t.l. without any logging library and

Re: [ANN] modern-cljs second edition

2015-12-16 Thread Mimmo Cosenza
Thanks Bryan! mimmo > On 16 Dec 2015, at 03:54, Bryan Maass wrote: > > Kudos on your second edition. I used the first edition back when it came out > to dip my toes into the cljs universe. I've since led development on a > medium-large cljs spa. > > I gave a skim to