Re: Attempting to call unbound fn: #'user/

2014-08-13 Thread Joe Smith
Nothing’s wrong with the code, but the `do` inside the catch form is unnecessary. Also, this won’t always convert to a float. Consider using Float/parseFloat, e.g., (Float/parseFloat “3.0”) > On Aug 13, 2014, at 3:31 PM, sindhu hosamane wrote: > > (defn convert-to-float [a] > (try >

Re: How to tackle this concurrency problem?

2014-06-20 Thread Joe Smith
Maybe you want an Agent. On Jun 20, 2014, at 12:10 PM, Hussein B. wrote: > Hi, > > I have a ref that saves the ID of last processed event. > > Of course, I'm using Clojure STM facility. The problem now is I can't control > the value of the ref. Due massive concurrency, it is updated and my lo

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Joe Smith
Very cool, good luck to you! --- Joseph Smith j...@uwcreations.com @solussd On Nov 12, 2013, at 5:52 PM, Ryan Spangler wrote: > Hello Clojure, > > Excited to announce today the release of Caribou! http://let-caribou.in/ > > We have been building web sites and web applications with it fo

Re: [ClojureScript] ANN: ClojureScript 0.0-2030, core.async compatibility

2013-11-08 Thread Joe Smith
Thanks- addresses my duplicate bug! --- Joseph Smith j...@uwcreations.com @solussd On Nov 8, 2013, at 5:11 PM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release

Re: How to go about 'proving' why dynamically typed languages are better.

2013-10-08 Thread Joe Smith
The string concatenation operator in java calls 'toString' on it's args. --- Joseph Smith j...@uwcreations.com @solussd On Oct 8, 2013, at 2:29 PM, Cedric Greevey wrote: > On Tue, Oct 8, 2013 at 8:49 AM, Nando Breiter wrote: > > If you try and add 10 to "Hello" in a typed language, you g

Re: [ClojureScript] ANN: ClojureScript 0.0-1885 (Source maps!)

2013-09-16 Thread Joe Smith
I see that clojure.core/format is gone. Is there a replacement/alternative? --- Joseph Smith j...@uwcreations.com @solussd On Sep 16, 2013, at 7:31 AM, David Nolen wrote: > Nicola Mometto also deserves quite a bit of credit, the fact that > tools.reader emits line and column information o

Re: [ANN] Cognitect

2013-09-16 Thread Joe Smith
Exciting! --- Joseph Smith j...@uwcreations.com @solussd On Sep 16, 2013, at 8:50 AM, Rich Hickey wrote: > I just wanted to let everyone know that Metadata Partners (the company behind > Datomic) and I have merged with Relevance, Inc., to form Cognitect, Inc. This > merger is great for C