Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Alex Miller
I think the condition here means that the loop compilation can't tell that the s local is definitely out of scope and can be cleared, so you end up holding the head. While there is some analysis here, we're not doing inference level stuff on the "if false" to knock out branches etc and

[ANN] nREPL 0.6

2019-02-06 Thread Bozhidar Batsov
Good news, everyone! We’ve just released nREPL 0.6 and it’s going to rock your REPL world! :-) It’s a really important release that brings a simplified and more robust code evaluation model, support for streaming output (that’s extremely big!), a new way to hook into evaluation errors and many

trying a functional solution for a recurrent problem

2019-02-06 Thread Pierpaolo Tofani
Hi I am trying a functional solution for a recurrent problem. I must balance 2 vectors : I must pass from A1 to A2 with following priority: assign aval qty first for records with the same :cat , then to needs in early :day. Thanking in advance for any kind of help. PS :day in format AAAMMDD

Clojure, JVM and/or ASM bug?

2019-02-06 Thread Lars Rune Nøstdal
Hi, so I've been staring at this for hours : (defn foo [] (let [s (range)] (if false nil (future (loop [s s] (recur (rest s))) ...if I run this I run out of heap space quite fast on any of these: - Clojure: "1.11.0-master-SNAPSHOT", 1.9.0, 1.8.0 or

[Q] How to load Clojure as part of Wildfly module?

2019-02-06 Thread henrik42
Hi, I'm working on a "proxying JDBC driver" in Clojure [1]. Everything is working fine. But I had one problem with the way Clojure (i.e. clojure.lang.RT) manages its classloader. When Wildfly loads my UBERJAR which contains Clojure and loads/instanciates my gen-class `buttle.jdbc.Driver` then

Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Alex Miller
Without spending more time poking around, it's hard for me to say exactly what the problem is, and whether it's a bug, enhancement, or won't fix. Having written a lot of Clojure code in the 8 or 9 years, I've run into head holding problems a couple times maybe. In general, it's usually not an

Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Lars Rune Nøstdal
On Wednesday, February 6, 2019 at 5:15:53 PM UTC+2, Alex Miller wrote: > > I think the condition here means that the loop compilation can't tell that > the s local is definitely out of scope and can be cleared, so you end up > holding the head. > > While there is some analysis here, we're not

Re: [ANN] nREPL 0.6

2019-02-06 Thread Rostislav Svoboda
> I’ve done 0 work on this release Out of Earth's population 7,682,276,358 there's not more than 10K aof people being capable of doing the "0 work" on this release. So: One big and great: Thank You All Guys! Bost PS: On the other hand: NOBODY, not even the comrade Stalin is so great, not fit in

crossclj.info unavailable ???

2019-02-06 Thread Alan Thompson
Trying to hit http://crossclj.info (Ubuntu 16.04 + Chrome) yields: This site can’t provide a secure connection *crossclj.info * sent an invalid response. ERR_SSL_PROTOCOL_ERROR -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: crossclj.info unavailable ???

2019-02-06 Thread Andy Fingerhut
The creator of the site announced on on 2018-Dec-22 that he would be shutting it down: https://www.reddit.com/r/Clojure/comments/a99jwn/crossclj_is_shutting_down/ The issue is not lack of funds, but lack of his time/interest to continue updating it, and not wanting it to gradually become more