Re: Simulations in Clojure/Clojurescript

2018-01-28 Thread Michael Nardell
On Saturday, January 27, 2018 at 6:11:59 PM UTC-8, John Newman wrote: > > You might want to look into Chris Granger's work on component entity > systems in clojurescript: > http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/ > Right! Thanks for reminding me about that. I think I

Re: Simulations in Clojure/Clojurescript

2018-01-27 Thread John Newman
You might want to look into Chris Granger's work on component entity systems in clojurescript: http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/ Light Table went on to have a similar component-entity layout internally. On Jan 10, 2018 6:12 PM, "Michael Nardell"

Re: Simulations in Clojure/Clojurescript

2018-01-27 Thread Christopher Small
I'll second looking at Vega and Vega-lite. Grammar of graphics is wonderful. With regards to simulation on Cljs, keep in mind that JS is limited in numerical precision relative to the JVM, and this can be important in some simulation contexts. Just make sure you are aware of the probabilistic

Re: Simulations in Clojure/Clojurescript

2018-01-27 Thread Tiago Antão
Hi, Have a look at Vega and Vega lite for visualization... Amazing chart library On Jan 27, 2018 11:48 AM, "Michael Nardell" wrote: > Tiago ::Thanks, for your input. Worth more considerably more than $00.02 > for me right now. Since the last week or so, I have been diving

Re: Simulations in Clojure/Clojurescript

2018-01-27 Thread Michael Nardell
Tiago ::Thanks, for your input. Worth more considerably more than $00.02 for me right now. Since the last week or so, I have been diving into ClojureScript. In particular I am loving exploring D3.js, with an interactive, live coding experience. I am not sure if I should admit this in public..

Re: Simulations in Clojure/Clojurescript

2018-01-15 Thread Tiago Antão
My $0.02, I was a very early Clojure adopter, but I stopped using it when Oracle bought Sun (I left the JVM completely at that time). I am currently using ClojureScript a lot - for the last 6 months or so, thus not the most experienced programmer. Most of my usage is doing scientific simulations

Re: Simulations in Clojure/Clojurescript

2018-01-12 Thread Christopher Small
Joy of Clojure is a wonderful book. Sounds like you have the right idea. Enoy! On Fri, Jan 12, 2018 at 9:55 AM, Michael Nardell wrote: > Bobby :: Thanks for the recommended reading, I am finding it useful for > pointing me in a new direction in my thinking. Also, finding

Re: Simulations in Clojure/Clojurescript

2018-01-12 Thread Michael Nardell
Bobby :: Thanks for the recommended reading, I am finding it useful for pointing me in a new direction in my thinking. Also, finding Chapter 9 in *The Joy of Clojure, *where it discusses Records and Protocols, helpful guidance. In particular, it seems like I could start by using 'plain-old'

Re: Simulations in Clojure/Clojurescript

2018-01-12 Thread Bobby Eickhoff
I don't have any examples to provide, but I would highly recommend reading through Rich's essay on Identity and State: https://clojure.org/about/state Bobby On Thursday, January 11, 2018 at 12:43:00 AM UTC-5, Michael Nardell wrote: > > On Wednesday, January 10, 2018 at 4:56:24 PM UTC-8,

Re: Simulations in Clojure/Clojurescript

2018-01-10 Thread Michael Nardell
On Wednesday, January 10, 2018 at 4:56:24 PM UTC-8, Christopher Small wrote: You may be right about an object-oriented approach being the most natural > here. But, I'd encourage you to keep an open mind. Clojure has this > particular way of encouraging you to and rewarding you for describing

Re: Simulations in Clojure/Clojurescript

2018-01-10 Thread Christopher Small
A Wize One once said > Closures are the poor man's objects It's easy to build "object-like" things in clojure. Just create a map pointing to whatever you like, including stateful things, like atoms. Then write functions which take that map and do stuff with it. Clojure's Records and

Simulations in Clojure/Clojurescript

2018-01-10 Thread Michael Nardell
Greetings :: I am new to Clojure and have not really gotten my feet wet with Clojurescript yet. The advice I always give someone when leaning programming or a new language is to pick a project that they are interested in and dive in. For me, that project would be creating educational