jayvandal writes:
> CompilerException java.lang.RuntimeException: Unable to resolve symbol:
> init-db
> in this context, compiling:(NO_SOURCE_PATH:1)
> This is the db.clg file
> ===
> (ns jimsweb.models.db
> (:require [clojure.java.jdbc :as sql]))
According
Hi Kelker,
thanks for the explanations. I will have a closer look to get
a better understanding. It's nice to see the diversity of the
various approaches.
All best,
--
Bastien
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this
Did not work.. all that is strange since I've been following the manual
step-by-step.. looks like the shoreleave's wrapper does not even create a
http route for itself... any other ideas?
On Friday, July 12, 2013 7:14:42 AM UTC+4, Samrat Man Singh wrote:
>
> I think you need to (use projectname.
I would definitely like to have such a reference because I often work with
performance-critical code which I mostly delegate to Java. I would like to
see it organized in categories for easier access, with commentaries to each
case on why is this so (for example, i would suppose that aset-int sho
For my own needs, I wrote a macro 'timings' - see Timing expressions and
comparing results:
https://groups.google.com/d/msg/clojure/o8pOLc6uxQQ/bui7sJ-F5_wJ
Code and examples are here:
https://gist.github.com/fsodomka/5890711
Your examples on my machine with Clojure 1.5.1:
(report
(let [x 2 y [
So, I find that what they provide are absolutely fantastic.
But I don't see much action around them, are they considered maintained?
Things on my wishlish:
Shrinking of failing inputs.
More readable reports.
A couple of blogs or videos discussing them, I think that most people don't
know what they
Shrinking is a key requirement for me as well (1000-line-long data literals
that produce a failure are better than nothing, but not quite as nice as its
shrunken 40-character literal that provokes the same failure). You might be
interested in simple-check, which is a "Clojure property-based tes
Hi, I have taken a look at simple-check.
Seems promising, but I have a few reservations:
I want to constrain the generation of two vectors to always have the same
number of elements as the other one.
>From what I can understand simple-check always uses the same max-size in a
property and have no
Very helpful, thanks for the explanation Mikera!
On Thursday, July 11, 2013 6:45:35 AM UTC-5, Mikera wrote:
>
> This is a heavily overloaded naming space - especially when you consider
> code.matrix as well, and usage of these words in mathematical / scientific
> communities.
>
> Data scientis
Hi Zach, this looks very interesting indeed and a great next step
after Gloss. For my SimpleCL[1] project I needed something v.similar,
but went a slightly different way to represent clj data as byte
buffers and compile them from specs parsed from C (header) files[2]. I
will give Vertigo a try ASAP
I'm trying to match a false value of map's key (foo.bar) , which in
javascript effectively means also undefined,null etc... It seems to me that
core.match matches the value exactly. Is there any way to do this?
The other way would be to match "not true", but the docs don't give me any
hint ho
Having fun going through the tutorial! Thanks for the good stuff!
,boz
On Tuesday, July 9, 2013 9:03:58 AM UTC-7, Ryan Neufeld wrote:
>
> Hey there, Clojurians/Pedestallions!
>
> I'm pleased to announce the release of a comprehensive tutorial for
> pedestal-app: http://bit.ly/pedestal-app-tutori
Do you have a small failing example?
On Mon, Jul 15, 2013 at 12:08 PM, Michal Till wrote:
> I'm trying to match a false value of map's key (foo.bar) , which in
> javascript effectively means also undefined,null etc... It seems to me
> that core.match matches the value exactly. Is there any way
On Monday, July 15, 2013 9:41:03 AM UTC-5, Andreas Liljeqvist wrote:
>
> Hi, I have taken a look at simple-check.
>
> Seems promising, but I have a few reservations:
>
> I want to constrain the generation of two vectors to always have the same
> number of elements as the other one.
> From what I
I recently rewrote my team's IRC bot to use tools.namespace and
core.async. You can check out the source on GitHub at
https://github.com/mybuddymichael/pgbot.
To explain briefly, the bot is basically several loops communicating
over channels. The primary processes are two async/threads, reading
li
If you (vertigo.core/wrap "a-file-name"), that will use mmap under the
covers, so if no one's tried it, it's easy enough to start.
With respect to non-fixed data layouts, that could be supported by a
library which parses the framing information, and then layers Vertigo atop
the actual data. In ef
Hmm, good point, especially the `let` one... What is `as->`? I can't find
anything about that.
There is one benefit over `let` though: it is more explicit. Let allows you
to define independent bindings mixed together with multiple threads of
dependent bindings (which can be mixed in random comb
On July 15, 2013 at 6:30:28 PM, Daniel Dinnyes (dinny...@gmail.com) wrote:
Hmm, good point, especially the `let` one... What is `as->`? I can't find
anything about that.
http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/as-%3E
There is one benefit over `let` though: it is more e
Hi there
What are you using to authenticate with Google, Facebook, GitHub or Twitter?
Thanks
Plínio
--
--
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 a
This is a great example of both Stuart Sierra's suggested workflow
(from his talk at Clojure/West) and of using core.async to simplify
concurrent, collaborating processes! Thanks for sharing!
Sean
On Mon, Jul 15, 2013 at 11:10 AM, mybuddymichael
wrote:
> I recently rewrote my team's IRC bot to u
user=> (go
(try
(go (throw (Exception.)))
(catch Exception ex
(println "catched"
IllegalArgumentException contains? not supported on type:
clojure.lang.PersistentList clojure.lang.RT.contains (RT.java:724)
Why am I getting this error?
--
--
Yo
In the latest copy of core.async (taken from github master), I get this
error:
(go
(try
(go (throw (Exception.)))
(catch Exception ex
(println "catched"
xception in thread "async-dispatch-2" java.lang.Error: java.lang.Exception
at
java.util.concurr
Interesting. This seems like a pretty promising direction for the bottom of
the big-data stack.
A use case on my mind is sorting a big list of datastructures by key (or
some set of keys/paths) .
Once the data gets big, you need to do an external sort, which means tons
of serialization round trips
Hi Plínio,
Plínio Balduino writes:
> What are you using to authenticate with Google, Facebook, GitHub or
> Twitter?
I'm experimenting with "friend":
https://github.com/cemerick/friend
http://friend-demo.herokuapp.com/
HTH,
--
Bastien
--
--
You received this message because you are subsc
24 matches
Mail list logo