Re: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-21 Thread gvim

As per the documentation:

$ lein run

$ lein figwheel
Figwheel: focusing on build-ids (client)
Compiling ClojureScript.
Figwheel: Starting server at http://localhost:3449
Figwheel: Serving files from 
'(resources|dev-resources|resources-index/dev)/public'

Compiling "resources/public/js/app.js" from ("src/rente/client" "dev")...
Compiling "resources/public/js/app.js" failed.
java.io.FileNotFoundException: resources/public/js/app.js (No such file 
or directory)


gvim

--
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: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-21 Thread Henrik Mohr
Thanks for your comment, please pull again and retry:

lein figwheel
Figwheel: focusing on build-ids (client)
Compiling ClojureScript.
Figwheel: Starting server at http://localhost:3449
Figwheel: Serving files from 
'(resources|dev-resources|resources-index/dev)/public'
Compiling "resources/public/js/app.js" from ("src/rente/client" "dev")...
Successfully compiled "resources/public/js/app.js" in 14.874 seconds.
notifying browser that file changed:  /js/app.js
notifying browser that file changed:  /js/out/goog/deps.js
notifying browser that file changed:  /js/out/rente/client/views.js
notifying browser that file changed:  /js/out/rente/client/ws.js
notifying browser that file changed:  /js/out/start.js
notifying browser that file changed:  /js/out/rente/client/app.js

Best regards,
Henrik


On Wednesday, January 21, 2015 at 1:23:36 PM UTC+1, g vim wrote:
>
> As per the documentation: 
>
> $ lein run 
>
> $ lein figwheel 
> Figwheel: focusing on build-ids (client) 
> Compiling ClojureScript. 
> Figwheel: Starting server at http://localhost:3449 
> Figwheel: Serving files from 
> '(resources|dev-resources|resources-index/dev)/public' 
> Compiling "resources/public/js/app.js" from ("src/rente/client" "dev")... 
> Compiling "resources/public/js/app.js" failed. 
> java.io.FileNotFoundException: resources/public/js/app.js (No such file 
> or directory) 
>
> gvim 
>
>

-- 
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: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-21 Thread Henrik Mohr

On Wednesday, January 21, 2015 at 1:23:36 PM UTC+1, g vim wrote:
>
> As per the documentation: 
>

I've just revised the documentation, please follow the revised usage 
documentation.

I've changed the order of lein run/figwheel since the server won't serve 
files correctly (the first time the server runs) until figwheel has 
finished building client files.

So the order is now:

   1. lein figwheel
   2. wait for figwheel to finish
   3. lein run
   4. browser -> localhost:8080
   

-- 
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: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-21 Thread gvim

Thanks. Working now. Great work!

Slightly OT: for low cost VPS hosting with only 512Mb or 1Gb RAM Node.js 
is often the only option. A full-stack Clojurescript option built on 
similar tech as Sente would be fantastic.


gvim



On 21/01/2015 12:46, Henrik Mohr wrote:

Thanks for your comment, please pull again and retry:

lein figwheel
Figwheel: focusing on build-ids (client)
Compiling ClojureScript.
Figwheel: Starting server at http://localhost:3449
Figwheel: Serving files from
'(resources|dev-resources|resources-index/dev)/public'
Compiling "resources/public/js/app.js" from ("src/rente/client" "dev")...
Successfully compiled "resources/public/js/app.js" in 14.874 seconds.
notifying browser that file changed:  /js/app.js
notifying browser that file changed:  /js/out/goog/deps.js
notifying browser that file changed:  /js/out/rente/client/views.js
notifying browser that file changed:  /js/out/rente/client/ws.js
notifying browser that file changed:  /js/out/start.js
notifying browser that file changed:  /js/out/rente/client/app.js

Best regards,
Henrik



--
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: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-21 Thread Alex Miller
I am actively working on an updated set of patches, hopefully for inclusion in 
the next alpha.

Alex

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


vectorz, "Unable to find implementation", uberjar, excluding source

2015-01-21 Thread Brian Craft
I'm excluding source when building uberjar, due to jar size and class 
loader problems at run time. However I now get "Unable to find 
implementation :vectorz" errors at run time. Is there some way to work 
around this?

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


if-not implementation

2015-01-21 Thread Leon Grapenthin
I am surprised to find the two branch implementation of if-not as follows:


([test then else]
   `(if (not ~test) ~then ~else))


What I expected was:


([test then else]
   `(if ~test ~else ~then))

-- 
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: vectorz, "Unable to find implementation", uberjar, excluding source

2015-01-21 Thread Brian Craft
Fixed it by adding :aot [mikera.vectorz.core] to the uberjar profile.

On Wednesday, January 21, 2015 at 11:26:47 AM UTC-8, Brian Craft wrote:
>
> I'm excluding source when building uberjar, due to jar size and class 
> loader problems at run time. However I now get "Unable to find 
> implementation :vectorz" errors at run time. Is there some way to work 
> around this?
>

-- 
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: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-21 Thread Alan Moore
Sweet - thanks for the reply. I hope I didn't sound impatient... I'm very 
grateful for your hard work on it. I'd offer to help but I'm sure it is 
beyond me and my crazy-mad Clojure skillz(tm). I think I'll leave the hard 
stuff to the real experts :-)

Alan

On Wednesday, January 21, 2015 at 6:07:13 AM UTC-8, Alex Miller wrote:
>
> I am actively working on an updated set of patches, hopefully for 
> inclusion in the next alpha. 
>
> Alex

-- 
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: if-not implementation

2015-01-21 Thread Mikera
Interesting -  there seems to be a very slight performance advantage to 
your version on my machine (consistently about 25% faster for if-nots in a 
tight loop).

I think the problem is actually with "not" - which isn't getting inlined 
currently. If I patch not so that it is inlined, the difference disappears.

Worth a quick patch maybe?

On Thursday, 22 January 2015 03:51:37 UTC+8, Leon Grapenthin wrote:
>
> I am surprised to find the two branch implementation of if-not as follows:
>
>
> ([test then else]
>`(if (not ~test) ~then ~else))
>
>
> What I expected was:
>
>
> ([test then else]
>`(if ~test ~else ~then))
>
>

-- 
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: [ANN] Reagent + Sente (+ Heroku) = Rente

2015-01-21 Thread Henrik Mohr
Good to hear that! :)

OT: I'm supporting a production app with 
Clojure/ClojureScript/Datomic/Ring/Sente etc. on a Heroku 2X dyno having 1 
GB of RAM.
It works like a charm!

Best,
Henrik


On Wednesday, January 21, 2015 at 3:05:10 PM UTC+1, g vim wrote:
>
> Thanks. Working now. Great work! 
>
> Slightly OT: for low cost VPS hosting with only 512Mb or 1Gb RAM Node.js 
> is often the only option. A full-stack Clojurescript option built on 
> similar tech as Sente would be fantastic. 
>
> gvim 
>
>
>
> On 21/01/2015 12:46, Henrik Mohr wrote: 
> > Thanks for your comment, please pull again and retry: 
> > 
> > lein figwheel 
> > Figwheel: focusing on build-ids (client) 
> > Compiling ClojureScript. 
> > Figwheel: Starting server at http://localhost:3449 
> > Figwheel: Serving files from 
> > '(resources|dev-resources|resources-index/dev)/public' 
> > Compiling "resources/public/js/app.js" from ("src/rente/client" 
> "dev")... 
> > Successfully compiled "resources/public/js/app.js" in 14.874 seconds. 
> > notifying browser that file changed:  /js/app.js 
> > notifying browser that file changed:  /js/out/goog/deps.js 
> > notifying browser that file changed:  /js/out/rente/client/views.js 
> > notifying browser that file changed:  /js/out/rente/client/ws.js 
> > notifying browser that file changed:  /js/out/start.js 
> > notifying browser that file changed:  /js/out/rente/client/app.js 
> > 
> > Best regards, 
> > Henrik 
> > 
>

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