Re: [ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Oliver George
Small thing, but I love the logo.

On Sat, May 2, 2015 at 3:06 AM, Shaun LeBron shaunewilli...@gmail.com
wrote:

 We are working on a website here:
 https://github.com/cljsinfo

 we're mainly working on docs right now:
 http://cljsinfo.github.io/api-docs-report/



 On Thursday, April 30, 2015 at 11:26:59 AM UTC-5, Benjamin Dreux wrote:
  Hi,
 
  I'm pretty new to Clojurescript.
  And i feel a little bit weird the way to get information on the projet,
 environment, etc
 
  I think staring would be easier if there was a reference point.
 
  I' aware that there is pretty much every thing I need could be found in
 this wiki (https://github.com/clojure/clojurescript/wiki). But i'm
 looking for something prettier, more graphical.
 
  Does this conversation already happened?
  Is this on purpose, to not replicate the clojure.org website?
  Am I the only one having this idea?

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@googlegroups.com.
 Visit this group at http://groups.google.com/group/clojurescript.




-- 
Oliver George
Director, Condense
0428 740 978

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript, NodeJS, and CLIs

2015-05-01 Thread Daniel Compton
Hi Jeremy

You can find more contributing info at http://clojure.org/contributing. If
you're having issues with JIRA, then try asking Alex Miller on IRC, or
Twitter @puredanger.
On Sat, 2 May 2015 at 8:45 am David Nolen dnolen.li...@gmail.com wrote:

 Clojure projects do not take PRs. You need to submit a Clojure CA, then
 create a ticket and attach a patch to JIRA.

 David

 On Fri, May 1, 2015 at 4:28 PM, Jeremy Shoemaker jer...@codingkoi.com
 wrote:

 That's understandable.  You build what you need when you need it.

 I'm not sure what the contribution process is.  From what I found, I
 thought it involved creating a ticket in the Clojure JIRA, but I'm having
 issues with it.

 When I try to login, it throws an error saying that user should not be
 null!. If I try to recover my password, it says I don't have an account
 with my email address, but if I try to create an account, it says one
 already exists with my email address.  So, that's confusing.  I use JIRA at
 work, so I know it can have weird issues at times.

 Can I just submit a pull request on Github (after doing the whole
 contributor agreement thing)?  Looks like it would be a one or two line
 code change, so it's not huge.  Basically changing the conditional in
 nodejscli.cljs to not throw an error when *main-cli-fn* not set.  It should
 probably only throw an error if it is set, but not set to a fn.

 Thanks,
 Jeremy

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Benjamin Dreux
Le vendredi 1 mai 2015 13:06:50 UTC-4, Shaun LeBron a écrit :
 We are working on a website here:
 https://github.com/cljsinfo
 
 we're mainly working on docs right now:
 http://cljsinfo.github.io/api-docs-report/
 
 
 
 On Thursday, April 30, 2015 at 11:26:59 AM UTC-5, Benjamin Dreux wrote:
  Hi,
  
  I'm pretty new to Clojurescript. 
  And i feel a little bit weird the way to get information on the projet, 
  environment, etc
  
  I think staring would be easier if there was a reference point.
  
  I' aware that there is pretty much every thing I need could be found in 
  this wiki (https://github.com/clojure/clojurescript/wiki). But i'm looking 
  for something prettier, more graphical.
  
  Does this conversation already happened?
  Is this on purpose, to not replicate the clojure.org website?
  Am I the only one having this idea?

At the moment it look really promising.
What I've seen is really promising.

I'l give a  hand

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Antonin Hildebrand
I would also recommend subscribing to ClojureScript Hero by Norbert Wójtowicz:
http://bit.ly/cljs-hero

Here are some of his recent talks:
https://vimeo.com/122316380
https://www.youtube.com/watch?v=6_mbxaRDA-s

Antonin


On Thursday, April 30, 2015 at 11:26:59 PM UTC+7, Benjamin Dreux wrote:
 Hi,
 
 I'm pretty new to Clojurescript. 
 And i feel a little bit weird the way to get information on the projet, 
 environment, etc
 
 I think staring would be easier if there was a reference point.
 
 I' aware that there is pretty much every thing I need could be found in this 
 wiki (https://github.com/clojure/clojurescript/wiki). But i'm looking for 
 something prettier, more graphical.
 
 Does this conversation already happened?
 Is this on purpose, to not replicate the clojure.org website?
 Am I the only one having this idea?

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Marc Fawzi
Honestly, I love the taxonomy ... Getting more out of it than other cljs
cheatsheets out there ...

A section on macros in cljs with examples covering all features of macros
and all ways you could write a macro would be really helpful.

Another favorite thing would be to accumulate examples showing the
differences between CLJ and CLJS as a result of the differences between
Java and JS runtimes.

Great work and thanks for sharing!


On Fri, May 1, 2015 at 10:06 AM, Shaun LeBron shaunewilli...@gmail.com
wrote:

 We are working on a website here:
 https://github.com/cljsinfo

 we're mainly working on docs right now:
 http://cljsinfo.github.io/api-docs-report/



 On Thursday, April 30, 2015 at 11:26:59 AM UTC-5, Benjamin Dreux wrote:
  Hi,
 
  I'm pretty new to Clojurescript.
  And i feel a little bit weird the way to get information on the projet,
 environment, etc
 
  I think staring would be easier if there was a reference point.
 
  I' aware that there is pretty much every thing I need could be found in
 this wiki (https://github.com/clojure/clojurescript/wiki). But i'm
 looking for something prettier, more graphical.
 
  Does this conversation already happened?
  Is this on purpose, to not replicate the clojure.org website?
  Am I the only one having this idea?

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Marc Fawzi
do you accept pull requests at this stage?

Would be nice to add the zipper function:
https://clojuredocs.org/clojure.zip/zipper



On Fri, May 1, 2015 at 10:35 AM, Marc Fawzi marc.fa...@gmail.com wrote:

 Honestly, I love the taxonomy ... Getting more out of it than other cljs
 cheatsheets out there ...

 A section on macros in cljs with examples covering all features of macros
 and all ways you could write a macro would be really helpful.

 Another favorite thing would be to accumulate examples showing the
 differences between CLJ and CLJS as a result of the differences between
 Java and JS runtimes.

 Great work and thanks for sharing!


 On Fri, May 1, 2015 at 10:06 AM, Shaun LeBron shaunewilli...@gmail.com
 wrote:

 We are working on a website here:
 https://github.com/cljsinfo

 we're mainly working on docs right now:
 http://cljsinfo.github.io/api-docs-report/



 On Thursday, April 30, 2015 at 11:26:59 AM UTC-5, Benjamin Dreux wrote:
  Hi,
 
  I'm pretty new to Clojurescript.
  And i feel a little bit weird the way to get information on the projet,
 environment, etc
 
  I think staring would be easier if there was a reference point.
 
  I' aware that there is pretty much every thing I need could be found in
 this wiki (https://github.com/clojure/clojurescript/wiki). But i'm
 looking for something prettier, more graphical.
 
  Does this conversation already happened?
  Is this on purpose, to not replicate the clojure.org website?
  Am I the only one having this idea?

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: A real clojurescript dedicated website

2015-05-01 Thread Shaun LeBron
We are working on a website here:
https://github.com/cljsinfo

we're mainly working on docs right now:
http://cljsinfo.github.io/api-docs-report/



On Thursday, April 30, 2015 at 11:26:59 AM UTC-5, Benjamin Dreux wrote:
 Hi,
 
 I'm pretty new to Clojurescript. 
 And i feel a little bit weird the way to get information on the projet, 
 environment, etc
 
 I think staring would be easier if there was a reference point.
 
 I' aware that there is pretty much every thing I need could be found in this 
 wiki (https://github.com/clojure/clojurescript/wiki). But i'm looking for 
 something prettier, more graphical.
 
 Does this conversation already happened?
 Is this on purpose, to not replicate the clojure.org website?
 Am I the only one having this idea?

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta2

2015-05-01 Thread Nicola Mometto

Fluid Dynamics writes:

 That's weirdly inconsistent with e.g. (defn ^String prefix [s n]...).

It can be surprising behaviour, but it's not an inconsistency.
As per the documentation, metadata on the symbol being def'd *is*
evaluated, metadata on the argvec isn't.
Evaluating `String` produces the java.lang.String Class -- a valid tag,
evaluating `longs` produces the clojure.core/longs function -- not a
valid tag. OTOH 'longs is a valid tag that the compiler understands.

 It also doesn't negate the original bug report. That VerifyError means that
 the Clojure compiler emitted invalid bytecode, instead of either emitting
 valid bytecode or reporting a sensible error. Any way you slice it the
 compiler is buggy if it can quietly emit broken bytecode.

The reported exception is not all of what happens.
If you try to execute that code you'll see that you get two exceptions,
the first one being java.lang.IllegalArgumentException: Unable to
resolve classname: clojure.core$longs@3f91beef which tells you exactly
what I told you before -- clojure.core/long is not a valid type hint.

The VerifyError is thrown later and is caused by the fact that the
compiler emits partial bytecode as it gets interrupted by the
IllegalArgumentException.

Now, if you want to argue that the compiler should immediately throw an
error as soon as the wrong type hint is used rather than silently ignore
it and fail when the type-hinted form is used, I'll agree with you and
I've proposed to make the compiler stricter a number of times on the
clojure-dev ML and talked about it on IRC but I guess either it's not a
priority for the clojure/core team or they're simply not interested in
more compile-time checks.
Either way the reported issue was a user error, not a compiler bug.

--

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] ANN: Gamma, GLSL shaders made simple

2015-05-01 Thread kovas boguta
Gamma is a substrate for graphics software, such as games and data
visualization tools. It presents a simple, composable language for
representing GLSL shaders. It allows using Clojurescript to abstract
shaders.

https://github.com/kovasb/gamma

Technically, Gamma is an EDSL that hosts GLSL within Clojurescript. It is
inspired by Carlos Scheidegger's Lux and Conal Elliot's Vertigo and Pan.
Gamma targets the WebGL subset of the OpenGL ES 1.0 Shading Language.

This is a 0.1 release; work remains to get to 100% coverage of GLSL.

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] A real clojurescript dedicated website

2015-05-01 Thread Gary Schiltz
On Thursday, April 30, 2015 at 11:45:03 AM UTC-5, David Nolen wrote:
 No plans at the moment for an official ClojureScript site. There are some 
 community led efforts underway which we whole-heartedly encourage!
 
 
 David
 
 
 On Thu, Apr 30, 2015 at 12:10 PM, Benjamin Dreux benji...@gmail.com wrote:
 Hi,
 
 
 
 I'm pretty new to Clojurescript.
 
 And i feel a little bit weird the way to get information on the projet, 
 environment, etc
 
 
 
 I think staring would be easier if there was a reference point.
 
 
 
 I' aware that there is pretty much every thing I need could be found in this 
 wiki (https://github.com/clojure/clojurescript/wiki). But i'm looking for 
 something prettier, more graphical.
 
 
 
 Does this conversation already happened?
 
 Is this on purpose, to not replicate the clojure.org website?
 
 Am I the only one having this idea?
 
 
 
 --
 
 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.

Separate sites for Clojure and ClojureScript seems strange to me. I was 
thinking that in time, the two languages would start getting more alike rather 
than diverging. The more divergence, the more opportunity there is for 
territoriality for the Clojure name. I'd sure hate to see anything like what 
one sees on the Common Lisp newsgroup crrep into the Clojure landscape...

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta2

2015-05-01 Thread Alex Miller
On Fri, May 1, 2015 at 2:53 PM, Nicola Mometto brobro...@gmail.com wrote:


 Now, if you want to argue that the compiler should immediately throw an
 error as soon as the wrong type hint is used rather than silently ignore
 it and fail when the type-hinted form is used, I'll agree with you and
 I've proposed to make the compiler stricter a number of times on the
 clojure-dev ML and talked about it on IRC but I guess either it's not a
 priority for the clojure/core team or they're simply not interested in
 more compile-time checks.


Is there a ticket?

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript, NodeJS, and CLIs

2015-05-01 Thread David Nolen
Clojure projects do not take PRs. You need to submit a Clojure CA, then
create a ticket and attach a patch to JIRA.

David

On Fri, May 1, 2015 at 4:28 PM, Jeremy Shoemaker jer...@codingkoi.com
wrote:

 That's understandable.  You build what you need when you need it.

 I'm not sure what the contribution process is.  From what I found, I
 thought it involved creating a ticket in the Clojure JIRA, but I'm having
 issues with it.

 When I try to login, it throws an error saying that user should not be
 null!. If I try to recover my password, it says I don't have an account
 with my email address, but if I try to create an account, it says one
 already exists with my email address.  So, that's confusing.  I use JIRA at
 work, so I know it can have weird issues at times.

 Can I just submit a pull request on Github (after doing the whole
 contributor agreement thing)?  Looks like it would be a one or two line
 code change, so it's not huge.  Basically changing the conditional in
 nodejscli.cljs to not throw an error when *main-cli-fn* not set.  It should
 probably only throw an error if it is set, but not set to a fn.

 Thanks,
 Jeremy

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] ClojureScript, NodeJS, and CLIs

2015-05-01 Thread Jeremy Shoemaker
That's understandable.  You build what you need when you need it.

I'm not sure what the contribution process is.  From what I found, I thought it 
involved creating a ticket in the Clojure JIRA, but I'm having issues with it.  

When I try to login, it throws an error saying that user should not be null!. 
If I try to recover my password, it says I don't have an account with my email 
address, but if I try to create an account, it says one already exists with my 
email address.  So, that's confusing.  I use JIRA at work, so I know it can 
have weird issues at times.

Can I just submit a pull request on Github (after doing the whole contributor 
agreement thing)?  Looks like it would be a one or two line code change, so 
it's not huge.  Basically changing the conditional in nodejscli.cljs to not 
throw an error when *main-cli-fn* not set.  It should probably only throw an 
error if it is set, but not set to a fn.

Thanks,
Jeremy

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta2

2015-05-01 Thread Nicola Mometto

Alex Miller writes:

 On Fri, May 1, 2015 at 2:53 PM, Nicola Mometto brobro...@gmail.com wrote:


 Now, if you want to argue that the compiler should immediately throw an
 error as soon as the wrong type hint is used rather than silently ignore
 it and fail when the type-hinted form is used, I'll agree with you and
 I've proposed to make the compiler stricter a number of times on the
 clojure-dev ML and talked about it on IRC but I guess either it's not a
 priority for the clojure/core team or they're simply not interested in
 more compile-time checks.


 Is there a ticket?

There are a number of tickets reporting errors caused by the compiler
silently ignoring invalid type hints
http://dev.clojure.org/jira/browse/CLJ-1674
http://dev.clojure.org/jira/browse/CLJ-1232

or type hints inconsistencies
http://dev.clojure.org/jira/browse/CLJ-1577
http://dev.clojure.org/jira/browse/CLJ-1533

There are no open tickets open that I'm aware of about making the
compiler stricter on :tag values.

I would open one but there's this clojure-dev thread
https://groups.google.com/forum/#!msg/clojure-dev/hRZFuaiB_50/mzKLirgZWmUJ
where I ask what should be the allowed :tag values and I got no
clarification on it -- I see no point in spending my time working on a
patch/enhancement proposal that would break contrib libraries used by
clojure itself (there's no way to make the compiler throw on e.g. (defn
^doubles foo ..) and not throw on test.generative usages) until I know
for a fact that I would not be wasting my time

--

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta2

2015-05-01 Thread Nicola Mometto

The type-hint on init-state is wrong.

It has to be either

(defn {:tag 'longs} init-state [] (long-array 1))
or (preferred)
(defn init-state ^longs [] (long-array 1))


shlomivak...@gmail.com writes:

 I tried playing around with the new primitive type hints and got the
 following weird behavior on [org.clojure/clojure 1.7.0-beta2]:

 (defn ^longs init-state []  (long-array 1))

 (defn ^long store-state [^longs c ^long a] (aset c 0 a))

 running the following line resulted in an exception:

 (let [x (init-state)]
   (store-state x 5))

 1. Caused by java.lang.VerifyError
(class: clojure_7/core$eval13270, method: invoke signature:
()Ljava/lang/Object;) Unable to pop operand off an empty stack

 Class.java:   -2
  java.lang.Class/getDeclaredConstructors0
 Class.java: 2671
  java.lang.Class/privateGetDeclaredConstructors
 Class.java: 3075  java.lang.Class/getConstructor0
 Class.java:  412  java.lang.Class/newInstance
  Compiler.java: 4843  clojure.lang.Compiler$ObjExpr/eval
  Compiler.java: 6791  clojure.lang.Compiler/eval
  Compiler.java: 7237  clojure.lang.Compiler/load
   REPL:1  reverse-index.main/eval13258
  Compiler.java: 6792  clojure.lang.Compiler/eval
  Compiler.java: 6755  clojure.lang.Compiler/eval
   core.clj: 3079  clojure.core/eval
   main.clj:  240  clojure.main/repl/read-eval-print/fn
   main.clj:  240  clojure.main/repl/read-eval-print
   main.clj:  258  clojure.main/repl/fn
   main.clj:  258  clojure.main/repl
RestFn.java: 1523  clojure.lang.RestFn/invoke
 interruptible_eval.clj:   58
  clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn
   AFn.java:  152  clojure.lang.AFn/applyToHelper
   AFn.java:  144  clojure.lang.AFn/applyTo
   core.clj:  628  clojure.core/apply
   core.clj: 1866  clojure.core/with-bindings*
RestFn.java:  425  clojure.lang.RestFn/invoke
 interruptible_eval.clj:   56
  clojure.tools.nrepl.middleware.interruptible-eval/evaluate
 interruptible_eval.clj:  188
  clojure.tools.nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
 interruptible_eval.clj:  157
  clojure.tools.nrepl.middleware.interruptible-eval/run-next/fn
   AFn.java:   22  clojure.lang.AFn/run
ThreadPoolExecutor.java: 1142
  java.util.concurrent.ThreadPoolExecutor/runWorker
ThreadPoolExecutor.java:  617
  java.util.concurrent.ThreadPoolExecutor$Worker/run
Thread.java:  745  java.lang.Thread/run

 while the following line worked just fine:

 (store-state (init-state) 5)

 and also this works fine:

 (def a (init-state))
 (store-state a 5)

 (aget a 0) ;; 5

 What do you think?

 On Friday, April 24, 2015 at 11:27:40 AM UTC-7, Alex Miller wrote:

 Clojure 1.7.0-beta2 is now available.

 Try it via
 - Download:
 https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-beta2/
 - Leiningen: [org.clojure/clojure 1.7.0-beta2]

 Regression fixes since 1.7.0-beta1:

 1) CLJ-1711 - structmap iterator broken
 2) CLJ-1709 - range wrong for step != 1
 3) CLJ-1713 - range chunks are not serializable
 4) CLJ-1698 - fix reader conditional bugs

 Additional enhancements to new features since 1.7.0-beta1:

 1) CLJ-1703 - Pretty print #error and new public function Throwable-map
 2) CLJ-1700 - Reader conditionals now allowed in the REPL
 3) CLJ-1699 - Allow data_readers.cljc as well as data_readers.clj

 For a full list of changes since 1.6.0, see:
 https://github.com/clojure/clojure/blob/master/changes.md

 Please give it a try and let us know if things are working (or not)!

 - Alex



--

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Fresh Google Closure API Docs

2015-05-01 Thread Mike Thompson
You have probably been looking at stale Google Closure docs. 

The freshly generated API docs are available here:
http://google.github.io/closure-library/api/index.html

Background on the staleness: 
https://groups.google.com/forum/#!topic/closure-library-discuss/l2_rx0ROFNc

--
Mike

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Fresh Google Closure API Docs

2015-05-01 Thread Oliver George
Thank you!

On Fri, May 1, 2015 at 6:09 PM, Mike Thompson m.l.thompson...@gmail.com
wrote:

 You have probably been looking at stale Google Closure docs.

 The freshly generated API docs are available here:
 http://google.github.io/closure-library/api/index.html

 Background on the staleness:
 https://groups.google.com/forum/#!topic/closure-library-discuss/l2_rx0ROFNc

 --
 Mike

 --
 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 clojurescript+unsubscr...@googlegroups.com.
 To post to this group, send email to clojurescript@googlegroups.com.
 Visit this group at http://groups.google.com/group/clojurescript.




-- 
Oliver George
Director, Condense
0428 740 978

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: using cljsjs jars

2015-05-01 Thread Sebastian Bensusan
On Thursday, April 30, 2015 at 9:36:03 PM UTC+2, upgrad...@gmail.com wrote:
 I'm missing something ... I'd like to use leafletjs in clojurescript. 
 
 So, I added `[cljsjs/leaflet 0.7.3-0]` as a dependency to project.clj. 
 
 Then, I use the leafletjs inside cljs like so: 
 
(.setView (.map js/L map) #js [lat lng] 10)
 
 That works fine in without any optimizations. But when I compile in advanced, 
 it throws `Uncaught TypeError: L.map(...).Zc is not a function`
 
 So, I thought maybe i need to require it? So I tried adding 
 
   (:require cljsjs.leaflet)
 
 ... which seems to compile ok. But I still see
 
 Uncaught TypeError: L.map(...).Zc is not a function
 
 Any ideas?
 
 Thanks,
 Dave

Hi Dave,

I'm not familiar with leaflet but it seems like setView is not in the extern 
file. I couldn't find it here: 
https://github.com/cljsjs/packages/blob/master/leaflet/resources/cljsjs/common/leaflet.ext.js
 and it is the function that is called on the object returned by map. The 
symbol map is in the extern file so it is not munged:

(.setView (.map js/L map) #js [lat lng] 10) 

L.map(map).setView([lat lng],10)

L.map(map).Zc([lat lng],10) - Zc is undefined!

A possible fix would be to add setView to the extern file.

Hope this helps

Sebastian

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: using cljsjs jars

2015-05-01 Thread upgradingdave
Thanks Sebastian, makes sense. I understand how externs work now ;-)

Advanced compilation is working for me now! Woohoo!

https://github.com/cljsjs/packages/pull/111

Thanks, 
Dave

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.