Re: Thnx for clojureconj videos !!

2014-11-24 Thread Colin Yates
+1. I couldn't make it either (coming from the UK just wasn't feasible) and 
it is just fantastic to be able to catch up. Clojure Gazette 
(http://us4.campaign-archive2.com/?u=a33b5228d1b5bf2e0c68a83f4id=a358c38217e=0ebb9aee00)
 
is also really useful as a guide.

On Saturday, 22 November 2014 13:09:04 UTC, Geraldo Lopes de Souza wrote:

 Thank you very much for clojureconj videos !!



-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-24 Thread Ruslan Prokopchuk
If you want something artistic though exotic enough to be not used on 
github before, you can try 'nerikomi' (see google or 
http://nerikomi.blogspot.com/ for samples) — beautiful Japanese art of 
pottery where every layer of clay customized with different chemical 
reactions to produce beautiful patterns.

Saying about ui-spec, I really like it, but I think it should be developed 
in communication with one of concrete realizations — e.g. freactive for 
DOM. This way we will see real drawbacks and advantages of this model being 
used for real applications, and will have chance to advance it and refactor 
accordingly. But, may be it is only my approach to go up of the abstraction 
ladder — somebody prefer to think about ideal abstraction in advance and 
then implement it carefully.

At the moment I can't say if my problems with using freactive are problems 
of implementation or spec. Need more time to play with.

понедельник, 24 ноября 2014 г., 6:45:12 UTC+3 пользователь Aaron написал:

 Glad to see all the enthusiasm about names :) If you think of others, you 
 can let me know. Probably leaning towards something artistic sounding like 
 fresco so far... 

 But anyway, more importantly did anyone check out the docs I just posted? 
 In particular the UI spec one: 
 https://github.com/aaronc/freactive.core/blob/master/UI-SPEC.md. What do 
 people think about the idea of trying to generalize conventions for writing 
 reactive UI's? Decomplecting state management from the underlying UI 
 renderer, common semantics, etc... 

 On Sunday, November 23, 2014 2:44:49 PM UTC-5, Henrik wrote: 
  Hacker News has sort of noticed: 
 https://news.ycombinator.com/item?id=8648491 
  
  
  
  
  
  On Sunday, November 23, 2014 8:32:11 PM UTC+1, Jason Lewis wrote: 
  Furthermore (it occurs to me) cesium is used to drive atomic clocks... 
 so if you're using an atom to maintain state... even more relevance. 
 Relevance? Wait, it's Cognitect now :) 
  
  
  
  
  Jason Lewis 
  
  
  vox  410.428.0253 
  twitter  @canweriotnow 
  blog http://decomplecting.org 
  else http://about.me/jason.lewis 
  
  
  On Sun, Nov 23, 2014 at 2:20 PM, Jason Lewis ja...@decomplecting.org 
 wrote: 
  
  Cesium is the most reactive element of all... and the name isn't taken 
 on Clojars. 
  
  
  Cesium will react explosively even with ice. 
  
  
  
  
  Jason Lewis 
  
  
  vox  410.428.0253 
  twitter  @canweriotnow 
  blog http://decomplecting.org 
  else http://about.me/jason.lewis 
  
  
  
  
  On Sun, Nov 23, 2014 at 1:21 PM, Gary Trakhman gary.t...@gmail.com 
 wrote: 
  
  The two best ones I can think of right now 
  
  
  Halogen: they're known as highly reactive elements. 
  Precipitate: both a noun and a verb, the solid that falls out of a 
 solution, or to bring about such a reaction. 
  
  
  Other chemical-ish names considered 
  Enantiopure - Containing compounds of only a single chirality  
  Fullerene - Bucky-Balls, they're just cool 
  Recycle - 'Save the trees', and also 'recycle streams' from chemical 
 engineering.  
  
  
  
  
  On Sun, Nov 23, 2014 at 12:37 PM, Aaron Craelius aaronc...@gmail.com 
 wrote: 
  
  Fresco isn't bad. I think it's better than freactive at least. Seems 
 to be relatively popular for a name, but no big projects: 
 https://github.com/search?o=descp=1q=frescos=starstype=Repositoriesutf8=✓
  
  
  
  On Sun, Nov 23, 2014 at 3:05 AM, Olli Piepponen kot...@gmail.com 
 wrote: 
  
  If you are open to name suggestions, how about Fresco? 
  
  
  
  
  
  
  
  -- 
  
  Note that posts from new members are moderated - please be patient with 
 your first post. 
  
  --- 
  
  You received this message because you are subscribed to a topic in the 
 Google Groups ClojureScript group. 
  
  To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojurescript/99myJ9vLeKQ/unsubscribe. 
  
  To unsubscribe from this group and all its topics, send an email to 
 clojurescrip...@googlegroups.com. 
  
  To post to this group, send email to clojur...@googlegroups.com. 
  
  Visit this group at http://groups.google.com/group/clojurescript. 
  
  
  
  
  
  
  
  
  
  -- 
  
  Note that posts from new members are moderated - please be patient with 
 your first post. 
  
  --- 
  
  You received this message because you are subscribed to the Google 
 Groups ClojureScript group. 
  
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojurescrip...@googlegroups.com. 
  
  To post to this group, send email to clojur...@googlegroups.com. 
  
  Visit this group at http://groups.google.com/group/clojurescript. 
  
  
  
  
  
  
  
  -- 
  
  Note that posts from new members are moderated - please be patient with 
 your first post. 
  
  --- 
  
  You received this message because you are subscribed to the Google 
 Groups ClojureScript group. 
  
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to 

Google Clojure REPL

2014-11-24 Thread Lorentzz00
Hello to all;

So, the Clojure REPL for Lollipop doesn't
Work. Why? Why won't it install? When will you migrate to 1.6 or 1.7?

Hope to hear something soon.
Lorentzz

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Clojure REPL

2014-11-24 Thread Andy Fingerhut
Lorentzz:

It might help to provide more information with your question.  For example,
what file did you download, and from where, if any?  What steps did you
try?  What did you see?

Also, who you are referring to by you is not clear.

Please realize that a relatively small fraction of people who use Clojure
do so on Android.

Andy

On Sun, Nov 23, 2014 at 2:39 PM, Lorentzz00 loren...@netzero.com wrote:

 Hello to all;

 So, the Clojure REPL for Lollipop doesn't
 Work. Why? Why won't it install? When will you migrate to 1.6 or 1.7?

 Hope to hear something soon.
 Lorentzz

 --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-24 Thread Cecil Westerhof
Floor works:
(Math/floor (/ (* 12 100) 71))
16.0

Ceil works:
(Math/ceil (/ (* 12 100) 71))
17.0

But round gives an error:
(Math/round (/ (* 12 100) 71))
IllegalArgumentException No matching method found: round
clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80)

Why?

-- 
Cecil Westerhof

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-24 Thread Fluid Dynamics
On Monday, November 24, 2014 7:37:20 AM UTC-5, Cecil Westerhof wrote:

 Floor works:
 (Math/floor (/ (* 12 100) 71))
 16.0

 Ceil works:
 (Math/ceil (/ (* 12 100) 71))
 17.0

 But round gives an error:
 (Math/round (/ (* 12 100) 71))
 IllegalArgumentException No matching method found: round  
 clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80)

 Why?


Seems buggy to me. It might be being provoked by the fact that Math/round 
has an overload for float as well as double, but floor and ceil do not. A 
workaround for now is to wrap the argument to round in (double...).

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-24 Thread Plínio Balduino
Hi, Cecil

Because java.lang.Math#round supports only two types: float and double.
Java won't find the equivalent signature with Ratio or Number.

https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#round(double)
https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#round(float)

Regards

Plínio


On Mon, Nov 24, 2014 at 10:37 AM, Cecil Westerhof cldwester...@gmail.com
wrote:

 Floor works:
 (Math/floor (/ (* 12 100) 71))
 16.0

 Ceil works:
 (Math/ceil (/ (* 12 100) 71))
 17.0

 But round gives an error:
 (Math/round (/ (* 12 100) 71))
 IllegalArgumentException No matching method found: round
 clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80)

 Why?

 --
 Cecil Westerhof

 --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-24 Thread Plínio Balduino
Hi Dan

Please accept my two cents.

I prefer the indentation; it makes more sense to me.

No, he didn't misunderstand, sorry.

Anyway, Batsov's Style Guide is an awesome resource, even though you won't
follow the items ipsis literis, is good to understand how to work and think
in the 'Clojure Way'.

For example, when one is new to Ruby, it's normal to find the for statement
there. Once one gets used to 'Ruby Style', the each method becomes the
standard.

An example that I used with my team some days ago:

In Portuguese (our native language) we use nouns before adjective. Um dia
quente.

In English we use nouns after adjective. A hot day.

Even if you swap the order in Portuguese (um quente dia) or in English (a
day hot), a native speaker will understand with more or less
effort. Syntactically it's not wrong, semantically is OK, but the
construction it's not in the 'Portuguese way' or in the 'English way'.

So unless you don't mind to speak with yourself all the time, please try to
understand and follow the rules and the way of your new environment. After
all you don't want to be seen as an arrogant guy or as someone who doesn't
want to learn just because your way makes more sense to you.

Please don't understand I'm judging you. I have a very bad impression of
LISPs communities in general, but the Clojure community is highly
newcomer-friendly and the other guys who tried to help you, for example,
are high skilled and very busy professionals. In any other community (I'm
cofounder of JS, Clojure and Ruby communities) you woudn't find that good
will to help, unfortunately.

Sorry for the completely off-topic, best regards and welcome to community.

Plínio



On Sun, Nov 23, 2014 at 9:01 PM, Dan Campbell dcwhat...@gmail.com wrote:

 As long as you’re prepared to be told this every time you show your code
 to people, that’s up to you.

 I think you misunderstood the response.



 On Sun, Nov 23, 2014 at 5:49 PM, Sean Corfield s...@corfield.org wrote:

 On Nov 23, 2014, at 2:41 PM, Dan Campbell dcwhat...@gmail.com wrote:

 Sorry man, but I'm not willing to change my personal coding style.  It's
 not a matter of getting used to Clojure.  I'm not an expert on it yet, but
 I've been studying and working with it, for a little over a year.  I prefer
 the indentation; it makes more sense to me.


 As long as you’re prepared to be told this every time you show your code
 to people, that’s up to you.

 Your image, though, doesn't reflect my intended indentation style for
 lisp code.  It looks like some reformatting took place.


 Of course - I reformatted it to match the Clojure community style. The
 image was to show rainbow parentheses, specifically.

 If there are other styles out there, that you know about, I'm willing to
 take a look at them.  Although the traditional lisp style with multiple
 adjacent parentheses doesn't work for me, there might be other styles worth
 looking at.


 All the style guides will follow that style - that’s how Lisp is written
 :)

 Here’s the most standard Clojure style guide, based on the style in
 Clojure books, and Clojure/core’s own library style guide:

 https://github.com/bbatsov/clojure-style-guide

 Thanks for pointing out the error in the if statement.  You're correct.


 Glad I was able to help.

 Sean Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)



  --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Clojure group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/clojure/GFOXhZKooyI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this 

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-24 Thread Dan Campbell
Thanks for the input, Plinio.

If the community jumps to the conclusion that I'm arrogant, because I like
to work in style that's clear  works for me, then I won't be surprised if
they don't offer assistance in the future.

From my point of view, as long as they receive my contributions or requests
for assistance in a form that's palatable to them, it's not anyone's
business how I code on a daily basis.


On Mon, Nov 24, 2014 at 9:10 AM, Plínio Balduino pbaldu...@gmail.com
wrote:

 Hi Dan

 Please accept my two cents.

 I prefer the indentation; it makes more sense to me.

 No, he didn't misunderstand, sorry.

 Anyway, Batsov's Style Guide is an awesome resource, even though you won't
 follow the items ipsis literis, is good to understand how to work and think
 in the 'Clojure Way'.

 For example, when one is new to Ruby, it's normal to find the for
 statement there. Once one gets used to 'Ruby Style', the each method
 becomes the standard.

 An example that I used with my team some days ago:

 In Portuguese (our native language) we use nouns before adjective. Um
 dia quente.

 In English we use nouns after adjective. A hot day.

 Even if you swap the order in Portuguese (um quente dia) or in English (a
 day hot), a native speaker will understand with more or less
 effort. Syntactically it's not wrong, semantically is OK, but the
 construction it's not in the 'Portuguese way' or in the 'English way'.

 So unless you don't mind to speak with yourself all the time, please try
 to understand and follow the rules and the way of your new environment.
 After all you don't want to be seen as an arrogant guy or as someone who
 doesn't want to learn just because your way makes more sense to you.

 Please don't understand I'm judging you. I have a very bad impression of
 LISPs communities in general, but the Clojure community is highly
 newcomer-friendly and the other guys who tried to help you, for example,
 are high skilled and very busy professionals. In any other community (I'm
 cofounder of JS, Clojure and Ruby communities) you woudn't find that good
 will to help, unfortunately.

 Sorry for the completely off-topic, best regards and welcome to community.

 Plínio



 On Sun, Nov 23, 2014 at 9:01 PM, Dan Campbell dcwhat...@gmail.com wrote:

 As long as you’re prepared to be told this every time you show your code
 to people, that’s up to you.

 I think you misunderstood the response.



 On Sun, Nov 23, 2014 at 5:49 PM, Sean Corfield s...@corfield.org wrote:

 On Nov 23, 2014, at 2:41 PM, Dan Campbell dcwhat...@gmail.com wrote:

 Sorry man, but I'm not willing to change my personal coding style.  It's
 not a matter of getting used to Clojure.  I'm not an expert on it yet, but
 I've been studying and working with it, for a little over a year.  I prefer
 the indentation; it makes more sense to me.


 As long as you’re prepared to be told this every time you show your code
 to people, that’s up to you.

 Your image, though, doesn't reflect my intended indentation style for
 lisp code.  It looks like some reformatting took place.


 Of course - I reformatted it to match the Clojure community style. The
 image was to show rainbow parentheses, specifically.

 If there are other styles out there, that you know about, I'm willing to
 take a look at them.  Although the traditional lisp style with multiple
 adjacent parentheses doesn't work for me, there might be other styles worth
 looking at.


 All the style guides will follow that style - that’s how Lisp is written
 :)

 Here’s the most standard Clojure style guide, based on the style in
 Clojure books, and Clojure/core’s own library style guide:

 https://github.com/bbatsov/clojure-style-guide

 Thanks for pointing out the error in the if statement.  You're correct.


 Glad I was able to help.

 Sean Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)



  --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Clojure group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/clojure/GFOXhZKooyI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 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 - 

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-24 Thread Gary Verhaegen
Yeah, I think the I'll transliterate everything before anyone else sees
it part of your message was maybe not clear enough. Of course we don't
care what you do when you're working alone and just for yourself.

On Monday, 24 November 2014, Dan Campbell dcwhat...@gmail.com wrote:

 Thanks for the input, Plinio.

 If the community jumps to the conclusion that I'm arrogant, because I like
 to work in style that's clear  works for me, then I won't be surprised if
 they don't offer assistance in the future.

 From my point of view, as long as they receive my contributions or
 requests for assistance in a form that's palatable to them, it's not
 anyone's business how I code on a daily basis.


 On Mon, Nov 24, 2014 at 9:10 AM, Plínio Balduino pbaldu...@gmail.com
 javascript:_e(%7B%7D,'cvml','pbaldu...@gmail.com'); wrote:

 Hi Dan

 Please accept my two cents.

 I prefer the indentation; it makes more sense to me.

 No, he didn't misunderstand, sorry.

 Anyway, Batsov's Style Guide is an awesome resource, even though you
 won't follow the items ipsis literis, is good to understand how to work and
 think in the 'Clojure Way'.

 For example, when one is new to Ruby, it's normal to find the for
 statement there. Once one gets used to 'Ruby Style', the each method
 becomes the standard.

 An example that I used with my team some days ago:

 In Portuguese (our native language) we use nouns before adjective. Um
 dia quente.

 In English we use nouns after adjective. A hot day.

 Even if you swap the order in Portuguese (um quente dia) or in English (a
 day hot), a native speaker will understand with more or less
 effort. Syntactically it's not wrong, semantically is OK, but the
 construction it's not in the 'Portuguese way' or in the 'English way'.

 So unless you don't mind to speak with yourself all the time, please try
 to understand and follow the rules and the way of your new environment.
 After all you don't want to be seen as an arrogant guy or as someone who
 doesn't want to learn just because your way makes more sense to you.

 Please don't understand I'm judging you. I have a very bad impression of
 LISPs communities in general, but the Clojure community is highly
 newcomer-friendly and the other guys who tried to help you, for example,
 are high skilled and very busy professionals. In any other community (I'm
 cofounder of JS, Clojure and Ruby communities) you woudn't find that good
 will to help, unfortunately.

 Sorry for the completely off-topic, best regards and welcome to
 community.

 Plínio



 On Sun, Nov 23, 2014 at 9:01 PM, Dan Campbell dcwhat...@gmail.com
 javascript:_e(%7B%7D,'cvml','dcwhat...@gmail.com'); wrote:

 As long as you’re prepared to be told this every time you show your
 code to people, that’s up to you.

 I think you misunderstood the response.



 On Sun, Nov 23, 2014 at 5:49 PM, Sean Corfield s...@corfield.org
 javascript:_e(%7B%7D,'cvml','s...@corfield.org'); wrote:

 On Nov 23, 2014, at 2:41 PM, Dan Campbell dcwhat...@gmail.com
 javascript:_e(%7B%7D,'cvml','dcwhat...@gmail.com'); wrote:

 Sorry man, but I'm not willing to change my personal coding style.
 It's not a matter of getting used to Clojure.  I'm not an expert on it yet,
 but I've been studying and working with it, for a little over a year.  I
 prefer the indentation; it makes more sense to me.


 As long as you’re prepared to be told this every time you show your
 code to people, that’s up to you.

 Your image, though, doesn't reflect my intended indentation style for
 lisp code.  It looks like some reformatting took place.


 Of course - I reformatted it to match the Clojure community style. The
 image was to show rainbow parentheses, specifically.

 If there are other styles out there, that you know about, I'm willing
 to take a look at them.  Although the traditional lisp style with multiple
 adjacent parentheses doesn't work for me, there might be other styles worth
 looking at.


 All the style guides will follow that style - that’s how Lisp is
 written :)

 Here’s the most standard Clojure style guide, based on the style in
 Clojure books, and Clojure/core’s own library style guide:

 https://github.com/bbatsov/clojure-style-guide

 Thanks for pointing out the error in the if statement.  You're correct.


 Glad I was able to help.

 Sean Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)



  --
 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
 javascript:_e(%7B%7D,'cvml','clojure@googlegroups.com');
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');
 For more options, visit this group at
 

Re: Google Clojure REPL

2014-11-24 Thread Zach Oakes
I believe there are still issues with ART that need to be resolved before 
Clojure apps run on Lillipop. You may want to ask this on the 
clojure-android list instead:

https://groups.google.com/forum/#!forum/clojure-android

On Sunday, November 23, 2014 5:39:08 PM UTC-5, Lorentzz00 wrote:

 Hello to all; 

 So, the Clojure REPL for Lollipop doesn't 
 Work. Why? Why won't it install? When will you migrate to 1.6 or 1.7? 

 Hope to hear something soon. 
 Lorentzz

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


New Functional Programming Job Opportunities

2014-11-24 Thread Functional Jobs
Here are some functional programming job opportunities that were posted

recently:



Functional Software Developer at OpinionLab

http://functionaljobs.com/jobs/8763-functional-software-developer-at-opinionlab



Cheers,

Sean Murphy

FunctionalJobs.com


-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-24 Thread Aaron
So, yes I agree - it is best to take something like this and see how it 
works in concrete implementations before determining whether it is good 
enough to subscribe to. In this case, there are actually two concrete 
implementations - freactive and fx-clj (which I'll formally announce once I 
get to update the docs). In my case, I actually thought of this abstraction 
first - because I was trying to think of API would work equally well for 
JavaFX as well as the DOM and other things. I wasn't even going to write 
the DOM version (freactive) but then after using the existing reactive DOM 
libs I found some things missing - especially in terms of easy, built-in 
animation support which I needed for my projects.

So, let's see how this model works for people as they use it. Please keep 
in mind that this is a very young library so this implementation is bound 
to have its kinks. Thanks for all those who are patient enough to play with 
it now and help improve it.

On Monday, November 24, 2014 4:35:11 AM UTC-5, Ruslan Prokopchuk wrote:

 If you want something artistic though exotic enough to be not used on 
 github before, you can try 'nerikomi' (see google or 
 http://nerikomi.blogspot.com/ for samples) — beautiful Japanese art of 
 pottery where every layer of clay customized with different chemical 
 reactions to produce beautiful patterns.

 Saying about ui-spec, I really like it, but I think it should be developed 
 in communication with one of concrete realizations — e.g. freactive for 
 DOM. This way we will see real drawbacks and advantages of this model being 
 used for real applications, and will have chance to advance it and refactor 
 accordingly. But, may be it is only my approach to go up of the abstraction 
 ladder — somebody prefer to think about ideal abstraction in advance and 
 then implement it carefully.

 At the moment I can't say if my problems with using freactive are problems 
 of implementation or spec. Need more time to play with.

 понедельник, 24 ноября 2014 г., 6:45:12 UTC+3 пользователь Aaron написал:

 Glad to see all the enthusiasm about names :) If you think of others, you 
 can let me know. Probably leaning towards something artistic sounding like 
 fresco so far... 

 But anyway, more importantly did anyone check out the docs I just posted? 
 In particular the UI spec one: 
 https://github.com/aaronc/freactive.core/blob/master/UI-SPEC.md. What do 
 people think about the idea of trying to generalize conventions for writing 
 reactive UI's? Decomplecting state management from the underlying UI 
 renderer, common semantics, etc... 

 On Sunday, November 23, 2014 2:44:49 PM UTC-5, Henrik wrote: 
  Hacker News has sort of noticed: 
 https://news.ycombinator.com/item?id=8648491 
  
  
  
  
  
  On Sunday, November 23, 2014 8:32:11 PM UTC+1, Jason Lewis wrote: 
  Furthermore (it occurs to me) cesium is used to drive atomic clocks... 
 so if you're using an atom to maintain state... even more relevance. 
 Relevance? Wait, it's Cognitect now :) 
  
  
  
  
  Jason Lewis 
  
  
  vox  410.428.0253 
  twitter  @canweriotnow 
  blog http://decomplecting.org 
  else http://about.me/jason.lewis 
  
  
  On Sun, Nov 23, 2014 at 2:20 PM, Jason Lewis ja...@decomplecting.org 
 wrote: 
  
  Cesium is the most reactive element of all... and the name isn't taken 
 on Clojars. 
  
  
  Cesium will react explosively even with ice. 
  
  
  
  
  Jason Lewis 
  
  
  vox  410.428.0253 
  twitter  @canweriotnow 
  blog http://decomplecting.org 
  else http://about.me/jason.lewis 
  
  
  
  
  On Sun, Nov 23, 2014 at 1:21 PM, Gary Trakhman gary.t...@gmail.com 
 wrote: 
  
  The two best ones I can think of right now 
  
  
  Halogen: they're known as highly reactive elements. 
  Precipitate: both a noun and a verb, the solid that falls out of a 
 solution, or to bring about such a reaction. 
  
  
  Other chemical-ish names considered 
  Enantiopure - Containing compounds of only a single chirality  
  Fullerene - Bucky-Balls, they're just cool 
  Recycle - 'Save the trees', and also 'recycle streams' from chemical 
 engineering.  
  
  
  
  
  On Sun, Nov 23, 2014 at 12:37 PM, Aaron Craelius aaronc...@gmail.com 
 wrote: 
  
  Fresco isn't bad. I think it's better than freactive at least. Seems 
 to be relatively popular for a name, but no big projects: 
 https://github.com/search?o=descp=1q=frescos=starstype=Repositoriesutf8=✓
  
  
  
  On Sun, Nov 23, 2014 at 3:05 AM, Olli Piepponen kot...@gmail.com 
 wrote: 
  
  If you are open to name suggestions, how about Fresco? 
  
  
  
  
  
  
  
  -- 
  
  Note that posts from new members are moderated - please be patient with 
 your first post. 
  
  --- 
  
  You received this message because you are subscribed to a topic in the 
 Google Groups ClojureScript group. 
  
  To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojurescript/99myJ9vLeKQ/unsubscribe. 
  
  To unsubscribe from this group and 

Re: Thnx for clojureconj videos !!

2014-11-24 Thread Mike Haney
Seconding the recommendation for the Clojure Gazette.  If you aren't subscribed 
already, just do it.  It's a fantastic resource, and I am very grateful for 
Eric Normand and the tireless effort he puts into it.

On a side note, I had the pleasure of meeting Eric at the Conj, and he is one 
of the nicest people you could ever meet.  He does the Gazette and all his 
videos in his free time while holding down a day job and supporting a family.  
That requires a tremendous level of commitment and personal sacrifice, and it's 
people like him that makes this community so special.  We need to support these 
efforts any way we can - subscribe to the Gazette, sponsor it if you are in a 
position to do so, or buy his videos, if not for yourself maybe for that friend 
you drive crazy by going on and on about Clojure.

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-24 Thread Dan Campbell
Yep, I think that's what happened.  Sorry for the confusion, nuff said,
back to Clojure.


On Mon, Nov 24, 2014 at 10:57 AM, Gary Verhaegen gary.verhae...@gmail.com
wrote:

 Yeah, I think the I'll transliterate everything before anyone else sees
 it part of your message was maybe not clear enough. Of course we don't
 care what you do when you're working alone and just for yourself.

 On Monday, 24 November 2014, Dan Campbell dcwhat...@gmail.com wrote:

 Thanks for the input, Plinio.

 If the community jumps to the conclusion that I'm arrogant, because I
 like to work in style that's clear  works for me, then I won't be
 surprised if they don't offer assistance in the future.

 From my point of view, as long as they receive my contributions or
 requests for assistance in a form that's palatable to them, it's not
 anyone's business how I code on a daily basis.


 On Mon, Nov 24, 2014 at 9:10 AM, Plínio Balduino pbaldu...@gmail.com
 wrote:

 Hi Dan

 Please accept my two cents.

 I prefer the indentation; it makes more sense to me.

 No, he didn't misunderstand, sorry.

 Anyway, Batsov's Style Guide is an awesome resource, even though you
 won't follow the items ipsis literis, is good to understand how to work and
 think in the 'Clojure Way'.

 For example, when one is new to Ruby, it's normal to find the for
 statement there. Once one gets used to 'Ruby Style', the each method
 becomes the standard.

 An example that I used with my team some days ago:

 In Portuguese (our native language) we use nouns before adjective. Um
 dia quente.

 In English we use nouns after adjective. A hot day.

 Even if you swap the order in Portuguese (um quente dia) or in English
 (a day hot), a native speaker will understand with more or less
 effort. Syntactically it's not wrong, semantically is OK, but the
 construction it's not in the 'Portuguese way' or in the 'English way'.

 So unless you don't mind to speak with yourself all the time, please try
 to understand and follow the rules and the way of your new environment.
 After all you don't want to be seen as an arrogant guy or as someone who
 doesn't want to learn just because your way makes more sense to you.

 Please don't understand I'm judging you. I have a very bad impression of
 LISPs communities in general, but the Clojure community is highly
 newcomer-friendly and the other guys who tried to help you, for example,
 are high skilled and very busy professionals. In any other community (I'm
 cofounder of JS, Clojure and Ruby communities) you woudn't find that good
 will to help, unfortunately.

 Sorry for the completely off-topic, best regards and welcome to
 community.

 Plínio



 On Sun, Nov 23, 2014 at 9:01 PM, Dan Campbell dcwhat...@gmail.com
 wrote:

 As long as you’re prepared to be told this every time you show your
 code to people, that’s up to you.

 I think you misunderstood the response.



 On Sun, Nov 23, 2014 at 5:49 PM, Sean Corfield s...@corfield.org
 wrote:

 On Nov 23, 2014, at 2:41 PM, Dan Campbell dcwhat...@gmail.com wrote:

 Sorry man, but I'm not willing to change my personal coding style.
 It's not a matter of getting used to Clojure.  I'm not an expert on it 
 yet,
 but I've been studying and working with it, for a little over a year.  I
 prefer the indentation; it makes more sense to me.


 As long as you’re prepared to be told this every time you show your
 code to people, that’s up to you.

 Your image, though, doesn't reflect my intended indentation style for
 lisp code.  It looks like some reformatting took place.


 Of course - I reformatted it to match the Clojure community style. The
 image was to show rainbow parentheses, specifically.

 If there are other styles out there, that you know about, I'm willing
 to take a look at them.  Although the traditional lisp style with multiple
 adjacent parentheses doesn't work for me, there might be other styles 
 worth
 looking at.


 All the style guides will follow that style - that’s how Lisp is
 written :)

 Here’s the most standard Clojure style guide, based on the style in
 Clojure books, and Clojure/core’s own library style guide:

 https://github.com/bbatsov/clojure-style-guide

 Thanks for pointing out the error in the if statement.  You're correct.


 Glad I was able to help.

 Sean Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)



  --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Clojure group.
 To unsubscribe 

Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-24 Thread Niels van Klaveren
If you want math operations that are guaranteed to  work with all clojure 
numeric types, be sure to use clojure.math.numeric-tower

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Thnx for clojureconj videos !!

2014-11-24 Thread Marcus Blankenship
+100 Mike, great feedback that I agree with.  Maybe we should ask our 
significant others for training video’s for Christmas!  ;-)


On Nov 24, 2014, at 9:53 AM, Mike Haney txmikes...@gmail.com wrote:

 Seconding the recommendation for the Clojure Gazette.  If you aren't 
 subscribed already, just do it.  It's a fantastic resource, and I am very 
 grateful for Eric Normand and the tireless effort he puts into it.
 
 On a side note, I had the pleasure of meeting Eric at the Conj, and he is one 
 of the nicest people you could ever meet.  He does the Gazette and all his 
 videos in his free time while holding down a day job and supporting a family. 
  That requires a tremendous level of commitment and personal sacrifice, and 
 it's people like him that makes this community so special.  We need to 
 support these efforts any way we can - subscribe to the Gazette, sponsor it 
 if you are in a position to do so, or buy his videos, if not for yourself 
 maybe for that friend you drive crazy by going on and on about Clojure.
 
 -- 
 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 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

Best,
Marcus

Marcus Blankenship
\\\ Problem Solver, Linear Thinker
\\\ 541.805.2736 \ @justzeros \ skype:marcuscreo

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Clojure REPL

2014-11-24 Thread Adam Clements
There are a number of issues with clojure on lollipop, the ART compiler
doesn't like the bytecode generated by closure for various reasons. I have
just today opened a dialogue with the ART developers at Google and at least
some of the issues have been fixed for the next release of Android. Others
might require changes to clojure though. Be reassured that there is some
movement in this area though.

If you are referring to the app store clojure REPL, that is probably
suffering from the same issues. I'm not sure who publishes that though, so
don't know whether it would be updated once this is resolved.

On Mon, 24 Nov 2014 4:14 pm Zach Oakes zsoa...@gmail.com wrote:

 I believe there are still issues with ART that need to be resolved before
 Clojure apps run on Lillipop. You may want to ask this on the
 clojure-android list instead:

 https://groups.google.com/forum/#!forum/clojure-android


 On Sunday, November 23, 2014 5:39:08 PM UTC-5, Lorentzz00 wrote:

 Hello to all;

 So, the Clojure REPL for Lollipop doesn't
 Work. Why? Why won't it install? When will you migrate to 1.6 or 1.7?

 Hope to hear something soon.
 Lorentzz

  --
 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 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-24 Thread Andrew Rosa
Aaron, 

Still need to study the more detailed docs, but from what I read from UI-SPEC 
the only thing I get confused about was the event/lifecycle.

Just a suggestion about the name, if there is time for that: despite of the 
chosen one, IMO will be a good thing unify all (potential) libraries under 
single name. So you'll end up with lib.core, lib.dom, lib.fx, lib.wpf. 
This way will be much more easy to follow the related libraries - after all, 
even with diferencies they will be tied by major common idioms.

Just my 2c

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: lein repl timeout

2014-11-24 Thread Neil Laurance
Success!

I checked the modification times on my hosts files. Apparently some process 
must have truncated my hosts file a couple days ago.
There was a hosts~orig file, which I copied over, and all is well again :-)

Cheers, Neil


On Sunday, November 23, 2014 9:49:43 PM UTC, Neil Laurance wrote:

 Thanks Colin. I'll post back here if I make any progress. Cheers Neil 

-- 
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 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.