[ANN] Boot 2.5

2015-12-16 Thread Ryan Neufeld
Great upgrades! Keep up the good work. 

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


Announcing Clojure Remote — Clojure's first remote conference

2015-09-09 Thread Ryan Neufeld
Hey folks,

I'm pleased to announce Clojure will have its first remote conference
next February. Visit http://www.clojureremote.com to sign up for
announcements and help shape the conference.

-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/d/optout.


Re: State of Simulation Testing Survey - 2015

2015-03-07 Thread Ryan Neufeld
Hey again,

I just wanted to let everyone know that I've published the results of the 
2015 Simulation Testing survey. You can find them here:

http://www.rkn.io/2015/03/07/state-of-sim-testing-results/

-Ryan

On Tuesday, February 3, 2015 at 8:40:14 PM UTC-6, Ryan Neufeld wrote:

 Hey folks!
  
 As you probably know, there's always lots of new and exciting developments 
 in Clojure-land. One, more recent technique that has me really excited has 
 been *Simulation Testing*. I've used Simulant to implement simulation 
 tests on a few projects this last year with great success, and I'm really 
 curious to hear about if/how others are using the technique.
  
 To that end, I've put together a survey on sim-testing–*The State of 
 Simulation Testing*–that I hope can become an annual fixture both inside 
 and outside of the Clojure community. Once the ballots have closed on 
 February 20th, I'll tally and report upon the results on my blog.
  
 If you've considered, implemented or even out-right rejected simulation 
 testing, I'm curious to hear more from you:
  
 http://bit.ly/state-of-sim-testing-2015
  
 Thanks for your time,
 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/d/optout.


State of Simulation Testing Survey - 2015

2015-02-03 Thread Ryan Neufeld

Hey folks!

As you probably know, there's always lots of new and exciting
developments in Clojure-land. One, more recent technique that has me
really excited has been *Simulation Testing*. I've used Simulant to
implement simulation tests on a few projects this last year with great
success, and I'm really curious to hear about if/how others are using
the technique.

To that end, I've put together a survey on sim-testing–*The State of
Simulation Testing*–that I hope can become an annual fixture both inside
and outside of the Clojure community. Once the ballots have closed on
February 20th, I'll tally and report upon the results on my blog.

If you've considered, implemented or even out-right rejected simulation
testing, I'm curious to hear more from you:

http://bit.ly/state-of-sim-testing-2015

Thanks for your time, 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/d/optout.


Re: Pedestal comparison to Sente/HTTPKit

2015-01-26 Thread Ryan Neufeld
Glad to hear you enjoyed the video.

Anyone taking a look at Pedestal should feel free to hit us up on our 
Google Group (https://groups.google.com/forum/#!forum/pedestal-users) 
should they have any questions.

On Monday, January 26, 2015 at 4:00:56 PM UTC-6, Mike Haney wrote:

 Forgot to mention, as far as raw performance/latency of HTTP servers go, 
 you can find a comparison here: 
 https://github.com/ptaoussanis/clojure-web-server-benchmarks 
 https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fptaoussanis%2Fclojure-web-server-benchmarkssa=Dsntz=1usg=AFQjCNHgYwFHUpltoLIYp5dxQY8M988a_A

-- 
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: #db/id[:db.part/db] throws an exception

2014-12-17 Thread Ryan Neufeld
There are still some errors in there. My bad. Someone came in with a pull 
request and I'll test it works. 

Generally all the code should have worked originally--I tested every 
recipe--but I may have missed one or two. 

-Ryan

 On Dec 17, 2014, at 1:02 AM, edw...@kenworthy.info wrote:
 
 I've tried that already but then Clojure complains about there being an 
 uneven number of elements in a map.
 
 Curious though: did the original code ever actually work? Is it something 
 that was deprecated?
 
 Have to say I am happy if that's the case, the original seemed unnecessarily 
 arcane where as a standard function call is obvious.
 
 On Tuesday, December 16, 2014 11:42:10 PM UTC, Ryan Neufeld wrote:
 Yeah, we shouldn't be telling you to use reader literals like that. 
 Preferred is a call to (d/tempid ...). I'm updating the code now 
 (https://github.com/clojure-cookbook/clojure-cookbook/blob/master/06_databases/6-11_schema.asciidoc)
 
 On Tuesday, December 16, 2014 2:01:00 PM UTC-6, edw...@kenworthy.info wrote:
 I'm following the Clojure Cookbook recipe for defining a schema in datomic.
 
 One of the forms is: #db/id[:db.part/db] but this generates an exception 
 clojure.lang.ExceptionInfo: No reader function for tag id :: {:column 25, 
 :line 27, :type :reader-exception}
 
 Can anyone offer any insight?
 
 -- 
 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 a topic in the Google 
 Groups Clojure group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojure/Ki6WWN3n2JU/unsubscribe.
 To unsubscribe from this group and all its topics, 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: #db/id[:db.part/db] throws an exception

2014-12-16 Thread Ryan Neufeld
Yeah, we shouldn't be telling you to use reader literals like that. 
Preferred is a call to (d/tempid ...). I'm updating the code now 
(https://github.com/clojure-cookbook/clojure-cookbook/blob/master/06_databases/6-11_schema.asciidoc)

On Tuesday, December 16, 2014 2:01:00 PM UTC-6, edw...@kenworthy.info wrote:

 I'm following the Clojure Cookbook recipe for defining a schema in datomic.

 One of the forms is: #db/id[:db.part/db] but this generates an exception 
 clojure.lang.ExceptionInfo: 
 No reader function for tag id :: {:column 25, :line 27, :type 
 :reader-exception}

 Can anyone offer any insight?


-- 
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: How do you typecast and insert a Postgres enum value using Clojure JDBC?

2014-08-18 Thread Ryan Neufeld
For posterity, you should create a PGobject object. See instructions how in 
http://naiquevin.github.io/using-postgresqls-enum-types-with-korma.html

On Wednesday, February 6, 2013 2:59:14 AM UTC-6, James Thornton wrote:

 For example, here is a product table in PostgreSQL with status as an enum:

 create type product_status as enum ('InStock', 'OutOfStock');

 create table product (
 pidint primary key default nextval('product_pid_seq'),
 skutext not null unique,
 name   text not null,
 descriptiontext not null,
 quantity   int not null,
 cost   numeric(10,2) not null,
 price  numeric(10,2) not null,
 weight numeric(10,2),
 status product_status not null);

 Typical Clojure code to insert a product would be:

 (def prod-12345 {:sku 12345
  :name My Product
  :description yada yada yada
  :quantity 100
  :cost 42.00
  :price 59.00
  :weight 0.3
  :status InStock})
 (sql/with-connection db-spec
(sql/insert-record :product product-12345))

 However, status is an enum so you can't insert it as a normal string 
 without casting it to an enum:

 'InStock'::product_status

 I know you can do it with a prepared statement, such as:

 INSERT INTO product (name, status) VALUES (?, ?::product_status)

 But is there a way to do it without using a prepared statement?

 From StackOverflow: 

 http://stackoverflow.com/questions/14719207/how-do-you-insert-a-postgres-enum-value-using-clojure-jdbc

 - 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/d/optout.


[ANN] Grimoire 0.2.0

2014-07-11 Thread Ryan Neufeld
This is fantastic! Thanks for all the hard work you've put in. 

-- 
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: Clojure Cookbook is out

2014-03-31 Thread Ryan Neufeld
Should be out any day now. The O’Reilly store has been selling them in print 
for almost a week, and our release date was supposed to be the 24th…

-Ryan 


On March 31, 2014 at 8:37:16 PM, Marcus Blankenship (mar...@creoagency.com) 
wrote:

Cool!

I just tried to buy this on Amazon and it’s not available.  Is the paper 
version out yet?

On Mar 31, 2014, at 5:35 PM, Brian Craft craft.br...@gmail.com wrote:

Just wanted to say how much I like this book. I got a copy at Clojure/West. 
Though it's structured like a reference book, I'm enjoying reading it 
cover-to-cover, and learning a lot. The discussion sections provide valuable 
contexts for many libraries and features that had previously escaped me.

On Friday, March 21, 2014 6:25:38 AM UTC-7, Ryan Neufeld wrote:
Thanks everyone, it was a blast working on the book.

Until next Thursday, you can get 50% off the digital version of the book with 
the coupon WKCLJUR

-Ryan
On Thursday, March 20, 2014 10:23:36 AM UTC-4, Thomas wrote:
woooh

More good books is good for Clojure. Going to order mine today. And a BIG BIG 
BIG thank you for everyone who has contributed, that is what I love about 
Clojure (almost ;) ) most, the community!!!

Thomas

On Thursday, March 20, 2014 1:15:57 PM UTC, Nando Breiter wrote:
I got an email from O'Reilly this morning saying that the Clojure Cookbook had 
been released, and bought it immediately. Thanks to everyone who contributed! 
It's very helpful.

http://shop.oreilly.com/product/0636920029786.do

Nando


Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland

+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamedia

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

Best,
Marcus

Marcus Blankenship
\\\ Problem Solver, Linear Thinker
\\\ 541.805.2736 \ @justzeros \ skype:marcuscreo

--
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 a topic in the Google 
Groups Clojure group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/clojure/IxLGSbESNMY/unsubscribe.
To unsubscribe from this group and all its topics, 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: Clojure Cookbook is out

2014-03-31 Thread Ryan Neufeld
Wow, that’s crazy, 4/30!? I’m not sure what’s going on there, but if you want 
it way sooner, try O’Reilly.

-Ryan 


On March 31, 2014 at 8:44:43 PM, Marcus Blankenship (mar...@creoagency.com) 
wrote:

Ok, cool.  Amazon just sent me a note offering to cancel my pre-order of the 
book, saying they didn’t think they could get it until 4/30.  I actually had to 
go back to their site and reconfirm the order, or it would be cancelled.

Needless to say, I took the time to reconfirm. ;-)


Marcus


On Mar 31, 2014, at 5:40 PM, Ryan Neufeld r...@cognitect.com wrote:

Should be out any day now. The O’Reilly store has been selling them in print 
for almost a week, and our release date was supposed to be the 24th…

-Ryan 


On March 31, 2014 at 8:37:16 PM, Marcus Blankenship (mar...@creoagency.com) 
wrote:

Cool!

I just tried to buy this on Amazon and it’s not available.  Is the paper 
version out yet?
On Mar 31, 2014, at 5:35 PM, Brian Craft craft.br...@gmail.com wrote:

Just wanted to say how much I like this book. I got a copy at Clojure/West. 
Though it's structured like a reference book, I'm enjoying reading it 
cover-to-cover, and learning a lot. The discussion sections provide valuable 
contexts for many libraries and features that had previously escaped me.

On Friday, March 21, 2014 6:25:38 AM UTC-7, Ryan Neufeld wrote:
Thanks everyone, it was a blast working on the book.

Until next Thursday, you can get 50% off the digital version of the book with 
the coupon WKCLJUR

-Ryan
On Thursday, March 20, 2014 10:23:36 AM UTC-4, Thomas wrote:
woooh

More good books is good for Clojure. Going to order mine today. And a BIG BIG 
BIG thank you for everyone who has contributed, that is what I love about 
Clojure (almost ;) ) most, the community!!!

Thomas

On Thursday, March 20, 2014 1:15:57 PM UTC, Nando Breiter wrote:
I got an email from O'Reilly this morning saying that the Clojure Cookbook had 
been released, and bought it immediately. Thanks to everyone who contributed! 
It's very helpful.

http://shop.oreilly.com/product/0636920029786.do

Nando


Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland

+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamedia

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

Best,
Marcus

Marcus Blankenship
\\\ Problem Solver, Linear Thinker
\\\ 541.805.2736 \ @justzeros \ skype:marcuscreo

--
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 a topic in the Google 
Groups Clojure group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/clojure/IxLGSbESNMY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Best,
Marcus

Marcus Blankenship
\\\ Problem Solver, Linear Thinker
\\\ 541.805.2736 \ @justzeros \ skype:marcuscreo

-- 
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: Clojure Cookbook is out

2014-03-21 Thread Ryan Neufeld
Thanks everyone, it was a blast working on the book.

Until next Thursday, you can get 50% off the digital version of the book 
with the coupon *WKCLJUR http://bit.ly/cc-wkcljr*

-Ryan
On Thursday, March 20, 2014 10:23:36 AM UTC-4, Thomas wrote:

 woooh

 More good books is good for Clojure. Going to order mine today. And a BIG 
 BIG BIG thank you for everyone who has contributed, that is what I love 
 about Clojure (almost ;) ) most, the community!!!

 Thomas

 On Thursday, March 20, 2014 1:15:57 PM UTC, Nando Breiter wrote:

 I got an email from O'Reilly this morning saying that the Clojure 
 Cookbook had been released, and bought it immediately. Thanks to everyone 
 who contributed! It's very helpful.

 http://shop.oreilly.com/product/0636920029786.do

 Nando


 Aria Media Sagl
 Via Rompada 40
 6987 Caslano
 Switzerland

 +41 (0)91 600 9601
 +41 (0)76 303 4477 cell
 skype: ariamedia
  


-- 
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: Using Apache Daemon with Clojure

2014-02-09 Thread Ryan Neufeld
Hey Aaron,

I've responded on GitHub where you entered an 
issue: https://github.com/clojure-cookbook/my-daemon/issues/1

-Ryan

On Sunday, February 9, 2014 11:25:21 AM UTC-5, Aaron France wrote:


 Hi, 

 I'm following the Clojure Cookbook blogpost[1] in order to Daemonize a 
 clojure application. Yet the provided code[2] does not work on my system. 

 When running the incantation to get JSVC to run, firstly I needed to 
 change it to use the full path to the JSVC binary. This is fine. 

 However, when it tries to run, it complains with: 

 Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader 

 Yet I am following their instructions *to the letter*. 

 Any ideas guys/gals? 

 Aaron 


 [1] http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ 
 [2] https://github.com/clojure-cookbook/my-daemon 


-- 
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: Does Pedestal have a future in the long run

2013-11-09 Thread Ryan Neufeld
Stuart Halloway is doing a presentation and we’ll be dumping a lot more new 
stuff into the repository. I made a mistake in saying we had an announcement, 
it’s more just that we’ll be talking more publicly about what we’re working on 
following next week.

-Ryan 


On November 8, 2013 at 5:39:34 PM, Andreas Liljeqvist (bon...@gmail.com) wrote:

Will there by any presentation on Pedestal, or just announcements?


On Fri, Nov 8, 2013 at 1:38 AM, Ryan Neufeld r...@thinkrelevance.com wrote:
Speaking as a core Pedestal team member and engineer at Cognitect I can say we 
are very serious about continuing to grow and support Pedestal. It may be 
quiet, but we're using the entirety of Pedestal with a number of client and are 
fervently preparing a number of new features and improvements we plan to 
announce at the Conj next week. Further, we've even begun selling commercial 
support that includes Pedestal[1].

ClojureScript One was a huge influence on pedestal-app, but you're completely 
right that we've abandoned it and should probably wind things down there.

Are there any other questions I can field while I'm here?

-Ryan

[1]: http://cognitect.com/Cognitect-Support-Services.pdf


On Thursday, November 7, 2013 5:30:59 PM UTC-5, Marko Kocić wrote:
Hi all,

I'd like to hear opinions about Pedestal from the people that have been playing 
more with it. Right now I started looking at it, and like some of the things, 
but not sure should I invest more time learning it. While I do like some 
concepts, I'm not sure is it going to became abandonware like Clojurescript One 
(does anyone reemembers it anymore).

So far, after initial splash, I haven't seen large community interest in it. 
The number of aproachable getting started guides and hands on tutorials is 
missing. That might change over time, but I'm afraid that next year this time 
we'll get another Clojurescript one page application framework not much related 
with Pedestal. How serious Cognitect/Relevance is about it?

Best regards,
Marko

--
--
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 a topic in the Google 
Groups Clojure group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/clojure/XQ4wuUc0bCk/unsubscribe.
To unsubscribe from this group and all its topics, 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: Does Pedestal have a future in the long run

2013-11-08 Thread Ryan Neufeld
Shhh! Don't spill the beans.

On Friday, November 8, 2013 1:02:36 AM UTC-5, Daniel wrote:

 I suspect Pedestal adoption will really take off once it has a well 
 designed and advertised widget/ui toolkit.  Just my two cents.

-- 
-- 
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: Does Pedestal have a future in the long run

2013-11-07 Thread Ryan Neufeld
Speaking as a core Pedestal team member and engineer at Cognitect I can say 
we are *very* serious about continuing to grow and support Pedestal. It may 
be quiet, but we're using the entirety of Pedestal with a number of client 
and are fervently preparing a number of new features and improvements we 
plan to announce at the Conj next week. Further, we've even begun selling 
commercial support that includes Pedestal[1].

ClojureScript One was a huge influence on pedestal-app, but you're 
completely right that we've abandoned it and should probably wind things 
down there.

Are there any other questions I can field while I'm here?

-Ryan

[1]: http://cognitect.com/Cognitect-Support-Services.pdf

On Thursday, November 7, 2013 5:30:59 PM UTC-5, Marko Kocić wrote:

 Hi all,

 I'd like to hear opinions about Pedestal from the people that have been 
 playing more with it. Right now I started looking at it, and like some of 
 the things, but not sure should I invest more time learning it. While I do 
 like some concepts, I'm not sure is it going to became abandonware like 
 Clojurescript One (does anyone reemembers it anymore).

 So far, after initial splash, I haven't seen large community interest in 
 it. The number of aproachable getting started guides and hands on tutorials 
 is missing. That might change over time, but I'm afraid that next year this 
 time we'll get another Clojurescript one page application framework not 
 much related with Pedestal. How serious Cognitect/Relevance is about it?

 Best regards,
 Marko



-- 
-- 
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 0.2.0 has been released

2013-09-01 Thread Ryan Neufeld
We just pushed 0.2.1 to fix some issues with the app-template discovered by 
Gabe. See https://github.com/pedestal/pedestal/releases/tag/0.2.1 for more info.

-Ryan
On Aug 30, 2013, at 9:03 PM, Ryan Neufeld r...@thinkrelevance.com wrote:

 Hey Folks,
 
 We've just released 0.2.0 versions of the Pedestal libraries.
 
 This is a big one, with revamped templates for both pedestal-app and 
 pedestal-service applications. The biggest change is that developer tooling 
 now lives in *-tools libraries, cleaning up generated projects and making it 
 easier for us to incrementally improve that tooling in the future. You'll 
 also find that pedestal-service now uses Cheshire for JSON reading/writing.
 
 All this and more is documented in the 0.2.0 Release Notes. Kudos to everyone 
 that contributed to this release.
 
 Happy Labor Day weekend Hacking!
 
 - Ryan and the rest of the Pedestal team

-- 
-- 
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] Pedestal 0.2.0 has been released

2013-08-30 Thread Ryan Neufeld
Hey Folks,

We've just released 0.2.0 versions of the Pedestal libraries.

This is a big one, with revamped templates for both pedestal-app and 
pedestal-service applications. The biggest change is that developer tooling now 
lives in *-tools libraries, cleaning up generated projects and making it easier 
for us to incrementally improve that tooling in the future. You'll also find 
that pedestal-service now uses Cheshire for JSON reading/writing.

All this and more is documented in the 0.2.0 Release Notes. Kudos to everyone 
that contributed to this release.

Happy Labor Day weekend Hacking!

- Ryan and the rest of the Pedestal team

-- 
-- 
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]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
Can you pop that in an issue on the project. In the mean time I'll see if I
reproduce that problem.
On Jul 13, 2013 11:30 PM, Sean Corfield seancorfi...@gmail.com wrote:

 It doesn't work when I spell it correctly either (and I had done
 several tests - but of course the results of misspelling it look the
 same as it not working - and it's indicative of my day that I pasted
 the result of a bad test! :)

 C:\Users\Sean\clojurelein new five
 ...
 C:\Users\Sean\clojurecd five
 C:\Users\Sean\clojure\fivelein try hiccup 1.0.2
 Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
 Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
 Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
 nREPL server started on port 51113
 REPL-y 0.2.0
 Clojure 1.5.1
 Docs: (doc function-name-here)
   (find-doc part-of-name-here)
   Source: (source function-name-here)
  Javadoc: (javadoc java-object-or-class-here)
 Exit: Control+D or (exit) or (quit)
 user= (use 'hiccup.core)
 FileNotFoundException Could not locate hiccup/core__init.class or
 hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
 user= ^D
 Bye for now!

 C:\Users\Sean\clojure\fivecd ..
 C:\Users\Sean\clojurelein try hiccup 1.0.2
 nREPL server started on port 51183
 REPL-y 0.2.0
 Clojure 1.5.1
 Docs: (doc function-name-here)
   (find-doc part-of-name-here)
   Source: (source function-name-here)
  Javadoc: (javadoc java-object-or-class-here)
 Exit: Control+D or (exit) or (quit)
 user= (use 'hiccup.core)
 nil
 user= ^D
 Bye for now!
 C:\Users\Sean\clojure

 (and that's just to show it failing the same way on Windows 8 (with
 GNU on Windows) as it does on Mac!)

 Sean

 On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld r...@thinkrelevance.com
 wrote:
  It looks like you tried to use hiccup.ocre instead of core
 
  --
  --
  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.
 
 



 --
 Sean A Corfield -- (904) 302-SEAN
 An Architect's View -- http://corfield.org/
 World Singles, LLC. -- http://worldsingles.com/

 Perfection is the enemy of the good.
 -- Gustave Flaubert, French realist novelist (1821-1880)

 --
 --
 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 a topic in the
 Google Groups Clojure group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
 To unsubscribe from this group and all its topics, 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: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
I figured there was a joke somewhere in there, but I just couldn't tease a
good one out ;)
On Jul 14, 2013 9:54 AM, Softaddicts lprefonta...@softaddicts.ca wrote:

 After reading this thread, I think we need another plug in to try the try
 plugin
 which in turn may fail which would trigger the need for another try plugin
 which 

 Isn't this recursive a bit ? :

 Luc


  Can you pop that in an issue on the project. In the mean time I'll see
 if I
  reproduce that problem.
  On Jul 13, 2013 11:30 PM, Sean Corfield seancorfi...@gmail.com
 wrote:
 
   It doesn't work when I spell it correctly either (and I had done
   several tests - but of course the results of misspelling it look the
   same as it not working - and it's indicative of my day that I pasted
   the result of a bad test! :)
  
   C:\Users\Sean\clojurelein new five
   ...
   C:\Users\Sean\clojurecd five
   C:\Users\Sean\clojure\fivelein try hiccup 1.0.2
   Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
   Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
   Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
   nREPL server started on port 51113
   REPL-y 0.2.0
   Clojure 1.5.1
   Docs: (doc function-name-here)
 (find-doc part-of-name-here)
 Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
   Exit: Control+D or (exit) or (quit)
   user= (use 'hiccup.core)
   FileNotFoundException Could not locate hiccup/core__init.class or
   hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
   user= ^D
   Bye for now!
  
   C:\Users\Sean\clojure\fivecd ..
   C:\Users\Sean\clojurelein try hiccup 1.0.2
   nREPL server started on port 51183
   REPL-y 0.2.0
   Clojure 1.5.1
   Docs: (doc function-name-here)
 (find-doc part-of-name-here)
 Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
   Exit: Control+D or (exit) or (quit)
   user= (use 'hiccup.core)
   nil
   user= ^D
   Bye for now!
   C:\Users\Sean\clojure
  
   (and that's just to show it failing the same way on Windows 8 (with
   GNU on Windows) as it does on Mac!)
  
   Sean
  
   On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld r...@thinkrelevance.com
 
   wrote:
It looks like you tried to use hiccup.ocre instead of core
   
--
--
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.
   
   
  
  
  
   --
   Sean A Corfield -- (904) 302-SEAN
   An Architect's View -- http://corfield.org/
   World Singles, LLC. -- http://worldsingles.com/
  
   Perfection is the enemy of the good.
   -- Gustave Flaubert, French realist novelist (1821-1880)
  
   --
   --
   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 a topic in the
   Google Groups Clojure group.
   To unsubscribe from this topic, visit
   https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
   To unsubscribe from this group and all its topics, 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.
 
 
 
 --
 Softaddictslprefonta

[ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
Hey folks,

Don't you hate it when someone releases a cool new library and you have to go 
into a project and add an unwanted dependency just to try it out? Worse, maybe 
you decide to 'lein new delete-me' and add it there.

No more! Stop this madness. Use lein-try to quickly launch a REPL with new 
dependencies download automatically - inside of a project, or out.

Once you've dropped [lein-try 0.1.1] in your ~/.lein/profiles.clj's :user 
:plugins key, simply copy-paste the leiningen-style dependency after lein 
try. For example:

$ lein try [io.rkn/core.async 0.1.0-SNAPSHOT]
nREPL server started on port 50472
REPL-y 0.2.0
Clojure 1.5.1
Docs: (doc function-name-here)
  (find-doc part-of-name-here)
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)

user= (require '[clojure.core.async :as async :refer [timeout go !]])
nil
user= (go (! (timeout 1000)) (println Now we're cooking with channels.))
#ManyToManyChannel 
clojure.core.async.impl.channels.ManyToManyChannel@3b43b598
user=

# one second later...

Now we're cooking with channels.

Wow, that's cool!

Find out more or contribute at https://github.com/rkneufeld/lein-try

-Ryan

-- 
-- 
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]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
It looks like you tried to use hiccup.ocre instead of core

-- 
-- 
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]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
I use zsh too and have to prefix commands with noglob. Additional robustness 
and caveats documentation will be necessary.

Pull requests welcomed. 

-- 
-- 
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-10 Thread Ryan Neufeld
Hey thanks Michael,

I made the link quite a bit bigger. In terms of linking directly to the 
wiki: we want to keep one level of indirection for when we move the 
tutorial to home more flexible than a GitHub wiki.

Thanks for the feedback.

On Tuesday, July 9, 2013 12:58:16 PM UTC-4, Michael Klishin wrote:


 2013/7/9 Ryan Neufeld ry...@thinkrelevance.com javascript:

 I'm pleased to announce the release of a comprehensive tutorial for 
 pedestal-app: http://bit.ly/pedestal-app-tutorial.


 Ryan,

 Good to see more documentation for Pedestal!

 I have a bit of feedback. Maybe it's just me being really dumb but I was 
 confused about where to find the actual tutorial.
 At some point I thought I need to run the two apps to see any content.

 It turned out to be in the wiki:
 https://github.com/pedestal/app-tutorial/wiki

 but I may be a good idea to make that a bit more obvious in the README at 
 the top. The announcement
 could have linked to the wiki page as well.

 Thanks,
 -- 
 MK

 http://github.com/michaelklishin
 http://twitter.com/michaelklishin
  

-- 
-- 
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] Pedestal-app Tutorial has been released

2013-07-09 Thread Ryan Neufeld
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.




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

2013-07-09 Thread Ryan Neufeld
Mimmo,

Our focus has definitely been on exploring new ideas; supporting progressive 
enhancement has not been a focus of ours. Given the nature of the kinds of 
applications we're building in Pedestal today (extremely rich and collaborative 
ClojureScript applications) I don't see many avenues to add this support in the 
near term. One could certainly write progressive HTML templates, but as soon as 
we cross into the boundary of system behavior things get a little hairy - I get 
the impression it is an all or nothing affair.

Did you have any thoughts about how pedestal-app could better support 
progressive enhancement?

-- Ryan Neufeld

On Jul 9, 2013, at 1:41 PM, Giacomo Cosenza mimmo.cose...@gmail.com wrote:

 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 
 pedestal-users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to pedestal-users+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/pedestal-users.
  
  

-- 
-- 
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 Ryan Neufeld
There definitely isn't a *need* to clone or checkout steps, but it certainly 
doesn't hurt to have a clean slate at each stage (especially considering at 
this time pedestal-app errors can be kind of opaque–we're working on that).

WRT GitHub issues vs. Mailing lists – it's my personal preference to do things 
over GitHub.

Thanks for checking it out.

-- Ryan Neufeld

On Jul 9, 2013, at 10:19 PM, danieljom...@gmail.com wrote:

 Whoa, for anyone interested in learning pedestal-app or dataflow web 
 programming, it would feel incredibly wrong to _not_ dive into this tutorial! 
 Thanks Ryan and other contributors, and thanks Relevance!
 
 Now, regarding the Getting Started page, it suggests we start from the lein 
 new pedestal-app template. That said, it also (very slightly) suggests we 
 clone  checkout v2.0.0 of app-tutorial to start from there. (Especially if 
 we keep in mind that at the root of the Wiki, it's written that if we skip 
 steps, we should not forget to checkout the appropriate previous step's tag. 
 But of course this most certainly only applies to people skipping steps.) 
 From my current understanding, there is no need to clone  checkout anything 
 if you're willing to work your way through each step of the tutorial. I 
 suggest you make this bit much more explicit.
 
 That said, if you prefer this kind of comment inside of a GitHub issue, let 
 me oblige myself on a single word of yours. - And thank you again!
 
 
 
 On Tuesday, July 9, 2013 12:03:58 PM UTC-4, Ryan Neufeld wrote:
 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 
 pedestal-users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to pedestal-users+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/pedestal-users.
 
 

-- 
-- 
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] Pedestal 0.1.10 has been released

2013-07-05 Thread Ryan Neufeld
Hey Folks,

We've just released the 0.1.10 versions of the Pedestal libraries.

This release has a couple of neat improvements; the app message queue is now a 
priority queue (specify msg/priority :high for a high-priority message,) and 
service's url-for now accepts a :fragment option (among other improvements.) 

You'll find the full changelog for this and other changes here: 
http://git.io/_vm7wQ.

- Ryan and the rest of the Pedestal team

-- 
-- 
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: Pedestal introduction question

2013-07-05 Thread Ryan Neufeld
Thanks, I made the update in the doc repo [1]. I'm not sure why your 
message took so long to drop into my non-registered email queue. I only saw 
an email about it late this morning. Anyways, I'll get this pushed to 
pedestal.io ASAP.

In the future you can submit an issue or pull request to the pedestal/docs 
repo if you run into stuff like this [2].

-Ryan

[1]: 
https://github.com/pedestal/docs/blob/master/documentation/application-introduction.md
[2]: https://github.com/pedestal/docs

On Thursday, July 4, 2013 12:22:25 PM UTC-4, Greg Slepak wrote:

 Thanks! Yeah it's probably just a mistake in the docs.

 --
 Please do not email me anything that you are not comfortable also sharing 
 with the NSA.
  
 On Jul 4, 2013, at 10:08 AM, gianluca torta giat...@gmail.comjavascript: 
 wrote:

 right, sorry!

 I found the double role of template in this sample file on the pedestal 
 repo:

 https://github.com/pedestal/samples/blob/master/chat/chat-client/app/src/chat_client/web/rendering.cljs

 maybe the doc you originally refer to is inspired by this, but something 
 got lost in the doc

 -Gianluca


 -- 
 -- 
 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 javascript:
 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 javascript:
 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 javascript:.
 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: [ANN] Pedestal 0.1.9 has been released

2013-07-03 Thread Ryan Neufeld
It's so close I can almost taste it. Most Relevance Pedestallions are going to 
be doing what I think is a final review on Friday.

I really think you folks are going to enjoy it.

-- Ryan Neufeld

On Jul 3, 2013, at 6:47 AM, Leon Talbot leontal...@gmail.com wrote:

 Brenton has been working hard at preparing a full tutorial of pedestal-app. 
 We're expecting to release that in just under a month or so.
 
 Great news!
 
 -- 
 -- 
 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 a topic in the Google 
 Groups Clojure group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojure/gHAxWvNleGg/unsubscribe.
 To unsubscribe from this group and all its topics, 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: [ANN] Pedestal 0.1.9 has been released

2013-07-03 Thread Ryan Neufeld
Docs first, videos in a bit. I don't want this to be like that Christmas where 
you thought you were going to get *all* the presents and you were all 
disappointed but had to put on a brave face to seem like you still appreciated 
it.

-- Ryan Neufeld

On Jul 3, 2013, at 7:20 AM, Mayank Jain firesof...@gmail.com wrote:

 Looking forward to an elaborate docs/video tuts on pedestal.
 Cheers
 
 
 On Wed, Jul 3, 2013 at 4:38 PM, Ryan Neufeld r...@thinkrelevance.com wrote:
 It's so close I can almost taste it. Most Relevance Pedestallions are going 
 to be doing what I think is a final review on Friday.
 
 I really think you folks are going to enjoy it.
 
 -- Ryan Neufeld
 
 On Jul 3, 2013, at 6:47 AM, Leon Talbot leontal...@gmail.com wrote:
 
 Brenton has been working hard at preparing a full tutorial of pedestal-app. 
 We're expecting to release that in just under a month or so.
 
 Great news!
 
 -- 
 -- 
 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 a topic in the 
 Google Groups Clojure group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojure/gHAxWvNleGg/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
  
  
 
 
 
 -- 
 Regards,
 Mayank.
 
 -- 
 -- 
 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 a topic in the Google 
 Groups Clojure group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojure/gHAxWvNleGg/unsubscribe.
 To unsubscribe from this group and all its topics, 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: [ANN] Pedestal 0.1.9 has been released

2013-06-15 Thread Ryan Neufeld
 

This release shouldn't change that much (with the exception of some bugs 
you could have run into). Regardless, Brenton has been working hard at 
preparing a full tutorial of pedestal-app. We're expecting to release that 
in just under a month or so.

On Friday, June 14, 2013 10:00:02 PM UTC-4, Daniel wrote:

 Awesome, thanks for the hard work. I imagine this will require some 
 updates to the getting started page.

 I'm in the process of learning how to use pedestal right now.  Besides the 
 website and sample projects on github, are there any other good resources 
 for learning?


-- 
-- 
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] Pedestal 0.1.9 has been released

2013-06-14 Thread Ryan Neufeld
Hey Folks,

We've just released the 0.1.9 versions of the Pedestal libraries.

This release is mostly bug fixes and usability improvements. Notable 
changes include better change reporting for nil/falsy values in 
pedestal-app dataflow and unification of what command starts a pedestal app 
or service (hint: it's 'start'.)

You'll find the full changelog for this and other changes here: 
http://git.io/dHCnJQ.

- Ryan and the rest of the Pedestal team

-- 
-- 
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] Pedestal 0.1.7 has been released.

2013-05-24 Thread Ryan Neufeld
Hey Folks,

We've just released the 0.1.7 versions of the Pedestal libraries.

The big feature in this release is a much simplified dataflow engine for 
the client-side. We're still behind on documentation and samples, but with 
this change our focus finally shifts directly to improving those two 
things. Expect more details in the coming weeks and months. I hope to write 
a blog article in the next week or so showcasing what the new dataflow 
engine can do.

You'll find the full changelog for this and other changes here: 
http://git.io/dHCnJQ.

- Ryan and the rest of the Pedestal team

-- 
-- 
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] Pedestal 0.1.6 released

2013-05-03 Thread Ryan Neufeld
Hey Folks,

We've just released the 0.1.6 versions of the Pedestal libraries.

This release brings the ability to match port numbers in service routes as 
well as further compatibility for JBoss.

You'll find the full changelog for this and other changes 
here: http://git.io/dHCnJQ.

- Ryan and the rest of the Pedestal team

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

2013-03-29 Thread Ryan Neufeld
Hey, sorry for the delay in answering your question Michael.

We will definitely be accepting pull requests. In fact, we've already 
accepted a few minor pulls from community members.

I know you've been an outspoken critic of the Clojure contribution process 
- we understand that pain, and want to do things differently with Pedestal. 
This means Github for issues and pull-requests, easy-to-submit CAs, etc. 
Hopefully once we've proven out these more modern workflows we can start to 
backport them into the Clojure process.

I have to ask you this: is there anything we've missed, or do you have any 
suggestions you'd like implemented in the Pedestal project?

- Ryan @ Relevance

On Sunday, March 24, 2013 12:30:10 AM UTC-4, Michael Klishin wrote:


 2013/3/24 Sean Corfield seanco...@gmail.com javascript:

 Contributor Agreements were available for signing at Clojure/West so
 I'm guessing it will be under the same process as Clojure itself...


 They have electronic CA:
 http://pedestal.io/#contribute

 My question is about pull requests, not the CA.
 -- 
 MK

 http://github.com/michaelklishin
 http://twitter.com/michaelklishin
  

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

2013-03-29 Thread Ryan Neufeld
I definitely hear you - getting pedestal.io open for contributions is a 
goal of mine too. Maybe I can have a conversation with you about your 
experience on ClojureWerkz docs?


 Ryan,

 This is very good news. One thing I'd like to see is a way for the 
 community to contribute to pedestal.io (the site)
 using the same process.



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




Not understanding the proper use of map

2008-12-10 Thread Ryan Neufeld

I've been working on learning Clojure after taking a course in Common
Lisp and I am having some troubles translating a particular Common
Lisp function to Clojure that uses mapping.

We're defining a function that takes a function and two lists and
applies the function to each two items in the lists. Not particularly
safe or anything, but decent for learning.

In CL:
(defun parallel (F L1 L2)
  (mapcar #'(lambda (x y) (funcall F x y)) L1 L2))

(parallel '+ '(1 2 3) '(4 5 6))  ;; = (5 7 9)  ;; Working correctly

My attempt in Clojure:
(defn parallel [F L1 L2] (map (fn [x y] (F x y)) L1 L2))
-- OR --
(defn parallel [F L1 L2] (map F L1 L2))

however...
(parallel '+ '(1 2 3) '(4 5 6))  = (4 5 6)

I gleaned what I could from the Clojure wiki but I'm still missing
something.

Any pointers on where I am going wrong?

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Not understanding the proper use of map

2008-12-10 Thread Ryan Neufeld

Thats the CL'ism I was hanging on to! Thanks for the amazing and
prompt replies.


On Dec 10, 1:59 pm, Dean Ferreyra [EMAIL PROTECTED] wrote:
 Ryan Neufeld wrote:
  I've been working on learning Clojure after taking a course in Common
  Lisp and I am having some troubles translating a particular Common
  Lisp function to Clojure that uses mapping.

  We're defining a function that takes a function and two lists and
  applies the function to each two items in the lists. Not particularly
  safe or anything, but decent for learning.

  In CL:
  (defun parallel (F L1 L2)
    (mapcar #'(lambda (x y) (funcall F x y)) L1 L2))

  (parallel '+ '(1 2 3) '(4 5 6))  ;; = (5 7 9)  ;; Working correctly

  My attempt in Clojure:
  (defn parallel [F L1 L2] (map (fn [x y] (F x y)) L1 L2))
  -- OR --
  (defn parallel [F L1 L2] (map F L1 L2))

  however...
  (parallel '+ '(1 2 3) '(4 5 6))  = (4 5 6)

  I gleaned what I could from the Clojure wiki but I'm still missing
  something.

  Any pointers on where I am going wrong?

 You've almost got it -- just don't quote the +:

   user (parallel + '(1 2 3) '(4 5 6))
   (5 7 9)

 By quoting the + you were passing in the symbol, not the function.

 Dean
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---