Re: Clojure - Python Style suggestion

2013-02-10 Thread Max Gonzih
programmer dvorak is better :) On Feb 9, 2013 3:39 PM, vemv v...@vemv.net wrote: I like the parentheses better. My only complaint is that I have to press the shift key to type them. You can always remap your keyboard / keyboard bindings. For example in emacs: (define-key clojure-mode-map

Re: Clojure 1.5 RC 14

2013-02-10 Thread Stuart Halloway
Aaron: Were you simply running the test suite via the build? On what hardware and OS? Stu On Sat, Feb 9, 2013 at 9:16 PM, Aaron Bedra aaron.be...@gmail.com wrote: Yeah, I know what would fix it, but I would like to make sure the right defaults are in place for folks who pull it down.

Re: Clojure 1.5 RC 14

2013-02-10 Thread Aaron Bedra
I tried it on 3 machines with the following results Late '11 iMac running OS X 10.8.2: Failed with PermGen error Mid '12 Macbook Air running OS X 10.8.2: Success VM Running Arch Linux: Success So I can't say it is easily reproducible. I'll see if I can find what is tripping things up on the

Re: Clojure 1.5 RC 14

2013-02-10 Thread Stuart Halloway
I found it, fix coming soon. Pesky interned keywords. On Sun, Feb 10, 2013 at 10:31 AM, Aaron Bedra aaron.be...@gmail.com wrote: I tried it on 3 machines with the following results Late '11 iMac running OS X 10.8.2: Failed with PermGen error Mid '12 Macbook Air running OS X 10.8.2:

Re: Clojure 1.5 RC 14

2013-02-10 Thread AtKaaZ
could you maybe also fix clojure.java.io/delete-file to return the result of the .delete ? (or I'm missing something? and it really isn't meant to return the result of the delete? true when deleted, false when not - if silently is true) On Sun, Feb 10, 2013 at 4:54 PM, Stuart Halloway

Reporting bugs [was: Re: Clojure 1.5 RC 14]

2013-02-10 Thread Wolodja Wentland
On Sun, Feb 10, 2013 at 18:59 +0100, AtKaaZ wrote: could you maybe also fix clojure.java.io/delete-file to return the result of the .delete ? (or I'm missing something? and it really isn't meant to return the result of the delete? true when deleted, false when not - if silently is true)

Re: Reporting bugs [was: Re: Clojure 1.5 RC 14]

2013-02-10 Thread AtKaaZ
thanks, done here [1] after a search for delete-file yielded nothing [1] http://dev.clojure.org/jira/browse/CLJ-1159 On Sun, Feb 10, 2013 at 8:40 PM, Wolodja Wentland babi...@gmail.com wrote: On Sun, Feb 10, 2013 at 18:59 +0100, AtKaaZ wrote: could you maybe also fix

Re: [ANN] jenkins-leiningen

2013-02-10 Thread Bob Foster
Is this version obsolete, i.e., replaced by your leiningen-plugin at https://github.com/jenkinsci/leiningen-plugin? I've seen several old broken links referring to it, and it is still in the Jenkins update center as jenkins-leiningen. Bob On Wednesday, July 18, 2012 7:23:50 AM UTC-7,

Re: delete-file implementation (?!)

2013-02-10 Thread Sean Corfield
You can call (clojure.java.io/delete-file some-file :not-deleted) and you'll get true if the delete succeeds and :not-deleted if it fails. On Sat, Feb 9, 2013 at 1:32 PM, AtKaaZ atk...@gmail.com wrote: Hi, does anyone see anything wrong with this? = (source clojure.java.io/delete-file) (defn

Jormungandr: Prototype-based OO on top of functions

2013-02-10 Thread eduardoejp
Just a simple toy project I made moments ago... https://github.com/eduardoejp/jormungandr -- -- 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 -

Re: delete-file implementation (?!)

2013-02-10 Thread AtKaaZ
oh great, that's what I was missing and it makes sense now and that strikes me like it's idiomatic clojure coding to do that and that it's also unwritten/expected-of-us-to-know-this = (clojure.java.io/delete-file c:\\1.123 :not-deleted) true = (clojure.java.io/delete-file c:\\1.123 :not-deleted)

Are there any dominican Clojure hackers around?

2013-02-10 Thread eduardoejp
I'm the only dominican Clojure dev I know, since Clojure isn't a very popular language over here... I'd like to meet other dominican clojurians and see if we could maybe start our own group. I'm specially interested in meeting clojurians in the city of Santo Domingo. -- -- You received this

Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server Client for Clojure

2013-02-10 Thread eduardoejp
http-kit seems to me to be as bad-ass as you can get. -- -- 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 - please be patient with your first

Re: Type hints ignored in proxy-super

2013-02-10 Thread Shantanu Kumar
On Thursday, 7 February 2013 18:41:10 UTC+5:30, Vladimir Tsichevski wrote: Hi, seems type hints are ignored when we use proxy-super: (set! *warn-on-reflection* true) (proxy [Object][] (equals[o] (proxy-super equals))) Reflection warning, null:3 - reference to field equals can't

Clojure 1.5 RC 15 coming soon to Maven Central

2013-02-10 Thread Stuart Halloway
Please test... Stu -- -- 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 - please be patient with your first post. To unsubscribe from this

Is c.c.repl-utils/expression-info maintained somewhere?

2013-02-10 Thread Shantanu Kumar
Hi, I noticed that parts of repl-utils from old contrib have moved into new modular contribs, but expression-info[1][2][3] and few others have not yet. Just wanted to know if anybody's maintaining it? `run` and `run*` are useful and also provided by Leiningn via the `run -m` task. [1]

Re: Prismatic Plumbing and Graph Open-Source Release

2013-02-10 Thread Jason Wolfe
Thanks! We use Graph as one a tool among many for writing clean, compositional code. So Graph builds our services and newsfeeds and processes our documents, but 95% of the code we write does not use Graph explicitly. We haven't tried using it for something like a CRUD application -- I'm

Re: delete-file implementation (?!)

2013-02-10 Thread Sean Corfield
I added a note on the ticket you created that perhaps the docstring could be expanded to make this usage clearer. On Sun, Feb 10, 2013 at 12:26 PM, AtKaaZ atk...@gmail.com wrote: oh great, that's what I was missing and it makes sense now and that strikes me like it's idiomatic clojure coding to

Re: Prismatic Plumbing and Graph Open-Source Release

2013-02-10 Thread kovas boguta
To continue OT, There is pretty interesting work being done on incremental datalog computation, that some people might be interested in being aware of. http://research.microsoft.com/en-us/projects/naiad/

m-lift-fn

2013-02-10 Thread Sgeo
I wrote an m-lift-fn for clojure.algo.monads that is like m-lift except it's a function (well, defined with defmonadfn, anyway). Also does not ask for number of arguments. https://github.com/clojure/algo.monads/pull/2 Any thoughts or comments? (Beyond apparently pull requests not being a way

Re: `let` to automatically add metadata / fn names?

2013-02-10 Thread Phil Hagelberg
On Sat, Feb 9, 2013 at 4:20 PM, vemv v...@vemv.net wrote: Then library consumers can specify either [com.example/awesomelib 1.4.0], [com.example 1.4.0-DEBUG], or [com.example 1.4.0-NO-DEBUG] in their :dependencies vector, in the corresponding project.clj. If no version directive is specified,

Re: `let` to automatically add metadata / fn names?

2013-02-10 Thread dgrnbrg
I've written an implementation of this here: https://gist.github.com/dgrnbrg/4751473 It does incur a 2 instance check penalty (the branches should be 100% predictable, and never hurt in practice). I'm not sure if I could use protocols to further reduce the cost of the check. I've already put

Re: `let` to automatically add metadata / fn names?

2013-02-10 Thread vemv
Glad to hear that Phil! You're entirely right - I didn't realise that distributing jar to Java consumers doesn't imply AOT-compiling the libraries at all. David, on your implementation - I may be missing something, but why not just vary-meta each collection found in the bindings? Also, it

Re: Building a REST API / efficient RPC interface in Clojure

2013-02-10 Thread Mikera
Thanks bernardH - these are great links, probably pretty close to what I was looking for. Will try some experiments with these over the next few days. On Saturday, 9 February 2013 19:01:09 UTC+8, bernardH wrote: Hi, On Saturday, February 9, 2013 4:47:26 AM UTC+1, Feng Shen wrote: Hi, I

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-10 Thread Mikera
Nice, I have been looking for something like this to experiment with. Suggestions on syntax: It would be much nicer to use and more idiomatic if the method name came first, e.g. (method some-object arg1 arg2) This would bring many benefits: you could use the standard - syntax, you can apply a

Re: Is c.c.repl-utils/expression-info maintained somewhere?

2013-02-10 Thread Mikera
It's a useful function, so I'm maintaining a copy in my clojure-utils project: https://github.com/mikera/clojure-utils/blob/master/src/main/clojure/mikera/cljutils/expression.clj On Monday, 11 February 2013 05:47:18 UTC+8, Shantanu Kumar wrote: Hi, I noticed that parts of repl-utils from

New Functional Programming Job Opportunities

2013-02-10 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently:Senior Full Stack Web Developer at Pellucid Analyticshttp://functionaljobs.com/jobs/123-senior-full-stack-web-developer-at-pellucid-analyticsCheers,Sean MurphyFunctionalJobs.com -- -- You received this message

ClojureScript group up to 150 members

2013-02-10 Thread Andy Fingerhut
That is nowhere near the Clojure group's 7000+ members, but it is a good start for only existing since Jan 23. Don't worry, I won't mention its existence here every 2 weeks. I will in another 6 months or so, as a note to any new Clojure group members who are especially interested in