Jony,
It is being introduced into what was the intro to OO course.
cheers,
Bruce
On Fri, Oct 10, 2014 at 11:27 PM, Jony Hudson jonyepsi...@gmail.com wrote:
If this is the unofficial survey post of academics using Clojure then I'd
better add myself to the list :-)
@Bruce do you know what
Dear Clojurians,
Inclusion of such questions on the survey would be another opportunity
for Clojure to be more than just not unwelcoming to atypical folks and
allow us to purposefully invite more people to this relative paradise we
inhabit.
I would simply not fill the survey. Because what
In the following code, I'm struggling to be idiomatic and at the same time
to consider save times of iterations. I sometimes find it conflicts between
the two objectives of expressiveness and performance, for example, in order
to save time of iterations over a sequence, I have to use (loop, and
Here is the link to the gist for the
code https://gist.github.com/yubrshen/63ffda973aff27d39868
On Wednesday, October 15, 2014 4:12:56 PM UTC+8, Yu Shen wrote:
In the following code, I'm struggling to be idiomatic and at the same time
to consider save times of iterations. I sometimes find it
Can you still tell me what the problem statement is? I saw some
mutation in the earlier code, may be it was for testing. ~BG
On Tue, Oct 14, 2014 at 6:25 PM, Ashish Negi thisismyidash...@gmail.com wrote:
@BG
Glad to know i am interacting with you :)
Of course i understand that you are not
Problem is to evaluate a calculator string containing * / + - and brackets
like 2+3*(4+2)/2/2
and the grammar for this is right associative for operators and precendence
is as we know : -unaray, brackets */+-
Also answer should be in (mod 17) which requires
Hi,
I have the opportunity to start some clojure here in our office, we are a
pure java team right now and as I am the only working on this currently I
would like to run some tests in clojure. Of course, these tests will have
to test existing java code.
So ideally, what I would like to do is
Hi All,
I’d like to offer an alternative implementation of clojure.core/transduce.
(I’ve done some searching, and I didn’t find any evidence that this has
been raised before, but my apologies if I missed anything.)
This alternative is best motivated by example. Consider the following
maybe someone will jump in with all the answers, but in the mean time here
are some pointers.
if you are using clojure.test, then test-out
https://github.com/arohner/lein-test-out will format the results so they
can show up in continuous integration and eclipse as well if you can get
Dan, I haven't read yours or Christophe Grand's articles thoroughly enough
even to know whether your ideas are similar, but you may be interested to
read this thread, and the blog posts written by Christophe, linked from his
first message in this discussion thread:
I wrote a few more words to describe the motivation behind logconfig:
http://spootnik.org/entries/2014/10/15_easy-clojure-logging-set-up-with-logconfig.html
On Tue, Oct 14, 2014 at 11:17 PM, Pierre-Yves Ritschard p...@spootnik.org
wrote:
Hi,
While clojure.tools.logging does a great job at
Hi Andy,
Thanks for the reference. I had already read Christophe’s blog posts, and
had seen some of the the discussion around them. I can attempt to offer a
comparison of what is being proposed.
Christophe is proposing changing the types. To illustrate this, in his
formulation, the identity
Greetings Clojure users.
In order to defend against the PoodleBleed SSL attack[1], I've disabled
SSL v3 on Clojars's nginx server.
This will break compatibility at least with IE6, and possibly some other
clients. If anyone discovers important clients that require SSL v3
enabled, let us know at
Hi folks
I know when I send/send-off an action to an agent within a STM transaction
no action will be
dispatched if transaction fails to commit.
I was expecting similar behaviour when agent fails: the transaction does
not commit when
the action puts the agent in an invalid / failed state.
It
Asking questions about race and/or gender can be a very sensitive issue and a
lot of people would refuse to complete those sections, or may even refuse to
complete the survey at all if such questions were included - for a variety of
very valid reasons.
Sean
On Oct 14, 2014, at 9:23 PM, Zack
Hi everyone,
I am learning core.typed and ran into a stumbling block. When I use
annotations on normal functions and run 'check-ns', things work out ok,
;; works as expected
(ann plus1 [Number - Number])
(defn plus1 [n] (+ n 1))
;; Works as expected
(ann mult-arity [Number String - (HMap
I would rather not say is a common and valid response in these scenarios.
On Wed, Oct 15, 2014 at 12:19 PM, Sean Corfield s...@corfield.org wrote:
Asking questions about race and/or gender can be a very sensitive issue and a
lot of people would refuse to complete those sections, or may even
On Oct 15, 2014, at 11:29 AM, Ashton Kemerling ashtonkemerl...@gmail.com
wrote:
I would rather not say is a common and valid response in these scenarios.
Yes, although that doesn't address that there are people who will not complete
a survey that even asks such questions (on a philosophical
Hi all,
another performance question ... this time about arithmetic on vectors :-)
Let's say I have two vectors of numbers (specifically, things with type
clojure.lang.PersistentVector, containing things of type java.lang.Double).
And let's say I want to sum the differences [1] between
Slowdowns wrt math are caused mainly by boxing and range check, see this
thread [1]
[1] https://groups.google.com/d/msg/clojure/kcx5eKdMxcs/Wy4_IHrSEaMJ
Jozef
On Wednesday, October 15, 2014 9:53:40 PM UTC+2, Jony Hudson wrote:
Hi all,
another performance question ... this time about
Hi,
The issue is that you can't use clojure.core/for in typed code.
You must use clojure.core.typed/for
http://clojure.github.io/core.typed/#clojure.core.typed/for, and annotate
the parameters and expected type.
(ann map-span (All [x y y1] [(Map x y) [y - y1] - (Map x y1)]))
(defn map-span [m
Thanks, that's really useful!
Jony
On Wednesday, 15 October 2014 20:53:40 UTC+1, Jony Hudson wrote:
Hi all,
another performance question ... this time about arithmetic on vectors
:-) Let's say I have two vectors of numbers (specifically, things with type
clojure.lang.PersistentVector,
Thanks Ambrose,
It makes way better sense after looking at your gist. I still don't *quite*
understand the :- syntax, though. Is it just introducing a type declaration
to the data structure that comes after it?
This is a super cool project, by the way.
K
On Wednesday, October 15, 2014
The :- is just a bit of syntax to signify an annotation. As a rule, it goes
*after*
the form you might expect to attach metadata to.
eg. (t/fn [a :- Int] :- Num ) is [Int - Num]
(t/let [a :- Int, 1] ...) checks 1 as being under Int.
(t/let [[a b] :- '[Num Num], [1 2]] ...) checks
There are primitive vectors. Extraordinary clever.
http://clojuredocs.org/clojure.core/vector-of
/Linus
Den 16 okt 2014 00:02 skrev Jony Hudson jonyepsi...@gmail.com:
Thanks, that's really useful!
Jony
On Wednesday, 15 October 2014 20:53:40 UTC+1, Jony Hudson wrote:
Hi all,
another
I don't really get it. I don't see a legitimate reason why anyone would
refuse to participate in the survey because it included demographic
questions. The survey is anonymous. The combination of questions is not
such that it would be at all plausible that anyone could be identified by
their
I'm curious if there's any empirical evidence that significant numbers of
people will do that.
On Wed, Oct 15, 2014 at 6:23 PM, Mars0i marsh...@logical.net wrote:
I don't really get it. I don't see a legitimate reason why anyone would
refuse to participate in the survey because it included
On Thu, Oct 16, 2014 at 8:30 AM, Ashton Kemerling ashtonkemerl...@gmail.com
wrote:
I'm curious if there's any empirical evidence that significant numbers of
people will do that.
Suppose I have provided reliable data that shows only 0.1% would refuse to
answer such a Survey. A programming
I'm replying to Ashton and Mars0i off-list - and I'm happy to continue
discussing the issue off-list, with anyone who wants to, but I think it's
getting off-topic and close to inappropriate for this (technical) list.
And, for what it's worth, Atamert, I'm on your side on this.
Sean
On Oct 15,
I wasn't prepared to make moral statements about the survey, I'm just
interested in what helps the community the most. If such questions would
exclude people from the survey and/or the community then obviously that seems
problematic, although I'm curious (but not doubtful) as to why that would
I also just realized that I'm accidentally continuing this conversation despite
Sean's best efforts. Please disregard my last message.
On Wed, Oct 15, 2014 at 8:31 PM, Ashton Kemerling
ashtonkemerl...@gmail.com wrote:
I wasn't prepared to make moral statements about the survey, I'm just
After reading Sean's thoughtful off-list remarks, I think it's worth
commenting on my previous remarks. I don't think it matters whether I
understand people's reasons. People may have their own personal reasons
for not wanting to answer demographic questions, and I accept that, don't
object
That's much clearer now. Thanks a lot.
On Wednesday, October 15, 2014 5:46:37 PM UTC-5, Ambrose Bonnaire-Sergeant
wrote:
The :- is just a bit of syntax to signify an annotation. As a rule, it
goes *after*
the form you might expect to attach metadata to.
eg. (t/fn [a :- Int] :- Num
33 matches
Mail list logo