thanks Shantanu!
Let me know if you find ant issue. I started commenting both profiles.clj and
project.clj to try to explain what each setting is used for.
IMHO there is a big open issue regarding lein-cljsbuild:
As pointed to me by David Nolen, you need to fill the leaning :source-paths
clojars
Generating fresh 'lein new' cljs-start project.
Template resource 'leiningen/new/cljs_start/README.MD' not found.
After that there is not battery-cljs directory created.
Am i doing something wrong or is it just a bug ?
On Fri, Nov 1, 2013 at 12:39 PM, Mimmo Cosenza mimmo.cose
Hi all,
I just create a simple leon-template to create CLJS libs with batteries
included:
- separation of concerns between the user view and the dev view of the created
lib (obtained by using the profiles.clj local to the project
- http server and brepl (with piggieback by Chas) to bREPLing
Thanks Boris.
I'm glad you found it useful. That's the best ROI to me.
I would like to have more time to add more tutorials quickly than I'm doing now
to better serve this extraordinary community.
Mimmo
On Oct 30, 2013, at 8:40 AM, Boris Kourtoukov borisko...@gmail.com wrote:
Thanks for
Hi all,
I just published the 22th tutorial - Learn by Contributing (Part 3) - of the
modern-cljs series.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-22.md
In this tutorial I introduced in the 'enfocus' lib what we learnt about the
separation of concerns principle in
Me too.
Inviato da iPad
Scusate gli errori d'ortografia
On 29/ott/2013, at 23:51, Marcus Blankenship mar...@creoagency.com wrote:
Agreed, and it’s worth money to me…
On Oct 29, 2013, at 3:47 PM, Russell Whitaker russell.whita...@gmail.com
wrote:
I, for one, would happily pay (my
which tutorial are you referencing?
Anyway, what CLJS release are you using? Have you tried with
[org.clojure/clojurescript 0.0-1947 dependencies?
mimmo
On Oct 19, 2013, at 6:47 PM, Greg Chapman glchapma...@gmail.com wrote:
I've been working through the Clojurescript tutorial here:
Hi all,
I just published the second part of the tutorial - learn by contributing.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-21.md
Here I started from where I leaft the previous tutorial-20 by revisiting again
the Enfocus directories layout and its project.clj to make it
Another very nice and useful screencast by James Trunk. Everything become easy
to understand when he explains it.
mimmo
https://www.youtube.com/watch?v=ao7xEwCjrWQ
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
Thanks to everyone for the very informed advices.
As soon as I have time and energy :( I'll take a look at this last
cli-webdriver.
Thanks again to everyone
mimmo
On Oct 7, 2013, at 11:32 AM, Niels van Klaveren niels.vanklave...@gmail.com
wrote:
Didn't see this was posted in the general
Hi all,
did anyone give a try to this java based HTMLUnit headless browser for cljs
unit test to be used of phantomjs?
http://htmlunit.sourceforge.net/
Thanks
Mimmo
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Hi all,
while working on CLJS I always use someone else's CLJS libs (e.g. domina,
dommy, shoreleave, hiccups, now enfocus, etc).
Few of them have unit testing code and the ones that have it use different and
tricky approaches. My personal opinion is that the clojurescript.test unit
testing lib
Hi All,
after a very long (and beautiful vacation) I came back on the modern-cljs
series of tutorials to update its dependencies and correcting few deficiencies
regarding CLJS unit test. I still have to reach a much better understanding of
the lein profiles to fix the second part of the
It seems interesting to be watched.
Does anyone already know something about it.
Mimmo
http://www.coect.net/metajs/
--
--
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
, Mimmo Cosenza wrote:
It seems interesting to be watched.
Does anyone already know something about it.
Mimmo
http://www.coect.net/metajs/
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure
Grep, right now I'm on vacation with a very bad connection. I've to correct
something in the second part Thanks to Laurent and Phil I discover that the way
I use lein profiles.clj is not the intended use…..
It will take some time to have it corrected :-(
mimmo
On Jul 28, 2013, at 2:35 AM,
The lein-cljsbuild plugin even with the repl-listen task option does not
seem to me to use an nrepl middleware. The best interactive experience is
obtainable by using pieggieback middleware.
Chas (I did not scrupulously read the README - sorry about that) remembered
me that piggieback 0.0.5
Hi all, I just published the 17th tutorial of the modern-cljs series.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-17.md
It shows how to integrate input validators in a form. To be respectful of the
progressive enhancement strategy, in this tutorial I started implementing
Hy Rayan,
On Jul 9, 2013, at 11:01 PM, Ryan Neufeld r...@thinkrelevance.com wrote:
Mimmo,
Our focus has definitely been on exploring new ideas; supporting progressive
enhancement has not been a focus of ours. Given the nature of the kinds of
applications we're building in Pedestal today
On Jun 14, 2013, at 8:16 PM, Nico Balestra nicobales...@gmail.com wrote:
What company do you work for Mimmo? Can I send my CV? :)
yes you can. send it to me. I'm the boss ;-)
On 14 Jun 2013 15:59, Giacomo Cosenza mimmo.cose...@gmail.com wrote:
personally, I code on mac os x. in my
Hi,
is there an already defined query language for EDN as we have for JASON? Is
there an already defined data modeling language for EDN as we have for
jason?
Does someone working on it? Do Datomic/Datalogic have something similar to
be used/adapted?
Thanks so much
Mimmo
--
--
You
Hi Justin,
perhaps you could find some help in https://github.com/magomimmo/modern-cljs.
I still have to complete few more tutorials covering enlive, enfocus,
clojusrescript testing and friend, but it already covers a lot, I think, to
become productive with clj-cljs.
It's not a framework. To
Hello all,
may I ask a very simple private question? How old is Rich? I suspect that, by
following some statements in this thread, he should have already refrained
himself from programming few years ago, perhaps before he invented Clojure.
mimmo
I'm very biased, being 52 years old
On Apr
On Mar 14, 2013, at 10:21 PM, Rohan Nicholls rohan.nicho...@gmail.com wrote:
And a huge thank-you to mimmo for looking into this so quickly.
Thanks Rohan, I appreciate. Programming is the only thing that give me a sense
of having done something useful in the day. I'm the founder of my
Hi all,
as someone perhaps remember, few days ago I asked about the state of feature
expressions which appeared to be immutable ;-) from july 2012. David Nolen gave
us a hope to have them in the 1.6 version.
I'm studying the javelin lib which has been recently release. I alway start
from
Hi all,
the more I learn cli/cljs the more I find myself in looking for libraries
running on both sides of a clojurean web app. hiccup/valip, c2,
enliven/encofus, just to name few of them.
Is there a kind of agreement on which approach to follow to solve the features
expression problem. I
it there.
On Sat, Feb 16, 2013 at 11:28 AM, Mimmo Cosenza mimmo.cose...@gmail.com
wrote:
Hi all,
the more I learn cli/cljs the more I find myself in looking for libraries
running on both sides of a clojurean web app. hiccup/valip, c2,
enliven/encofus, just to name few of them.
Is there a kind
thanks so much Paulo. I hope to find soon the energy to complete the
journey.
Mimmo
On Wednesday, February 13, 2013 2:09:34 PM UTC+1, Paulo Suzart wrote:
Really great job!
cheers
On 24 January 2013 00:10, Mimmo Cosenza mimmo@gmail.com javascript:
wrote:
Hi,
here is the 12th
! Thanks
On Wednesday, January 23, 2013 6:10:21 PM UTC-8, Mimmo Cosenza wrote:
Hi,
here is the 12th modern-cljs tutorial.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-12.md
In this short tutorial, whose title is The highest and the deepest
layers, I covered the HTML5
I would try to do same thing I do when I need to initialise a simulated
universe before running test. just a little bit more deep and less wide.
mimmo
On Feb 12, 2013, at 9:10 PM, Ari ari.brandeis.k...@gmail.com wrote:
Hi,
How does one bootstrap web apps comprised of ring + compojure
thanks by me too.
mimmo
On Feb 11, 2013, at 7:36 PM, AtKaaZ atk...@gmail.com wrote:
thank you, this was an easy read even for me
On Mon, Feb 11, 2013 at 7:32 PM, Andy Fingerhut andy.finger...@gmail.com
wrote:
And just in case it gets edited by someone else before you have a chance to
If someone is able to show me the homoiconity expressed in a better way than
clojure I'll buy it.
mimmo
On Feb 4, 2013, at 9:15 PM, Sergey Didenko sergey.dide...@gmail.com wrote:
Unfortunately I don't know Python good enough to answer this. The
point though is just to mimic Python a very tiny
Hi all,
I'm a little bit confused about the semantic of if-let macro.
Suppose to call it as follows with map destructoring:
(if-let [{key1 :key1} {:key2 a string}]
true
false))
It returns true.
But,
(let [{key1 :key1} {:key2 a string}]
(if key1
true
false))
, for example, if we have the following code:
(if-let [{key1 key2} {:key2 a string}]
true
false))
Should if-let determine the result based on key1? key2? IMO {key1 key2} in
a whole is more reaonable. And {key1 key2} == {:key2 a string}, then the
result is true.
On 13-1-30 下午4:51, Mimmo
in such a
case (i.e. restructuring), because it led me think wrong.
mimmo
On Jan 30, 2013, at 10:23 AM, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
Uhm, I do not agree.
Suppose tha you have a function returning a map of errors (a valip validator
lib real case) like the following
{:email [Email
xumingming64398...@gmail.com wrote:
Agree with you that it is very misleading when using map-destructure in
if-let, the same applies to sequential-destructure:
user= (if-let [[_ x] [1 nil]] true false)
true
On 13-1-30 下午5:23, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
Uhm, I do
, Jan 30, 2013 at 10:42 AM, Mimmo Cosenza mimmo.cose...@gmail.com
wrote:
that means never use if-let with sequential destructoring, which brings me to
say: never use if-let, because I don't' like to remember such thing while
coding and then become crazy to catch my error because of a misleading
On Wednesday, January 30, 2013 8:51:47 PM UTC+1, Gary Verhaegen wrote:
For your particular use-case, what you want is more along the lines of
(if-let [errors (:password (fn-returning-errors))]
...)
yes, precisely!
mimmo
--
--
You received this message because you are subscribed to
On Thursday, January 31, 2013 1:49:40 AM UTC+1, Sean Corfield wrote:
but now that you've posted this, I
can see some potential for confusion when folks first encounter
if-let... Presumably the same confusion could arise for when-let?
yes, this is the confusion that you can incur in.
I just updated the 13th modern-cljs tutorial with a client side validator which
call via ajax a server side validator.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-13.md
HIH
My best
Mimmo
On Jan 28, 2013, at 1:18 PM, Giacomo Cosenza mimmo.cose...@gmail.com wrote:
Hi
Hi Marcus, I found the same solution Evan suggested to you. You can read about
it here.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-06.md
and you can also define a single init function which is shared by each source
cljs files by passing it the parameters you need to
Hi,
here is the 12th modern-cljs tutorial.
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-12.md
In this short tutorial, whose title is The highest and the deepest layers, I
covered the HTML5 highest layer and the serve-side deepest layer of the
progressive enhancement
FWIW,
I just updated the latest tutorial (11th) of modern-cljs series of tutorials on
clojurescript with some more code on DOM events and manipulations using domina
(which has very inspiring code - thanks Luke) and hiccups (thanks Tero).
Enlive and Hiccup seem to be popular in the Clojure community.
I confirm that I use them on the server side. I'm now experimenting the
corresponding enfocus [1] and hiccups [9] on the client-side, where I use
also domina. I'll give also a try to dommy [3], which seems to be
promising, even
Hi all,
here is the latest modern-cljs tutorial on clojurescript. It talks a little
biro more about dom event and domina library.
HIH,
best
mimmo
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-11.md
--
You received this message because you are subscribed to the Google
Hi,
wherever you start from (all the cited books are from good to very good), I
think that one day you could take you're time to read a couple amazing
books.
SICP: http://mitpress.mit.edu/sicp/
and
Onlisp: http://www.paulgraham.com/onlisp.html
I studied the first one (written for scheme)
Hi Aria,
I read your post too quickly, so forgive me if I'm asking stupid questions or
questions already answered in you're post.
I'm building my own clojurescript/clojure stack of libraries to reach probably
a couple of goal that are close or similar to the ones you have:
- adhere to
For who is interested I updated the last tutorial on clojurescript/ajax to
version 1.0.2-SNAPSHOT of domina. I had to downgrade from leion-cljsbuild
0.2.10 to 0.2.9 due to an annoying delay time after successfully CLJS
compilation before lein cljsbuild once returns.
My best
mimmo
--
You
Hello everyone,
I just published the 9th tutorial of modern-cljs series. It addresses DOM
manipulation using both domina and hiccups libraries
here is the link
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-09.md
Hope it helps in your clojurescript programming.
Mimmo
--
.
mimmo
On Dec 8, 2012, at 12:44 AM, David Nolen dnolen.li...@gmail.com wrote:
I chimed in on the patch. Taking Brenton's approach sounds like it would be
significantly simpler and require a very small patch to lein-cljsbuild.
On Fri, Dec 7, 2012 at 1:24 PM, Mimmo Cosenza mimmo.cose
.
On Thursday, December 6, 2012 7:14:21 PM UTC-8, Mimmo Cosenza wrote:
Hi Evan,
just to let you that I submitted on clojurescript repo the patch to exclude a
file and/or a directory of cljs from compilation.
the new compiler option is :exclude and accepts both a name of a file
16, 2012, at 10:39 AM, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
On Friday, November 16, 2012 8:28:18 AM UTC+1, Evan Mezeske wrote:
If you wouldn't mind, please create a new issue, or maybe just add to this
one: https://github.com/emezeske/lein-cljsbuild/issues/108 .
done. added issue
Hi all,
I completed the second part of the tutorial dedicated to test/fix the patch of
the CLJS compiler. In the next tutorial I'll be back on CLJS.
My best
Mimmo
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
ops the link again…
https://github.com/magomimmo/modern-cljs
mimmo
On Dec 4, 2012, at 5:50 PM, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
Hi all,
I completed the second part of the tutorial dedicated to test/fix the patch
of the CLJS compiler. In the next tutorial I'll be back on CLJS
Have you tried using lein-cljsbuild 0.2.9 plugin without specifying any CLJS
version in the :dependencies?
mimmo
On Dec 4, 2012, at 1:02 AM, Brent Millare brent.mill...@gmail.com wrote:
Still getting the same error regardless.
1. creating index.html (with compiled cljs code and call to
Hi,
I just published the 9th tutorial of the series modern-cljs.
It talks about testing. It uses the CLJS proposed patch as a true sample case
to work on.
HIH
My best
Mimmo
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
ops. thanks
mimmo
On Dec 2, 2012, at 10:15 PM, Michael Klishin michael.s.klis...@gmail.com
wrote:
2012/12/3 Mimmo Cosenza mimmo.cose...@gmail.com
I just published the 9th tutorial of the series modern-cljs.
It talks about testing. It uses the CLJS proposed patch as a true sample
case
Thanks Michael,
hope to mantain myself to your generous judgment.
mimmo (it's my nickname)
On Nov 27, 2012, at 9:09 PM, Michael Klishin michael.s.klis...@gmail.com
wrote:
2012/11/27 Giacomo Cosenza mimmo.cose...@gmail.com
Hope you find it useful
Giacomo,
This is fantastic. I think
For what I know you do not need to explicitly write cljs dependency in
project.clj if using lein-cljsbuild plugin which should already implicitly
contain it.
try the following
$ lein new rhinotest
edit project.clj as follow
(defproject rhinotest 0.1.0-SNAPSHOT
:description FIXME: write
Hi all,
I just published on github the seventh tutorial of the series.
https://github.com/magomimmo/modern-cljs
HIH
Mimmo
--
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
On Nov 18, 2012, at 5:58 PM, Michael Klishin michael.s.klis...@gmail.com
wrote:
2012/11/18 Mimmo Cosenza mimmo.cose...@gmail.com
I just published on github the seventh tutorial of the series.
https://github.com/magomimmo/modern-cljs
Nice work. I am not sure how to integrate ClojureScript
I just submitted the first one few hours ago:
here is the page where I found the link to jira
http://clojure.org/contributing
and here is the jira url
http://dev.clojure.org/jira/secure/Dashboard.jspa
mimmo
On Nov 17, 2012, at 8:36 PM, Paul Gearon gea...@gmail.com wrote:
Looking at the
,
-Evan
On Thursday, November 15, 2012 6:56:45 AM UTC-7, Mimmo Cosenza wrote:
Hi all,
my question is the following:
- I like to have the usual brepl connect to the browser during
development
- I like to have the same source-base (e.g. :source-path src/cljs) for
both the development
On Wednesday, November 14, 2012 10:24:42 PM UTC+1, Casper Clausen wrote:
If I can make one suggestion, it would be nice to have each chapter
accompanied by a project for that chapter. It would mean a lot less copy
and paste to follow along with the examples.
/Casper
I Casper I just added
with the examples.
my best
Mimmo
/Casper
On Tuesday, November 13, 2012 5:41:49 PM UTC+1, Mimmo Cosenza wrote:
Hi all,
I'm always a little bit afraid in announcing my small results as a
clojure/cljurescript newbie to such a smart community of programmers.
I just published on github my
Hi Zhao,
sorry to be so late, but I did not see your question until now. I was
investigating a similar issue in writing a short series of clojurescript
tutorials (https://github.com/magomimmo/modern-cljs).
The problem of sharing in more pages the same js emitted by the
clojurescript/closure
. It wrapping a large complex
existing JavaScript API, successfully, so it might be a good place to look
for guidance/inspiration...
Kris
On Wednesday, 12 September 2012 19:24:52 UTC+1, Mimmo Cosenza wrote:
Hi everyone, I'm pretty new with cljs and perhaps I'm asking something
very stupid. I'd like
I would to the list the :export metadata used in ClojureScript to prevent
Google Closure Compiler from minifying variable and function names which
need to be exposed to regular JS code.
Mimmo
On Monday, November 12, 2012 10:01:43 PM UTC+1, JvJ wrote:
Metadata is a really useful feature, and
Thanks Laurent,
you're right about CLJS, it's a journey, a good one to me. I'm not a
client-side guy and for the first time I can enjoy programming the browser.
My best
Mimmo
On Tuesday, November 13, 2012 5:44:49 PM UTC+1, lpetit wrote:
Hi Giacomo,
I haven't had the time to read your
this, and I followed the first two parts
- worked flawlessly!
Thanks!
--
jaju
On Mon, Nov 5, 2012 at 8:59 PM, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
Hi,
I started a short series of tutorials on ClojureScript that I'm writing in my
spare time.
You can find them at
https
Hi Alexandru,
I don't know if it's what your're looking for. I just started trying to be
helpful for this kind of quick start guide.
you can find it at
https://github.com/magomimmo/modern-cljs
HIH
mimmo
On Wednesday, November 7, 2012 3:17:12 PM UTC+1, Alexandru Nedelcu wrote:
Hi,
I'm a
Hi,
if it could be useful I just published the first 3 of a series of tutorials
on ClojureScript. My intention is to go on with the rest of them using my
spare time...
You can find them at
https://github.com/magomimmo/modern-cljs
Best regards
Mimmo
On Monday, November 5, 2012 1:35:40 PM
Hi,
I started a short series of tutorials on ClojureScript that I'm writing in
my spare time.
You can find them at
https://github.com/magomimmo/modern-cljs
hope could be useful...and to have enough time to go on with the next
ones...
Mimmo
--
You received this message because you are
Hi, I'll do it next days :-(...
I did not see so many pictures in github repos, so I was thinking it's not
considered polite to add them...but you're rights
thanx
mimmo
On Monday, November 5, 2012 4:29:42 PM UTC+1, Mimmo Cosenza wrote:
Hi,
I started a short series of tutorials
I came very recently to clojure, having crossed CL in the 80's, c/c++ in
the 90's and java in the 00's. A long travel to find with clojure a kind of
very comfortable destination very close to where I started from + seqs
and laziness.
thanks Rich, and all of you too to brought me back on joy
I'm studying clojurescript/closure to better understand if using
clojurescript could be really a step ahead in developing rich web based
application. So, I'm still a newbie. I found in some way useful this google
service http://closure-compiler.appspot.com/home to evaluate gclosure
benefits
Hi everyone, I'm pretty new with cljs and perhaps I'm asking something very
stupid. I'd like to know if integrating facebook js-sdk with cljs could be
a feaseable approach to be able to write fb app using clojure on both fe
and be side. I don't know if fb js-sdk is google-closure compatible
. One example:
the Ackermann function (http://en.wikipedia.org/wiki/Ackermann_function)
On Saturday, July 21, 2012 11:15:33 AM UTC+2, Mimmo Cosenza wrote:
Hi,
a very basic question. Any not tail recursion code can be reduced to
tail recursion code?
Thanks
Mimmo
--
You received
, 2012 11:15:33 AM UTC+2, Mimmo Cosenza wrote:
Hi,
a very basic question. Any not tail recursion code can be reduced to
tail recursion code?
Thanks
Mimmo
On Saturday, July 21, 2012 1:04:20 PM UTC+2, mnicky wrote:
Discussion about this is in the penultimate paragraph of
http://c2.com
Hi,
a very basic question. Any not tail recursion code can be reduced to tail
recursion code?
Thanks
Mimmo
--
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
Hi Dominikus,
and thanks for sharing your valuable thought.
I did not read the antiifcampaign, but I remember very well the number of
ifs code lines
were present in java window toolkit (1995), just because they did not add
NullLayout class to polymorphically manage the absence of a layout
Whatever model I choose to understand a piece (big or small at your
preferences) of the world, when I need more than few conceptual if, there
is something wrong in my understanding of that piece. I never
forgot Copernicus vs Ptolemy. But its not without mental efforts to find
the right
thanks Stefan, it's the kind of experience I was looking for.
regards
mimmo
On Tuesday, March 27, 2012 12:20:41 PM UTC+2, Stefan Kamphausen wrote:
Hi,
I did that in my last Clojure talks and I enjoyed it.
Usually I create one project (lein new) for each talk and in that I have
one
I'm italian living in milan. Setting up a local clojure user group could be
very interesting.
I would not say I'm still a programmer. I did a lot of lisp/prolog
programming in the 80's, c++/objective-c at the beginning of the 90's, and
java from the very beginning of the language (1995).
After
Me too.
mimmo
On Tuesday, March 20, 2012 9:09:31 PM UTC+1, nchurch wrote:
There was a brief period of community funding for Rich's work back in
2010. When that ended, we now know the result was Datomica huge
win.
But there are other people who work on Clojure and Clojurescript;
101 - 185 of 185 matches
Mail list logo