New Functional Programming Job Opportunities

2013-10-13 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Software Engineer- Clojure at Sonian http://functionaljobs.com/jobs/8652-software-engineer-clojure-at-sonian Cheers, Sean Murphy FunctionalJobs.com -- -- You received this message because you are subscri

Re: Reflecting on Arity

2013-10-13 Thread Alex Baranosky
c is the best bet, but still I wouldn't rely on it for anything. On Sun, Oct 13, 2013 at 9:23 PM, Mikera wrote: > Currently IFn itself doesn't provide a way for you to do this. > > Options: > a) example the source / docs > b) Call the IFn and see which arities throw an ArityException > c) If the

Re: Reflecting on Arity

2013-10-13 Thread Mikera
Currently IFn itself doesn't provide a way for you to do this. Options: a) example the source / docs b) Call the IFn and see which arities throw an ArityException c) If the IFn is in a var you can get arities from the :arglists metadata c) is probably your best bet if you know you have a var, e.g

Reflecting on Arity

2013-10-13 Thread Mark Engelberg
Is there a handy way to discover the valid arities for an arbitrary Clojure function? -- -- 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 - pl

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Timothy Washington
Same error. I dunno. I'll take deeper dig later on. Thanks Tim Washington Interruptsoftware.ca / Bkeeping.com On Sun, Oct 13, 2013 at 7:55 PM, Chris Zheng wrote: > Hey Tim, > > Try using [org.flatland/useful "0.10.4"] instead. I think they're starting > to use the namespaced versions. > > >

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Chris Zheng
Hey Tim, Try using [org.flatland/useful "0.10.4"] instead. I think they're starting to use the namespaced versions. On 14/10/2013, at 9:54 AM, Timothy Washington wrote: > Hmm, > > Did all those things (except the latest useful version is [useful "0.8.8"]), > and still getting the same "seq

making a lot of small calcs parallel

2013-10-13 Thread Brian Craft
I'm walking a seq of many millions of floats, encoding them for the persistence layer, and getting sequence ids from the db. So, conceptually there are two parts: the slow part, and the side-effecting part. Vaguely like (map get-ids (map encode float-seq)) which is later reduced while writing

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Timothy Washington
Hmm, Did all those things (except the latest useful version is *[useful "0.8.8"] *), and still getting the same "*seq/map-nth*" error. Dunno. Best thing I can think of is to *i)* try a clean install of the relevant lein tools in your syste, or *ii)* log an issue with Ra

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Chris Zheng
Hi Tim, Its really difficult for me to figure out what is happening because I can't reproduce the error. The only solution I can think of is to put in the newest useful library: In project.clj: 1. add dependency [org.flatland/useful "0.10.4"] 2. change project version: [lein-midje-doc "0.0.13a

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Timothy Washington
In a locally cloned lein-midje-doc project, I set the conch lib to the latest version, *[me.raynes/conch "0.5.2"]*. But the same error is happening for me. You'll probably have to dig into the dependency chain, and see where the broken link is. Tim Washington Interruptsoftware.ca / Bkeeping.com

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Chris Zheng
Hi Tim. I think you've most likely identified the issue. Would you be able to give that a go and see if it is working? You can clone the lein midje doc repo, change the versions and run lein install. Please let me know how it goes. Chris On 13/10/2013, at 21:31, Timothy Washington wrote: >

Re: [ANN] Grenchman, for running Clojure code quickly

2013-10-13 Thread Tim Visher
All I want to say is that you are still _the man_ when it comes to pushing cli clojure tooling forward, IMHO. Thanks so much! On Tue, Oct 8, 2013 at 10:49 PM, Phil Hagelberg wrote: > When we've polled Leiningen users in the past[1], the #1 pain point > people always report is its startup time. Wh

Re: [ClojureScript] Re: evaluating compiled clojurescript functions at the REPL

2013-10-13 Thread Catonano
Benjamin, I modified a Pedestal based project to use a REPL and through that REPL you can inspect the app running live in the browser. The project is here https://github.com/humanitiesNerd/tinkering-with-the-repl And the youtube footage is here http://www.youtube.com/watch?v=3AYKXRby5oE It's n

Re: [ANN] scopes: a little library for resource scopes

2013-10-13 Thread Jozef Wagner
In JVM, we can assume (or should implement it in a way) that objects representing resource release the resource upon object's finalize method. If you push resource into the scope, it is not GCed until the scope ends. How about pushing to scope weak refs to resources instead? JW On Sun, Oct 13, 2

Re: [ANN] scopes: a little library for resource scopes

2013-10-13 Thread Paul Stadig
No, I just implemented a simple intuitive scope, which looks like it is about the same as the basic idea there. There are some interesting ideas/questions about how scopes work across threads and how consumers can pass the buck for resource clean up to an enclosing scope (like exception handling).

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread Timothy Washington
Hi Chris, *A)* My dev environment is in a VMWare guest Ubuntu Linux Server 12.04.3 (on an OSX Host). *B)* My project's clojure version is 1.5.1. And *C)*, I have the latest version of pygments installed via apt-get. But I don't think those are the causes. That top-level error with the *seq/map-n

Re: Clojure vs OSGi once again...

2013-10-13 Thread Laurent PETIT
Hi Marc, The clojure.osgi library aims at easing the pain in this area ( https://github.com/aav/clojure.osgi ). But to be honest I don't really know it's current status. For Counterclockwise, I've taken inspiration from clojure.osgi and integrated the core concepts into a few classes. In a nutsh

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread zcaudate
Also.. What version of clojure are you using? I'll try with that and see if I can reproduce the error. -- -- 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

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-13 Thread zcaudate
Hi Tim. That is a strange message. I am using conch to shell out to pygments which does the syntax highlighting. I'm not sure why that library is not compiling. What operating system are you using? -- -- You received this message because you are subscribed to the Google Groups "Clojure" group

Clojure vs OSGi once again...

2013-10-13 Thread Mark Derricutt
Hey all, Once again I'm lending my hand at trying to get some clojure code working under OSGi, and once again hitting issues with the good ole class loader. I have a simple OSGi bundle project which embeds clojure.jar, and contains a single source file: (ns com.theoryinpractise.activator.o

Re: [ClojureScript] Re: evaluating compiled clojurescript functions at the REPL

2013-10-13 Thread Benjamin Vulpes
That would be useful data, eh? http://stackoverflow.com/questions/19342066/evaluating-compiled-clojurescript-functions-at-the-repl On Sat, Oct 12, 2013 at 11:36 PM, Dave Della Costa wrote: > Link? > > (2013/10/13 14:14), Benjamin Vulpes wrote: > > Hey all! > > > > I've written a S.O. question a