[ANN] org.clojure/core.cache & org.clojure/core.memoize 0.7.1 released!

2018-03-02 Thread Didier
Awesome, thanks for taking the lead and maintaining some of these awesome libs. -- 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

Re: Why does the `def-` not exist?

2018-03-02 Thread Daniel
I'm not advocating for it's removal though. That would be silly. -- 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

Re: Why does the `def-` not exist?

2018-03-02 Thread Daniel
"University me" is yelling incredulously in my ear for saying this, but ... I have no use for private vars and private functions anymore. When that voice persuades me to evaluate a namespace for visibility I always feel like I'm over-engineering. -- You received this message because you are

Any better client then telnet for connecting to a socket repl server?

2018-03-02 Thread Didier
I want to connect to a Clojure socket repl server, but telnet is a really terrible repl experience. Anyway I can have a better client to connect to it that would have some better support for history, backspace, maybe even some auto-complete, highlight, etc. Whatever I can get over telnet?

[ANN] org.clojure/core.cache & org.clojure/core.memoize 0.7.1 released!

2018-03-02 Thread Sean Corfield
As the new maintainer of these two Contrib libraries, I am happy to announce their joint 0.7.1 releases! https://github.com/clojure/core.cache -- a caching protocol and several implementation strategies https://github.com/clojure/core.memoize -- a function memoization protocol and several

[ANN] com.walmartlabs/lacinia 0.25.0, com.walmartlabs/lacinia-pedestal 0.7.0

2018-03-02 Thread Howard Lewis Ship
Lacinia is an open-source implementation of Facebook's GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation:

Re: Using an initialization file with leiningen

2018-03-02 Thread Doug Telford
correction: :repl:init should have been :repl-options On Friday, March 2, 2018 at 11:01:01 AM UTC-7, Doug Telford wrote: > > When initiating clojure with clj, you can specify an initialization file. > However, if I run lein repl, it is not clear how to specify an > initialization file. I

Re: Loop causing OutOfMemoryError: GC overhead limit exceeded ?

2018-03-02 Thread Gary Johnson
As Daniel pointed out, this could probably be done more idiomatically (and functionally) using sequence functions. Here is a quick shot at a rewrite without any atoms or mutable state in the same number of lines of code (18) as your original example. If some of the intermediate lazy sequences

Using an initialization file with leiningen

2018-03-02 Thread Doug Telford
When initiating clojure with clj, you can specify an initialization file. However, if I run lein repl, it is not clear how to specify an initialization file. I looked at the documunt for :repl-init but didn't see anything applicable. -- You received this message because you are subscribed

Re: Loop causing OutOfMemoryError: GC overhead limit exceeded ?

2018-03-02 Thread Rob Nikander
On Friday, March 2, 2018 at 12:48:28 AM UTC-5, Daniel wrote: > > How do you know this code is causing the error? Unless this is all your > code does, descriptions of the error suggest the memory leak might be > coming from anywhere. This tight loop might trigger too many successive GCs >

Re: Why does the `def-` not exist?

2018-03-02 Thread Léo Noel
My opinionated 2 cents : I think the whole visibility feature was a mistake, it doesn't provide any value and it should be taken away from the compiler (I guess it would not break anything to ignore :private metadata and make every var public). Every single time I asked myself whether I needed