Re: Puzzle solving in Clojure

2016-04-10 Thread Ashish Negi
Though i am not totally sure why it is working.. How removing repeated calls solved the problem of memory ? Other difference is not using `for` loop.. Do post your findings.. if you get it. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Puzzle solving in Clojure

2016-04-10 Thread Ashish Negi
Your permutations is being called again for similar inputs.. Try using this and see that similar inputs like (2 3) are coming again for (permutations [1 2 3 4]) (defn permutations [s] (prn s) ;; This will print input (lazy-seq (if (seq (rest s)) (apply concat (for [x s]

Re: Clojure IoT?

2016-04-10 Thread Mikera
There are two companies I'm involved with that use Clojure for IoT: Kemuri - http://www.kemurisense.com/ Silverline - http://silverline.mobi/ Both are in the space of assisted living for the elderly, Clojure is used mainly for the sensor data ingestion and analysis. On Monday, 11 April 2016

Re: [ANN] clojure.java.jdbc 0.5.6 -- important deprecations!

2016-04-10 Thread Sean Corfield
On 4/10/16, 11:59 AM, "Colin Yates" wrote: >That's great Sean - I look forward to 'lein ancient'ing tomorrow :-). You’ll want to use 0.5.7 (just landed on Maven Central right now) to pick up a bug fix for a problem I discovered in

Re: [ANN] clojure.java.jdbc 0.5.6 -- important deprecations!

2016-04-10 Thread Colin Yates
That's great Sean - I look forward to 'lein ancient'ing tomorrow :-). On 10 April 2016 at 18:42, Sean Corfield wrote: > What? > org.clojure/java.jdbc “0.5.6” > Clojure contrib wrapper for JDBC database operations > > Where? >

Re: .length vs. count for string length

2016-04-10 Thread Sean Corfield
On 4/10/16, 2:53 AM, "mattias w" wrote: > With clojure 1.8, we got many of these functions, but not str/length and > str/substring. Because we already have `count` and `subs` in clojure.core Sean Corfield -- (904) 302-SEAN An

[ANN] clojure.java.jdbc 0.5.6 -- important deprecations!

2016-04-10 Thread Sean Corfield
What? org.clojure/java.jdbc “0.5.6” Clojure contrib wrapper for JDBC database operations Where? https://github.com/clojure/java.jdbc#change-log TL;DR: Variadic calls to most functions have been deprecated in favor of fixed argument calls in order to make the

Re: Clojure IoT?

2016-04-10 Thread Robert Levy
An IOT company called Sensity based in the south bay was heavily recruiting for their Clojure and Erlang stack last year. On Apr 10, 2016 2:12 AM, "Mimmo Cosenza" wrote: > Hi Gregg, > my team is working for a customer which is making a very intersting IoT > device (named

[JOB] Use clj/s to make user-friendly software @ Montoux in Wellington, New Zealand

2016-04-10 Thread Brave Clojure Jobs
Montoux makes complex financial modelling software user friendly, and is looking for a Senior Software Engineer to join the platform team where you will be using Clojure and ClojureScript to develop: * A rich browser-based application with a declarative UI generator * A Clojure-based DSL and

Re: .length vs. count for string length

2016-04-10 Thread mattias w
With clojure 1.8, we got many of these functions, but not str/length and str/substring. What am I missing? /mattias Den fredag 1 november 2013 kl. 19:40:42 UTC+1 skrev Sean Corfield: > > This thread made me run a quick audit of our code and we had about a > dozen calls to .length, a dozen

Re: Clojure IoT?

2016-04-10 Thread Mimmo Cosenza
Hi Gregg, my team is working for a customer which is making a very intersting IoT device (named Linfa). We use cljs on a nodejs running on a microcontroller, clojure to implement microservices on the back-end and cljs/react.js/react.native to implement the app to control the iot device from any