Re: DSL in RTL (Right to Left) languages.

2015-01-13 Thread Jan-Paul Bultmann
I would wrap everything in a tree walking macro that first reverses all lists and then starts evaluating other macros. I'd love to see an Arabic clojure file btw :D But non English source always makes me shudder a bit, one of the great things about programming is that everybody speaks English ;)

DSL in RTL (Right to Left) languages.

2015-01-13 Thread clojure . user
Hi I need to write a dsl in Arabic which is a RTL. I am not sure how to get started with such a dsl in clojure. Any pointers with be really appreciated. Thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
IntelliJ is swing! Well, knock me other with a feather :). Still wouldn't want to go anywhere near building a Swing app though :). On 14 Jan 2015 01:36, "Colin Fleming" wrote: > On 14 January 2015 at 05:50, Colin Yates wrote: > >> My evolution of Java UI was swing>JSP>struts>JSF>velocity then on

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Fleming
On 14 January 2015 at 05:50, Colin Yates wrote: > My evolution of Java UI was swing>JSP>struts>JSF>velocity then onto > JavaScript/ExtJS. My instinct now when I hear the words "Java" and > "UI" is to run a mile :). > This is where I point out that you're currently using a Swing app every day :-)

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mikera
I'd be pretty interested in this too. Though not quite enough to write it myself (I've made "good enough" interfaces with Swing interop). The thought occurs that there may be quite a bit of common code that could be shared with respect to diffing / cursors etc. that would work equally well for

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread TP
On Tue, Jan 13, 2015 at 10:16 AM, Mike Haney wrote: > Anyway, given what I know today If I had to write a desktop GUI, my first > instinct would be Clojurescript+node-webkit Since I'm still investigating Clojure, my first instinct when writing a desktop GUI --- similar to what Timothy Baldridge

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread Mikera
It works for the development branch of Incanter 2.0 - which is a pretty significant project with a lot of matrix code. You can switch between Clatrix (native BLAS via JBlas), persistent vectors (regular Clojure vectors) and vectorz-clj (pure JVM code) transparently. I think it would be the sam

Re: Help with Incanter and Emacs

2015-01-13 Thread Sam Raker
For something that's been "deprecated" for a while now, `use` sure still shows up in A LOT of docs/tutorials/books/etc. On Monday, January 12, 2015 at 7:48:44 PM UTC-5, Robert Berger wrote: > > Wish this was in the Incanter docs and in the Readme > > On Tuesday, August 13, 2013 at 12:09:20 PM UTC

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread adrian . medina
Ditto to the others. This looks great, and I have a lot of core.matrix compatible code I'd love to test it out against! Thanks for releasing this! On Tuesday, January 13, 2015 at 5:07:51 PM UTC-5, Sam Raker wrote: > > I'd like to politely add to the calls for this to become a pluggable > core.m

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread Sam Raker
I'd like to politely add to the calls for this to become a pluggable core.matrix backend. On Tuesday, January 13, 2015 at 4:38:22 PM UTC-5, Dragan Djuric wrote: > > It would be nice if that would be that easy. However, I am sceptical... > > On Tuesday, January 13, 2015 at 8:13:36 PM UTC+1, Christ

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread Dragan Djuric
It would be nice if that would be that easy. However, I am sceptical... On Tuesday, January 13, 2015 at 8:13:36 PM UTC+1, Christopher Small wrote: > > Awesome project! > > I'll echo the encouragement towards having Neanderthal implement the > core.matrix protocols. You'll have much higher adoptio

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread blake
Yeah, Adobe Flex can do that, too, with all the same caveats. On Tue, Jan 13, 2015 at 12:09 PM, Timothy Baldridge wrote: > Before coming to Clojure I did 2 years of work on WPF/Silverlight apps, > and let me say what those platforms offer blows the web stuff out of the > water. Yes it's not cros

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Timothy Baldridge
Before coming to Clojure I did 2 years of work on WPF/Silverlight apps, and let me say what those platforms offer blows the web stuff out of the water. Yes it's not cross-platform, but the ability to describe a layout with data is unparalleled in the web world. I could sit down, and have a UI to a

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Gary Trakhman
On Tue Jan 13 2015 at 2:05:03 PM Christopher Small wrote: > > On the other hand, while the web app route may feel a bit overwhelming, it > really is worth learning. Once you program web, you can deliver to any > platform. It's ubiquitous. And once you get the hang of it, the paradigm > isn't reall

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread Christopher Small
Awesome project! I'll echo the encouragement towards having Neanderthal implement the core.matrix protocols. You'll have much higher adoption if folks know they can just plug your tool in by changing a single line setting the underlying implementation to Neanderthal. And as Mikera points out, i

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Christopher Small
Something else to consider... If you really want to avoid doing a web app with all the complexity of server code, client code, html, css, database, etc, then you might want to look into [quil](https://github.com/quil/quil). It's a clojure wrapper of the processing library for doing data visuali

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Jason Lewis
If you're looking for functional reactive programming in Clojure (rather than going web-based), there's a great library for Clojure bindings to RxJava: https://github.com/ReactiveX/RxClojure Jason Lewis vox 410.428.0253 twitter @canweriotnow blog http://decomplecting.org else http:/

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
My evolution is similar to Colin's, with more SWT than Swing. And I understand where you're coming from - did Java for 15 years and C++ before that. I didn't even really learn about functional programming until about 3 years ago, and after an aborted dive into learning Scala I switched to Clo

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Fluid Dynamics
On Tuesday, January 13, 2015 at 10:15:26 AM UTC-5, Colin Yates wrote: > > Wow, there is a lot to deal with :), so let me throw out some ideas: > - have you considered building a web-app instead of a desktop app? If so, > have a look at one of the react based languages (om or reagent would be my

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
I know it seems overwhelming, and if you try to keep up with all the latest "cool" libraries, -- 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 moderate

Clojure and JVM Performance talk 3 Feb at Skills Matter London

2015-01-13 Thread Bruce Durling
Roll up! Roll up! The first talk at Skills Matter for the London Clojurians will be on 3 Feb. Tom Crayford will be talking JVM performance tuning and clojure for your edification, entertainment and enjoyment! More details and registration here: https://skillsmatter.com/meetups/6953-opening-the-

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Gary Trakhman
You made the analogy to games/graphics, React model treats the DOM akin to a graphics buffer, and they themselves present it as similar to the doom3 architecture. In practice, it feels a lot like a scene graph, with the update/render methods on every component. I don't know how easy it is to fit

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
One lesson I would share is that things are usually much quicker than we expect. Always prove it is too slow before believing your intuition. On 13 January 2015 at 16:28, MS <5lvqbw...@sneakemail.com> wrote: > If I come up with anything that might usefully tie Clojure data structures > to JavaFX U

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
My evolution of Java UI was swing>JSP>struts>JSF>velocity then onto JavaScript/ExtJS. My instinct now when I hear the words "Java" and "UI" is to run a mile :). I haven't looked at JavaFX (I think I had bailed before that appeared). On 13 January 2015 at 16:05, Timothy Baldridge wrote: > I've l

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread MS
If I come up with anything that might usefully tie Clojure data structures to JavaFX UI elements in a clean way, I may release it on github. For now it's just one or two .clj files with all my random monkey-coding, using lots of half-examples from various sources, which is pretty much how I le

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread zirkonit
What about node-webkit + Clojurescript? I think it would be ideal environment for desktop GUI? On Tuesday, January 13, 2015 at 7:05:40 PM UTC+3, tbc++ wrote: > > I've long thought that the Clojure world needs a JavaFX/React hybrid. > JavaFX2's API is extremely consistent, making it quite easy to

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread MS
Hi, thanks for the response. Yes I've thought about a web-based platform. There are tools like LightTable and UpVerter which are inspiring, and I understand the V8 javascript engine renders stuff pretty quickly. Unfortunately that would require getting up to speed on yet another way of think

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Timothy Baldridge
I've long thought that the Clojure world needs a JavaFX/React hybrid. JavaFX2's API is extremely consistent, making it quite easy to program against, but yes it still requires bindings and in-place mutation. However a React-like diff-ing engine on it would be quite impressive. But now you're into

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
Wow, there is a lot to deal with :), so let me throw out some ideas: - have you considered building a web-app instead of a desktop app? If so, have a look at one of the react based languages (om or reagent would be my choice). Alternatively take a look at other http://en.wikipedia.org/wiki/Func