Brian: it's not an issue with Midje.
On Tuesday, December 15, 2015, Brian Marick wrote:
> Noam: does this mean it's not an issue with Midje? If it is, I'll look
> into it.
>
> Noam Ben-Ari wrote:
>
>> After upgrading to [reduce-fsm "0.1.4"] a
After upgrading to [reduce-fsm "0.1.4"] all my tests pass with RC3 :-)
On Tuesday, December 8, 2015 at 3:14:21 PM UTC+2, Noam Ben-Ari wrote:
>
> Thanks for the prompt response, I have filed a ticket to the library
> author:
>
> https://github.com/cdorrat/reduce-fs
t;
> This is now an exception http://dev.clojure.org/jira/browse/CLJ-1456.
>
>
> > On 8 Dec 2015, at 13:05, Noam Ben-Ari >
> wrote:
> >
> > Hi,
> > I have just tried 1.8.0-RC3 and saw a problem.
> >
> > I have a project in which I run tests with
Hi,
I have just tried 1.8.0-RC3 and saw a problem.
I have a project in which I run tests with `lein midje`, and this runs fine
with 1.7.0.
When I change the clojure dependency to 1.8.0-RC3 and run it I get this
exception:
---
Exception in thread "main" java.lang.RuntimeException: Too many arg
Cool! I'm glad you found it useful :-)
On Wednesday, January 7, 2015 2:12:35 AM UTC+2, Andrey Antukh wrote:
>
> Hi!
>
> 2015-01-06 20:25 GMT+01:00 Noam Ben-Ari >:
>
>> Hi,
>>
>> I've written a small library (1 ns, 100 lines) to transform nested maps
You are right. If it is only applied to keys, like in Thomas's example, it
can be very helpful.
On Wednesday, January 7, 2015 11:21:39 AM UTC+2, Andrey Antukh wrote:
>
> Hello
>
> 2015-01-07 10:11 GMT+01:00 Noam Ben-Ari >:
>
>> @Thomas
>>
>> Unfortunatel
1561deaf13e11
> "Elapsed time: 35.488 msecs"
>
> clojure.walk has keywordize-keys and stringify-keys, maybe a suitable
> starting point for your implementation.
>
> HTH,
> /thomas
>
>
> On Tuesday, January 6, 2015 8:25:57 PM UTC+1, Noam Ben-Ari wrote:
>&g
l-snake-kebab
>
> It mentions in its docs that it avoids using regex's.
>
> Andy
>
> On Tue, Jan 6, 2015 at 11:25 AM, Noam Ben-Ari > wrote:
>
>> Hi,
>>
>> I've written a small library (1 ns, 100 lines) to transform nested maps
>> from
Hi,
I've written a small library (1 ns, 100 lines) to transform nested maps
from "dash-case" keys to "camelCase" keys and back.
The original use case was taking MySQL records that use camelCase field
names and convert them to dash-case so they don't stick out like a sore
thumb in my code. Simi
Nice job.
I would add to docs how each function handles nil.
Also, I'm used to another meaning for "blank?", from Ruby/Rails and other
places, which returns true iff the string is empty or nil.
On Tuesday, December 23, 2014 7:48:35 PM UTC+2, Andrey Antukh wrote:
>
> Hello everybody.
>
> I want
On Tuesday, February 26, 2013 8:54:19 PM UTC-5, Ari wrote:
>
> On Tuesday, February 26, 2013 3:16:23 PM UTC-5, Chas Emerick wrote:
>
>
>> What do you mean by "sidesteps the auth"? If you're using
>> shoreleave-remote-ring, then the handler produced by
original post.
Following up on my original post, is it possible to create a "roles" cookie
upon initial authentication; if so, how? Thanks.
-Ari
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, se
ess rights to
views, while on the serverside I use a "roles" session variable to
determine access rights to GET/POST data. But Shoreleave side-steps the
serverside authentication/authorization (via friend), so I'm not sure how
to proceed.
Thanks.
-Ari
--
--
You received t
uris can be separated via
configuration?
Also, if the username is an email address authentication, in spite of
correct credentials, fails. Anyone know why that is? Thanks.
-Ari
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
Hi,
I'm trying to incorporate authentication via the interactive form workflow;
however, I'm currently unable to receive submitted credentials for
verification. When I submit the sign-in form that has it's action bound to
"/login", I get "Page not found" as per my default route below. I've
inc
a
less auto-magically way), i.e. without the lein-ring (or lien-war) plugin?
2. How can I create a deployable jar or war -- with or without
lein-ring/lein-war -- when the app relies on an alternative adapter such as
aleph, http-kit, etc?
Thanks.
-Ari
--
--
You received th
s, message
queues, active background jobs, etc. Thanks.
-Ari
--
--
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 pati
>From what I understand, futures would work. But is there a way to limit
thread creation to a predetermined pool size? I'm concerned as more files
are uploaded the continual future calls would soon overwhelm the system.
-Ari
On Monday, February 11, 2013 11:54:19 AM UTC-5, Zack Mar
olved.
Suggestions/recommendations appreciated.
Best,
Ari
--
--
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
Additionally, ".each()" is another option --
(defn listen-to-links
[links]
(.each links
(fn [idx, el]
(.log js/console el
However, how does one reference "this" within the anonymous (or defined)
function?
On Wednesday, January 23, 2013 11:45:13 PM UTC-5, Evan Mezeske
Hi,
The following clojurescript code is *supposed* to identify all anchor tags
and print them (originally, I was trying to attach listeners and
callbacks); unfortunately, I can't get it to work. Confusingly, there are
no compilation or runtime errors. Anyone see what could be wrong? Thanks.
N
I also noticed that when I compile the cljs code I get:
WARNING: Use of undeclared Var jayq.core/clj->js
On Friday, January 18, 2013 9:56:22 PM UTC-5, Ari wrote:
>
> Hi,
>
> Below is the project.clj -- anything stand out? Thanks for the help.
>
> (defproject s
; :optimizations :whitespace
:pretty-print true}}]
:repl-listen-port 3000
:repl-launch-commands {"firefox" ["firefox" :stdout
"stdout.log" :stderr "stderr.log"]}}
:ring {:handler sample.routes/app})
On Friday, January 18, 2013
ure"}),
"\ufdd0'contents":cljs.core.ObjMap.fromObject(["clojure"],
{"clojure":/edn|clojure/}),
"\ufdd0'converters":cljs.core.ObjMap.fromObject(["text edn", "text
clojure"], {"text edn":jayq.core.mimetype_converter,
query/1.8.3/jquery.min.js"</a>;>
var CLOSURE_NO_DEPS = true;
Clojurescript:
(ns myapp.example
(:use [jayq.core :only [$]])
(:use-macros [jayq.macros :only [ready]]))
(ready (js/alert "Hello"))
Error:
jQuery.ajaxSetup(jayq.core.clj__GT_js.call...
-Ari
--
You re
Hi,
Since it can not be included as a dependency, how does one integrate the
Google Closure Template library into a Leiningen-based
Clojure/ClojureScript application? Ideally, I'd like for the templates to
be auto-compiled as is done for *.cljs files via the cljsbuild plugin.
Thanks.
> I'd appreciate suggestions and insights on how I can collapse a nested
> map with "n" number of keys (levels) to create a flat map which is
> comprised of composite keys and a value. For example, let's say we
> have:
>
> { "a" { 2011 [ [ &qu
> Your input isn't a legal Clojure form, and the correlation between
> input and output is difficult to spot, so it is hard to guess what you
> mean.
Sorry about the malformed map, a correctly formed map follows:
{"a" {2011 [["a" 2011 "ari"] ["a
Hi,
I'd appreciate suggestions and insights on how I can collapse a nested
map with "n" number of keys (levels) to create a flat map which is
comprised of composite keys and a value. For example, let's say we
have:
{ "a" { 2011 [ [ "a" 2011 "ari&quo
29 matches
Mail list logo