Re: [ClojureScript] [ANN] cljs-start with batteries included

2013-11-01 Thread Mimmo Cosenza
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

Re: [ClojureScript] [ANN] cljs-start with batteries included

2013-11-01 Thread Mimmo Cosenza
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

[ANN] cljs-start with batteries included

2013-10-31 Thread Mimmo Cosenza
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

Re: [ClojureScript] Re: [ANN] modern-cljs - Tutorial 22

2013-10-30 Thread Mimmo Cosenza
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

[ANN] modern-cljs - Tutorial 22

2013-10-29 Thread Mimmo Cosenza
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

Re: Any interest in Compojure/Ring screencasts?

2013-10-29 Thread Mimmo Cosenza
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

Re: No such namespace warning with Clojurescript repl

2013-10-19 Thread Mimmo Cosenza
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:

[ANN] Moderm-cljs - Tutorial 21 - Learn by contributing (part 2)

2013-10-12 Thread Mimmo Cosenza
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

Fwd: ▶ Datomic: up and running - YouTube

2013-10-09 Thread Mimmo Cosenza
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,

Re: Who uses HtmlUnit?

2013-10-07 Thread Mimmo Cosenza
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

Who uses HtmlUnit?

2013-10-06 Thread Mimmo Cosenza
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

adoption of clojurescript.test

2013-09-26 Thread Mimmo Cosenza
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

[ANN] modern-cljs tutorials updated

2013-09-12 Thread Mimmo Cosenza
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

Fwd: Logos-oriented Lisp compiled to Javascript | coect.net

2013-09-09 Thread Mimmo Cosenza
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

Re: Logos-oriented Lisp compiled to Javascript | coect.net

2013-09-09 Thread Mimmo Cosenza
, 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

Re: [ANN] 18th tutorial of modern-cljs series

2013-07-29 Thread Mimmo Cosenza
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,

Re: How do I setup a Clojurescript REPL with emacs?

2013-07-24 Thread Mimmo Cosenza
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

[ANN] - 17th tutorial - Enlive by REPLing - of the modern-cljs series

2013-07-14 Thread Mimmo Cosenza
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

Re: [ANN] Pedestal-app Tutorial has been released

2013-07-09 Thread Mimmo Cosenza
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

Re: In what OS do you code?

2013-06-15 Thread Mimmo Cosenza
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

query edn

2013-05-30 Thread Mimmo Cosenza
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

Re: clojure/script web framework?

2013-04-29 Thread Mimmo Cosenza
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

Re: Good Clojure style?

2013-04-14 Thread Mimmo Cosenza
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

Re: clojurescript browser repl not working.

2013-03-15 Thread Mimmo Cosenza
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

clj/cljs best practice

2013-02-19 Thread Mimmo Cosenza
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

features expression

2013-02-16 Thread Mimmo Cosenza
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

Re: [ClojureScript] features expression

2013-02-16 Thread Mimmo Cosenza
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

Re: [ANN] 12th modern-cljs tutorial

2013-02-13 Thread Mimmo Cosenza
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

Re: [ANN] 12th modern-cljs tutorial

2013-02-13 Thread Mimmo Cosenza
! 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

Re: Bootstrapping Web Apps

2013-02-12 Thread Mimmo Cosenza
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

Re: ANN: NEVER use clojure.core/read or read-string for reading untrusted data

2013-02-11 Thread Mimmo Cosenza
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

Re: Clojure - Python Style suggestion

2013-02-04 Thread Mimmo Cosenza
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

the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
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))

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
, 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

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
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

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
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

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
, 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

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
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

Re: the semantic of if-let macro

2013-01-30 Thread Mimmo Cosenza
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.

Re: ANN - 13th modern-cljs tut - Don't Repeat Yourself when crossing the border

2013-01-28 Thread Mimmo Cosenza
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

Re: Minimizing the download of js code in Multipage ClojureScript webapp

2013-01-27 Thread Mimmo Cosenza
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

[ANN] 12th modern-cljs tutorial

2013-01-23 Thread Mimmo Cosenza
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

[ANN] - 11th modern-cljs tutorial updated

2013-01-20 Thread Mimmo Cosenza
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).

Re: Current 'best practice' stack for CRUD website?

2013-01-20 Thread Mimmo Cosenza
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

11th modern-cljs tutorial on clojurescript

2013-01-19 Thread Mimmo Cosenza
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

Re: Clojure Literature

2013-01-19 Thread Mimmo Cosenza
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)

Re: Blog Post: Bringing functional to the front-end: Clojure + ClojureScript for the web

2013-01-17 Thread Mimmo Cosenza
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

[ANN] modern-cljs

2013-01-16 Thread Mimmo Cosenza
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

[ANN] 9th episode of modern-cljs on dom manipulation

2013-01-08 Thread Mimmo Cosenza
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 --

Re: [lein-cljsbuild] exclude a cljs from compilation

2012-12-08 Thread Mimmo Cosenza
. 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

Re: [lein-cljsbuild] exclude a cljs from compilation

2012-12-07 Thread Mimmo Cosenza
. 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

Re: [lein-cljsbuild] exclude a cljs from compilation

2012-12-06 Thread Mimmo Cosenza
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

[ANN] modern-cls tutorial 10 - part 2

2012-12-04 Thread Mimmo Cosenza
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

Re: [ANN] modern-cls tutorial 10 - part 2

2012-12-04 Thread Mimmo Cosenza
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

Re: clojurescript browser repl possible regression

2012-12-03 Thread Mimmo Cosenza
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

[ANN] modern-cljs - tutorial 9 on testing (part 1)

2012-12-02 Thread Mimmo Cosenza
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,

Re: [ANN] modern-cljs - tutorial 9 on testing (part 1)

2012-12-02 Thread Mimmo Cosenza
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

Re: [ANN] modern-cljs - tutorial 8 and CLJS patch

2012-11-27 Thread Mimmo Cosenza
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

Re: [ANN] new book: ClojureScript: Up and Running

2012-11-20 Thread Mimmo Cosenza
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

[ANN] ClojureScript series of tutorials

2012-11-18 Thread Mimmo Cosenza
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

Re: [ANN] ClojureScript series of tutorials

2012-11-18 Thread Mimmo Cosenza
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

Re: Clojurescript question

2012-11-17 Thread Mimmo Cosenza
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

Re: [lein-cljsbuild] exclude a cljs from compilation

2012-11-16 Thread Mimmo Cosenza
, -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

Re: [ANN] moderns-cljs tutorial 6

2012-11-16 Thread Mimmo Cosenza
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

Re: [ANN] moderns-cljs tutorial 6

2012-11-14 Thread Mimmo Cosenza
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

Re: [ClojureScript] Single Output File for Multiple Pages or Multiple Output Files?

2012-11-13 Thread Mimmo Cosenza
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

Re: Clojurescript/facebook JS-SDK

2012-11-13 Thread Mimmo Cosenza
. 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

Re: Where did the idea of metadata come from?

2012-11-13 Thread Mimmo Cosenza
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

Re: [ANN] moderns-cljs tutorial 6

2012-11-13 Thread Mimmo Cosenza
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

Re: Short tutorials on ClojureScript

2012-11-07 Thread Mimmo Cosenza
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

Re: ClojureScript quick-start?

2012-11-07 Thread Mimmo Cosenza
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

Re: ANN clojure-doc.org progress report for the week of Nov 4th, 2012

2012-11-05 Thread Mimmo Cosenza
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

Short tutorials on ClojureScript

2012-11-05 Thread Mimmo Cosenza
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

Re: Short tutorials on ClojureScript

2012-11-05 Thread Mimmo Cosenza
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

Re: Clojure turns 5

2012-10-18 Thread Mimmo Cosenza
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

Re: ClojureScript dead-code elimination

2012-09-18 Thread Mimmo Cosenza
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

Clojurescript/facebook JS-SDK

2012-09-12 Thread Mimmo Cosenza
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

Re: reduction to tail recursion

2012-07-24 Thread Mimmo Cosenza
. 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

Re: reduction to tail recursion

2012-07-23 Thread Mimmo Cosenza
, 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

reduction to tail recursion

2012-07-21 Thread Mimmo Cosenza
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

Re: Clojure and the Anti-If Campaign

2012-05-26 Thread Mimmo Cosenza
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

Re: Clojure and the Anti-If Campaign

2012-05-24 Thread Mimmo Cosenza
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

Re: using marginalia for training material

2012-03-27 Thread Mimmo Cosenza
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

Re: [OT] Any other italian Clojure users?

2012-03-24 Thread Mimmo Cosenza
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

Re: revisiting community funding?

2012-03-22 Thread Mimmo Cosenza
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;

<    1   2