Re: test.check generating hierarchy with relations

2014-12-08 Thread cliff
Hi Gary I have tried your suggestion but I fear there is a deeper problem. Thanks Cliff On Monday, 8 December 2014 12:03:47 UTC+2, Gary Verhaegen wrote: > > I haven't touched test.check yet, si this might be completely off the > mark, but based on my limited understanding, here&

Re: test.check generating hierarchy with relations

2014-12-09 Thread cliff
r points above and see if I have any more success. Thanks again for your help Nico. On Wednesday, 10 December 2014 06:07:26 UTC+2, Nicolás Berger wrote: > > Hey Cliff, > > A couple comments: > > * The `size` param in `gen-hierarchy` is being passed as the first param > to `r

Re: test.check generating hierarchy with relations

2014-12-09 Thread cliff
Nico, what is the correct way to turn my function which generates the graph (using core.logic) into a generator? On Monday, 8 December 2014 09:04:14 UTC+2, cliff wrote: > > Hi > > I would like to test a function which recursively traverses the nodes in a > graph and collects th

equivalent of Compojure resources in juxt/bidi

2015-01-11 Thread cliff
Hi I am trying to mimic the following Compojure behaviour, in juxt/bidi (defroutes routes > (*resources* "/") > (GET "/*" req (io/resource "index.html"))) > > (def http-handler (reload/wrap-reload (api #'routes))) In Compojure, the 'resources' function seems to load all resources by de

Re: equivalent of Compojure resources in juxt/bidi

2015-01-11 Thread cliff
to '/index.html' On Monday, 12 January 2015 00:36:59 UTC+2, Dan Kersten wrote: > > Hi, > > Take a look at https://github.com/juxt/bidi#resources-and-resourcesmaybe > > Regards, > Dan > > On 11 January 2015 at 19:27, cliff > > wrote: > >&

Re: equivalent of Compojure resources in juxt/bidi

2015-01-11 Thread cliff
Would something like this be correct? (def routes > ["" { >"/" {["" (br/resources-maybe {:prefix "public"})] > :home-page-handler}}]) On Monday, 12 January 2015 08:39:19 UTC+2, cliff wrote: > > Hi Dan > > Thanks fo

dynamic :use

2009-09-07 Thread Cliff Wells
to work. It seems I should be able to somehow build a string such as (str "site.adapters." *db-adapter*) and use that instead (or something else equally concise). And of course, this isn't my only problem. But I'll keep it to one issue at a time. Regards, Cliff --~--~

Re: Timing, JIT, Heisen-code

2009-09-29 Thread Cliff Wells
en something that was originally CPU-bound and made it I/O-bound. Regards, Cliff --~--~-~--~~~---~--~~ 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 N

Re: Timing, JIT, Heisen-code

2009-09-30 Thread Cliff Wells
On Tue, 2009-09-29 at 22:54 -0700, Meikel Brandmeyer wrote: > Hi, > > On Sep 30, 12:19 am, Cliff Wells wrote: > > > In short, you've taken something that was originally CPU-bound and made it > > I/O-bound. > > I don't think so. The measured times do

Re: Generalizing -> & ->>

2009-12-04 Thread Cliff Wells
it was printed on. Any contributor in fear of culpability could resort to simple denial. I am unable to see why someone shouldn't be able to receive a signed PDF via email and achieve a similar level of confidence that the signor was legitimate. Regards, Cliff -- You received this message bec

Re: Generalizing -> & ->>

2009-12-07 Thread Cliff Wells
On Sat, 2009-12-05 at 13:14 +0100, Konrad Hinsen wrote: > On 4 Dec 2009, at 23:23, Cliff Wells wrote: > > > What isn't clear to me is exactly what a piece of paper provides > > that an > > electronic form doesn't (aside from inconvenience). I don't see

Dealing with dynamic header in log file processing

2012-04-13 Thread Cliff Mosley
. If anyone could give me a nudge in the right direction, I would appreciate it. Cliff -- 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