Re: { :new { :cjone-app "TodoMVC" }}

2012-07-26 Thread Pierre-Henry Perret
Added missing *:dblclick *event. Will this go on the *todomvc *sample MVC model applications ? Le samedi 21 juillet 2012 14:26:47 UTC+2, Pierre-Henry Perret a écrit : > > The best way to learn is to practice ! > > So I have choosed to make the *TodoMVC* template (see [0]) application > with *Cl

Re: seesaw's beautiful docstrings

2012-07-26 Thread Tassilo Horn
Laurent PETIT writes: Hi! > Third option : use an editor/IDE which allows you to "fold" docs (one > by one / fold all / unfold all), and / or to navigate in your source > code via "code outlines" BTW, I just noticed that you can use Emacs' hs-minor-mode to fold top-level forms. For example, wh

Re: Reader errors with Datomic free

2012-07-26 Thread Pierre-Henry Perret
I've that result (with same config): ___ user> #db/id[:db.part/db] #db/id[:db.part/db -125] ___ The # char is a special char for the reader. Be careful to have redefined it in your namespace ?.. Le jeudi 26 juillet 2012 00:02:50 UTC+2, tbc++ a écrit :

Re: RFC: Functional programming conference?

2012-07-26 Thread Al Thompson
Hi Alex: Do you feel this might overlap with SplashCon?: http://splashcon.org/2012/ Regards, Al On Tue, Jul 24, 2012 at 10:43 AM, Alex Miller wrote: > I'm considering spinning up a US-based multi-language conference for > working or aspiring functional programmers. If you might have interest

Re: is their a Clojure framework for handling form validation?

2012-07-26 Thread Trent Ogren
https://github.com/weavejester/valip The approach of that project is interesting. Not only does it decouple validation from any notion of web form (it just works on maps like many of the others in this thread), it decouple the error messages from the predicates that produce an error message. I

Re: Clojurians in the midlands (UK)

2012-07-26 Thread Diptanu Choudhury
Dimitrios, I know we talked about it after your Clojure talk in the Geek Night. We should start a meetup in Manchester. On Fri, Jul 20, 2012 at 5:33 PM, Dimitrios Jim Piliouras < jimpil1...@gmail.com> wrote: > There are a few in Manchester (including me) Do you have anything > particular in

reactive programming for UIs and other use cases

2012-07-26 Thread eric
For those that don't read the "Clojure Dev" Google group, there is a good discussion on reactive programminggoing on right now. The motivator is UIs in ClojureScript but the same concerns should apply to other UIs or entirel

cljs is not defined

2012-07-26 Thread trashhalo
If I compile... > > (def x 5) > ... with advanced optimization it comes out as > cljs.a.x = 5; > Which throws 'cljs is not defined' in firefox and chrome. I am sure I am doing something wrong but I can't figure it out based on the documentation. Any help would be greatly appreciated. -- You r

Repeatedly applying functions until a condition is met

2012-07-26 Thread Adrian Mowat
Hi Folks I have a program that parses a string into rows and fields by repeatedly applying a sequence of functions repeatedly until the end of the string is reached. Each function (or chunker, as I have called them) knows how to find the next field in the stream and returns the field and the r

Re: Repeatedly applying functions until a condition is met

2012-07-26 Thread Denis Labaye
On Thu, Jul 26, 2012 at 9:58 AM, Adrian Mowat wrote: > Hi Folks > > I have a program that parses a string into rows and fields by repeatedly > applying a sequence of functions repeatedly until the end of the string is > reached. Each function (or chunker, as I have called them) knows how to > fin

Re: [ANN] geva-clj 1.2 - Grammatical evolution in clojure

2012-07-26 Thread Jeff Rose
Wow, cool. Over the years we've talked about using some kind of grammar constrained evolution to generate synthesizers and musical ideas in Overtone, and this could be just the tool to do that. Would it be possible to perform iterations manually, rather than having to pass the fitness functio

Re: Reader errors with Datomic free

2012-07-26 Thread Colin Jones
In Leiningen, the reader side is in a different process (owned by Leiningen, without your project code on the classpath), than the execution side. So I think you see this error due to classpath separation: the lein side doesn't have data_readers.clj specification, or the reader functions define

Re: reactive programming for UIs and other use cases

2012-07-26 Thread David Nolen
On Wed, Jul 25, 2012 at 5:23 AM, eric wrote: > Now, reactive programming isn't necessarily central to the development of > Clojure core or contrib so readers here might be interested, too. Posting in > "Clojure Dev" is handled rather restrictively so if you can't post there, > why not post to this

Re: community interest in machine learning (?)

2012-07-26 Thread Lee Spector
Cameron, I'm eager to check this out. There's a missing quote mark in the dependency line in the getting started guide, but after fixing it I still get: Downloading: org/clojars/cdorrat/geva-clj/1.2-SNAPSHOT/geva-clj-1.2-SNAPSHOT.pom from repository clojars at http://clojars.org/repo/ Unabl

Re: atom and lock

2012-07-26 Thread Timothy Baldridge
On Thu, Jul 26, 2012 at 1:28 AM, Stefan Ring wrote: > > In addition, most systems only support loading memory in cache lines. > > IIRC, today most cache lines are 16KB. So when you read a single byte, > > the 16KB around that memory location is loaded as well. > > The cache line size on x86 is 32

Re: reactive programming for UIs and other use cases

2012-07-26 Thread Maik Schünemann
I don't know how much this goes in frp, but couldn't be the bind functionality in seesaw a good starting point. It seems as a good abstraction for dataflow programming (in the ui world) On Thu, Jul 26, 2012 at 3:38 PM, David Nolen wrote: > On Wed, Jul 25, 2012 at 5:23 AM, eric wrote: > > Now, r

Re: Clojurians in the midlands (UK)

2012-07-26 Thread Dimitrios Jim Piliouras
Hi Diptanu! Yes we should definitely do that... I am in Greece at the moment but I'll be back in a couple of weeks...Do you know of more people that would be interested? Jim On Wed, Jul 25, 2012 at 8:20 AM, Diptanu Choudhury wrote: > Dimitrios, > > I know we talked about it after your Clojure ta

Re: reactive programming for UIs and other use cases

2012-07-26 Thread Yann Schwartz
On Thu, Jul 26, 2012 at 3:38 PM, David Nolen wrote: > On Wed, Jul 25, 2012 at 5:23 AM, eric wrote: > > Now, reactive programming isn't necessarily central to the development of > > Clojure core or contrib so readers here might be interested, too. > Posting in > > "Clojure Dev" is handled rather

Re: reactive programming for UIs and other use cases

2012-07-26 Thread David Nolen
On Thu, Jul 26, 2012 at 11:51 AM, Yann Schwartz wrote: > I'm in no way a clojurescript specialist, but how hard would it be to wire > RxJs (the javascript version of the impressive Reactive Extensions > framework) to clojurescript? Using it probably wouldn't be much work. It's not clear to me tha

Re: RFC: Functional programming conference?

2012-07-26 Thread Alex Miller
Sure, but I really see SplashCon (and ICFP and even CUFP to some extent) as focused more on the academic than industry side of the world. I think there's room for something different, not just in focus but in style. And if I'm wrong, no one will come and I'll stop doing it. :) Alex On Tuesd

Re: cljs is not defined

2012-07-26 Thread Kevin Downey
On Wed, Jul 25, 2012 at 6:48 PM, trashhalo wrote: > If I compile... >> >> (def x 5) > > ... with advanced optimization it comes out as >> >> cljs.a.x = 5; means something like "make x, in the namespace cljs.a equal to 5" so you are missing an (ns cljs.a) somewhere > Which throws 'cljs is not de

Re: is their a Clojure framework for handling form validation?

2012-07-26 Thread Takahiro Hozumi
If you build simple json API, combining validation function which return validation error as a map and clojure.lang.ExceptionInfo can reduce intermediate error handling code. (when-let [m (validate params)] (throw (clojure.lang.ExceptionInfo. "validation error" m))) (defn wrap-validation-ex

Re: RFC: Functional programming conference?

2012-07-26 Thread Raoul Duke
On Thu, Jul 26, 2012 at 9:36 AM, Alex Miller wrote: > there's room for something different, not just in focus but in style. And cough cough booth babes cough -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloju

Re: RFC: Functional programming conference?

2012-07-26 Thread Brian Marick
On Jul 26, 2012, at 11:36 AM, Alex Miller wrote: > Sure, but I really see SplashCon (and ICFP and even CUFP to some extent) as > focused more on the academic than industry side of the world. I think there's > room for something different, not just in focus but in style. And if I'm > wrong, no

Re: RFC: Functional programming conference?

2012-07-26 Thread Sean Corfield
On Thu, Jul 26, 2012 at 9:36 AM, Alex Miller wrote: > Sure, but I really see SplashCon (and ICFP and even CUFP to some extent) as > focused more on the academic than industry side of the world. I think > there's room for something different, not just in focus but in style. +1 Definitely room for

Re: RFC: Functional programming conference?

2012-07-26 Thread Sean Corfield
On Thu, Jul 26, 2012 at 10:30 AM, Brian Marick wrote: > If Gabriel is still the driving force behind Splash, he'd *like* it to be the > kind of meeting ground for industry and academia that the earlier OOPSLAs > were. Reading http://www.splashcon.org/history/ I'm not very encouraged as to the p

Re: CSV Parser

2012-07-26 Thread Jeremy Heiler
On Wed, Jul 25, 2012 at 7:31 PM, Christian Sperandio wrote: > hi, > > I started learning Clojure programming these last days. For my training, I > developped a CSV parser. > I propose to everyone and I'd like to hava advice about my development (is > it in the FP logic? Do I use the good practices

Re: CSV Parser

2012-07-26 Thread Christian Sperandio
Below the link :) https://gist.github.com/3184210 Thanks 2012/7/26 Jeremy Heiler : > On Wed, Jul 25, 2012 at 7:31 PM, Christian Sperandio > wrote: >> hi, >> >> I started learning Clojure programming these last days. For my training, I >> developped a CSV parser. >> I propose to everyone and I'd

Re: CSV Parser

2012-07-26 Thread Tamreen Khan
The usual filename extension for Clojure files is .clj. Renaming it to that will also get you syntax highlighting on the gist. On Thu, Jul 26, 2012 at 4:10 PM, Christian Sperandio < christian.speran...@gmail.com> wrote: > Below the link :) https://gist.github.com/3184210 > Thanks > > > 2012/7/26

auxiliary methods like :before and :after for multimethods?

2012-07-26 Thread George Oliver
hi, I'm wondering if anyone has extended multimethods with auxiliary methods like CL-style :before and :after, and if not what a suitable substitute might be. thanks, George -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: auxiliary methods like :before and :after for multimethods?

2012-07-26 Thread Kevin Downey
https://github.com/technomancy/robert-hooke/ On Thu, Jul 26, 2012 at 2:15 PM, George Oliver wrote: > hi, I'm wondering if anyone has extended multimethods with auxiliary methods > like CL-style :before and :after, and if not what a suitable substitute > might be. > > > thanks, George > > -- > You

Re: community interest in machine learning (?)

2012-07-26 Thread cameron
Hi Lee, apologies for the missing dependencies, it's been a while since I worked on the project and I had local copies of jscheme in .m2. The documentation has been fixed and I've updated the dependencies. I've run the samples a built a fresh checkout on a clean machine so I think you shoul