Re: how to speedup lein uberjar?

2015-10-27 Thread Kul
Hi, I think the main reason of it is due to the fact that aot compilation is transitive and compiles all dependent namespaces. You will have to wait for this issue http://dev.clojure.org/jira/browse/CLJ-322 to get some closure :) On Monday, October 26, 2015 at 2:35:19 PM UTC+5:30, Sunil

Re: Processing futures and promises asynchronously

2015-10-27 Thread Alejandro Gómez
Hi Daniel, Allow me to recommend a couple of libraries: - promissum (https://github.com/funcool/promissum) is a composable promise/future library for Clojure (built on top of jdk8 completable futures) - promesa (https://github.com/funcool/promesa) is a wrapper around the Bluebird JS promise

Re: Need help setting up Emacs for Clojure on Windows 8

2015-10-27 Thread Bozhidar Batsov
I guess it won't hurt if we added a few more pointers for Windows users. Lars, you're using Windows occasionally, right? I guess you can write a few paragraphs in the README about the common problems people might run into on Windows. On 27 October 2015 at 02:02, Tina Ramsey

Re: ArithmeticException while using unchecked-multiply

2015-10-27 Thread Alex Miller
On Tuesday, October 27, 2015 at 7:06:43 AM UTC-5, Fluid Dynamics wrote: > > On Monday, October 26, 2015 at 2:17:40 AM UTC-4, Andy Fingerhut wrote: >> >> I created this ticket: http://dev.clojure.org/jira/browse/CLJ-1832 >> >> I don't know what will become of it, e.g. perhaps a change in behavior

Re: ArithmeticException while using unchecked-multiply

2015-10-27 Thread Fluid Dynamics
On Monday, October 26, 2015 at 2:17:40 AM UTC-4, Andy Fingerhut wrote: > > I created this ticket: http://dev.clojure.org/jira/browse/CLJ-1832 > > I don't know what will become of it, e.g. perhaps a change in behavior to > the unchecked functions, perhaps a clarification to the documentation, >

Re: [ANN] Clojure 1.8.0-beta1

2015-10-27 Thread Alex Miller
The fix for this was applied to master today and will be in the next build. On Tuesday, October 13, 2015 at 12:39:43 PM UTC-5, Alex Miller wrote: > > The reflection warning is from the pprint ticket - code changed from when > the patch was created and applied. We will get that in the next beta.

Re: [ANN] Clojure 1.8.0-beta1

2015-10-27 Thread Alex Miller
CLJ-1809 was applied today and will be in the next build. On Tuesday, October 13, 2015 at 12:29:17 PM UTC-5, Alex Miller wrote: > > CLJ-1809 will be addressed before 1.8 final. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: [ANN] Clojure 1.8.0-beta1

2015-10-27 Thread Alex Miller
The map-entry? predicate was just committed to master and will be in the next build. On Friday, October 16, 2015 at 1:29:21 PM UTC-5, Mike Rodriguez wrote: > > Yes a `map-entry?` predicate was sort of the direction I was leaning in > that would help avoid issues like this around these changes.

Re: Processing futures and promises asynchronously

2015-10-27 Thread Daniel Hinojosa
Amazing feedback everyone. Thank you. -- 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

[ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Alex Miller
Clojure 1.8.0-beta2 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-beta2 - Leiningen: [org.clojure/clojure "1.8.0-beta2"] Below is a list of the other changes included in beta2. See the full change log here:

core.async multi-channel?

2015-10-27 Thread JvJ
Is it possible to create a core.async channel that has one input and simultaneously delivers the same message to multiple endpoints? -- 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

Re: core.async multi-channel?

2015-10-27 Thread Alex Miller
You could use mult or pub (bit different capabilities depending on your needs). http://clojure.github.io/core.async/#clojure.core.async/mult http://clojure.github.io/core.async/#clojure.core.async/pub On Tuesday, October 27, 2015 at 3:56:32 PM UTC-5, JvJ wrote: > > Is it possible to create a

aatree release 0.4.2--Disk Space Management

2015-10-27 Thread William la Forge
The aatree project provides fully compatible alternatives to Clojure sorted-map, sorted-set and vector, with several extensions: - AAVector supports add/drop at any point using addn and dropn. - AAMap and AASet implement Reversible, Counted, Indexed and Sorted - CountedSequence implements

[ANN] pulley.cps 0.2.1

2015-10-27 Thread Nathan Davis
Hi everyone, I'm pleased to annouce the release of pulley.cps version 0.2.1. This is a bugfix release that fixes a couple bugs related to dynamic vars and def forms. Nathan Davis -- You received this message because you are subscribed to

Re: [ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Ambrose Bonnaire-Sergeant
I've been monkey-patching `clojure.core/load` to add an extension point for alternative compilers. Since I learnt about the direct linking changes, I also had to monkey-patch `use` and `require`, since they refer to `load`. This works. Any interest in disabling direct linking for

Re: how to speedup lein uberjar?

2015-10-27 Thread Matching Socks
If you do not want much to be compiled ahead-of-time and represented in the jar as class files, you may use the :impl-ns option on :gen-class. e.g., 1) project.clj says :aot [bla.bla-aot] 2) bla.bla_aot.clj says (ns bla.bla-aot (:gen-class :impl-ns bla.bla)) Ahead-of-time compilation does

Asterion: Dependency Graphs from Github Repositories

2015-10-27 Thread Sebastian Bensusan
Hi everybody! I'm working on showing dependency graphs from github urls. If you have a Clojure project with a project.clj file in it or a ClojureScript project with :cljsbuild in it, it *should* work. You can the demo at: http://asterion-dev.elasticbeanstalk.com/index.html some cool projects

Re: [ANN] Clojure 1.8.0-beta1

2015-10-27 Thread Mike Rodriguez
Nice. Thanks for pushing that through a Jira and into 1.8 so quickly! On Tuesday, October 27, 2015 at 1:32:46 PM UTC-5, Alex Miller wrote: > > The map-entry? predicate was just committed to master and will be in the > next build. > > On Friday, October 16, 2015 at 1:29:21 PM UTC-5, Mike

import and require for consuming the fruits of defrecord

2015-10-27 Thread Matching Socks
A recent announcement of Clojure 1.8.0-beta2 mentioned an interesting enhancement, CLJ-1823 Document new :load-ns option to defrecord/deftype which I think means that "import" will make a record type fully usable without an auxiliary "require". This would be an improvement (for Clojure),

Re: how to speedup lein uberjar?

2015-10-27 Thread dennis zhuang
Recommend to use libdir plugin: https://github.com/djpowell/lein-libdir Run lein libdir to copy all the dependencies to lib directory, and just run lein jar to package the project. Then you can rsync or copy the project jar with all dependent jars instead of compiling all dependent namespaces

Re: [ANN] Clojure 1.8.0-beta2

2015-10-27 Thread Nathan Davis
Or better yet, is there any interest in providing an interface to hook into the namespace loading process, so that monkey-patches are not necessary? Nathan Davis On Tuesday, October 27, 2015 at 6:47:21 PM UTC-5, Ambrose Bonnaire-Sergeant wrote: > > I've been monkey-patching `clojure.core/load`