Re: purely functional math renderer

2014-03-15 Thread Mikera
Not quite what you are looking for, but the expresso project contains some good tools for representing and manipulating mathematical s-expressions: https://github.com/clojure-numerics/expresso If anyone is thinking of writing / building a renderer it would be good to co-ordinate on a standard w

Re: Adatx - Test driven development... literally.

2014-03-15 Thread Ludwik Grodzki
Hi William, All. The idea of quines and the existence of evalo is new to me (just reading Wikipedia about them now), exiting stuff. I've added extra examples to adatx's read-me. They are contrived in the sense I knew the solution upfront and kno

Re: (bytecode 'function-that-you-want-to-view-bytecode-of) ?

2014-03-15 Thread Jules
H Looks like it's time I figured out how to use Cider - it appears to have support for decompiling funcs at the repl... https://github.com/clojure-emacs/cider/pull/338 Just what I want :-) Jules > > -- You received this message because you are subscribed to the Google Groups "Cloj

(bytecode 'function-that-you-want-to-view-bytecode-of) ?

2014-03-15 Thread Jules
I think one of the issues that I am likely to have in trying to get Clojure to work with Sumatra (java-bytecode -> HSAIL -> GPU compilation) might be that the Clojure compiler generates bytecode patterns not generated by Javac ? In fact, if this is the case and these differences are documented

Re: fast parallel reduction into hash-set/map

2014-03-15 Thread Jules
Ghadi, Thanks for you posting - please see the reply I have just posted. I'll give foldcat a look - sounds interesting. With regards to my code for splicing maps/sets together efficiently, I spent some time looking at how that could be integrated with core.reducers and did some timings : (def

Re: fast parallel reduction into hash-set/map

2014-03-15 Thread Jules
Sorry that it has taken me so long to reply to this - I wanted to make sure that I had a look at rrb-vector and properly digest the points that you have made. 1. I've dumped the supervector idea :-) I ran some timings and as the number of levels of supervector increased, iteration times degrade

ANN: tools.trace 0.7.8

2014-03-15 Thread Softaddicts
Hi, fixed a number of small issues. Noticeable changes: a) Multiple calls to trace-vars on the same var would require a similar number of calls to untrace-vars to remove the trace. Now a single call to untrace-vars will remove the trace, there are no more cumulative effects done by

Re: [ANN] 1st public release of thi.ng geometry toolkit (CLJ & CLJS)

2014-03-15 Thread Mark Engelberg
On Sat, Mar 15, 2014 at 10:29 AM, Karsten Schmidt wrote: > On the more problematic side: One of the most hairy & obstructing things > though, has been Clojure's insistence of non-circular dependencies between > namespaces and I've yet to come up with a solution to truly make this work > as elegan

Re: XOR two arrays into a third on Clojure

2014-03-15 Thread Jules
I've only skimmed this thread quickly, so if I am repeating the obvious just ignore me :-) I haven't noticed anyone suggesting parallelising your problem. Take the best sequential solution that you have found, divide the size of the array by the number of cores that you have available, then ha

[ANN] thing-babel 0.2.0: lein template for org-mode babel projects

2014-03-15 Thread Karsten Schmidt
A new version of this configurable, literate programming template is available: https://github.com/thi-ng/babel The template is aimed at an x-platform CLJX project structure. v0.2.0 includes the following changes/additions: - generated .org files are now placed in dedicated src & test sub folde

Re: [ANN] 1st public release of thi.ng geometry toolkit (CLJ & CLJS)

2014-03-15 Thread Karsten Schmidt
Two other things: 1) The link to the snap of the ODI video I mentioned earlier should be: http://twitter.com/reasonsto/status/439416380761591809 2) @Kuba - In terms of working on a large codebase in Clojure: As a long term Eclipse user for my previous Java work, I still occasionally miss its ama

Re: [ANN] 1st public release of thi.ng geometry toolkit (CLJ & CLJS)

2014-03-15 Thread Karsten Schmidt
Thank you all for the kind words - I'm very chuffed and excited to develop this further! Sorry also for sluggish response - it's been a super busy week. Some combined responses below... @Malcolm - Since much of my work deals with creating visualizations of all sorts (not just data viz in the tradi

Re: Working on a patch to add Clojure for Spring dynamic language support

2014-03-15 Thread Adan Scotney
A bit of an update (if anybody is even following this!). I've pushed some more changes to my fork ( https://github.com/Orkie/spring-framework/tree/SPR-11530). I've added the attribute 'immutable-properties' which tells the dynamic language post processor to intercept/resolve the properties and p

Re: STM and persistent data structures performance on mutli-core archs

2014-03-15 Thread François Rey
Martin's point about immutable and persistent data structures is further developed in his interview on infoq , you can skim to point #9 if you're in a hurry. Overall what he says is that in terms of scalability of the develo

Re: STM and persistent data structures performance on mutli-core archs

2014-03-15 Thread François Rey
On 15/03/14 01:59, Andy C wrote: Maybe one day this idea http://en.wikipedia.org/wiki/Lisp_machine will come back, I mean in a new form .. That reminds me of this Urbit project , which is nowhere near usefulness at present, but deserves to be mentioned as a (radical) ex