Re: Does Pedestal have a future in the long run

2013-11-11 Thread Manuel Paccagnella
Very exaustive comment, that reminded me of a beautiful series of articles 
by Jacob Kaplan-Moss on "Writing great 
documentation". 
There is a 
presentation,
 
too.

Il giorno lunedì 11 novembre 2013 07:04:09 UTC+1, Cedric Greevey ha scritto:
>
> IMO it can often be a lack of readable, searchable, nice-to-navigate 
> text/hypertext that can be a barrier to entry. In fact all of these are 
> unfortunately common in various parts of the geekosphere:
>
> 1. Projects whose *only* documentation (or the only version of certain key 
> information) is in videos. Not searchable. Not easy to navigate to a 
> particular part (need to remember roughly when it is, or rewatch half the 
> thing). Expensive for mobile users with capped or per-megabyte data plans.
>
> 2. Projects whose *only* documentation is reference-type material that 
> does not introduce the library/whatever to total n00bs. A common case is 
> for there to be beautifully detailed Javadoc for every public class, 
> method, and constant in some Java library, but nothing to give a n00b a 
> clue as to where to start using it. Sometimes it's fairly obvious (there's 
> a problem domain class Foo that it makes sense to instantiate first, and 
> that class has a public constructor, has a public static getInstance 
> method, or sits next to a FooFactory class in the same package, and this is 
> well-documented) but often it's not. Regardless, it would be preferable for 
> there to be a "getting started" guide. With a textual version that can be 
> searched with grep or other tools.
>
> 3. Projects whose *only* documentation is a getting-started guide, tour, 
> tutorial, or similar. When one knows the basic patterns of usage but wants 
> to recall the argument order for the (burbling-mumblefrotz ...) function, 
> having to find where it was introduced in a tutorial (which chapter? The 
> one on mumbling or the one on burbling? Near the start, middle, or end? 
> Page 2 or 29???) is a pain in the neck. A reference is organized 
> differently, for making a specific known entity easy to re-find. Javadocs 
> and Clojure docstrings are good for this.
>
> In particular:
>
> * Every key fact, example, or other piece of documentation should exist 
> somewhere in a form that Google can find on the web and grep can find in 
> your local copy if you make one. And that local copy shouldn't cost a 
> fortune to download and a ton-lot of disk space to keep, nor should it be a 
> pain in the ass to scroll forward and backward through. Ideally, it should 
> be browseable on a fairly low-spec machine if need be, as well, even one 
> that makes video playback stutter at 3 FPS.
>
> * There needs to be two differently organized written forms of 
> documentation: one oriented around discovering how to do X, for people that 
> don't know the name of the function, class, method, or other entity that 
> does X; and one oriented around specifying precisely the usage, behavior, 
> and applicable preconditions/gotchas/etc. of a particular function, method, 
> class, or whatever that one *does* know the name to. The latter is 
> typically partly machine-generated and organized hierarchically and 
> alphabetically by package/namespace and name. The former tends to be mainly 
> human-authored and often linear, or at most a few branches, of exposition, 
> which shows how the parts are interrelated and how to build up from those 
> parts to useful working systems of some sort.
>
> Videos do have their uses, but should not be regarded as *substitutes* for 
> either written reference documentation or written tutorial documentation, 
> and the latter are not substitutes for one another. I'd regard a lack of 
> good *written* introductory material as a much worse barrier to entry than 
> a lack of good videos, where the subject matter lends itself to textual 
> exposition (math, programming). (That last restriction of scope is 
> necessary; no amount of written material telling people how to play golf, 
> for instance, is likely to beat a good video showing a proper stance and 
> backswing. Gross motor skills in general benefit strongly from, at minimum, 
> video clips of key moves/actions. Most things benefit from the occasional 
> illustrative still image, however.)
>
>
>
> On Sun, Nov 10, 2013 at 10:10 AM, Ryan Waters 
> > wrote:
>
>> Thank you Saravana.  I'm finding a number of the posts David Nolen [1] 
>> has written on his blog to be invaluable.  Once I figure out what mix of 
>> libraries I'll be using I can let you know!
>>
>> [1] http://swannodette.github.io/
>>
>>
>> On Sat, Nov 9, 2013 at 12:33 PM, Ryan Neufeld 
>> 
>> > wrote:
>>
>>> 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’r

Name of graphing library

2013-11-11 Thread JvJ
I once encountered a library that could render clojure data structures 
(i.e. trees, maps, etc.) as ascii text.

I can't remember the name of the library, and I can't find it.  Has anyone 
else encountered it?

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.


[ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Kris Jenkins
https://github.com/krisajenkins/yesql

Yesql is a simple library for blending SQL & Clojure together, cleanly. 
Here's how it works , and how 
to use it .

Feedback welcomed,
Kris

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Dave Della Costa
I was about to be like, "oh no, not another one!" and then I read the
README and I thought, "oh, interesting...

So, kudos on thinking outside the box.  I certainly agree with a lot of
the points you've made.  I'll definitely be playing around with this.

Cheers,
DD

(2013/11/11 20:10), Kris Jenkins wrote:
> https://github.com/krisajenkins/yesql
> 
> Yesql is a simple library for blending SQL & Clojure together, cleanly.
> Here's how it works ,
> and how to use it .
> 
> Feedback welcomed,
> Kris
> 
> -- 
> -- 
> 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.


Last day for Typed Clojure crowdfunding

2013-11-11 Thread Ambrose Bonnaire-Sergeant
Hi,

With less than 20 hours left in the crowdfunding campaign for Typed
Clojure, don't miss out if you meant to donate!

http://www.indiegogo.com/projects/typed-clojure/x/4545030

Thanks to your donations, I have already transferred Nicola Mometto US$5000
to help continue his fantastic work on tools.analyzer, the new home of CinC
the Clojure compiler written in Clojure!

Thanks,
Ambrose

-- 
-- 
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] Service-hub - Library for building service-oriented applications

2013-11-11 Thread Jan Herich
https://github.com/ITEdge/service-hub

Service-hub is a modular library for building service-oriented applications 
with fine grained authentication, authorization and validation rules.
The library is centered around idea of "handlers" as light-weight 
abstractions to CRUD interactions and "services" as something exposed to 
the outer world,
which is authenticated, authorized and validated -> one service could be 
composed of many handlers if needed. 

The core library containing abstractions of handlers, services, 
authorizators, validators and convertors along with some util namespaces and
simple in-memory implementation is packaged in the sub-project core:

https://github.com/ITEdge/service-hub/tree/master/core

When you need to implement sql-handlers, Service-hub provides the 
sub-project persistence-korma, which depends on library korma-enhanced 
0.3.1:

https://github.com/ITEdge/service-hub/tree/master/persistence-korma

For datomic-handlers, just use the sub-project persistence-datomic:

https://github.com/ITEdge/service-hub/tree/master/persistence-datomic

And finally to expose your service-oriented application through http, use 
sub-project http-ring, which depends on ring and compojure libraries:

https://github.com/ITEdge/service-hub/tree/master/http-ring

I also created some simple examples showing how to use service-hub: 
https://github.com/ITEdge/service-hub-examples

Note that i designed and implemented the library a while ago (even if it 
was constantly upgraded and most dependencies are not obsolete), 
when i needed a tool to prototype and create relatively simple data 
exposing services in the most declarative and easy way possible, 
so it's probably not the best tool to build services requiring the data to 
be persisted with complicated transaction strategies, or to implement
asynchronous communication in the effective fashion out of the box, 
libraries like pedestal-service are much better at those kind of tasks.

I still think it could be useful to people, so i decided to announce it.

Feedback welcomed,
Jan 



-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Kris Jenkins
Thanks David, that's nice of you to say. I know exactly what you mean - I 
didn't want to be the guy to write yet another Clojure/SQL library - but 
when I figured out why none of the existing ones was working for me, I had 
no choice. :-D

There's still plenty that can be done with the implementation, but 
hopefully the world will look kindly on the design, and it can evolve from 
there...

Kris

On Monday, 11 November 2013 11:45:21 UTC, David Della Costa wrote:
>
> I was about to be like, "oh no, not another one!" and then I read the 
> README and I thought, "oh, interesting... 
>
> So, kudos on thinking outside the box.  I certainly agree with a lot of 
> the points you've made.  I'll definitely be playing around with this. 
>
> Cheers, 
> DD 
>
> (2013/11/11 20:10), Kris Jenkins wrote: 
> > https://github.com/krisajenkins/yesql 
> > 
> > Yesql is a simple library for blending SQL & Clojure together, cleanly. 
> > Here's how it works , 
> > and how to use it . 
>
> > 
> > Feedback welcomed, 
> > Kris 
> > 
> > -- 
> > -- 
> > 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
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-11 Thread Brenton
I would like to clarify a few things.

All of the comments below are about Pedestal app.

Pedestal is a continuation of ClojureScript One. The reason that we didn't 
continue to commit changes to that project was because of all of the 
documentation.

Pedestal has changed a lot from the beginning and continues to change. This 
change has definitely been moving toward a goal and I think we are getting 
very close to that goal. Once Pedestal is stable it will be simpler, 
smaller and easier to understand and use in a variety of ways. I agree with 
many of the comments above about what a finished project should look like. 
This is not a finished project. At this point, increasing adoption is not 
the goal. If you are looking at Pedestal now then you are an early adopter 
and you accept the risks that go along with being an early adopter. You are 
on the bleeding edge. Sometimes there is a lot of blood on the bleeding 
edge.

If you are looking for something that is finished and stable then do not 
look at Pedestal. We will indicate stability with version numbers. When you 
see a release of version 1.0 then you may want to have another look. A 1.0 
release will not happen until we have thorough reference documentation.

There has been a lot of change because we really do care about this and 
want to get it right. We will continue to do this until we as a team 
believe that we have got it right.

Brenton

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Mamun
Hi Kris,

It's look fine. Is is possible to to add more query in one sql file? I 
mean- I'd like to create one sql file and store all query on that file.

BR,
Mamun



On Monday, November 11, 2013 2:38:27 PM UTC+1, Kris Jenkins wrote:
>
> Thanks David, that's nice of you to say. I know exactly what you mean - I 
> didn't want to be the guy to write yet another Clojure/SQL library - but 
> when I figured out why none of the existing ones was working for me, I had 
> no choice. :-D
>
> There's still plenty that can be done with the implementation, but 
> hopefully the world will look kindly on the design, and it can evolve from 
> there...
>
> Kris
>
> On Monday, 11 November 2013 11:45:21 UTC, David Della Costa wrote:
>>
>> I was about to be like, "oh no, not another one!" and then I read the 
>> README and I thought, "oh, interesting... 
>>
>> So, kudos on thinking outside the box.  I certainly agree with a lot of 
>> the points you've made.  I'll definitely be playing around with this. 
>>
>> Cheers, 
>> DD 
>>
>> (2013/11/11 20:10), Kris Jenkins wrote: 
>> > https://github.com/krisajenkins/yesql 
>> > 
>> > Yesql is a simple library for blending SQL & Clojure together, cleanly. 
>> > Here's how it works , 
>> > and how to use it . 
>>
>> > 
>> > Feedback welcomed, 
>> > Kris 
>> > 
>> > -- 
>> > -- 
>> > 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
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: Name of graphing library

2013-11-11 Thread Tim Visher
This smacks of something that I saw in a Stu Halloway talk once. I
also can't remember the name of it. :(

On Mon, Nov 11, 2013 at 4:14 AM, JvJ  wrote:
> I once encountered a library that could render clojure data structures (i.e.
> trees, maps, etc.) as ascii text.
>
> I can't remember the name of the library, and I can't find it.  Has anyone
> else encountered it?
>
> 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: Name of graphing library

2013-11-11 Thread Claudia Doppioslash
Maybe you're looking for C2 (http://keminglabs.com/c2/)?


2013/11/11 Tim Visher 

> This smacks of something that I saw in a Stu Halloway talk once. I
> also can't remember the name of it. :(
>
> On Mon, Nov 11, 2013 at 4:14 AM, JvJ  wrote:
> > I once encountered a library that could render clojure data structures
> (i.e.
> > trees, maps, etc.) as ascii text.
> >
> > I can't remember the name of the library, and I can't find it.  Has
> anyone
> > else encountered it?
> >
> > 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.
>



-- 
Claudia

+44 7563 242885
http://gplus.to/gattoclaudia
@doppioslash
http://stackoverflow.com/users/560848/doppioslash

-- 
-- 
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-11 Thread Manuel Paccagnella
Thank you for your explanation Brenton, makes a whole lot of sense. Now 
it's clear what the maturity level of Pedestal is: I'll way a little bit 
more before starting to bleed :)

Il giorno lunedì 11 novembre 2013 15:38:23 UTC+1, Brenton ha scritto:
>
> I would like to clarify a few things.
>
> All of the comments below are about Pedestal app.
>
> Pedestal is a continuation of ClojureScript One. The reason that we didn't 
> continue to commit changes to that project was because of all of the 
> documentation.
>
> Pedestal has changed a lot from the beginning and continues to change. 
> This change has definitely been moving toward a goal and I think we are 
> getting very close to that goal. Once Pedestal is stable it will be 
> simpler, smaller and easier to understand and use in a variety of ways. I 
> agree with many of the comments above about what a finished project should 
> look like. This is not a finished project. At this point, increasing 
> adoption is not the goal. If you are looking at Pedestal now then you are 
> an early adopter and you accept the risks that go along with being an early 
> adopter. You are on the bleeding edge. Sometimes there is a lot of blood on 
> the bleeding edge.
>
> If you are looking for something that is finished and stable then do not 
> look at Pedestal. We will indicate stability with version numbers. When you 
> see a release of version 1.0 then you may want to have another look. A 1.0 
> release will not happen until we have thorough reference documentation.
>
> There has been a lot of change because we really do care about this and 
> want to get it right. We will continue to do this until we as a team 
> believe that we have got it right.
>
> Brenton
>

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


Unsupported major.minor version 49.0

2013-11-11 Thread hpw014
Hello,
 
I just download latest clojure zip and start it as described:
 
C:\clojure-1.5.1>java -cp clojure-1.5.1.jar clojure.main
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
clojure/main
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
C:\clojure-1.5.1>
 
Whats wrong?
 
Regards
 
Hans-Peter

-- 
-- 
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-11 Thread Zubair Quraishi
As the author of another Clojure web framework, clojure on Coils (
https://github.com/zubairq/coils) I would say that Pedestal has got a very 
bright future ahead of it. Not only is it technically pretty amazing but 
the community behind it and the fact that it comes from the same team as 
the main Clojure and Clojurescript committers means that it will be the 
de-facto standard when large companies want to choose a Clojure web 
framework. I know that I have built a Clojure web framework myself, but my 
own framework Coils is more directed at non-clojure people, so there is a 
bigger learning curve of learning Clojure as well. Pedestal is definitely a 
better choice for people who already know or use Clojure

On Thursday, November 7, 2013 11:30:59 PM UTC+1, 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.


Clojure talks at Code Mesh London 3-5 Dec - Early Bird ends in 3 days

2013-11-11 Thread Andra Dinu
2 days of talks and 1 day of tutorials on non-mainstream tech at Code Mesh 
London 3-5 Dec http://codemesh.io

Clojure talks include: 

Keynote: The Joy of Flying Robots with Clojure - Carin Meier 
http://codemesh.io/#carin-meier
Clojure Core.Async - Timothy Baldridge http://codemesh.io/#timothy-baldridge

Among over 50 speakers are  co-author of "Programming Scala" Dean Wampler, 
Akka inventor Jonas Bonér, Director of Engineering at Typesafe Viktor 
Klang, Ruby guru and author of 'The Pragmatic Programmer' Dave Thomas, 
Erlang co-inventor Joe Armstrong, Elixir creator José Valim, creator of the 
Parallela board Andreas Olofsson, creator of Catnip IDE Bodil Stokke, 
co-inventor of Julia Stefan Karpinski, creator of ZeroMQ Pieter Hintjens, 
as well as O'Reilly authors such as Francesco Cesarini and Dean Wampler.

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


How to interrupt execution and open a debugger/REPL?

2013-11-11 Thread Alexandru Nedelcu
Hi,

I'm a rookie. Having worked with Python and Ruby, I love how in those
languages you can simply do something like:

import pdb; pdb.set_trace()

Or in Ruby:

require 'ruby-debug'; debugger

So is there any way in Clojure to pause execution and open some sort
of debugger / REPL in the console with the current stack-trace and
local vars visible?

Thanks,

-- 
Alexandru Nedelcu
www.bionicspirit.com

PGP Public Key: http://goo.gl/ZyQpGv

-- 
-- 
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: How to interrupt execution and open a debugger/REPL?

2013-11-11 Thread Andy Fingerhut
I haven't done it personally, but there is strong evidence that the answer
is "Yes, if you use Emacs + extra libraries from Ritz" [1].  There is a
demo in the video presentation by Hugo Duncan showing this. [2]  I believe
[3] is an up-to-date brief set of instructions for installing these things
on top of Emacs.

If you use 'java -cp clojure.jar clojure.main' or 'lein repl', then the
answer is no (at least it is right now).  There was a recent discussion
thread you may want to read on this topic [3].

Andy

[1] https://github.com/pallet/ritz
[2] http://www.infoq.com/presentations/ritz-clojure
[3]
http://ianeslick.com/2013/05/17/clojure-debugging-13-emacs-nrepl-and-ritz/
[4] https://groups.google.com/forum/#!topic/clojure/8a1FjNvh-ZQ



On Sun, Nov 10, 2013 at 10:33 PM, Alexandru Nedelcu
wrote:

> Hi,
>
> I'm a rookie. Having worked with Python and Ruby, I love how in those
> languages you can simply do something like:
>
> import pdb; pdb.set_trace()
>
> Or in Ruby:
>
> require 'ruby-debug'; debugger
>
> So is there any way in Clojure to pause execution and open some sort
> of debugger / REPL in the console with the current stack-trace and
> local vars visible?
>
> Thanks,
>
> --
> Alexandru Nedelcu
> www.bionicspirit.com
>
> PGP Public Key: http://goo.gl/ZyQpGv
>
> --
> --
> 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: Unsupported major.minor version 49.0

2013-11-11 Thread Andy Fingerhut
What do you see as the output of the command 'java -version'?  I ask
because perhaps you are running a version of Java that is too old.  JDK6 or
JDK7 is recommended.  JDK5 might work, but is getting a bit stale, and will
definitely not work when Clojure 1.6 is released.

Andy


On Sun, Nov 10, 2013 at 11:19 PM,  wrote:

> Hello,
>
> I just download latest clojure zip and start it as described:
>
> C:\clojure-1.5.1>java -cp clojure-1.5.1.jar clojure.main
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> clojure/main
> (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> C:\clojure-1.5.1>
>
> Whats wrong?
>
> Regards
>
> Hans-Peter
>
> --
> --
> 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: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Kris Jenkins
Hi Mamun,

Hmm...I hadn't planned on it, but I could see it would suit some people's 
development style. (It could get messy, but so can Clojure namespaces if 
you're undisciplined. The developer should be allowed to take 
responsibility.)

The tricky parts would be:

   - How would you delimit the various queries? In a clear, portable way 
   that allowed for docstrings? 
   - How would you refer to the individual queries? Some kind of mandatory 
   '-- NAME: foo-query' syntax?

Any thoughts?

Kris

On Monday, 11 November 2013 14:46:55 UTC, Mamun wrote:
>
> Hi Kris,
>
> It's look fine. Is is possible to to add more query in one sql file? I 
> mean- I'd like to create one sql file and store all query on that file.
>
> BR,
> Mamun
>
>
>
> On Monday, November 11, 2013 2:38:27 PM UTC+1, Kris Jenkins wrote:
>>
>> Thanks David, that's nice of you to say. I know exactly what you mean - I 
>> didn't want to be the guy to write yet another Clojure/SQL library - but 
>> when I figured out why none of the existing ones was working for me, I had 
>> no choice. :-D
>>
>> There's still plenty that can be done with the implementation, but 
>> hopefully the world will look kindly on the design, and it can evolve from 
>> there...
>>
>> Kris
>>
>> On Monday, 11 November 2013 11:45:21 UTC, David Della Costa wrote:
>>>
>>> I was about to be like, "oh no, not another one!" and then I read the 
>>> README and I thought, "oh, interesting... 
>>>
>>> So, kudos on thinking outside the box.  I certainly agree with a lot of 
>>> the points you've made.  I'll definitely be playing around with this. 
>>>
>>> Cheers, 
>>> DD 
>>>
>>> (2013/11/11 20:10), Kris Jenkins wrote: 
>>> > https://github.com/krisajenkins/yesql 
>>> > 
>>> > Yesql is a simple library for blending SQL & Clojure together, 
>>> cleanly. 
>>> > Here's how it works , 
>>>
>>> > and how to use it . 
>>>
>>> > 
>>> > Feedback welcomed, 
>>> > Kris 
>>> > 
>>> > -- 
>>> > -- 
>>> > 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
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Manuel Paccagnella


Il giorno lunedì 11 novembre 2013 17:52:01 UTC+1, Kris Jenkins ha scritto:
>
> Hi Mamun,
>
> Hmm...I hadn't planned on it, but I could see it would suit some people's 
> development style. (It could get messy, but so can Clojure namespaces if 
> you're undisciplined. The developer should be allowed to take 
> responsibility.)
>
> The tricky parts would be:
>
>- How would you delimit the various queries? In a clear, portable way 
>that allowed for docstrings? 
>- How would you refer to the individual queries? Some kind of 
>mandatory '-- NAME: foo-query' syntax?
>
> Any thoughts?
>
>
You could take a look at the Liquibase SQL changelog 
format, 
it's about schema migrations but the syntax is almost exactly what you 
propose here.
 

> Kris
>
> On Monday, 11 November 2013 14:46:55 UTC, Mamun wrote:
>>
>> Hi Kris,
>>
>> It's look fine. Is is possible to to add more query in one sql file? I 
>> mean- I'd like to create one sql file and store all query on that file.
>>
>> BR,
>> Mamun
>>
>>
>>
>> On Monday, November 11, 2013 2:38:27 PM UTC+1, Kris Jenkins wrote:
>>>
>>> Thanks David, that's nice of you to say. I know exactly what you mean - 
>>> I didn't want to be the guy to write yet another Clojure/SQL library - but 
>>> when I figured out why none of the existing ones was working for me, I had 
>>> no choice. :-D
>>>
>>> There's still plenty that can be done with the implementation, but 
>>> hopefully the world will look kindly on the design, and it can evolve from 
>>> there...
>>>
>>> Kris
>>>
>>> On Monday, 11 November 2013 11:45:21 UTC, David Della Costa wrote:

 I was about to be like, "oh no, not another one!" and then I read the 
 README and I thought, "oh, interesting... 

 So, kudos on thinking outside the box.  I certainly agree with a lot of 
 the points you've made.  I'll definitely be playing around with this. 

 Cheers, 
 DD 

 (2013/11/11 20:10), Kris Jenkins wrote: 
 > https://github.com/krisajenkins/yesql 
 > 
 > Yesql is a simple library for blending SQL & Clojure together, 
 cleanly. 
 > Here's how it works , 

 > and how to use it <
 https://github.com/krisajenkins/yesql#example-usage>. 
 > 
 > Feedback welcomed, 
 > Kris 
 > 
 > -- 
 > -- 
 > 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
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: Unsupported major.minor version 49.0

2013-11-11 Thread Gordon Stratton
More information on the version mismatch in this case:
http://www-01.ibm.com/support/docview.wss?uid=swg21496820

On Mon, Nov 11, 2013 at 7:19 AM,   wrote:
> Hello,
>
> I just download latest clojure zip and start it as described:
>
> C:\clojure-1.5.1>java -cp clojure-1.5.1.jar clojure.main
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> clojure/main
> (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> C:\clojure-1.5.1>
>
> Whats wrong?
>
> Regards
>
> Hans-Peter

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Softaddicts
Ha ! Ha ! Never thought of this approach and frankly it's the simplest one.

We create various db adapters and we routinely have to switch between
raw SQL statements and express them to run from Clojure and it's been an extra 
step that yields zero value.

Not as painfull as using an ORM but still annoying.

Will mess with it definitively and let you know how it went.

Luc P.

> https://github.com/krisajenkins/yesql
> 
> Yesql is a simple library for blending SQL & Clojure together, cleanly. 
> Here's how it works , and 
> how 
> to use it .
> 
> Feedback welcomed,
> Kris
> 
> -- 
> -- 
> 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.
> 
--
Softaddicts sent by ibisMail from my ipad!

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Brian Craft


On Monday, November 11, 2013 12:57:55 PM UTC-8, Luc wrote:
>
> Ha ! Ha ! Never thought of this approach and frankly it's the simplest 
> one. 
>
> We create various db adapters and we routinely have to switch between 
> raw SQL statements and express them to run from Clojure and it's been an 
> extra 
> step that yields zero value. 
>
> Not as painfull as using an ORM but still annoying. 
>
>
I'm curious about your ORM experience. I'm certainly finding that the 
clojure sql dsls are adding little, and I must constantly fall back to raw 
sql.  However my experience with ORMs has been exactly the opposite. 
They've cost us about as much developer time as our power supplies: they 
just work, and provide an incredible amount of functionality.

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Brian Craft
What prevents you from formatting the example with the clojure string of 
sql like the example with the separate file of sql? Is the separate file 
just for the sake of syntax highlighting? 

On Monday, November 11, 2013 8:52:01 AM UTC-8, Kris Jenkins wrote:
>
> Hi Mamun,
>
> Hmm...I hadn't planned on it, but I could see it would suit some people's 
> development style. (It could get messy, but so can Clojure namespaces if 
> you're undisciplined. The developer should be allowed to take 
> responsibility.)
>
> The tricky parts would be:
>
>- How would you delimit the various queries? In a clear, portable way 
>that allowed for docstrings? 
>- How would you refer to the individual queries? Some kind of 
>mandatory '-- NAME: foo-query' syntax?
>
> Any thoughts?
>
> Kris
>
> On Monday, 11 November 2013 14:46:55 UTC, Mamun wrote:
>>
>> Hi Kris,
>>
>> It's look fine. Is is possible to to add more query in one sql file? I 
>> mean- I'd like to create one sql file and store all query on that file.
>>
>> BR,
>> Mamun
>>
>>
>>
>> On Monday, November 11, 2013 2:38:27 PM UTC+1, Kris Jenkins wrote:
>>>
>>> Thanks David, that's nice of you to say. I know exactly what you mean - 
>>> I didn't want to be the guy to write yet another Clojure/SQL library - but 
>>> when I figured out why none of the existing ones was working for me, I had 
>>> no choice. :-D
>>>
>>> There's still plenty that can be done with the implementation, but 
>>> hopefully the world will look kindly on the design, and it can evolve from 
>>> there...
>>>
>>> Kris
>>>
>>> On Monday, 11 November 2013 11:45:21 UTC, David Della Costa wrote:

 I was about to be like, "oh no, not another one!" and then I read the 
 README and I thought, "oh, interesting... 

 So, kudos on thinking outside the box.  I certainly agree with a lot of 
 the points you've made.  I'll definitely be playing around with this. 

 Cheers, 
 DD 

 (2013/11/11 20:10), Kris Jenkins wrote: 
 > https://github.com/krisajenkins/yesql 
 > 
 > Yesql is a simple library for blending SQL & Clojure together, 
 cleanly. 
 > Here's how it works , 

 > and how to use it <
 https://github.com/krisajenkins/yesql#example-usage>. 
 > 
 > Feedback welcomed, 
 > Kris 
 > 
 > -- 
 > -- 
 > 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
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: monads not working in Clojure 1.4.0

2013-11-11 Thread Gary Zhao
Thanks Michael. 

On Saturday, November 9, 2013 10:26:09 AM UTC-8, Michael Klishin wrote:
>
> 2013/11/9 Gary Zhao >
>
>> NoSuchMethodError 
>> clojure.lang.RT.mapUniqueKeys([Ljava/lang/Object;)Lclojure/lang/IPersistentMap;
>>   
>> clojure.algo.monads/loading--4910--auto-- (monads.clj:11)
>>
> It means you have some code compiled against 1.5.1 in monads, one of the 
> other libraries or your own code.
>
> Run lein clean and try again.
> -- 
> 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.


SuperShuttle sharing, 7 pm 11/13 from IAD?

2013-11-11 Thread Rich Morin
Does anyone want to split a SuperShuttle ticket from IAD to the
Embassy Suites in Alexandria, VA, about 7 pm on 11/13?

The only economical alternative is taking Metrobus Route 5A,
transferring to the Metro Blue line at Rosslyn, riding South
to King St, and walking a block or so to the hotel.

Meanwhile, the average cost for SuperShuttle approaches the cost
of taking Metro as the number of sharing riders goes up:

  user=> (defn cost [n] (str "US$ " (/ (+ 25.0 (* 10 n)) n)))
  #'user/cost
  user=> (cost 1)
  "US$ 35.0"
  user=> (cost 2)
  "US$ 22.5"
  user=> (cost 4)
  "US$ 16.25"
  user=> (cost 8)
  "US$ 13.125"

It also sounds like a lot less hassle (and more fun :-).  Contact
me offlist if you're interested...

-r

 -- 
http://www.cfcl.com/rdm   Rich Morin   r...@cfcl.com
http://www.cfcl.com/rdm/resumeSan Bruno, CA, USA   +1 650-873-7841

Software system design, development, and documentation


-- 
-- 
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: Name of graphing library

2013-11-11 Thread Leif
Maybe vijual?

https://github.com/drcode/vijual

Development seems to have stopped, but one of the forks might be up-to-date 
enough for you.

On Monday, November 11, 2013 9:51:19 AM UTC-5, Tim Visher wrote:
>
> This smacks of something that I saw in a Stu Halloway talk once. I 
> also can't remember the name of it. :( 
>
> On Mon, Nov 11, 2013 at 4:14 AM, JvJ > 
> wrote: 
> > I once encountered a library that could render clojure data structures 
> (i.e. 
> > trees, maps, etc.) as ascii text. 
> > 
> > I can't remember the name of the library, and I can't find it.  Has 
> anyone 
> > else encountered it? 
> > 
> > Thanks 
> > 
> > -- 
> > -- 
> > 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
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Jeff Heon
In Java land at work,We use Spring jdbc templates and we inject the SQL queries 
in a map from a single .xml or property file.

Queries are accessed from the map with key names like 
"selectAddressesForClient."

Perhaps a similar query lookup scheme could optionally be used with Yesql.

-- 
-- 
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] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread John D. Hume
For me, the one feature that can justify an internal DSL for generating SQL
is the ability to compose queries. I assume that's not on the Yesql
roadmap.
On Nov 11, 2013 5:10 AM, "Kris Jenkins"  wrote:

> https://github.com/krisajenkins/yesql
>
> Yesql is a simple library for blending SQL & Clojure together, cleanly.
> Here's how it works ,
> and how to use it .
>
> Feedback welcomed,
> Kris
>
> --
> --
> 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: Reactive Programming in Clojure

2013-11-11 Thread Dwayne Khallique Jones
Hey, 
This sounds like it would be of great help. I'm not strong in clojure, 
however I share the same idea as you.

On Saturday, November 9, 2013 4:28:17 PM UTC-5, Marco Manzi wrote:
>
> Hi all, I'm a young clojure developer. I work as Java developer, but I've 
> falled in love with this fantastic language and I would like to help in 
> some way.
> Actually I'm following Principles of Reactive 
> Programming on 
> Coursera. It is all written in Scala, but I'm not that proficent on Scala, 
> so I'm following it in Clojure, I'm writing some posts on how I'll 
> following it.
> If anyone has the same need can follow me at 
> http://reactiveclojure.blogspot.it, there is also a github repository 
> where I'm posting the code to make the same assigment as in the coursera. 
> I appreciate any hint you can give.
> See you :)
>

-- 
-- 
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-11 Thread Mars0i
Thanks, Cedric, for insightful comments about documentation.

I'll add that for me, if the only documentation is a video, I have to 
*really* want to learn about a programming tool to go any further.  Videos 
don't allow you to take in information any faster than  information at 
exactly the speed at which the video presents it.  Reading lets you go 
faster, or slower, or visually decide what to skip, or find passages by 
their content.  Even without hyperlinks.  (Yes, when motion matters, video 
is nice.)

On Monday, November 11, 2013 12:04:09 AM UTC-6, Cedric Greevey wrote:
>
> IMO it can often be a lack of readable, searchable, nice-to-navigate 
> text/hypertext that can be a barrier to entry. In fact all of these are 
> unfortunately common in various parts of the geekosphere:
>
> 1. Projects whose *only* documentation (or the only version of certain key 
> information) is in videos. Not searchable. Not easy to navigate to a 
> particular part (need to remember roughly when it is, or rewatch half the 
> thing). Expensive for mobile users with capped or per-megabyte data plans.
>

-- 
-- 
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: Unsupported major.minor version 49.0

2013-11-11 Thread hpw014

>
>  Hello,
>
 
Thanks for the hint with the 'java - version'
I had installed the last java-update before.
But from the clojure folder the call return 1.3
So I did some more search and found under c:\Programfiles\Oracle\ an older 
install of the jre.
And this folder was in the Path variable before the current java path.
 
So problem solved.
 
Regards
 
Hans-Peter
 

-- 
-- 
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: How to interrupt execution and open a debugger/REPL?

2013-11-11 Thread juan.facorro
Hi Alexandru,

As Andy pointed out there's the emacs+Ritz option which has quite a few 
features, but if the main thing you want to do is inspect the locals and 
the current stack trace, you could use a macro as the one presented in the 
book The Joy of Clojure  (Chapter 8: Macros). 

The macro that's presented there is called *break*. What it does is it 
traps the existing locals in a Clojure map when the macro is called and 
uses their values to *eval* the forms you input in the *break*ing repl. The 
version in the book uses *clojure.main/repl*  with some options to cange 
the prompt, the reader and the evaler.

Here's the full code for the break macro almost the same as in the book, I 
added the *:locals* "command" that will print the map of locals.

(defn readr [locals prompt exit-code]
  (let [input (clojure.main/repl-read prompt exit-code)]
(if (= input :quit) 
  exit-code
  (do
(when (= input :locals)
  (println locals))
input

(defn contextual-eval [ctx expr]
  (eval
`(let [~@(mapcat (fn [[k v]] [k `'~v]) ctx)]
  ~expr)))

(defmacro local-context []
  (let [symbols (keys &env)]
`(zipmap '~symbols (list ~@symbols

(defmacro break []
  `(clojure.main/repl
:prompt #(print "debug=> ")
:read (partial readr (local-context))
:eval (partial contextual-eval (local-context

(defn f [x]
  (let [y 1
z 2]
(break)))

; (f 3)
; :locals
; :quit

HTH,

J
 
On Monday, November 11, 2013 2:33:44 PM UTC+8, Alexandru Nedelcu wrote:
>
> Hi, 
>
> I'm a rookie. Having worked with Python and Ruby, I love how in those 
> languages you can simply do something like: 
>
> import pdb; pdb.set_trace() 
>
> Or in Ruby: 
>
> require 'ruby-debug'; debugger 
>
> So is there any way in Clojure to pause execution and open some sort 
> of debugger / REPL in the console with the current stack-trace and 
> local vars visible? 
>
> Thanks, 
>
> -- 
> Alexandru Nedelcu 
> www.bionicspirit.com 
>
> PGP Public Key: http://goo.gl/ZyQpGv 
>

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