ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Glen Mailer
> Also there's a doc macro now in the cljs.repl namespace that works as > expected. This is great to hear! Excited to see test.check being on the horizon as well. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Leiningen, dependency resolution and system properties

2014-12-17 Thread Stephen
Hi all I’m fairly new to Clojure & Leiningen and have an issue with dependency resolution. I’m trying to use lein to run a simple Clojure program that has dependencies on some java libraries in my local maven repository. Most of these dependencies resolve fine, but in the pom file of one of

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-12-17 Thread Aaron Craelius
I've just posted gists about the items-view and observable collections proposed for freactive. In case anyone is interested in discussing please comment on the gists themselves. observable collections: https://gist.github.com/aaronc/0654151190b9145dd473 items-view: https://gist.github.com/aaron

Core Banking And The Mechanics Of Money Creation

2014-12-17 Thread Matt Dean
Tim, I enjoyed reading your post. Having recently launched an online banking user interface for a credit union using the same principles you mentioned (and React), I agree that this represents the path forward for financial institutions, and a surprising number of credit union execs seem to feel

Re: #db/id[:db.part/db] throws an exception

2014-12-17 Thread Ryan Neufeld
There are still some errors in there. My bad. Someone came in with a pull request and I'll test it works. Generally all the code should have worked originally--I tested every recipe--but I may have missed one or two. -Ryan > On Dec 17, 2014, at 1:02 AM, edw...@kenworthy.info wrote: > > I've

Re: java.lang.OutOfMemoryError: PermGen space

2014-12-17 Thread Steven Yi
Out of curiosity, are you colleagues perhaps using Java 8 JDK's? I saw your message mentions JDK 7 and PermGen was removed in Java 8[1]. [1] - http://www.infoq.com/articles/Java-PERMGEN-Removed On Wednesday, December 17, 2014 12:41:29 PM UTC-5, Moritz Ulrich wrote: > > > Hello, > > I'm getting

Re: ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread James MacAulay
Looks great, thanks so much! I was happy to see the "TODO: support async" comment in test.clj, as I am currently using Chas Emerick's clojurescript.test for very async-heavy stuff. I ended up writing a macro which I think improves the ergonomics of portable async testing quite a bit: https://g

Re: ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Nikita Beloglazov
Does cljs.test support asynchronous tests? What are benefits of cljs.test over clojurescript.test (https://github.com/cemerick/clojurescript.test)? Clojurescript.test also a port of clojure.test but has additional API for writing asynchronous tests. On Wednesday, December 17, 2014 2:39:22 PM

Re: ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Shaun LeBron
really exciting stuff, thanks a lot On Wednesday, December 17, 2014 3:54:09 PM UTC-6, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version: 0.0-2496 > > Leiningen

Re: [ClojureScript] ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Dom Kiva-Meyer
Thank you! This is awesome news. On Wed, Dec 17, 2014 at 1:54 PM, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version: 0.0-2496 > > Leiningen dependency informati

Re: [ClojureScript] ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread Mimmo Cosenza
thanks so much David! mimmo > On 17 Dec 2014, at 22:54, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version: 0.0-2496 > > Leiningen dependency information: >

ANN: ClojureScript 0.0-2496, cljs.test - a clojure.test port

2014-12-17 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2496 Leiningen dependency information: [org.clojure/clojurescript "0.0-2496"] The big change in this release is a port of the clo

Core Banking And The Mechanics Of Money Creation

2014-12-17 Thread Timothy Washington
For any dev in banking, I just wrote Core Banking And The Mechanics Of Money Creation . I wanted to distill my thinking around money, its systems, and the banking function. The post doesn't contain any computer code. But I di

Re: Has the old "invalid constant tag: -57" bug been fixed?

2014-12-17 Thread Mike Fikes
I did some digging and for those interested, this appears to be the way piggieback and tools.nrepl work for ClojureScript. Details are in the Cursive ticket: https://github.com/cursiveclojure/cursive/issues/680 -- You received this message because you are subscribed to the Google Groups "Cloju

Re: Codox output missing namespace documentation

2014-12-17 Thread Nick Gonzalez
Clearing the target directory did the trick. Although I updated the project to only use AOT-compiled classes when building the uberjar, the leiningen alias I created to "build-all" was building the uberjar before generating docs. So by the time the docs were being generated, the target direc

Re: problem redefining protocols and records in emacs+nrepl

2014-12-17 Thread Walter Elder
Thanks for following up, Joachim. I spent about 6 hours on this before reading your resolution. On Thursday, May 16, 2013 5:56:58 AM UTC-5, Joachim De Beule wrote: > > Just a small follow up in case somebody else hits the same problems: they > disappear after a "lein clean"... > > Op vrijdag 1

Re: Server Sent Events under Http-Kit

2014-12-17 Thread Zach Tellman
In Aleph, you simply return the channel as the body of the response [1], and messages are consumed only as they're able to be sent over the network. This means that backpressure "just works" without any need to poll whether downstream buffers are full. Obviously you can poll using the put-with-ti

[ANN] Gorilla REPL 0.3.4

2014-12-17 Thread Jony Hudson
Hi all, I'm happy to let you know about a new release of Gorilla REPL. No real big features in this release, but a number of small changes. From the changelog (not the changeling as my computer keeps correcting it to): ## Version 0.3.4 - Keeping up with the Batsovs. Support CIDER version 0.8.

Re: Server Sent Events under Http-Kit

2014-12-17 Thread Malcolm Sparks
http-kit's send! doesn't block normally - >From http://www.http-kit.org/server.html :- send!: Sends data to client and returns true if the data was successfully written to the output queue, or false if the channel is closed. Normally, checking the returned value is not needed. This function retur

Re: [ANN] Boot 2.0.0-rc1 released

2014-12-17 Thread whodidthis
Not to mention how compact even interactive cljs development is in comparison. I made a small example on using om with the figwheel like cljs-reload. https://github.com/om-cookbook/om-cookbook/tree/master/recipes/boot-setup On Wednesday, December 17, 2014 7:31:52 PM UTC+2, Ivan L wrote: > > cl

Re: Server Sent Events under Http-Kit

2014-12-17 Thread Zach Tellman
Does `send!` block if it needs to exert backpressure? If so, the `go-loop` seems dangerous. If not, how does backpressure work? On Wed, Dec 17, 2014 at 8:07 AM, Malcolm Sparks wrote: > > Here is a solution for SSE over http-kit channels > > (defn server-event-source [ch] ;; Adding a mult here i

Re: java.lang.OutOfMemoryError: PermGen space

2014-12-17 Thread Micha Niskin
You might try experimenting with JVM options to increase PermGen: https://github.com/boot-clj/boot/wiki/JVM-Options#permgen-errors On Wednesday, December 17, 2014 12:41:29 PM UTC-5, Moritz Ulrich wrote: > > > Hello, > > I'm getting the following error while working on a Clojure(Script) REPL > o

java.lang.OutOfMemoryError: PermGen space

2014-12-17 Thread Moritz Ulrich
Hello, I'm getting the following error while working on a Clojure(Script) REPL on a middle-sized project after some time. None of my colleagues seem to be able to reproduce it. I'm not able to reproduce it on other projects either. Caused by: java.lang.OutOfMemoryError: PermGen space, compiling

Re: [ANN] Boot 2.0.0-rc1 released

2014-12-17 Thread Ivan L
cljx support turns my head. I took like a week off and on to read up on all the cljx/cljs/lein documentation and to create the cljx-start template. When I was working on it, I kept asking myself, why is all this stuff necessary. "That which is generated by a computer should not have to be".

[ANN] Boot 2.0.0-rc1 released

2014-12-17 Thread Micha Niskin
Boot (https://github.com/boot-clj/boot) is a new build tool for Clojure. * The boot API has been stabilized and incorporates feedback from the community about naming and usage. * We introduce immutable fileset objects which are threaded through the task pipeline and provide an abstraction over f

Re: Server Sent Events under Http-Kit

2014-12-17 Thread Malcolm Sparks
Here is a solution for SSE over http-kit channels (defn server-event-source [ch] ;; Adding a mult here is dangerous because it bleeds the underlying ;; channel dry. We should provide the mult via modular.async (let [m (async/mult ch)] (fn [req] (let [ch (async/chan 16)] (async/tap m ch) (with-c

Re: Codox output missing namespace documentation

2014-12-17 Thread James Reeves
Have you tried clearing your target directory? If there are some AOT-compiled class files in there, they lack the metadata that Codox needs to generate the docs. - James On 16 December 2014 at 17:02, Nick Gonzalez wrote: > I'm using codox to generate api documentation for a fairly large Cojure

Re: Codox output missing namespace documentation

2014-12-17 Thread Alex Miller
If it is AOT, then you're probably seeing this issue: http://dev.clojure.org/jira/browse/CLJ-130 On Tuesday, December 16, 2014 11:02:22 AM UTC-6, Nick Gonzalez wrote: > I'm using codox to generate api documentation for a fairly large Cojure > project, and it is ignoring namespace doc strings for

Re: Has the old "invalid constant tag: -57" bug been fixed?

2014-12-17 Thread Colin Fleming
I replied on Mike's issue, I'll paste that response in here. Cursive doesn't use the absolute latest nREPL but it uses one from a year or so after the CCW thread and Mike confirmed that this doesn't happen for large Clojure files, so I suspect some of the downstream CLJS tooling. There's nothing i