Re: A faster clojure startup

2014-03-07 Thread Víctor R . Escobar
That are very great news! do you think this change in the design could have any side effect? For me this lazy concept is quite new and until today I only have read posts about the possitive effects it brings. Do you think it could require that much of more memory that in some situations the OS

Re: A faster clojure startup

2014-03-07 Thread Víctor R . Escobar
That are very great news! do you think this change in the design could have any side effect? For me this lazy concept is quite new and until today I only have read posts about the possitive effects it brings. Do you think it could require that much of more memory that in some situations the OS

Getting started - overcoming my first obstacles

2014-03-07 Thread Florian Salihovic
I am working on my first real Clojure application. I started building tools and looking use cases for my daily work, so i would have a direct benefit from using Clojure. The first application would be an unpacking of an edn definition of access control lists for Apache JackRabbit. The edn-acls

printing vals from a static hashmap

2014-03-07 Thread d0nski
Hi, Newish to clojure and been wrecking my head the last while trying to figure this one out. I have a series of similar xmls which I need to parse through and print out the results as a csv to file. I call the below function at the correct level for the xml parsing, and it does parse the

Re: Solving allocation problems; code review and core.logic

2014-03-07 Thread Laurens Van Houtven
On Fri, Mar 7, 2014 at 3:50 AM, Mark Engelberg mark.engelb...@gmail.comwrote: On Thu, Mar 6, 2014 at 4:56 AM, Laurens Van Houtven _...@lvh.cc wrote: Hm. I realize we're unlikely to change the nature of the problem, but would it help if we limit the search space? For example, if we only care

Re: printing vals from a static hashmap

2014-03-07 Thread Jim
On 07/03/14 09:39, d0nski wrote: Can someone advise on the best way to print out this hashmap to file? for dumping the entire map: (spit /tmp/final.txt (pr-str staticMeasureMap)) for just the values: (spit /tmp/final.txt (pr-str (vals staticMeasureMap))) HTH, Jim -- You received this

Re: Getting started - overcoming my first obstacles

2014-03-07 Thread Walter van der Laan
Hi Florian, To unpack your edn-acls I entered these expressions in a repl. Each expression goes one step deeper, so it is only the last expression that you need to unpack the acls. The other steps are included to illustrate the process. (for [acl edn-acls] {:acl acl}) (for [acl edn-acls

Mock db data for unit tests

2014-03-07 Thread Mark Watson
I have a web service that uses Korma for interacting with my db. To mock data for unit tests I want to re-bind korma.core/select to return known data and not hit a db. Currently I have a db ns: (nsservices.db (:require [korma.core :refer :all] [korma.db :refer :all])) With a

Re: Mock db data for unit tests

2014-03-07 Thread Alex Robbins
It looks like the issue is that korma.core/select is a macro, and has already expanded by the time you redef it. https://github.com/korma/Korma/blob/master/src/korma/core.clj#L113 On Fri, Mar 7, 2014 at 12:59 PM, Mark Watson mkw5...@gmail.com wrote: I have a web service that uses Korma for

Re: [ANN] durable-queue: an in-process disk-backed queue

2014-03-07 Thread Zach Tellman
I added the above-described features a few weeks back, but only got around to marking 0.1.1 today. Fsync batching is described at the end of the README, let me know if you have any questions. On Friday, February 7, 2014 11:52:11 AM UTC-8, Zach Tellman wrote: Hi Bob, Right now the API only

Re: Getting started - overcoming my first obstacles

2014-03-07 Thread Florian Salihovic
Hi Walter, ... i was actually thinking too complicated. I was actually working myself deeper and deeper by extracting methods, but i completely overlooked to simply destructure the data ... Thanx a lot :) Am Freitag, 7. März 2014 18:14:33 UTC+1 schrieb Walter van der Laan: Hi Florian,

Test G.Closure lib release 0.0-20140226-71326067

2014-03-07 Thread Stuart Sierra
Hi ClojureScript fans, At last, we have a new Google Closure Library release! For now, it's in a temporary *staging* repository. Here is a sample project.clj file to get it: https://gist.github.com/stuartsierra/9419597 Please try it out and report back. If everything works, I will release

Re: ace / codemirror in cljs

2014-03-07 Thread Santiago Pelufo
Hi. Yes, Light Table uses codemirror. I would know very little about writting an editor in cljs, and it's a little late for a response but I just wanted to recommend reading some of this http://marijnhaverbeke.nl/blog/#codemirror about the implementation of codemirror, if case you are

Re: [ANN] loco 0.1.0

2014-03-07 Thread Alex Engelberg
Loco is now on version 0.2.0. The only major change is that I renamed $all-different? to $distinct (now takes a list of args instead of a variable number of args), and renamed $circuit? to $circuit. This is mostly because I wanted to provide more consistency throughout the function names by

[ANN] Kria, an async driver for Riak 2

2014-03-07 Thread dgrnbrg
This is really exciting! One question I have is how mature is Kria? Given that riak 2 isn't yet out, I'm still curious as to what kinds of testing/burn in you've done? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: [ANN] loco 0.1.0

2014-03-07 Thread Olli Piepponen
Hi, Looks very interesting. I was playing around with it yesterday at REPL, and I could not figure out how to do constraints with floats. Are all domains limited to integers at the moment, and if so do you have plans to add support for floating point domains in the future? - Olli On