Re: Using metadata to specify how calls to a macro should be indented

2015-09-16 Thread Bozhidar Batsov
I'm kind of puzzled by the last couple of responses. Obviously very few forms (probably only macros) would have indentation specifications and editors can certainly disregard them, so I don't see the code being littered with indentation specs any time soon or some indentation being forced on everyo

Re: Using metadata to specify how calls to a macro should be indented

2015-09-16 Thread Colin Fleming
Unfortunately as tools developers we can't force our indentation preferences on our users, although I'd be fine with it if you convinced everyone to just use two spaces for everything, even though it's not my preferred formatting. Cursive has supported this for ages (copied from Emacs) but I don't

Tools comparable to Luigi for Clojure or the JVM?

2015-09-16 Thread Christopher Small
Check out prismatic's plumbing. Its a reall y lovely tool that among other things let's you create directed graph structures representing computational pipelines, and then compile them into callable functions. It's has different compilers for profiling, lazy evaluation, parallelized computation

Re: Bug in DynamicClassLoader?

2015-09-16 Thread dennis zhuang
I don't think it's a bug. Indeed, the class loader will invoke loadClass, and the loadClass method will checking the parent class loader for the requested class, if it is not found,then invoke findClass of current class loader implementation to find the requested class as describe in loadClass java

Re: cider-error go to line

2015-09-16 Thread Ritchie Cai
It’s a beautiful day~~~!! > On Sep 16, 2015, at 5:42 PM, James Elliott wrote: > > W00t, look at what just was released! :D > > https://github.com/clojure/tools.nrepl/commit/64238a10a8465e0c590acb660ec5d54bf7cc3af4 > > On Friday, July 3, 2015 at 1:59:23 PM UTC-5, Ritchie Cai wrote: > Ah, ha, go

Re: cider-error go to line

2015-09-16 Thread James Elliott
W00t, look at what just was released! :D https://github.com/clojure/tools.nrepl/commit/64238a10a8465e0c590acb660ec5d54bf7cc3af4 On Friday, July 3, 2015 at 1:59:23 PM UTC-5, Ritchie Cai wrote: > > Ah, ha, good to know I'm not crazy. For sure I'm join the voices to push > the changes on nrepl side

Re: [ClojureScript] Erlang-inspired error handling for core.async

2015-09-16 Thread Christian Weilbach
Hey Moe, > >> >> into and pipe should probably be safe. > > > I was thinking of a case where a function is returning the equivalent of: > > (async/onto-chan ... [1 2 (Exception.)]) > > And the consumer wants to async/into [], obscuring the error from looks like you've defined < > I have som

Re: Uberjar aborting because jar failed: error in opening zip file

2015-09-16 Thread Lawrence Krubner
Nevermind. I downloaded a new copy and went through the whole process again and everything worked. On Wednesday, September 16, 2015 at 4:55:33 PM UTC-4, Lawrence Krubner wrote: > > My co-worker is building a library in Java. He sent it to me. I downloaded > and installed it with the help of t

Uberjar aborting because jar failed: error in opening zip file

2015-09-16 Thread Lawrence Krubner
My co-worker is building a library in Java. He sent it to me. I downloaded and installed it with the help of the Leiningen plugin "localrepo". But now if I do: lein uberjar I get: Uberjar aborting because jar failed: error in opening zip file I am not sure how I debug this. The error messag

Re: Tools comparable to Luigi for Clojure or the JVM?

2015-09-16 Thread Ben Mabey
Drake is similar to what you want and it is written in Clojure: https://github.com/Factual/drake -Ben On 9/16/15 12:12 PM, Max Countryman wrote: Hi, I’m working on a project at work for which we’re currently considering a Python tool built by Spotify called Luigi[1]. Luigi is a tool for buil

Re: Oxford (UK) Clojure Group

2015-09-16 Thread Jony Hudson
You might ping Frank Wood who runs a research group in the engineering department at Oxford. I know they use Clojure heavily for their Anglican probabilistic programming system. http://www.robots.ox.ac.uk/~fwood/ Jony On Tuesday, 15 September 2015 22:04:49 UTC+1, Kévin Etienne wrote: > > Hi,

Tools comparable to Luigi for Clojure or the JVM?

2015-09-16 Thread Max Countryman
Hi, I’m working on a project at work for which we’re currently considering a Python tool built by Spotify called Luigi[1]. Luigi is a tool for building data processing pipelines (hence the name). It’s capable of connecting to various processors such as Hadoop and is limited in scope to building

[ANN] clojure.java.jdbc 0.4.2 released

2015-09-16 Thread Sean Corfield
What? Clojure Contrib JDBC wrapper https://github.com/clojure/java.jdbc#change-log Release 0.4.2 on 2015-09-15 Remove redundant type hints JDBC-113 - Michael Blume. Avoid reflection on .prepareStatement JDBC-112 - Michael Blume. Add metadata-query macro to make metadata query / results easier to

Re: lazy-seq and threads

2015-09-16 Thread Andy L
Would like to confirm that adding "-XX:+UseSerialGC" cured all the symptoms. In fact Clojure version with loop/recur runs faster than Java now. I will update the GitHub repo with all findings later. Again, thanks for all points and hints. I feel enriched now. Best regards, AndyL On Wed, Sep 16,

Re: lazy-seq and threads

2015-09-16 Thread Andy L
Thanks for the confirmation. I run "jstat" on both cases and it indicates a lot of GC in Survivor0 bucket, specifically for "LazySeq+Gzip+2Threads" . New area of learning for me though. That would explain spikes and JVM pauses. Best regards, Andy On Wed, Sep 16, 2015 at 9:41 AM, Gerrit Jansen van

Re: lazy-seq and threads

2015-09-16 Thread Gerrit Jansen van Vuuren
I agree with you that the LazySeq+Gzip+2Threads combination causing a spike is weird. -- 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

Clojure Buenos Aires - MeetUp - September, 30th

2015-09-16 Thread juan.facorro
Hi dear clojurists/clojurers/clojurians, Since we are having our fourth get together end of September, I wanted to announce the existence of the Buenos Aires Clojure MeetUp and invite anyone who might be interested in having a good time and ta

Re: lazy-seq and threads

2015-09-16 Thread Andy L
Gerrit, Yes, I do compare apples to oranges, but my orange looks like a nice Macintosh apple when run in a single thread :-). What I do not expect is that lack of symmetry in a multiple thread situation and weird JVM CPU spikes. WRT to encoding - thanks for the hint - I removed ASCII one from Jav

Re: Clojure on an Erlang-vm-os on Xen?

2015-09-16 Thread juan.facorro
Hi Frank, I'm wondering why no one ever posted a question/comment/reponse to this thread. Personally I think Clojure is a great language and the Erlang VM is a feat of engineering. I would love to think what other think about this thoughts and about the possibility of having Clojure on the Erla

Bug in DynamicClassLoader?

2015-09-16 Thread András Pálinkás
Can anyone explain to me why do we call super.findClass here: https://github.com/clojure/clojure/blob/41af6b24dd5be8bd62dc2b463bc53b55e18cd1e5/src/jvm/clojure/lang/DynamicClassLoader.java#L69 I believe, on this line, instead of super.findClass, it should call getParent().findClass, otherwise we'l

Re: Clojure/Pedestal vs Go

2015-09-16 Thread Brian Hurt
I have no flipping clue what "system-level programming" means these days, and I'm hoping someone could spell it out. I used to think (back when I was doing that sort of stuff) that it mean operating systems level stuff- device drivers, embedded, real time, stuff like that. But no language with a

Vital Labs Jobs

2015-09-16 Thread Ian Eslick
Vital Labs is a San Francisco based digital health, venture backed startup applying cutting edge sensor and data analytics solutions to chronic disease. We are passionate users of Clojure and Clojurescript and currently everyone in our company is a contributing developer. Our distributed, re

Re: Clojure/Pedestal vs Go

2015-09-16 Thread Colin Yates
12. Community (although I have no idea what Go's community is like to be fair) And an upgrade to the "full stack" comment is full stack including over the wire translation with edn and transmit. Sent from my iPhone > On 16 Sep 2015, at 10:02, Josh Kamau wrote: > > 11. Leiningen and painless

Re: Using metadata to specify how calls to a macro should be indented

2015-09-16 Thread Chas Emerick
Hi all; here to satisfy the quarterly quota to maintain my status as "that guy". This is a questionable proposal. It: * introduces completely orthogonal, transient concerns (presentation) into code, ideally a canonical, long-lived source-of-truth * sets up a bikeshed at the top of every def*

Re: Using metadata to specify how calls to a macro should be indented

2015-09-16 Thread Artur Malabarba
2015-09-15 20:08 GMT+01:00 Josh Tilles : > I suspect that “Matching Socks” meant that there should be a standard > namespace, similar to how the recent Socket Server REPL design > > uses > a “repl” namespa

Re: Using metadata to specify how calls to a macro should be indented

2015-09-16 Thread Artur Malabarba
Hi Colin, it's great to get your thoughts on this. 2015-09-15 22:52 GMT+01:00 Colin Fleming : > I think it's important that the declaration of the formatting be separated > from the declaration of the macro itself. This allows forms which the > editor developer doesn't control to be annotated, e.

Re: lazy-seq and threads

2015-09-16 Thread Gerrit Jansen van Vuuren
one more thing although its unrelated to the performance differences seen: The Character encoding specified in the Java code is US-ASCII while the clojure reader uses UTF-8. Byte to Character encoding can make huge differences in text processing apps see http://java-performance.info/charset-encodi

Re: Clojure/Pedestal vs Go

2015-09-16 Thread Josh Kamau
11. Leiningen and painless dependency management. Josh On Wed, Sep 16, 2015 at 7:08 AM, Michael Gardner wrote: > On Sep 15, 2015, at 20:45, Mikera wrote: > > > > 7. The open source library ecosystem on the JVM is awesome. There's > nothing like it for any other language. > > I like your other

Re: lazy-seq and threads

2015-09-16 Thread Gerrit Jansen van Vuuren
Hi, I do not think it has anything to do with thread sync or jit+gzip as a matter of fact. Why threads aren't the issue: I've downloaded the code on my machine and the clojure code always run slower no matter if I read one or two files, use gzip or not. You run the test case using (future) an