Re: book for a beginner with some exercises

2014-10-21 Thread Bozhidar Batsov
http://programmingpraxis.com/ is another source of great programming exercises (with solutions available in many languages). —  Cheers, Bozhidar On October 18, 2014 at 23:57:00, Eric Normand (ericwnorm...@gmail.com) wrote: Hi there, If you're looking for books, I don't know of any. But my

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-10-21 Thread Yehonathan Sharvit
Do you plan to have a cljs version of America It would ne nice if you could support s3 api. On Monday, 25 March 2013 23:51:42 UTC+2, Michael Cohen wrote: Curious to hear opinions on this: https://github.com/mcohen01/amazonica -- You received this message because you are subscribed to

Re: Modelling in Clojure

2014-10-21 Thread Jirka Daněk
I asked the question Lightweight data modeling vs traditional classes https://programmers.stackexchange.com/questions/260309/lightweight-data-modeling-vs-traditional-classes on Programmers.StackExchange three days ago. I am happy I found this discussion, because the evil moderators at SE hate

Re: Modelling in Clojure

2014-10-21 Thread Phillip Lord
James Reeves ja...@booleanknot.com writes: Which is nice and simple, yes. And has negative consequences in terms of extensibility. I understand if you are happy with this compromise. But it is a compromise. I don't disagree, but I do consider the compromise to be a minor one. UAP has huge

Re: Modelling in Clojure

2014-10-21 Thread Tom Oram
I think I've not got a much better idea of data as the API concept. What I'm still wandering is where do you do the validation of the data. For example, say a customer has a name, email and favourite colour. This could be represented as a map like so: {:name Tom, :email t...@whatever.com,

Re: Modelling in Clojure

2014-10-21 Thread James Reeves
On 21 October 2014 12:52, Phillip Lord phillip.l...@newcastle.ac.uk wrote: Okay. I can give you a very concrete example, and one where I think that it probably has been actually useful to you. Imagine you write the following piece of code: (first l) This returns a value. If we obeyed the

Re: Modelling in Clojure

2014-10-21 Thread James Reeves
I think there's should be a strong distinction between data that comes from an external source, and data that comes from an internal source. External data should be verified as soon as it comes in. There should be a thorough check at the top level that ensures everything is correct before

Re: Modelling in Clojure

2014-10-21 Thread Tom Oram
Thanks for such a great reply James, it was exactly the answer I was hoping for. Also, the point about functions only checking the part of the map that are interested in is something which makes perfect sense but I'd not even considered. Having come from the idea that the data should be

Re: Modelling in Clojure

2014-10-21 Thread Mike Haney
I can't remember if someone posted this already, and the thread is too long and I am too lazy to go back and check, so I apologize if it's already been mentioned. Anyway, I found this talk very helpful when I started learning Clojure, getting used to data-oriented thinking:

Re: Getting rid of boxing and reflection when working with characters

2014-10-21 Thread Gary Verhaegen
On Saturday, 4 October 2014, Fluid Dynamics a2093...@trbvm.com wrote: I still think I have optimization opportunities in this code, but still have not received the requested information about profiling in counterclockwise. Search for VisualVM. It is specific to neither Counterclockwise nor

midje test : Can I only run 1 test

2014-10-21 Thread Roelof Wobben
Hello, I try again to learn clojure by the ponies github pages. But sometimes there is a lot of output of midje. Can I run only 1 test ? Roelof -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Modelling in Clojure

2014-10-21 Thread Phillip Lord
James Reeves ja...@booleanknot.com writes: On 21 October 2014 12:52, Phillip Lord phillip.l...@newcastle.ac.uk wrote: Okay. I can give you a very concrete example, and one where I think that it probably has been actually useful to you. Imagine you write the following piece of code:

Re: Modelling in Clojure

2014-10-21 Thread James Reeves
On 21 October 2014 17:15, Phillip Lord phillip.l...@newcastle.ac.uk wrote: James Reeves ja...@booleanknot.com writes: So you're saying laziness and UAP are the same thing in your view? I am saying that UAP enables you to implement laziness freely. Sure, laziness feels like a subset of

Re: [ANN] Arcadia, the integration of Clojure and Unity3D

2014-10-21 Thread blake
Very cool! On Fri, Oct 17, 2014 at 1:41 PM, David Nolen dnolen.li...@gmail.com wrote: Rockin! On Fri, Oct 17, 2014 at 3:09 PM, Tims Gardner timsgard...@gmail.com wrote: Ramsey Nasser and I are excited to announce the alpha release of Arcadia, the integration of Clojure 1.7 into the

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-10-21 Thread Michael Cohen
probably not. amazonica delegates to the official java sdk. On Tue, Oct 21, 2014 at 4:12 AM, Yehonathan Sharvit vie...@gmail.com wrote: Do you plan to have a cljs version of America It would ne nice if you could support s3 api. On Monday, 25 March 2013 23:51:42 UTC+2, Michael Cohen wrote:

Re: [ANN] fast-zip 0.5.0 now with ClojureScript support

2014-10-21 Thread Robin Heggelund Hansen
Any reason this isn't a patch to clojure proper? kl. 05:09:04 UTC+2 lørdag 4. oktober 2014 skrev Alexander Hudek følgende: Thanks to the wonderful work of Joel Holdbrooks, fast-zip now has ClojureScript support. See the benchmarks below. The ClojureScript benchmark only uses simple

Re: Modelling in Clojure

2014-10-21 Thread Tom Oram
@Mike Hanley - Really great video, thanks for the link! On Tuesday, 21 October 2014 15:26:35 UTC+1, Mike Haney wrote: I can't remember if someone posted this already, and the thread is too long and I am too lazy to go back and check, so I apologize if it's already been mentioned. Anyway,

Re: Modelling in Clojure

2014-10-21 Thread Jason Wolfe
Hi Tom, Maybe this post from would be of use? https://github.com/Prismatic/eng-practices/blob/master/clojure/20130926-data-representation.md It's my best attempt (albeit a year or so old) to answer many of these questions. Happy to answer questions if you've got them. Cheers, Jason On