Re: [ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-27 Thread James Sofra
/clj-melb/>? > I'll film it and add a link to the repo if you want :) > > Cheers, > > On 26 September 2016 at 23:43, Alan Thompson > wrote: > >> Looks cool. >> Alan >> >> On Sun, Sep 25, 2016 at 1:00 AM, James Sofra > > wrote: >> >

Re: [ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-25 Thread James Sofra
Hey Alistair, I have been working on an engineering project and found myself charting a lot of load distributions and such. Being able to chart intermediate values really easily has been great. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: [ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-25 Thread James Sofra
Yeah sorry about that, the one on github is most up to date. It includes the new namespaces but you can always pick and choose to get the one you want. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

[ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-24 Thread James Sofra
ta-scope.graphs) (boot.core/load-data-readers!) Contributions and suggestions are welcome! Cheers, James Sofra (@sofra) -- 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

Re: "core.matrix" proposal

2013-01-06 Thread James Sofra
+1 on Konrad's comment about N-dimensional arrays for me. I think the issue of using immutable arrays (which can be important for performance) in Clojure is interesting to think about. I have had some ideas about how to use arrays with restricted or limited mutability but haven't solidified anyt

Re: Can Clojure be as readable as Python or Ruby ?

2012-03-07 Thread James Sofra
Hi, I have recently started working in python, I don't find python very readable at all compared to clojure. It is more about familiarity than anything else. On Thursday, March 8, 2012 4:39:08 AM UTC+11, Leon Talbot wrote: > > If so, how ? > > Thanks ! -- You received this message because you

Re: Trouble using the fetch Clojurescript library.

2012-02-22 Thread James Sofra
Sorry for the noise, this is working now. Really not sure what the problem was. Either I am misunderstanding something or the compilation process is a bit flaky. Cheers, James -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Trouble using the fetch Clojurescript library.

2012-02-22 Thread James Sofra
hi, I am putting together a small Clojurescript project and trying out Chris Granger's library, fetch. I can call functions defined in the fetch.util namespace no problem but when ever I try and use things defined in the fetch.remotes namespace it fails. The compilation is successful but the

Re: Calling all Melbourne, Australia, Clojure users

2012-02-09 Thread James Sofra
Hi all, Good to see some interest! I have now started a meetup page http://www.meetup.com/clj-melb/ Will organise more once we have some members. We have a place we should be able to meet in the CBD. Cheers, James Sofra -- You received this message because you are subscribed to the Google

Re: Calling all Melbourne, Australia, Clojure users

2012-02-09 Thread James Sofra
Leonardo, Thanks for the support, if I am ever in Sydney I'll come and visit. Cheers, James -- 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 moderated

Calling all Melbourne, Australia, Clojure users

2012-02-07 Thread James Sofra
email me directly, to let me know if you are in Melbourne and interesting in catching up to chat about and hack Clojure. BTW, anyone had any experience with meetup.com, is it worth paying the dues to use? Cheers, James Sofra -- You received this message because you are subscribed to the G

Re: ANN: Optimized Pattern Matching Library for Clojure

2011-08-10 Thread James Sofra
Hi David, Looks really neat! Just to clarify, you can extend the matching to new types but the match is 'closed' in the sense that unlike mutimethods you can't add additional cases? Is that correct? Hope that makes sense, James Sofra -- You received this message because you

Re: Results from 2011 State of Clojure survey

2011-07-13 Thread James Sofra
I think for me at least leveraging the polymorphism that the seq abstraction provides gets you such a long way compared to collection libs in other languages that you don't have to reach for the other features as quickly. I think Rich even stated that as one of the reasons for delaying their introd

Re: Clojure on JS VMs

2011-03-07 Thread James Sofra
This seems a little more up-to-date than clojurescript. https://github.com/zkim/cljs It is not complete (the author calls it clojure(ish)) but still seems pretty nice. -James S -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Using zip-filter to remove nodes

2010-02-24 Thread James Sofra
Hi all, I am trying to use (abuse? *) zip-filter to remove some nodes and return the xml tree to me. If I do something like this: (xml1-> zipped-xml zf/descendants :model zip/remove zip/root) I can remove one :model node, but what if I want to remove more than one or all of the :model nodes?

Re: Clojure + Music Notation

2009-12-21 Thread James Sofra
HI, You could look at the Zippers library http://clojure.org/other_libraries which is useful for editing nested structures in a functional way... or perhaps you might use one of the Clojure reference types to hold the notes? Cheers, James On Dec 22, 8:09 am, PM wrote: > I'm a new Clojure user.

Re: dynamic :use

2009-09-07 Thread James Sofra
I know that this has come up before on the group and but is this not essentially dependency injection where the dependency being injected is a name space that presumably follows a particular convention in terms of what functions it provides? I remember people making it pretty clear that they didn

Re: Lazy binding

2009-09-03 Thread James Sofra
used it at a micro level in Java to do just the kind of lazy binding you are talking about, passed a template as a String argument to a method and let the method then provide the attributes to be bound to the template worked great. Cheers, James Sofra On Sep 3, 11:23 pm, Stuart Sierra wrote: &g

Re: Eval troubles

2009-09-03 Thread James Sofra
Hi, I am not familiar with the Python code.interact() thing and what it does so I may be missing something but if you are looking to do debugging is there a reason you can't use a Java debugger to debug your Clojure code? (I have heard some people have had success for JSwat.) I guess that is not

Re: clojure success story ... hopefully :-)

2009-08-22 Thread James Sofra
This seems like a pretty nice pattern matching implementation for Clojure. http://www.brool.com/index.php/pattern-matching-in-clojure Cheers, James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: Can Clojure be as fast as Java?

2009-08-11 Thread James Sofra
Hi fft1976, > If you use Java's arrays and declare all types, should Clojure be as > fast as the equivalent Java? So is the question you are trying to ask that since we have unwrapped access to Java is Java code written in Clojure as fast as if it were written as actual Java code? I guess tha

Re: What happened to clojure.contrib web site ?

2009-08-03 Thread James Sofra
I think he may mean this http://code.google.com/p/clojure-contrib/wiki/OverviewOfContrib Is it still being updated? It says "Updated Jun 15, 2009 by tomfaulhaber" Cheers, James On Aug 4, 10:24 am, Mike Hinchey wrote: > Do you mean this?http://clojure.org/libraries --~--~-~--~~---

Re: Trampolined backtracking maze solver

2009-08-03 Thread James Sofra
Thanks John! Those suggestions are really helpful, the short- circuiting 'and' is good to remember. > Might simplify this a bit using assoc-in. Yeah this works, nice, thanks. (defn update-tile [[x y] maze value] (if (tile-in-bounds? [x y] maze) (assoc-in maze [y x] value) maze)) Chee

Trampolined backtracking maze solver

2009-08-02 Thread James Sofra
Hi all, I am new to functional programming and thought this might be interesting to others to see my approach to this kind a recursion problem. I found this problem hard to think through, does anyone have any suggestions for simpler solution to this type of problem? I needed a recursive backtrac

Re: Simple data structure access macro

2009-07-21 Thread James Sofra
You can also use destructuring for this: (def nested-ds ["foo", {:hi "there" :hello ["buddy"]}, "hi"]) (let [[foo {there :hi [buddy] :hello} hi] nested-ds] (print foo there buddy hi)) James On Jul 21, 6:31 am, Moses wrote: >   I come primarily from a perl programming background, but am tryi

Re: Simple data structure access macro

2009-07-21 Thread James Sofra
The get-in that ataggart suggested is probably what you want but destructuring can also be used here. (def nested-ds ["foo", {:hi "there" :hello ["buddy"]}, "hi"]) (let [[foo {there :hi [buddy] :hello} hi] nested-ds] (print foo there buddy hi)) On Jul 21, 6:31 am, Moses wrote: >   I come pri