Smart! That's just what I want to do.
Thanks, Leif and the author of Prismimatic.
Best Regards,
Yoshinori Kohyama
--
--
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
Haha. Thanks mate!
I'm really happy that you have seen a use for it. Do let me know if you have
any suggestions on how to improve it
On 03/10/2013, at 10:00, Adam Clements wrote:
> Perfect timing, I just sat down to solve this exact problem, sketched out a
> vague idea of what I wanted and th
Speaking of, is there anything other than Tokyo.clj (which seems pretty
infrequent based on this: http://atnd.org/event/tokyoclj) going on for
Clojurians in Tokyo? I work remotely, using Clojure, and would love to
get together more frequently with other Clojure developers if possible.
If anyone
I think functions like this become pretty clear if you pull out 'unfold'
and 'fold' utilites, like:
https://github.com/Prismatic/plumbing/blob/master/src/plumbing/map.clj#L42
Their 'flatten' generates a seq [path value] pairs, and 'unflatten' turns
that back into a map. With these, you can wri
Are you using Java 6 by any chance? This issue may be due to a gotcha in
java.util.EnumMap. The implementation of the entry set iterator in EnumMap
in Java 6 is unorthodox [1]. Its next() method always returns the same
object, which is mutated to "point" to different entries in the map as the
i
Hi Jozef,
Sounds interesting - is it open source / can you give a URL?
Design question: Why are you interpreting resources as a reducible? I can
see that making sense for some resources, but not for others.
As for "complected" - be careful not to confuse this with "composed". It's
perfectl
On Thu, Oct 3, 2013 at 9:30 AM, Marek Kubica wrote:
> On Tue, 1 Oct 2013 22:01:02 -0700 (PDT)
> Nicolas Modrzyk wrote:
>
> > The whole text has also been written in English, so I guess there
> > could be a chance to put it out there.
> > But we have had no contacts with US/UK publishers so far.
On Tue, 1 Oct 2013 22:01:02 -0700 (PDT)
Nicolas Modrzyk wrote:
> The whole text has also been written in English, so I guess there
> could be a chance to put it out there.
> But we have had no contacts with US/UK publishers so far.
Did you try the usual suspects like O'Reilly or PragProg? They
Ok. I created a project and there is core.clj file and I also ran the
failing tests included in the project file. One thing I noticed the
installer didn't do is that it did not put a shortcut to closure REPL on
the start menu. I am just starting the windows command line from the start
menu.
O
Perfect timing, I just sat down to solve this exact problem, sketched out a
vague idea of what I wanted and then saw this which does everything I
needed but better!
It's really handy for Component/Entity/System designs, as it essentially
takes care of the whole entity part of the program and allow
On Wed, Oct 2, 2013 at 3:53 PM, Angel Java Lopez wrote:
> http://online.wsj.com/article/PR-CO-20131002-904169.html
> The Runa facility in San Mateo will serve as the newest Staples Lab,
> following locations in Seattle and Cambridge. In the coming months Staples
> plans to increase
http://online.wsj.com/article/PR-CO-20131002-904169.html
The Runa facility in San Mateo will serve as the newest Staples Lab,
following locations in Seattle and Cambridge. In the coming months Staples
plans to increase the staff in San Mateo. Candidates with backgrounds in
Clojure programming
On Wed, 2 Oct 2013 14:19:31 -0700 (PDT)
James Warren wrote:
> (defn foo [^Class c]
> ;; note: (into [] (keys (clojure.lang.Reflector/getStaticField c
> "dummyMap" works (keys (clojure.lang.Reflector/getStaticField c
> "dummyMap")))
> (def m (foo DummyClass))
> (println m)
> ;; (# # #)
> (pri
I've been using Clojure for a couple months, so while I feel comfortable
with it, I'm not certain whether some unusual behavior I encountered is a
bug or a lack of understanding on my part. (I suspect the latter.)
The context arose from using Clojure reflection to inspect a class
generated by
Ok, so you did not get lein working. If it were working you would not have
problems creating a new project. I know you are eager to press forward.
Admirable. However, it is what we call initiative without judgement. In the
world of engineering that is considered ill-advised. So, lets get back to
I believe it was on the clojure-docs page (linked from the
clojure.java.jdbc readme) where they talk about managing your own
connection.
The more idiomatic way may be to wrap the whole thing in some transaction
fn or macro. Sorry I'm not familiar with the API. A lot of vars are
deprecated, but the
Actually, re-reading the jdbc/query doc
http://clojure.github.io/java.jdbc/#clojure.java.jdbc/query
I can't find any reference to this ":connection" keyword param.. may I ask
where you got it from?
On Wednesday, October 2, 2013 9:50:13 AM UTC-4, Christian Jauvin wrote:
>
> Ah finally, thanks
Ah finally, thanks John, the "with-open" pattern was indeed the missing
piece: it works!
Just to summarize, here's what works for me:
(extend-type org.postgresql.jdbc4.Jdbc4Array
json/JSONWriter
(-write [o out]
(json/-write (.getArray o) out)))
; plus any other additional required custo
Cedric Greevey writes:
> Erm ... a "MOOC"?
Massive Open Online Course – e.g., Coursera, edX, Udacity, etc. This is
for the Coursera-offered version of the University of Minnesota course
on recommendation systems, but that didn’t seem particularly relevant to
the problem at hand.
-Marshall
--
Alan,
Apologies for the delayed reply - I remember Iota well (there was some
cross-fertilisation between it and foldable-seq a few months back IIRC :-)
Having said that, I don't think that Iota will help in my particular situation
(although I'd be delighted to be proven wrong)? Given that the f
Hi ronen,
This doesn't address your question re: how do it in pure Clojure, but as
a data point we recently implemented a wrapper for Shiro in Clojure for
use in setting policies on a ring-based web app.
We are using our own solution for checking the access policies on routes
themselves, which is
Erm ... a "MOOC"?
On Tue, Oct 1, 2013 at 9:14 PM, Marshall Bockrath-Vandegrift <
llas...@gmail.com> wrote:
> Hi all:
>
> I was wondering – does anyone have any experience with or patterns for
> integrating Clojure with existing Java dependency injection frameworks?
> I’m working with the LensKit
On Sunday, September 29, 2013 8:12:23 PM UTC-7, Tim Visher wrote:
Now with nrepl's ability to have multiple sessions open at once (an
> ability I haven't taken any advantage of personally), you should be
> able to have a JVM nrepl open _and_ a browser repl nrepl session, both
> of which would
23 matches
Mail list logo