Re: Emacs font and theme for clojure

2013-09-29 Thread John Gabriele
On Thursday, September 26, 2013 10:51:44 AM UTC-4, Murtaza Husain wrote: Hi, I was just cycling through the different themes in emacs. I was wondering what font and theme combination others are using ? I like Inconsolata and Zenburn. -- -- You received this message because you are

Re: [ANN] cljsfiddle.net

2013-09-29 Thread Jonas
Thanks! I added these two addons to the cljs editor and it's a huge improvement IMHO. Jonas On Saturday, September 28, 2013 9:41:52 PM UTC+3, Ian Bishop wrote: These are pretty great for writing Clojure in CodeMirror: http://codemirror.net//addon/edit/matchbrackets.js

RBAC/ACL using core.logic or similar

2013-09-29 Thread ronen
Hey, I was thinking about how to approach role and permission management in Clojure, https://shiro.apache.org/ is one example of same a framekwork It sounds like a problem that core.logic could solve but I'm not sure how to approach it Thought and ideas are welcome Thanks -- -- You

Re: (Clojure-related book) Seven Concurrency Models in Seven Weeks

2013-09-29 Thread sailormoo...@gmail.com
What are those 7 models ? -- -- 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

On windows I can't connect to nrepl from vim fireplace/classpath unless a repl is already running in cmd.exe

2013-09-29 Thread dp1231314
This is a new problem and after several hours, I'm out of ideas. I have gvim in windows configured with both vim-fireplace and classpath.vim. I don't know what is causing the problem. If I try editing a clj file in vim I'll get an errors: Error detected while processing function

[ANN] nrepl support for unix domain sockets

2013-09-29 Thread Christopher Monsanto
https://github.com/monsanto/nreplds This project gives you the ability to 1) start an embedded nREPL server on a Unix Domain Socket (UDS) and 2) connect to a nREPL using a UDS. Currently nREPLs can only listen on TCP ports. Even if the port is selected is local-only, this is a security risk,

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Stuart Halloway
To be clear, I don't object to the approach, only to naming it fold and/or tying it to interfaces related to folding. Stu On Sat, Sep 28, 2013 at 5:29 PM, Paul Butcher p...@paulbutcher.com wrote: On 28 Sep 2013, at 22:00, Alex Miller a...@puredanger.com wrote: Reducers (and fork/join in

Re: Type hints for clojure.set functions

2013-09-29 Thread splondike
Thanks for the comments, you are correct that type hintinghttp://clojure.org/java_interop#Java Interop-Type Hintsis only to support performance optimization, no exceptions are thrown. The source for the set function suggests that it would not be free to call on sets, it converts its argument

Re: Type hints for clojure.set functions

2013-09-29 Thread splondike
Idiomatic was probably the wrong word since we don't want to arbitrarily restrict options in a dynamic language. In this case where the results are unexpected and inconsistent in other cases, would this check be acceptable? On Sunday, September 29, 2013 1:55:05 PM UTC-4, splondike wrote:

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Paul Mooser
Paul, is there any easy way to get the (small) dataset you're working with, so we can run your actual code against the same data? On Saturday, May 25, 2013 9:34:15 AM UTC-7, Paul Butcher wrote: The example counts the words contained within a Wikipedia dump. It should respond well to

Re: Emacs font and theme for clojure

2013-09-29 Thread Kelker Ryan
I use Anonymous Pro and color-theme-molokai https://github.com/alloy-d/color-theme-molokai - "An Emacs port of the Vim port of the Monokai color scheme for TextMate."http://www.marksimonson.com/fonts/view/anonymous-pro - "Anonymous Pro (2009) is a family of four fixed-width fonts designed with

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Paul Butcher
On 29 Sep 2013, at 22:58, Paul Mooser taron...@gmail.com wrote: Paul, is there any easy way to get the (small) dataset you're working with, so we can run your actual code against the same data? The dataset I'm using is a Wikipedia dump, which hardly counts as small :-) Having said that, the

Re: Type hints for clojure.set functions

2013-09-29 Thread Stuart Halloway
I think the bar for such an enhancement is fairly high, and the value delivered fairly low. It isn't so much the impact of assessing this single change, as the impact of managing the universe of such changes. Regards, Stu -- -- You received this message because you are subscribed to the

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Paul Mooser
Thanks - when I said small, I was referring to the fact that your tests were using the first 1 pages, as opposed to the entire data dump. Sorry if I was unclear or misunderstood. On Sunday, September 29, 2013 3:20:38 PM UTC-7, Paul Butcher wrote: The dataset I'm using is a Wikipedia

[ANN]: ova 0.9.6 - the bestest mutable array ever! (with lots of documentation)

2013-09-29 Thread zcaudate
http://z.caudate.me/ova/ ova has been designed especially for dealing with shared mutable state in multi-threaded applications. Clojure uses refs and atoms off the shelf to resolve this issue but left out methods to deal with arrays of shared elements. ova has been specifically designed for

[ANN] cronj 0.9.6 - task scheduling with simulations - comprehensive documentation

2013-09-29 Thread zcaudate
I've re-visited an old library of mine, upgrading the code as well as documenting its features and usage: http://z.caudate.me/cronj/ This library was built to support testing and repl development of scheduled tasks (which is quite difficult to test in general). In addition to being able to

Re: Doubt about Destructuring rest sequences as map key/value pairs

2013-09-29 Thread Daniel Meneses
thanks !! On Saturday, September 28, 2013 9:57:13 PM UTC-3, Ambrose Bonnaire-Sergeant wrote: The or syntax should be {lastname Meneses} Thanks, Ambrose On Sun, Sep 29, 2013 at 8:54 AM, Daniel Meneses Báez dap...@gmail.comjavascript: wrote: I think that the second and third lines in

Re: Doubt about Destructuring rest sequences as map key/value pairs

2013-09-29 Thread Ambrose Bonnaire-Sergeant
No problem. On Mon, Sep 30, 2013 at 9:11 AM, Daniel Meneses dap...@gmail.com wrote: thanks !! On Saturday, September 28, 2013 9:57:13 PM UTC-3, Ambrose Bonnaire-Sergeant wrote: The or syntax should be {lastname Meneses} Thanks, Ambrose On Sun, Sep 29, 2013 at 8:54 AM, Daniel

Separate Leiningen Profile for ClojureScript compilation?

2013-09-29 Thread Mark Mandel
Just wondering if this is a common thing or not, or if it was just me. For the full project file in question, is here: https://github.com/markmandel/chaperone/blob/master/project.clj#L29-L46 I found that when trying to compile my clojurescript with lein-cljsbuild, it would error out, as the

how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-09-29 Thread George Oliver
I sent this to Clojure-tools before I realized that list is not really for support questions, apologies for the crosspost. I'm hoping someone can help me fit the missing piece in this workflow: (this works) 1. nrepl-jack-in in Emacs 2. launch web server from nrepl, modify Clojure files and

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-09-29 Thread Tim Visher
I'll let others comment further on your general workflow, but I do think you have a fundamental misunderstanding about the browser repl. The browser repl is directly connected to the browser, so you don't need to refresh the page to see changes you're making at the browse repl. In fact, if you

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Brian Craft
On the other hand it is 2013, not 2003. 40G is small in terms of modern hardware. Terabyte ram servers have been available for awhile, at prices within the reach of many projects. Large data in this decade is measured in petabytes, at least. On Sunday, September 29, 2013 5:13:14 PM UTC-7,