Re: Seeking remote Clojure work

2014-01-02 Thread Marcus Blankenship
Iro, you might check out Cognitect… http://cognitect.com/jobs On Jan 2, 2014, at 2:38 PM, Iro Wright wrote: > Anyone out there hiring remotely for contract, part time, or full time? > Please leave an email address - I'll reply with my resume and GitHub handle. > > Thanks > > -- > -- > You

Seeking remote Clojure work

2014-01-02 Thread Iro Wright
Anyone out there hiring remotely for contract, part time, or full time? Please leave an email address - I'll reply with my resume and GitHub handle. Thanks -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloju

Introducing PigPen: Map-Reduce for Clojure

2014-01-02 Thread Matt Bossenbroek
Today we (Netflix) released PigPen; Map-Reduce for Clojure! PigPen allows you to write what looks like regular Clojure code and compile it to an Apache Pig script that can be used in a Hadoop map-reduce cluster. Check out the blog post & other links below for more info: Blog post: http://techb

[ANN] bouncer 0.3.1-beta1 released

2014-01-02 Thread Leonardo Borges
bouncer is a validation DSL for Clojure apps Github: https://github.com/leonardoborges/bouncer Clojars: https://clojars.org/bouncer TL;DR; of version 0.3.1-beta1: You can now customise error messages however you like: (def person {:name "Leo" :age "NaN"}) (defn custom-message-fn [{:keys [path

Re: [ANN] bouncer 0.3.0

2014-01-02 Thread Leonardo Borges
Just a quick note to let people know I've released bouncer 0.3.0 final. The only extra change was this pull request: - Merge [PR #18](https://github.com/leonardoborges/bouncer/pull/18): "Minor readme change to not make it seem a strange design decision was taken, and very minor (somewhat random)

ANN: [vinyasa 0.1.5] - dynamic reloading of java code without repl restart

2014-01-02 Thread zcaudate
I've added a new functionality for vinyasa 0.1.5 - a much needed function for reloading java code the repo is here: https://github.com/zcaudate/vinyasa Enjoy! --- reimport Don't you wish that you could make some changes to your java files and have them instantly loaded into your repl wit

Re: Inconsistent Ref Values

2014-01-02 Thread Stefan Kamphausen
OK, got it. The get-in is stupid and is always returning 0. Please excuse the noise stefan -- -- 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 moderat

Inconsistent Ref Values

2014-01-02 Thread Stefan Kamphausen
Hi, I've probably been staring at this for too long to see, what I am doing wrong. I have a Ref which contains a vector similar to the following (def data [{:a {:b 1 :c 0}} {:a {:d 1 :g 0}} {:a {:e 1 :h 0}} {:a {:f 1 :i 0}}]) There is a second ref, which is similar but without the :

Re: ANN: Om, a ClojureScript binding to Facebook's React

2014-01-02 Thread David Pidcock
Very nice. Relatively easy to follow. Basically it's re-implementing the drag-list behaviour in React. I had thought to re-use some existing code, provided I could inform React that the DOM was changing. (This is the approach used by the example in the fiddler, albeit with jquery instead of

Re: Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Ron Toland
If all you need is the text, you could use Apache Tika to extract it: http://tika.apache.org/ There's a simple clojure lib to get you started: https://github.com/alexott/clj-tika I've used it to pull text out of .doc, .pdf, and .odt files. Ron On Wednesday, January 1, 2014 11:49:30 PM UTC-8,

Re: clojure.zip needs a better way to move nodes

2014-01-02 Thread kovas boguta
There is a protocol-based zipper lib at https://github.com/akhudek/fast-zip In my experience it can be made even faster if perf is a huge concern. If this lib gets upgraded, another big item is built-in support for the full range of clojure datastructures. Currently zippers are more limited than

Re: Memory usage of basic Luminus web app

2014-01-02 Thread Gary Trakhman
Luminus isn't doing anything bad here, and 180MB is actually pretty small for a clojure heap. I hit the limits of my laptop's 8GB of memory recently while running a number of repls simultaneously, with heaps over 700MB*4 or so. The simplest win for me was to enable the G1 collector by default (wi

Memory usage of basic Luminus web app

2014-01-02 Thread gvim
I just downloaded Luminus and setup a basic project. On OS X Mountain Lion/Oracle JDK 1.7 Activity Monitor shows memory usage as: - java: 180Mb - main: 171Mb Is this typical for a Clojure web app or is Luminus kitchen sink in design? I'm new to the JVM so, for all I know, these figures may be

Re: clojure.zip needs a better way to move nodes

2014-01-02 Thread Timothy Baldridge
clojure.zip needs to be rewritten IMO. It's written in more of a scheme style using vectors. Since then protocols have come out and there's no reason why this can't make use of those. And yes, at the same time new functions could probably be added. I've threatened to re-write this lib several time

Re: Require namespace

2014-01-02 Thread Gary Trakhman
There's a reasonable blog post here on the matter: http://blog.8thlight.com/colin-jones/2010/12/05/clojure-libs-and-namespaces-require-use-import-and-ns.html It's a bit complicated to regurgitate it all in a mailing list response :-). On Thu, Jan 2, 2014 at 8:33 AM, wrote: > > Hi, > > I am a n

Re: Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Frank Hale
One solution is to use ClojureCLR and the OpenXML SDK. On Thu, Jan 2, 2014 at 11:08 AM, Dennis Haupt wrote: > use apache poi and write a small wrapper or something > this is what i did > > > 2014/1/2 Joshua Mendoza > >> Hi!, >> >> I've been looking for libraries or resources to read MS .doc fi

Re: Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Dennis Haupt
use apache poi and write a small wrapper or something this is what i did 2014/1/2 Joshua Mendoza > Hi!, > > I've been looking for libraries or resources to read MS .doc files in > Clojure, but found none. Does anyone have tried, used, encountered or > witnessed such a thing to read them? > > I

Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Joshua Mendoza
Hi!, I've been looking for libraries or resources to read MS .doc files in Clojure, but found none. Does anyone have tried, used, encountered or witnessed such a thing to read them? I found a lot of info publicly available by the government in .doc files but I want to process them automaticall

Require namespace

2014-01-02 Thread jianghui8904
Hi, I am a newbie of Clojure.I have some confusions of "how to require a namespace". 1、If I want to call a function of file B.clj in the file A.clj,does I have to require the namespace of B.clj in A.clj? 2、In the file A.clj,if I need to call the functions of all *.clj in the special director

Re: [ANN] Optimus asset loaders and transformations

2014-01-02 Thread Magnar Sveen
Like many others, I am quite enthused about React.JS these days. I'm looking at Om too, but would like to learn React first. If you're interested in using JSX

Re: Auto updating Leiningen dependencies?

2014-01-02 Thread Jean Niklas L'orange
On Thursday, January 2, 2014 1:28:19 AM UTC+1, g vim wrote: > > Is there are a way to auto-update project.clj dependencies in Leiningen > or configure them to simply use the latest stable version? Instead of using "1.2.3", you can use "RELEASE" to specify the latest stable release. I would ne

Re: Storing data on web server with Clojure

2014-01-02 Thread Sean Johnson
Keep in mind that the Heroku file system is a little "funky". Writing things there is not like you're used to with your local system or with a VPS or dedicated server. It's ephemeral and those files will disappear during certain events. I agree with the other Sean, that if the data is small and

clojure.zip needs a better way to move nodes

2014-01-02 Thread Alex Dowad
Hi, everybody, I'm just throwing this out to see if the Clojure core team agrees, and if they would like me to code something up and send a PR. clojure.zip works great if you want to walk a tree and add nodes here and there -- append-child, insert-child, insert-left, and insert-right cover all

Re: Akka-like framework in Clojure ?

2014-01-02 Thread Manuel Paccagnella
I think I'd be very useful since understanding Clojure's design philosophy is of great value, even outside the Clojure(Script) camp. But I also think it'd require work from a certain number of volunteers (sounds like a wiki would be a useful tool for this). There has been some work in this area

Re: Deploying Caribou on Openshift

2014-01-02 Thread Joshua Ballanco
You should be able to deploy with Immutant and then use the Immutant-Openshift-Quickstart (https://github.com/openshift-quickstart/immutant-quickstart) or the Immutant Cart (https://github.com/immutant/openshift-immutant-cart). On Tuesday, December 31, 2013 at 16:04, Leon Talbot wrote: > Wha

Re: [Video] Generative testing in Clojure

2014-01-02 Thread James Trunk
Thanks for the comment, and I'm very glad you found it useful. Cheers, James On Wednesday, January 1, 2014 7:30:15 PM UTC+1, Mark N. wrote: > > Nicely done, I've been looking for a good intro to generative testing. The > real-world example at the end nicely illustrates the value of the > "shri

Re: Parallel http requests

2014-01-02 Thread Glen Mailer
I can't speak for whether this is a truly idiomatic way of doing this, but this is a macro i've been using for this case. (defmacro plet [bindings & body] "Just like let, but evaluates bindings in parallel" (let [bindings (partition-all 2 bindings)destructs (map first bindings)

Re: [ANN] clj-refactor.el - A few Clojure refactorings for Emacs.

2014-01-02 Thread Magnar Sveen
Thanks mate, I'm glad to hear that. And thanks for your contributions too! Your post reminded me that renaming has an annoying bug - it suggests replacing substrings of namespaces too. So I fixed that just now. :-) - Magnar On Monday, December 30, 2013 6:30:49 PM UTC+1, Alex Baranosky wrote: >