Thanks
On Jul 29, 2012 3:38 AM, "Benjamin Kircher"
wrote:
> On Sat, Jul 28, 2012 at 2:05 PM, Rich Hickey wrote:
> > You can now get official Clojure stickers here:
> >
> > http://clojure.org/swag
> >
> > I'll be adding T-shirts etc soon.
> >
> > Rich
> >
> > On Jul 19, 2012, at 3:13 PM, charlie
Thanks, but the question was not about the empty() methods.
On Sunday, July 29, 2012 4:14:09 AM UTC+2, tbc++ wrote:
>
>
>
> On Sat, Jul 28, 2012 at 7:47 AM, Per Mildner wrote:
>
>> Looking at the persistent types in clojure.lang.* (PersistentVector.java
>> et al.) I see several occurrences of th
I am sorry, You are correct. I see what you mean. I mis-interpreted meta()
as returning an empty meta-map.
On Sunday, July 29, 2012 10:26:46 AM UTC+2, Per Mildner wrote:
>
> Thanks, but the question was not about the empty() methods.
>
> On Sunday, July 29, 2012 4:14:09 AM UTC+2, tbc++ wrote:
>>
I want to use goose(https://github.com/jiminoc/goose) in a Clojure project
and found a StackOverflow answer that pointed me to lein-localrepo.
However, I couldn't figure out how to use it.
I did:
lein localrepo install ../goose/target/goose-2.1.19.jar goose/goose 2.1.19
And lein locallrepo list
I'm doing some exercises in coding that are meant for Java but I'm doing
them in Clojure. I'm stuck on this one. The goal is
to return true if an array of ints contains two consecutive 2s. I figured
I'd use Stuart Halloway's by-pairs function to turn the sequence
into pairs of numbers and check for
In your has22 definition, (by-pairs [a]) should be (by-pairs a)
On Sun, Jul 29, 2012 at 9:07 AM, John Holland wrote:
> I'm doing some exercises in coding that are meant for Java but I'm doing
> them in Clojure. I'm stuck on this one. The goal is
> to return true if an array of ints contains two c
Also, take a look at `partition'.
On Sun, Jul 29, 2012 at 3:19 PM, Mark Rathwell wrote:
> In your has22 definition, (by-pairs [a]) should be (by-pairs a)
>
> On Sun, Jul 29, 2012 at 9:07 AM, John Holland wrote:
>> I'm doing some exercises in coding that are meant for Java but I'm doing
>> them i
Thanks!
On Sun, Jul 29, 2012 at 9:22 AM, Moritz Ulrich wrote:
> Also, take a look at `partition'.
>
> On Sun, Jul 29, 2012 at 3:19 PM, Mark Rathwell
> wrote:
> > In your has22 definition, (by-pairs [a]) should be (by-pairs a)
> >
> > On Sun, Jul 29, 2012 at 9:07 AM, John Holland
> wrote:
> >> I
On 07/28/2012 07:05 AM, Rich Hickey wrote:
You can now get official Clojure stickers here:
http://clojure.org/swag
I've already ordered enough for myself and all my coworkers. I'll paste
one on my laptop lid (as will they all), and -- let's see -- one for the
car, one for the front window a
Hey Ben,
It's the same problem.
user> (incanter/exp (incanter/minus 3254604.9658621363))
0.0
But it's not the functions. It's the math. Euler's number 2.71828... raised
to the power of 3254604.9658621363, gives Infinity. So for my neural net's
activation func, either i) I shouldn't used a sigmo
Hi Tim,
According to :
http://www.heatonresearch.com/content/encog-30-article-2-design-goals-overview
encog 3 should have descent support for any temporal (time-series) based
prediction support in particular for financial predictions...I'm afraid
however that the only example that I've ported to
On Thursday, July 26, 2012 3:59:46 PM UTC-4, Aaron Lebo wrote:
>
> {snip}
The JVM really does have a wide swath of functionality already available.
> Some of the things that I ended up using were email libraries, date
> formatting libraries, and an rss feed generator. There never was a point
Hello programmers,
Hi, Sierra. Thank you replying.
O.K. I can not always contol the classloader of the whole JVM.
Then, how can I get the dynamic classloader for my current code/thread?
Or can't I?
Regards,
Yoshinori Kohyama
--
You received this message because you are subscribed to the Goog
Is there a way to create doc strings on both interfaces (procotols, multi
functions) and concrete implementations (protocol implementation,
multi-methods)? For now it seems to me I can only have doc strings for the
interfaces. If that is the case, I feel it is something worth fixing,
because in
Here's an edge case for you:
(has22 [1 2 2 1]) ; false
:)
U
--
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
Warren Lynn writes:
> Is there a way to create doc strings on both interfaces (procotols,
> multi functions) and concrete implementations (protocol
> implementation, multi-methods)?
No, I don't think so.
> Assuming we don't have it yet, what I am hoping for is, when I do (doc
> symbol), or use
getting http 500 after registration =(
On Thursday, July 26, 2012 10:59:46 PM UTC+3, Aaron Lebo wrote:
>
> Hello!
>
> Sometime around 2 and a half months ago, I started to work on a new
> project using Clojure. I've been using Python heavily for about 6 six years
> working for a small direct mai
Hi Samrat.
Could you explain how you are trying to access the site (address) and what
is happening?
I started out in noir, and ended up using a lot of the design patterns and
validation library. I stopped using noir for two reasons: I like being able
to see the routes of all of my urls on a singl
>
> Curious: If you didn't find what you needed in Java's standard class
> library, where else did you go looking for Java libraries?
>
Usually it was just a matter of Googling something like "java rss" if I was
in need of an rss library. Once I found a library which seemed useful and
supported, i
What would we do without bugs? :) :(
I've noticed that several people have gotten in using regular registration
as well as even logging in through github or Facebook. What method are you
using?
On Sun, Jul 29, 2012 at 2:15 PM, Andrew Kondratovich <
andrew.kondratov...@gmail.com> wrote:
> getting
Just saw that you are actually in the system here:
http://www.kodefund.com/users/8/
The 500 error probably was in sending off the validation email, which you
dont need to login. Sorry, some of these little things pop up from time to
time.
On Sun, Jul 29, 2012 at 2:47 PM, Aaron Lebo wrote:
> Wh
> In general, all different versions of a function should somehow do the
> same thing, so with separate docstrings you'd need to repeat yourself.
> A good guideline is to write the "big picture" first, followed by the
> meaning of the different parameters.
>
>
I agree the design should keep a
On Sunday, 29 July 2012 17:37:40 UTC+5:30, Samrat Man Singh wrote:
>
> I want to use goose(https://github.com/jiminoc/goose) in a Clojure
> project and found a StackOverflow answer that pointed me to lein-localrepo.
> However, I couldn't figure out how to use it.
>
> I did:
> lein localrepo ins
I'll ask this differently. I do not see "a" used anywhere inside of that
function. So why is it being given to that function?
On Tuesday, July 24, 2012 1:36:27 AM UTC-4, Philip Potter wrote:
>
> "a" is the current value of the agent. *agent* is the agent itself.
>
> Remember the universal up
On 30 July 2012 01:34, larry google groups wrote:
>
> I'll ask this differently. I do not see "a" used anywhere inside of that
> function. So why is it being given to that function?
I have not used send-off, but I think the answer is as follows:
When you call (send-off the-agent the-function), "
>
> When you call (send-off the-agent the-function), "the-function" gets
> called with a single argument (which is the current value of the
> agent). That is why log-dumper has an argument. Of course,
> log-dumper does not use its argument, but it must still be there.
> Perhaps it should hav
You can't. The dynamic classloader is an internal implementation detail of
Clojure; you can't rely on it being available anywhere.
If you're interested in runtime control over the the Java classpath, look
at https://github.com/cemerick/pomegranate
-S
On Sunday, July 29, 2012 2:05:00 PM UTC-4,
Hi John,
'partition' will be useful for you, as Moritz pointed out.
(partition 2 1 [1 2 3 4]) -> ((1 2) (2 3) (3 4))
(partition 2 1 [1 2 2 4]) -> ((1 2) (2 2) (2 4))
(partition 2 1 [1 2 2 2]) -> ((1 2) (2 2) (2 2))
(some #(= % [2 2]) (partition 2 1 [1 2 3 4])) -> nil
(some #(= % [2 2]) (partitio
Hi Sierra,
Thank you for your kind and quick answers to my questions.
I see.
I'll read the page you referred.
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
No
Hello clojurians,
It seems not to be able to control the whole classpath of my runtime.
But my aim, compiling with a path given at runtime and execute it, has been
achieved,
with
(.setContextClassLoader (Thread/currentThread)
(DynamicClassLoader. (.getContextClassLoader (Thread/currentThrea
I forgot to show foo/core.clj
$ cat samples/src/foo/core.clj
(ns foo.core)
(defn -main [& args]
(loop []
(println "Foo: " (apply str (interpose " " args)))
(Thread/sleep 1000)
(recur)))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
31 matches
Mail list logo