Re: How to integrate front-end designers into Clojure/Ring/Jetty workflow?

2013-01-11 Thread Erik Bakstad
Another tip, I have extracted the support for nesting html templates using enlive from http://clojurescriptone.com. What that gives you is the support for "sandboxing" all the templates under a given url i.e templates/* so that the designers can work with HTML-only but in a DRY fashion. What I

Re: Clojure web server benchmarks

2013-01-11 Thread Peter Taoussanis
> > This is very interesting. Have you tried running the Ring Jetty adapter > with a larger thread pool? It's set lower than the default so as not to > overload cloud hosts like Heroku. > You mean the :max-threads? No, I left it at the default (50, if I recall correctly?). I'll try bump it nex

Re: Leiningen profiles for dev and prod dbs and other settings

2013-01-11 Thread Phil Hagelberg
Jonathon McKitrick writes: > I just read about leiningen profiles, and I'm trying to figure out how to > access those settings within my code for db selection. > > What are the canonical ways to do this? Two ways: one is to use .clj data files on the classpath and take advantage of the fact tha

ANN: fipp - Fast Idiomatic Pretty-Printer

2013-01-11 Thread Brandon Bloom
Hi all, I decided to create a new pretty printer in the spirit of "Data All The Things!" And it's fast too! Fipp, the Fast Idiomatic Pretty-Printer for Clojure, is a pretty printer with linear runtime and bounded space requirements. Unlike clojure.pprint's side-effectual API, Fipp is configure

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Tim Cross
A good thought/discussion provoking post, thanks. I find myself between two camps here. On one side and coming from the position of both learning Clojure and coming back to web development after a long period of mainly working on large backend database apps, the suggestion of a nicely bundled a

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Sean Corfield
You could just do: lein new fw1 myapp cd myapp lein run assuming you have nothing running on port 8080 already - otherwise: PORT=8123 lein run Noir also has a simple Leiningen template (although Noir is deprecated now): lein new noir noirapp cd noirapp lein run (same caveat applies regarding

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Matt
Though the Clojure community has traditionally gone with smaller libraries rather than large frameworks, there is a full-stack web framework for Clojure called Conjure: https://github.com/macourtney/Conjure On Friday, January 11, 2013 11:52:05 AM UTC-5, Paul Umbers wrote: > > I've been experime

Re: ANN: bouncer, validation library for clojure

2013-01-11 Thread Leonardo Borges
Leonardo Borges www.leonardoborges.com On Jan 11, 2013 3:44 PM, "faenvie" wrote: > > i took a look at it. bouncers DSL seems smart inside and out. > Has an excellent Documentation too. Thanks for sharing it. > > -- > You received this message because you are subscribed to the Google > Groups "Clo

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
On Friday, 11 January 2013 12:17:35 UTC-7, Herwig Hochleitner wrote: > > > There is, however, value in curated sets of independent libriaries that > work well together. Also in having declarative syntax available for common > tasks. > Still IMO, Clojure's web story is still somewhat lacking on th

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Eric MacAdie
Thanks for the info. I will look this over, and perhaps finally build my world-changing Clojure app. Or maybe just "Hello World." - Eric MacAdie On Fri, Jan 11, 2013 at 3:58 PM, Marko Topolnik wrote: > There's a pretty good page at > heroku

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Marko Topolnik
There's a pretty good page at heroku. There's also this classic page: aging, but still very relevant. On Friday, January 11, 2013 10:33:15 PM UTC+1, Eric MacAdie wrote: > > Is there a

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Eric MacAdie
Is there a page that gives "Clojure web recipes"? It would be great for beginners if you could have one place that says "To make a web app, you need X, Y and Z, and here are libraries that fulfil each of these needs." - Eric MacAdie On Fri, Jan 11, 2013 at 12:25 PM, Sean Corfield wrote: > I thin

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Marko Topolnik
> I'm somewhat allergic to ORM, favoring thin, simple data mappers instead :) > You are not alone: ORM, together with the idea of a "persistent state manager" is a beautifully paved road---to hell. In the prototype phase it gives the impression of an ideal solution: code looks just like it's

Re: Leiningen profiles for dev and prod dbs and other settings

2013-01-11 Thread Jonathon McKitrick
Perhaps this is better done with .env files? On Friday, January 11, 2013 3:49:06 PM UTC-5, Jonathon McKitrick wrote: > > I just read about leiningen profiles, and I'm trying to figure out how to > access those settings within my code for db selection. > > What are the canonical ways to do this? >

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Dmitri
I think a lot of the issues can be addressed via a good template which sets up all the boiler plate, demonstrates idiomatic usage, and defaults to some common libraries. I'm actively working on filling this gap with the Luminus, which aims to make it easy to get roll

Leiningen profiles for dev and prod dbs and other settings

2013-01-11 Thread Jonathon McKitrick
I just read about leiningen profiles, and I'm trying to figure out how to access those settings within my code for db selection. What are the canonical ways to do this? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send emai

Re: clojurescript browser repl and static files

2013-01-11 Thread Brent Millare
Hmm I just realized, send-and-close doesn't quite handle the binary data case very well atm. I'd probably need to fix that first. On Friday, January 11, 2013 2:50:31 PM UTC-5, David Nolen wrote: > > No reason beyond not having received a patch for it :) > > > On Fri, Jan 11, 2013 at 2:21 PM, Bren

Re: clojurescript browser repl and static files

2013-01-11 Thread David Nolen
No reason beyond not having received a patch for it :) On Fri, Jan 11, 2013 at 2:21 PM, Brent Millare wrote: > I noticed in the code in clojurescript, src/clj/cljs/repl/browser.clj, > `send-static` has the cases for handling files other than .html such as > css, jpg, .png etc, but the dispatchin

clojurescript browser repl and static files

2013-01-11 Thread Brent Millare
I noticed in the code in clojurescript, src/clj/cljs/repl/browser.clj, `send-static` has the cases for handling files other than .html such as css, jpg, .png etc, but the dispatching `(server/dispatch-on ...)` limits this and only accepts .js and .html. Any reason for this? Any chance of changi

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Herwig Hochleitner
IMO there is little value in big dependency hair-balls and gui tools leakily abstracting devop taks. There is, however, value in curated sets of independent libriaries that work well together. Also in having declarative syntax available for common tasks. Still IMO, Clojure's web story is still som

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Sean Corfield
I think there's a philosophical bent in the Clojure community toward small, composable libraries, rather than monolithic pre-built combinations - across all domains. This has come up in discussions before, mostly around the "full-stack web framework" issue, and the consensus each time seems to be w

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
My oopsie. You're right, it is 1.2.0. I was looking at the current head of master, which I guess is 1.2.0-SNAPSHOT. As long as all projects stick to semantic versioning (a lot do), that problem is not so great. The other problem though is that of which libraries to choose for a particular func

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread James Reeves
On Friday, January 11, 2013 4:52:05 PM UTC, Paul Umbers wrote: > For example, the latest vesion of Compojure (1.1.3) uses Ring 1.1.5 and > not the latest version of Ring (1.1.6) which has significantly better util > functions available - but I can't use them until Compojure catches up. > Ring 1.

Re: Numerical Clojure - discussion open!

2013-01-11 Thread Marek Šrank
The url is https://groups.google.com/forum/#!forum/numerical-clojure Marek On Friday, January 11, 2013 10:41:58 AM UTC+1, Shantanu Kumar wrote: > > Hi Mike, > > Could you please share the discussion group URL? > > Shantanu > > On Jan 11, 9:12 am, Mikera wrote: > > Hello everybody, > > > >

Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Paul Umbers
I've been experimenting with Clojure web services recently, and posting the work on GitHub and my blog . When putting this test app together, it occurred to me that most other languages have a full-stack

Re: ANN: Clojure/West sessions

2013-01-11 Thread Alex Miller
Most of the miniKanren Confo sessions are now also included at the end (http://clojurewest.org/sessions#confo). On Friday, January 11, 2013 7:53:39 AM UTC-6, Alex Miller wrote: > > I have posted almost all of the Clojure/West sessions at > http://clojurewest.org/sessions. > > Still missing: > *

Re: Clojure user group in Budapest just launched

2013-01-11 Thread Balint Erdi
Great, just sent the pull request. On Friday, January 11, 2013 at 4:03 PM, Michael Klishin wrote: > 2013/1/11 Balint Erdi mailto:balint.e...@gmail.com)> > > Delighted to announce that the Budapest Clojure Group has just launched: > > > > http://www.meetup.com/Budapest-Clojure-User-Group/ > Bal

Clojure user group in Budapest just launched

2013-01-11 Thread Balint Erdi
Hey, Delighted to announce that the Budapest Clojure Group has just launched: http://www.meetup.com/Budapest-Clojure-User-Group/ The official language is English so consider joining/attending if you're from a relatively close city but don't speak Hungarian (Bratislava & Vienna come to mind).

Re: How to integrate front-end designers into Clojure/Ring/Jetty workflow?

2013-01-11 Thread larry google groups
Thanks! Those are great ideas. On 10 Sty, 21:11, Sean Corfield wrote: > My first thought is: don't bother compiling the code, just run it > "live" from source (and maybe provide a way to easily reload the > templates (such as a URL parameter). > > What I've done in my FW/1 framework (convention-

Re: Clojure web server benchmarks

2013-01-11 Thread James Reeves
This is very interesting. Have you tried running the Ring Jetty adapter with a larger thread pool? It's set lower than the default so as not to overload cloud hosts like Heroku. - James On 5 January 2013 15:52, Peter Taoussanis wrote: > Hi all, > > Quick post to mention that I've put up some r

ANN: Clojure/West sessions

2013-01-11 Thread Alex Miller
I have posted almost all of the Clojure/West sessions at http://clojurewest.org/sessions. Still missing: ** Rich Hickey's abstract - I assume he's written a browser or an operating system or something :) :) ** abstracts for the miniKanren Confo (Byrd/Friedman, David Nolen, Nada Amin, Ryan Senior,

Re: Numerical Clojure - discussion open!

2013-01-11 Thread Alex Ott
Why not to reuse existing Incanter group? On Fri, Jan 11, 2013 at 5:12 AM, Mikera wrote: > Hello everybody, > > I've created a new discussion group "Numerical Clojure" for anyone > interested in doing serious numerical computing in Clojure. > > The vision is to build a numerics capability / set o

Re: Numerical Clojure - discussion open!

2013-01-11 Thread Shantanu Kumar
Hi Mike, Could you please share the discussion group URL? Shantanu On Jan 11, 9:12 am, Mikera wrote: > Hello everybody, > > I've created a new discussion group "Numerical Clojure" for anyone > interested in doing serious numerical computing in Clojure. > > The vision is to build a numerics capa

Re: "core.matrix" proposal

2013-01-11 Thread Konrad Hinsen
Mikera writes: > BTW, I started my own attempt at something similar a while ago, but > never found the time to get it to a usable state: > >https://code.google.com/p/clj-multiarray/ > > Konrad. > > Very interesting, thanks! I like the use of protocols to constr