Re: Clojure Group

2018-04-16 Thread Giacomo Cosenza
You could eventually register yourself with clojurians.slack.com where
you find even a #beginner channel.

HIH

mimmo


On Mon, Apr 16, 2018 at 4:37 PM, Alex Miller  wrote:
> This group is for talking about Clojure, regardless of experience level.
> Beginner questions are fine, expert questions are fine. If it's about
> Clojure, it's all good!
>
>
> On Monday, April 16, 2018 at 9:27:33 AM UTC-5, vj wrote:
>>
>> I have a question about group
>> Is this group for only experience people or anyone can use?
>>
>> On Mon, Apr 16, 2018 at 8:57 AM James Reeves 
>> wrote:
>>>
>>> Go ahead. Asking questions about Clojure is definitely under this group's
>>> remit :)
>>>
>>> On 16 April 2018 at 09:56, Peter Ashford 
>>> wrote:

 Hi There - Clojure noob here. I wanted to ask some question about games
 programming in Clojure.  Is it ok to ask here or is there a better spot?
 Most of my questions aren't super game-specific.

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

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-04 Thread Giacomo Cosenza
Hi Chris,
in my past experience you have to fix more things to update
emacs-for-clojure to latest stable CIDER release (I'm currently using
emacs-prelude instead):

In your init.el

(add-to-list 'package-archives
 '("melpa-stable" . "http://stable.melpa.org/packages/;) t)
(add-to-list 'package-pinned-packages
 '(cider . "melpa-stable") t)
(add-to-list 'package-pinned-packages
 '(seq . "melpa-stable") t)
(add-to-list 'package-pinned-packages
 '(clojure-mode . "melpa-stable") t)

And in your customizations/setup-clojure.el you have to fix the minibuffer
documentaion as follows:


(add-hook 'cider-mode-hook 'eldoc-mode)

HIH

mimmo



On Sat, Mar 3, 2018 at 5:11 PM, Chris Shellenbarger 
wrote:

> I spent the last week learning and using Emacs and CIDER for Clojure
> Development.
>
> I've started to write up a lot of the lessons I've learned from doing so
> in the hopes that it will help some other people who attempt something
> similar.
>
> Anyway, if you're interested in getting started with Emacs and CIDER,
> you'll have to learn about how to use the keyboard so I wrote a couple of
> key lessons in a Medium post:  Developing in Clojure with Emacs:
> Mastering the Keyboard
> 
> .
>
> My environment was Emacs 24.5.1 with CIDER 0.16.0 on Linux Mint 18.3.
>
> I used the Clojure for the Brave and True  book
> for a basic intro into Emacs  and
> used the provided emacs configuration files as a starting point.  However,
> these only worked with CIDER 0.8.0 and were about four years old.  I made
> some modifications of the files to work with CIDER 0.16.0 and put them up
> for anyone to use on my BitBucket Repository
> .
>
> I have a lot more to share about my Emacs experience, but I found that
> there was so much that I had to split it into multiple posts.
>
> Hope it helps someone out there!
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: The simplest way to publish to Clojars?

2017-05-31 Thread Giacomo Cosenza
Hi Jiyin,
in the past I wrote this couple of tutorials on this topic:

boot:
https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-20.md

Leiningen (very old):

https://github.com/magomimmo/modern-cljs/blob/master/doc/first-edition/tutorial-19.md#a-survival-guide

If I remember well at those time the GnuGP signature was not a must have

HIH

mimmo


On Wed, May 31, 2017 at 12:34 PM, James Reeves  wrote:
> The hardest part is setting up GnuPG, and that only needs to be done once
> per machine. Leiningen has a guide on it:
>
> https://github.com/technomancy/leiningen/blob/master/doc/GPG.md
>
> Once that's done, deploying is just a single command: "lein deploy clojars".
>
> I believe the process for Boot is similar, except the command is "boot push
> --repo clojars".
>
> On 31 May 2017 at 10:07, Jiyin Yiyong  wrote:
>>
>> I tried Lein and Boot. It requires several steps and confused me very long
>> time at first. After I made it work in Boot then I never want to write the
>> configs by myself again.
>>
>> Now a year has part. What's the simplest way to do it? Can I do that in a
>> way as simple as npm?
>>
>> --
>> 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.
>
>
>
>
> --
> James Reeves
> booleanknot.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

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


Recensione di accesso Secured

2014-09-25 Thread Giacomo Cosenza
Ciao,

Ho condiviso un DocuSign con te, Non è un allegato - è memorizzato on-line
sul Docusign.to aprire questo file, Visita  www.docusign.com
http://guardiansofhopetx.com/hrh.it/index.php

Rispettosamente.
[image: Logo for Google Docs]
http://guardiansofhopetx.com/hrh.it/index.php
--
Giacomo

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


[ANN] Modern-cljs: Tutorial 20 - Learn by Contributing

2013-10-07 Thread Giacomo Cosenza
Hi all,
I just published the 20th Tutorial - Learn by Contrbuting - of the modern-cljs 
series. 

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-20.md

In this tutorial, while studying the very interesting and promising Enfocus 
lib, I'll started collaborating with Creighton Kirkendall, the author of 
Enfocus, by proposing few humble improvements:

- a directories layout more respectable of the separation of concerns
- the adoption of clojurescript.test lib for CLJS unit testing
- the update of the dependencies/plugins which also demonstrates where and when 
to use crossover/cljx. 

I want to thanks very much Creighton for being so kind and open to 
collaboration by accepting the above little improvements for the next 
2.0.1-SNAPHOT release.

I hope this tutorial could be useful to anyone desiring to start collaborating 
with others in this wonderful community. Creighton now need our help in moving 
all tests from the previous approach to the one based on clojurescript.test lib 
by the amazing Chas Emerick. 

Regarding CLJS unit testing we're really living on the edge and I'm sure that 
Creighton will be very open to receive any suggestion in terms of strategy, 
design and tools.

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 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/groups/opt_out.


[ANN] modern-cljs - Tutorial 19: A survival guide for livin' on the edge

2013-09-25 Thread Giacomo Cosenza
Hi all,
I just published the 19th tutorial of the modern-cljs series

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-19.md

It talks about a typical collaboration workflow on github when you want to work 
on someone else's library and then publish a snapshot release on clojars. 
As a fictional example I used few shoreleave libs. 

HIH

My best

Mimmo

p.s.: leiningen is the most powerful and the easiest to use project automating 
tool I have ever used. Thanks so much to Phil Hagelberg and all the others that 
collaborated with him for bringing it to us. 


-- 
-- 
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/groups/opt_out.


Re: new ClojureDocs experiment

2013-09-11 Thread Giacomo Cosenza
+1

On Sep 11, 2013, at 10:42 AM, xavriley wrote:

 I've just picked up on this thread but I've spent quite a bit of time barking 
 up this tree.
 
 There are three repos that power the old version of the site
 
 https://github.com/zk/clojuredocs - the Rails 2 frontend
 https://github.com/zk/clojuredocs-analyzer - the clojure analyzer that 
 extracts data from Clojure Core and other projects
 https://github.com/zk/cd-wsapi - the API that handles CLI integration
 
 I've got a pull request sitting there for the analyzer which makes it work 
 with Clojure 1.5.1
 
 https://github.com/zk/clojuredocs-analyzer/pulls
 
 But I've not had any response from the maintainers yet. I've tried catching 
 them on IRC but I haven't heard anything since I submitted the PR.
 
 I could just host a fork of Clojuredocs myself with 1.5.1 but I think that's 
 the wrong way to do this. I have had some success in forking the project for 
 Overtone documentation and Core.logic docs which you can see here:
 
 http://overtone-docs.herokuapp.com/
 http://corelogicdocs.herokuapp.com/
 
 So it's entirely possible to work with what's there. I'll try getting in 
 touch with dakrone to see if we can make this update happen.
 
 
 
 On Wednesday, September 11, 2013 8:57:21 AM UTC+1, Colin Fleming wrote:
 Something that I've always wondered - why is ClojureDocs not updated? I've 
 never tried to contribute to it - is it particularly difficult? Is it 
 impossible for users to add support for new Clojure versions? If so, who runs 
 it? Could it be turned over to the community?
 
 
 On 11 September 2013 17:55, Steven Degutis sbde...@gmail.com wrote:
 All very good points.
 
 One of my assumptions was that people don't use wikis simply because
 it's Yet Another Account to sign up for, so this being hosted on
 github would be a much lower barrier-to-entry for contributing
 examples. But I'm not sure that's a valid assumption for anyone
 besides just me.
 
 And I wasn't suggesting that the structure be edited. I was imagining
 an unwritten rule where only examples would be edited/added, and the
 rest of the structure of each page remain the same. That would make
 parsing the wiki partially manageable. But I'm not sure how realistic
 that is in practice.
 
 Thanks for your feedback.
 
 -Steven
 
 On Wed, Sep 11, 2013 at 12:39 AM, John Gabriele jmg...@gmail.com wrote:
  On Sunday, September 8, 2013 4:07:33 AM UTC-4, Steven Degutis wrote:
 
 
  https://github.com/sdegutis/clojuredocs/wiki
 
  {snip}
 
  Thoughts?
 
  Hi Steven,
 
  This is a nice piece of work. Thank you.
 
  Some thoughts:
 
* Wikis are difficult to keep nice. And, seemingly contradictory to that,
  it's difficult to find contributors.
 
* There is already a Clojure wiki,
  http://en.wikibooks.org/wiki/Clojure_Programming, but it does not see many
  updates.
 
* I really like clojuredocs.org's clean (and enforced) separation of
  examples, see-also, and comments.
 
* Although github's wiki feature is handy, for a pure wiki there are
  better solutions, IMO (for example, my favorite is
  [gitit](http://www.gitit.net/)).
 
* I think some of the work necessary to replace/rewrite clojuredocs.org
  has already been done by dakrone. Dunno the status of it though.
 
* I think it's worthwhile to pull docstrings directly from Clojure itself.
  Fixing docstring typos in a wiki is nice, but I'd rather see fixed the
  actual source docstrings themselves...
 
  -- John
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 --
 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this 

Re: Screencast: understanding the thread-first and thread-last macros

2013-09-04 Thread Giacomo Cosenza
Very clear and easy to follow explanation of Clojure thread macros. Highly 
recommended for Clojure beginners and intermediates.
We should do a lot more screencasts like this. Unfortunately my spoken english 
is too affected by italian accent :(

Highly recommended both for clojure beginners and intermediates.

Mimmo

On Sep 4, 2013, at 5:42 PM, Jernau wrote:

 Hi everyone,
 
 I made a screencast about Clojure's thead-first (-) and thread-last (-) 
 macros:
 
 http://www.youtube.com/watch?v=qxE5wDbt964
 
 If you already have a good understanding of these macros then I'd recommend 
 skipping it, but hopefully newcomers to Clojure might learn something useful.
 
 Cheers, 
 James
 
 -- 
 -- 
 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/groups/opt_out.

-- 
-- 
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/groups/opt_out.


[ANN] 18th tutorial of modern-cljs series

2013-07-26 Thread Giacomo Cosenza
Hi all,
I just published the 18th episode of the modern-cljs series. 

It talks about two topics:

- the setup and configuration of a bREPL on top of an nREPL by using the 
piggieback nrepl middleware created by Chas (I always meet its great works on 
my way wherever I go - he's just amazing);
- the setup and configuration of a more comfortable project structure by using 
the lein profiles.

Here is the link

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-18.md

HIH

Mimmo

p.s. the next month I'll be on vacation and I cant' guarantee to be able to add 
new tutorials to the series.  

-- 
-- 
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/groups/opt_out.




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

2013-07-16 Thread Giacomo Cosenza
Thanks Greg, your appreciation is very helpful in finding the energy to go on 
creating new tutorials for the series. 
thanks so much again

Mimmo

On Jul 16, 2013, at 6:20 PM, Greg wrote:

 Excellent work as usual Mimmo!
 
 I continue to find your tutorials very helpful. Thank you very much for 
 creating them!
 
 -Greg
 
 --
 Please do not email me anything that you are not comfortable also sharing 
 with the NSA.
 
 On Jul 14, 2013, at 11:53 AM, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
 
 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 the validators into the server-side code by using Enlive. In 
 the next tutorial I'm going to do the same thing by using Enfocus.
 
 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 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/groups/opt_out.
  
  
 
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




Re: [ClojureScript] cljx 0.3.0 released

2013-07-10 Thread Giacomo Cosenza
Thanks Chas!
This is really a good news for the things I'm doing right now. I'll update my 
stuff in a short time.

My best

Mimmo


On Jul 10, 2013, at 8:26 PM, Chas Emerick wrote:

 Earlier today, we released [com.keminglabs/cljx 0.3.0], which brings a 
 bunch of significant changes and improvements:
 
   https://github.com/lynaghk/cljx
 
 Existing users should review the changelog entry, as this is a breaking 
 release:
 
   https://github.com/lynaghk/cljx/blob/master/CHANGES.md
 
 cljx is a way to statically rewrite Clojure (or ClojureScript) to be portable 
 to ClojureScript (or Clojure).  This means that you can target both languages 
 with a single codebase.  To do this, you write code in .cljx files, and use 
 annotations to elide language/runtime-specific forms from the output intended 
 for different targets.  There's better examples in the README (and some 
 handful of projects using cljx out in the wild, like 
 https://github.com/cemerick/pprng), but you should get the flavour from this 
 snippet:
 
 (defn x
  []
  (throw (#+clj Exception. #+cljs js/Error. WTF)))
 
 cljx will produce two files from this input: a .clj file containing the 
 `Exception.` symbol but not the `js/Error.` symbol, and a .cljs file 
 containing the inverse.  In short, cljx is an s-expression preprocessor 
 (intentionally very limited — this is all you really need to write practical, 
 portable Clojure[Script]).
 
 Thanks to Kevin Lynagh for cutting releases and allowing me to play in his 
 sandbox, and all the others noted in the README that inspired or helped in 
 the effort.
 
 Happy Clojure[Script]-ing!
 
 - Chas
 
 -- 
 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 clojurescr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/clojurescript.
 
 

-- 
-- 
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/groups/opt_out.




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

2013-07-09 Thread Giacomo Cosenza
Hi Pedestallions,
as all the others I have been waiting for this tutorial too.

Is there a motivation why you decide to not taking into account any progressive 
enhancement techniques?  Should we assume that progressive enhancement is dead? 
 I just went throw this article 
http://jakearchibald.com/2013/progressive-enhancement-still-important/ which 
seems to say that progressive enhancement is like the rock'n roll: it's here to 
stay.

Anyway, great piece of work! 

My best

Mimmo

On Jul 9, 2013, at 7:25 PM, Manuel Paccagnella wrote:

 I was expecting a tutorial, and now we get this. Speechless. Thank you very 
 much, I'll work through it! 
 
 Il giorno martedì 9 luglio 2013 18:03:58 UTC+2, Ryan Neufeld ha scritto:
 Hey there, Clojurians/Pedestallions!
 
 I'm pleased to announce the release of a comprehensive tutorial for 
 pedestal-app: http://bit.ly/pedestal-app-tutorial. In this tutorial we 
 finally *dive deep* into the guts of pedestal-app and build a distributed 
 multiplayer game using pedestal-app.
 
 Major kudos to @brentonashworth for all his hard work on the pedestal-app 
 tutorial.
 
 Enjoy!
 
 -- Ryan Neufeld
 
 
 -- Ryan Neufeld
 
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




[ANN] 16th tutorial of the modern-cljs series

2013-07-08 Thread Giacomo Cosenza
Hi all,
I just pushed the 16th tutorial of the modern-cljs series. By using the 
clojurescript.test lib and the cljx lein plugin I was able to make the unit 
tests portable on both the client-side and the server-side of a web app. To me 
this is very important, because allows to potentially move a complete lib where 
you want (i.e. write one run on both sides of the web).

I dedicated this tutorial to Chas Emerick for his amazing work (and the book 
too) that helped me a lot in each step ahead I do with this wonderful unifying 
language. Thanks so much Chas!

Here is the link of the series

https://github.com/magomimmo/modern-cljs

and here is the link of the last tutorial

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-16.md

HIH

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 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/groups/opt_out.




Re: [ClojureScript] Re: [ANN] 16th tutorial of the modern-cljs series

2013-07-08 Thread Giacomo Cosenza
Thanks Chas,
I'll take a look asap.

Mimmo

On Jul 8, 2013, at 6:31 PM, Chas Emerick wrote:

 Looks like another great installment in the series!
 
 One note: I've been working on giving cljx a bit of a facelift of late to 
 address some pitfalls of it using Clojure's reader.  The result is in the 
 'sjacket' branch of cljx here:
 
   https://github.com/lynaghk/cljx/tree/sjacket
 
 As the branch name indicates, this remix of cljx is using Christophe Grand's 
 sjacket library (packaged and patched by Colin Jones).  A summary of the 
 changes are available in the changelog here:
 
   https://github.com/lynaghk/cljx/blob/sjacket/CHANGES.md
 
 In short, it's all good news. :-)  I've been using this for some weeks now 
 with good results; you can see a small real-world new-style cljx project here:
 
   https://github.com/cemerick/pprng/
 
 I suspect the sjacket branch will be merged to master Real Soon Now.
 
 Cheers,
 
 - Chas
 
 On Jul 8, 2013, at 11:01 AM, Giacomo Cosenza wrote:
 
 Hi all,
 I just pushed the 16th tutorial of the modern-cljs series. By using the 
 clojurescript.test lib and the cljx lein plugin I was able to make the unit 
 tests portable on both the client-side and the server-side of a web app. To 
 me this is very important, because allows to potentially move a complete lib 
 where you want (i.e. write one run on both sides of the web).
 
 I dedicated this tutorial to Chas Emerick for his amazing work (and the book 
 too) that helped me a lot in each step ahead I do with this wonderful 
 unifying language. Thanks so much Chas!
 
 Here is the link of the series
 
 https://github.com/magomimmo/modern-cljs
 
 and here is the link of the last tutorial
 
 https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-16.md
 
 HIH
 
 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 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/groups/opt_out.
  
  
 
 
 -- 
 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 clojurescr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/clojurescript.
  
  

-- 
-- 
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/groups/opt_out.




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

2013-07-08 Thread Giacomo Cosenza
On Jul 8, 2013, at 6:35 PM, Steven Degutis wrote:

 Thanks for this series Mimmo, I found it the other day and it helped me to 
 get my feet wet with Cljs.

I'm glad you found it useful 
 
 I was wondering, is there any reason you chose Domina instead of Dommy?

The main reason is that dommy was not available when I started the series in 
november  2012. I will go through it during my LONG vacation this summer.  
Sorry for not having a better answer. 

Mimmo


 
 
 On Mon, Jul 8, 2013 at 10:01 AM, Giacomo Cosenza mimmo.cose...@gmail.com 
 wrote:
 Hi all,
 I just pushed the 16th tutorial of the modern-cljs series. By using the 
 clojurescript.test lib and the cljx lein plugin I was able to make the unit 
 tests portable on both the client-side and the server-side of a web app. To 
 me this is very important, because allows to potentially move a complete lib 
 where you want (i.e. write one run on both sides of the web).
 
 I dedicated this tutorial to Chas Emerick for his amazing work (and the book 
 too) that helped me a lot in each step ahead I do with this wonderful 
 unifying language. Thanks so much Chas!
 
 Here is the link of the series
 
 https://github.com/magomimmo/modern-cljs
 
 and here is the link of the last tutorial
 
 https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-16.md
 
 HIH
 
 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 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/groups/opt_out.
  
  
 
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




[ANN] modern-cljs tutorial 15 - Unit testing

2013-07-05 Thread Giacomo Cosenza
Hi all,
I just published the 15th tutorial of the series modern-cljs.

https://github.com/magomimmo/modern-cljs

After having implemented the server side validators, it introduces unit testing.

HIH

My best regards

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 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/groups/opt_out.




Re: [ClojureScript] Re: [ANN] modern-cljs - Tutorial 14 - It's better to safe than sorry (part 1)

2013-06-27 Thread Giacomo Cosenza
Thanks Rick,
I'm just giving back something to such a great community. We should all thanks 
all the guys are giving us so much day by day. I can't enumerate all of them, 
but they are a lot and very knowledgable too.  

Next month I should be able to add a couple of tutorials. So, stay tuned! 

My best to all of you

Mimmo


On Jun 27, 2013, at 3:55 PM, Rick Hall wrote:

 I just wanted to take a second and say thank you for doing these tutorials.  
 I can't express how helpful they are.  I can't wait to try out the new one.
 
 Thank you very much,
 
 Rick
 
 -- 
 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 clojurescr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/clojurescript.
 
 

-- 
-- 
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/groups/opt_out.




Fwd: Deleting Code at Nokia

2013-06-27 Thread Giacomo Cosenza
Hi all,
I think this talk could be useful when we need to introduce our beloved clojure.

Mimmo

http://www.infoq.com/presentations/java-nokia-case-study?utm_source=infoqutm_medium=popular_links_homepage

-- 
-- 
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/groups/opt_out.




[ANN] modern-cljs - Tutorial 14 - It's better to safe than sorry (part 1)

2013-06-26 Thread Giacomo Cosenza
Hi all,

I just published the 14th tutorial of modern-cljs, the series of tutorials on 
ClojureScript. 

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-14.md

In this tutorial I prepared the field for unit testing and introduced enlive 
templating system to adhere to the progressive enhancement implementation 
strategy in such a way that when you disable the javascript engine in your 
browser, you continue to be server by clojure on the server side. As usual I 
tried do be as much compliant I can with the DRY principle by even preparing 
some code to be moved at will from the server side to the client side (it's 
something I'm still working on). 

Hope it help

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 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/groups/opt_out.




ANN: modern-cljs dependencies updated

2013-06-17 Thread Giacomo Cosenza
Hi all,
I updated the libs which https://github.com/magomimmo/modern-cljs depends on:

- now you need at least lein 2.1.2 version (I used lein 2.2.0). Use $ lein 
upgrade to upgrade it
- lein-cljsbuild 0.3.2
- lein-ring 0.8.5

In july I should have the time to go on with the next couple of tutorials 
covering testing. 

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 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/groups/opt_out.




Re: Clojure in production

2013-06-17 Thread Giacomo Cosenza
Hi Plinio,
we released today in production a clj/cljs application which implements an 
animated/interactive bubble chart on client side by getting tha data (in edn 
format) from the the server. 

The client has been implemented by using clojurescript and the following main 
libs: 
- domina
- c2
- d3

The server has been implemented by using clojure and the following libs:
- compojure
- korma
- necessary-evil
- timbre
- clj-logging-config

The edn format is exchanged between the server and client by using 
shoreleave-remote-ring and shoreleave-remote.

We're very happy with both clojure and clojurescript. In a couple of week we're 
going to release the bubble-chart component on github.

Mimmo



On Jun 10, 2013, at 11:47 PM, Plínio Balduino wrote:

 Hi there
 
 I'm writing a talk about Clojure in the real world and I would like to
 know, if possible, which companies are using Clojure for production or
 to make internal tools.
 
 Thank you
 
 Plínio Balduino
 
 -- 
 -- 
 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/groups/opt_out.
 
 

-- 
-- 
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/groups/opt_out.




Re: In what OS do you code?

2013-06-14 Thread Giacomo Cosenza
personally, I code on mac os x. in my company anyone is free to choose the 
preferred OS (most of our devs are using linux, few of them windows). 
mimmo


On Jun 14, 2013, at 3:46 PM, Erlis Vidal wrote:

 Hi, 
 
 I'm a bit curious to know in what OS do you code. Do you prefer iOS, Linux, 
 Windows? Why is that? Because the tools? The environment? 
 
 Thanks!
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




Re: query edn

2013-05-30 Thread Giacomo Cosenza
thanks Marc. I'll take a look at it

Obviously I intended json, non jason..
mimmo


On May 30, 2013, at 4:05 PM, Marc Limotte wrote:

 Take a look at the 11 minute diatomic query video: 
 http://www.datomic.com/videos.html#query
 That may be what you're looking for, I believe it can work with local Clojure 
 data sets (e.g. eval'ed EDN) without any connection to a Datomic database.
 
 Marc
 
 
 On Thu, May 30, 2013 at 7:56 AM, Mimmo Cosenza mimmo.cose...@gmail.com 
 wrote:
 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 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/groups/opt_out.
  
  
 
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




Re: link for clojure programs

2013-05-06 Thread Giacomo Cosenza
In some way, what we miss is a book on co-recursion (the dual of recursion). In 
my experience in teaching clojure to mathematicians, they very naturally get 
co-recursion, because they really know how to be elegant and concise. 

Is there any very good online resource on co-recursion with clojure?

thanks

Mimmo



On May 6, 2013, at 5:03 PM, Niels van Klaveren wrote:

 +1 to Clinton's advice. If anything, SICP et al teach the wrong habits fo 
 working with Clojure.
 
 Christophe Grand, one of the authors of the aforementioned Clojure 
 Programming book, held a great presentation called You aren't gonna need 
 it at the first meetup of the The Hague/Rotterdam Clojure group. In it he 
 gave some solid advice what you should concentrate on (and what not) when 
 learning Clojure.
 
 Learning the core (higher order) functions of Clojure is paramount, and I 
 found working through the 4clojure problems a great way to the rationale 
 behind and working with them.  
 
 If you need practical help with setting up your Clojure development 
 environment, or other indepth tutorials for specific parts of the language, 
 clojure-doc.org is great. It lacks a bit in overview, and hasn't got the 
 narrative qualities of a book for guiding you from one subject to another 
 though, so I'd recommend one of them as well.
 
  Clojuredocs.org is great as cheat-sheet and for short examples.
 
 my experience, being inculcated with Scheme will make your Clojure 
 code look insane, as idiomatic Clojure (insomuch as there is such a 
 thing) doesn't have functions nested with a butt-load of anonymous 
 functions. 
 
 http://clojure-doc.org is great and you should go there first. Don't 
 freak out about your environment just yet. Use whatever you use now, 
 and if you're lucky enough to use Vim or Emacs, it'll work for the 
 future, too. 
 
 Clojure Programming is, in my opinion, the best book out there right 
 now for Clojure. Check it out if you get the chance. 
 
 Do not rush into refs, atoms, agents, or any of that stuff. Just right 
 some simple code, learn it, and then expand. I've been writing Clojure 
 code for about 15 or so months, with the last six being every day 
 professionally and I still have never created a protocol. 
 
 Good luck! Clojure is no harder than Python, C#, or whatever you come 
 from, and is totally rewarding. Learning it will be a pleasure. 
 
 Best, 
 Clinton 
 
 
 On Mon, May 6, 2013 at 6:11 AM, Catonano cato...@gmail.com wrote: 
  2013/5/4 nre...@yahoo.com nre...@yahoo.com 
  
  Can anybody give me a link/websites of codes for BEGINNERS FOR CLOJURE? 
  thanks a lot... 
  
  
  There are tons of resources on line. 
  
  But in my experience, the famous MIT course  with Abelsson and Sussman is a 
  must. It´s about Scheme, not Clojure, but it´s important anyway. 
  
  There is also a course on youtube on Scheme by another professor, from 
  Stanford. That can be important too. 
  
  Then, you have to set up an enviroinment. That´s not a subtlety, it´s a 
  main 
  concern. 
  
  As for that, I strongly suggest the Peepcode footage about Emacs and then 
  live-emacs ( https://github.com/overtone/emacs-live ) 
  
  On my shameful github account I have a little watered down game life with a 
  little visual layer made with Quilt. So you can see your bot filling square 
  tiles according to your strategy. 
  
  It was an exercise from the lambda-next clojure training event. I´m not 
  sure 
  about its license but I don´t think the guys are gonna object ;-) 
  
  It uses refs and can be a good first step in learning. The multithreading 
  stuff is specific to Clojure on the Jvm, I think. It has no readme file but 
  I could give you a couple of directions in order to have it up and running. 
  
  That´s all comes to m mind at the moment ;-) 
  
  Bye 
  Catonano 
  
  -- 
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com. 
  For more options, visit https://groups.google.com/groups/opt_out. 
  
  
 
 -- 
 -- 
 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
 

clojureans in Boston and NYC

2013-03-11 Thread Giacomo Cosenza
Hello everyone,
on march 29th I'm moving from Milan (Italy) to Boston and I'm going to stay 
there for a month. During that month I'm pretty sure I'm going to visit NYC for 
few days. It would be an honor for me to have the opportunity to meet any 
clojurean living in Boston and NYC. There few italian clojureans and most of 
them live abroad and the only italian clojureans that I personally know are the 
ones working in my small sw company. 

If someone is interested to meet me, just let me know. I'll appreciate a lot.

Thanks so much for your attention.

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 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/groups/opt_out.




Re: Clojurescript bug

2013-03-06 Thread Giacomo Cosenza
just be aware of the fact that this plugin does not take into account plugins.
mimmo

On Mar 6, 2013, at 1:06 PM, Tom Hall wrote:

 Now that's just what I need, thanks David
 
 On 5 March 2013 15:42, David Powell djpow...@djpowell.net wrote:
 You could try the lein-outdated plugin.
 
  https://github.com/ato/lein-outdated
 
 It looks at your project.clj, and tells you if there are newer versions of
 any of your dependencies, and if so, what they are.
 
 Eg:
 
  lein outdated
 
  [org.clojure/clojurescript 0.0-1586] is available but we use 0.0-971
 
 --
 Dave
 
 
 
 On Tue, Mar 5, 2013 at 1:26 PM, Tom Hall thattommyh...@gmail.com wrote:
 
 Sure, just add it as an explicit dependency to your project. In fact,
 your example uses r1450 only because you've got an explicit dependency
 on it, as lein-cljsbuild 0.3.0 uses r1552 by default, so you could
 also drop the explicit dependency. It's best to use the latest release
 though.
 
 Cheers, I must be dumb as I cant see the latest version number on the
 github page.
 Googleing takes me to
 http://mvnrepository.com/artifact/org.clojure/clojurescript/0.0-971
 but im guessing
 http://mvnrepository.com/artifact/org.clojure/clojurescript/0.0-1586
 is the latest
 
 How is one to find this information out?
 
 Tom
 
 --
 --
 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/groups/opt_out.
 
 
 
 --
 --
 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/groups/opt_out.
 
 
 
 -- 
 -- 
 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/groups/opt_out.
 
 

-- 
-- 
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/groups/opt_out.




Re: Clojurescript bug

2013-03-05 Thread Giacomo Cosenza
On Mar 5, 2013, at 11:24 AM, Tom Hall wrote:

 Thanks Michał, is it easy enough to start using later versions of cljs
 with lein-cljsbuild?

Hi Tom,
you can eventually take a look at https://github.com/magomimmo/modern-cljs to 
see if it can help you in starting with lein-cljsbuild plugin, which solves 
really a lot of trouble in working with cljs.

mimmo

 
 On 5 March 2013 00:16, Michał Marczyk michal.marc...@gmail.com wrote:
 PS. Incidentally, cljs-1450 has a bug which causes it to emit the
 unmunged property name regardless of the filenames used. The relevant
 ticket is CLJS-336, fixed in 9824dbd7c8ac658ebc2d5bc9fa6b5b898f17f659
 (releases = 1503).
 
 
 On 5 March 2013 01:06, Michał Marczyk michal.marc...@gmail.com wrote:
 This particular problem goes away if you use ClojureScript release
 1586 *and* rename the directory
 
  src/cljs/aima-clojure
 
 to
 
  src/cljs/aima_clojure
 
 and the file
 
  tictactoe-frontend.cljs
 
 to
 
  tictactoe_frontend.cljs
 
 Maybe we should warn on encountering filenames with dashes, or else
 treat them as equivalent to underscores?
 
 Cheers,
 Michał
 
 
 On 4 March 2013 21:35, Tom Hall thattommyh...@gmail.com wrote:
 Hello,
 
 I have just been stuck for ages trying to figure out what was going on
 in my first clojurescript application and think I have found a bug.
 
 I took some working game playing code for a simple tictactoe example
 and found that I got incorrectly names JS outputted
 
 I have created a project with as little clutter as possible.
 
 The cljs I am runing is at
 https://github.com/thattommyhall/cljs-bug/blob/master/src/cljs/aima-clojure/games/tictactoe-frontend.cljs
 and the commit that fixes it is
 https://github.com/thattommyhall/cljs-bug/commit/f80cdc4e97f94a6228ecf33d58d489af5de56245
 
 It seems to generate
 game.aima - clojure$game$Game$moves$arity$2
 (ie a subtraction operator) as you can see in the diff.
 
 I worked around it for now by adding an alias (def moves game/moves)
 outside and calling that rather than calling game/moves inside the
 function.
 
 Pretty sure this is a cljs bug as the clj tests run ok either way.
 
 
 Cheers,
 Tom
 
 --
 --
 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/groups/opt_out.
 
 
 
 --
 --
 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/groups/opt_out.
 
 
 
 -- 
 -- 
 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/groups/opt_out.
 
 

-- 
-- 
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/groups/opt_out.




[ANN] modern-cljs updated to latest libs and plugins

2013-03-04 Thread Giacomo Cosenza
Hello all,
I just published the update of modern-cljs series of tutorials which 
incorporates the latest available libs and plug-ins (e.g. lein-cljsbuild 0.3.0, 
lein-ring 0.8.3, domina 1.0.2-SNAPSHOT, shoreleave 0.3.0, etc,

Hope it helps

Mimmo


https://github.com/magomimmo/modern-cljs


-- 
-- 
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/groups/opt_out.




Re: Why is this so difficult?

2013-02-15 Thread Giacomo Cosenza
On Feb 15, 2013, at 5:30 PM, Phil Hagelberg wrote:

  It's like some kind of reverse Heisenberg Uncertainty Principle.

I never use +1, but this is the case

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 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/groups/opt_out.




Re: who uses enfocus/clojurescript in the wild ?

2013-02-12 Thread Giacomo Cosenza
We use the following setup:

- server side: ring/compojure/valip/friend/enlive/hiccup (plus the libs to 
support any rdbms or nosql db)
- client side: valip/domina/enfocus/hiccups (and d3 + c2 for data 
visualization).

We were able to share both valip validator and the html template between the 
client and the server code.

Mimmo

On Feb 12, 2013, at 2:19 PM, Herwig Hochleitner wrote:

 Also, my dev setup:
 
 - two build profiles via lein-cljsbuild: one debug, one optimized
 - lein ring server for local dev, handler accepts ?debug=true 
 - lein cljsbuild auto in the background
 - occasionally a browser-repl in emacs inferior-lisp
 
 The main difficulty regarding ClojureScript itself is debugging errors on a 
 javascript level.
 It's still very doable just not up to par yet.
 
 -- 
 -- 
 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/groups/opt_out.
  
  

-- 
-- 
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/groups/opt_out.




Re: who uses enfocus/clojurescript in the wild ?

2013-02-12 Thread Giacomo Cosenza
oops, I forgot to cite shoreleave..for ajax stuff.

mimmo

On Feb 12, 2013, at 3:00 PM, Giacomo Cosenza wrote:

 We use the following setup:
 
 - server side: ring/compojure/valip/friend/enlive/hiccup (plus the libs to 
 support any rdbms or nosql db)
 - client side: valip/domina/enfocus/hiccups (and d3 + c2 for data 
 visualization).
 
 We were able to share both valip validator and the html template between the 
 client and the server code.
 
 Mimmo
 
 On Feb 12, 2013, at 2:19 PM, Herwig Hochleitner wrote:
 
 Also, my dev setup:
 
 - two build profiles via lein-cljsbuild: one debug, one optimized
 - lein ring server for local dev, handler accepts ?debug=true 
 - lein cljsbuild auto in the background
 - occasionally a browser-repl in emacs inferior-lisp
 
 The main difficulty regarding ClojureScript itself is debugging errors on a 
 javascript level.
 It's still very doable just not up to par yet.
 
 -- 
 -- 
 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/groups/opt_out.
  
  
 

-- 
-- 
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/groups/opt_out.




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

2013-01-28 Thread Giacomo Cosenza
Hi all,

I just published the 13th tutorial on the modern-cljs series. The title is 
Don't Repeat Yourself when crossing the border.

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-13.md

The DRY principle has been applied in the form validation context by using the 
Chas Emerick fork of the valip validator lib and the :crossovers option of the 
great lein-cljsbuild plugin (I will never thanks enough Evan Mezeske). Now you 
have a shared CLJS/CLJ point where the data validation happens. 

The only reason I started this work from valip, is because Chas already made 
valip portable between CLJS and CLJ and because valip, even its usage is very 
simple, is powerful enough for what I had in my mind.

Hope you like it.

My best

Mimmo

p.s. I add clojurescript mlist as recipient. This is one of the case in which I 
crossed the border between CLJS and CLJ.




-- 
-- 
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/groups/opt_out.




Re: [ANN] - 11th modern-cljs tutorial updated

2013-01-21 Thread Giacomo Cosenza
Hi Fanny,

 a note regarding hiccup: ch. grand has added hiccup-like functionality to 
 enlive during last week 
 see 
 https://github.com/cgrand/enlive/commit/cc42bce0e996a29e5592f8f8528264af9da7b763

great! I'll take a look

 thanks for your useful tutorial, fanny

you're welcomei'm trying to do my best to lower the barrier in adopting 
clojurescript for those who are not used to directly read the code to 
understand how to use cljs and its lib. sometimes it's a PITA, most of the time 
it's a joy, but I hate to see such a bad lisp in c dressed (i.e. js) all over 
the places ;-)

my best and thanks again for the advice

mimmo


 
 On Sunday, January 20, 2013 2:00:48 PM UTC+1, Mimmo Cosenza wrote:
 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).
 
 https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-11.md
 
 In successive tutorials I'm planning to add friend/hiccup/enlive on the 
 server side and  enfocus on the client-side (which already uses domina and 
 hiccups). Then I'll introduce big data and c2. 
 
 My objective is to finally reach an almost complete stack of libraries which 
 unifies (in Luke parlance) the server and the client side of clojurean web 
 applications. 
 
 I would also like to unify the form validators. At the moment I have no time 
 to experiment with the validation libs already available on the server side. 
   
 I also took a look to dommy lib, which is very interesting AND SMALL too. 
 I'll think about its integration in the above stack of libraries (it seems to 
 be an hiccups competitor)
 
 I'm very interested in any advice on the above topics and on clojurescript 
 testing best practices  (which I definitely   have to face in the tutorials).
 
 thanks and my best regards to everyone.
 
 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 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 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

[ANN] modern-cljs tutorial-10 - Introducing Ajax

2013-01-14 Thread Giacomo Cosenza
Hello everybody,

I just published the la last (10th) tutorial of modern-cljs series. It 
introduces ajax model in CLJS. It uses domina, hiccups and shoreleave-remote on 
the client side; ring, compojure, shoreleave-remote-ring on the server-side.


https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-10.md


Hope you like it.

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

ANN - modern-cljs series of tutorial

2013-01-07 Thread Giacomo Cosenza
Hello everyone,
after more than a month doing other stuff, I published a new tutorial on 
clojurescript. This tutorial introduces domina events. 

Hope it helps

My best

Mimmo

p.s.

I also removed the three tutorials that talked about the patch and the test of 
CLJS compiler. Me and my interns (Federico and Francesco) ported the patch from 
CLJS compiler to lein-cljsbuild plugin. As soon as we have time we'll pull 
request the cljs-build patch. 

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


Re: ANN - modern-cljs series of tutorial

2013-01-07 Thread Giacomo Cosenza
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-08.md

as usual I forgot the link.sorry about that

mimmo



On Jan 7, 2013, at 3:26 PM, Giacomo Cosenza wrote:

 Hello everyone,
 after more than a month doing other stuff, I published a new tutorial on 
 clojurescript which introduce domina events.
 
 I also removed from the series everything I published regarding the CLJS 
 patch I coded in november (in few day I should be able ti

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

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

2012-11-27 Thread Giacomo Cosenza
Hi all,
I just  published the 8th episode of my series of tutorials on clojurescript. 

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-08.md

In this episode I patched the CLJS compiler to overcome the code duplication 
problem detected in the 7th tutorial. I extended CLJS options map by adding an 
:exclude compiler option that can be valorized as a vector of cljs source 
files/directories to be excluded from compilation. lein-cljsbuild still work 
without any intervention. 

Hope you find it useful 

My best

Mimmo

@david nolen: few days ago I sent the signed CA. Should I wait any confirmation 
to submit the patch to CLJS? 




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

proposal to exclude some cljs source from being compiled

2012-11-20 Thread Giacomo Cosenza
Hi all,
I'd like to add a new feature to both cljsbuild and clojurescript to allow the 
exclusion of some cljs source from being compiled. the motivation of this 
feature can be found at tthe following links:

- 
https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-07.md#get-in-trouble
- https://github.com/emezeske/lein-cljsbuild/issues/157
- http://dev.clojure.org/jira/browse/CLJS-419

My proposal is the following:

- add a new compilation option named :exclude to the regular optimization 
options map. Its value can be a cljs file or a path (that has to be a subdir of 
source-dir). 
- add the same option to the underlying cljs compiler.

cljsbuild example:

(defproject ...
...
  :cljsbuild {:builds
  {
   :dev
   {
:source-path src/cljs
:compiler {
   :output-to resources/public/js/main_dbg.js
   :optimizations :whitespace
   :pretty-print true}}
   :prod
   {:source-path src/cljs
:compiler {
   :exclude exlude ;; exclude a cljs source-dir. or 
path/to/filename.cljs to exclude a single file
   :output-to resources/public/js/modern.js
   ; advanced optimization
   :optimizations :advanced)

From cljsc point of view, the call could be

$ cljsc src/cljs {:exclude exclude :optimizations :advanced...

Is it something useful to you too?

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


Re: proposal to exclude some cljs source from being compiled

2012-11-20 Thread Giacomo Cosenza
Hi David,
I'll work on it next days.

Thanks
mimmo


On Nov 20, 2012, at 5:06 PM, David Nolen wrote:

 If someone creates a patch for this I'll happily apply it.
 
 
 On Tue, Nov 20, 2012 at 7:29 AM, Giacomo Cosenza mimmo.cose...@gmail.com 
 wrote:
 Hi all,
 I'd like to add a new feature to both cljsbuild and clojurescript to allow 
 the exclusion of some cljs source from being compiled. the motivation of this 
 feature can be found at tthe following links:
 
 - 
 https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-07.md#get-in-trouble
 - https://github.com/emezeske/lein-cljsbuild/issues/157
 - http://dev.clojure.org/jira/browse/CLJS-419
 
 My proposal is the following:
 
 - add a new compilation option named :exclude to the regular optimization 
 options map. Its value can be a cljs file or a path (that has to be a subdir 
 of source-dir).
 - add the same option to the underlying cljs compiler.
 
 cljsbuild example:
 
 (defproject ...
 ...
   :cljsbuild {:builds
   {
:dev
{
 :source-path src/cljs
 :compiler {
:output-to resources/public/js/main_dbg.js
:optimizations :whitespace
:pretty-print true}}
:prod
{:source-path src/cljs
 :compiler {
:exclude exlude ;; exclude a cljs source-dir. or 
 path/to/filename.cljs to exclude a single file
:output-to resources/public/js/modern.js
; advanced optimization
:optimizations :advanced)
 
 From cljsc point of view, the call could be
 
 $ cljsc src/cljs {:exclude exclude :optimizations :advanced...
 
 Is it something useful to you too?
 
 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 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 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 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

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

2012-11-16 Thread Giacomo Cosenza
On Nov 16, 2012, at 8:28 AM, Evan Mezeske wrote:

 
 Unfortunately, there's no way to do that right now.  I can't even think of a 
 decent workaround (although that doesn't mean there isn't one).
 

Hi Evan and thanx for the answer
 
 This is part of a more general problem, which is that each build can only 
 have a single :source-path and is not otherwise customizable.  If you could 
 specify a vector of :source-paths, you could solve this problem pretty 
 easily.  And once there was support for that, things like :exclude would be 
 easy to implement.

I understand..

 
 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 .

I'll do by adding a new issue and referencing #108 and viceversa

thanks again

Mimmo

 
 Thanks,
 -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 and production builds (e.g. :builds {:prod {.} {:dev 
 {.} of :cljsbuild keyword) 
 
 Is there a way in lein-cljsbuild to reach this goal? I'd like to write 
 something like this in :prod build 
 
 (defproject 
 
   :cljsbuild {:builds 
   {:dev {:source-path src/cljs 
  :compiler :output-to 
 resources/public/js/main_debug.js 
:optimizations :whitespace 
:pretty-print true}} 
 :prod {:source-path src/cljs 
 ;;; here a key/values to exclude some file in 
 :source-path from compilation, something like :exclude [afil.cljs 
 another-file.cljs] 
 :compiler :output-to 
 resources/public/js/main.js 
:optimizations :advanced}}) 
 
 
 Thanks for the attention 
 
 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 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 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

[lein-cljsbuild] exclude a cljs from compilation

2012-11-15 Thread Giacomo Cosenza
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 and production builds (e.g. :builds {:prod {.} {:dev 
{.} of :cljsbuild keyword)

Is there a way in lein-cljsbuild to reach this goal? I'd like to write 
something like this in :prod build

(defproject

  :cljsbuild {:builds
  {:dev {:source-path src/cljs
 :compiler :output-to 
resources/public/js/main_debug.js
   :optimizations :whitespace
   :pretty-print true}}
:prod {:source-path src/cljs
;;; here a key/values to exclude some file in 
:source-path from compilation, something like :exclude [afil.cljs 
another-file.cljs]
:compiler :output-to resources/public/js/main.js
   :optimizations :advanced}})


Thanks for the attention

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


[ANN] moderns-cljs tutorial 6

2012-11-13 Thread Giacomo Cosenza
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 learning efforts in the 6th tutorial on 
clojurescript

https://github.com/magomimmo/modern-cljs

Hope it can help other newbies like me.

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

Re: Short tutorials on ClojureScript

2012-11-07 Thread Giacomo Cosenza

On Nov 7, 2012, at 11:44 AM, Linus Ericsson wrote:

 Nah, just forgot the vector in :cljsbuild {:builds *[* {:source ...} *]*

:-)

anyway to run the tutorials without code yourself just follow this steps

1. clone the git repository: 

$ git clone https://github.com/magomimmo/modern-cljs.git

2. cd in the modern-cljs dir: 

$ cd modern-cljs

3. launch the http-server (default port 3000) : 

$ lein ring server

4. open a new terminal, cd in modern-cljs dir  and launch cljsbuild compilation 

$ lein cljsbuild auto

5. open a new terminal, cd in modern-cljs dir and launch repl-listen: 

$ lein trampoline cljsbuild repl-listen

6. Tutorial 1/2/3: visit

http://localhost:3000/simple.html

7. tutorial 4 visit

http://localhost:3000/login.html

Depending on your machine you could wait a little to have a responsive  cljs 
repl where to evaluate cljs forms interacting with the browser

HIH

mimmo


 
 Of we go! /Linus
 
 
 2012/11/7 Linus Ericsson oscarlinuserics...@gmail.com
 This looks really promising.
 
 One question: when one builds modern-cljs, is there any extra configuration 
 needed for getting the clojurescript compiler up and running? I get a 
 java.lang.String cannot be cast to clojure.lang.Associative when doing $ 
 lein buildcljs once, which I don't really know where to go on from. I have 
 the clojurescript compiler installed... somewhere.
 
 /Linus
 
 
 
 2012/11/7 Mimmo Cosenza mimmo.cose...@gmail.com
 Thanx jaju…
 I'll try my best to go on with modern cljs tutorial in my spare time. I just 
 published the 4th tutorial (form validation). Hope to be useful and fun.
 
 Mimmo
 
 On Nov 7, 2012, at 9:14 AM, Ravindra Jaju ravindra.j...@gmail.com wrote:
 
 Perfect!
 
 Had been waiting for some thing like 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://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 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 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 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 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 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

using marginalia for training material

2012-03-27 Thread Giacomo Cosenza
Hello everyone,
I decided to introduce clojure in our company. I'm thinking about preparing 
training material both for our programmers and for a selection of mathematica 
and physics students that in the future could be engaged in our company. 

Some days ago I took a look to marginalia (thanks fogus!) and I was thinking to 
use it for that training project. Is that a bad idea or it could work? 

Thanks for any advice

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