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 lu

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 Group

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

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 Jenkin

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 too

[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 "service

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 implementat

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 a

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

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

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 clojur

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

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

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

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 co

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

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

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

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 allow

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

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

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

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

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 m

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

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 rememb

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

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

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

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

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

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