Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-25 Thread Ryan Spangler
Jim, Thanks for the note! Yeah we have been talking about ways to make the immutant download optional, so that solves that problem, thanks! It will be coming out in the next release. As for the app/ dir, it is configurable between environments, as long as people know about it. I can make that

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-24 Thread Jim Crossley
Prasanna, Ryan and Justin, Hi. I just got around to playing with Caribou today. Very nice! I was happy to see you including Immutant config in the application template, but you don't need it. Immutant will happily bootstrap a deployed app using the :ring options map in project.clj. As long as

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-23 Thread Roman Yakovlev
Great stuff Some suggestions and questions - forum is needed to disquss features and bugs. Something like http://www.discourse.org/ would be super awesome ( no google groups plz ! ) - documentation with user comments, Disquss would be enough for now but it would be great if it can be users

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-23 Thread Roman Yakovlev
Great stuff Some suggestions and questions - forum is needed to disquss features and bugs. Something like http://www.discourse.org/ would be super awesome ( no google groups plz ! ) - documentation with user comments, Disquss would be enough for now but it would be great if it can be users

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-23 Thread Justin Smith
I have successfully run a fresh caribou site on Windows 8, with the latest default 64 bit jdk from sun. You may need to explicitly supply a -Xmx argument to your jvm (I don't know how predictable the default maximums are). You are welcome to post issues on our github pages. If we made a forum

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-20 Thread Murtaza Husain
Ryan - I read somewhere that Datomic support is also being talked about. I think that would be great, as the type of time variant queries that are possible with datomic are not easily replicable in a RDBMS. So will really appreciate that support. On Wednesday, November 20, 2013 12:27:37 AM

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread David Simmons
Hi Ryan I'm really impressed with Caribou but would make one request that will make my life easier. I'm a big fan of Angular JS and the template tags for Angular and Caribou clash. Is there any chance these could be changed from {{ to {% (or something similar)? The best result for me would

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread Khalid Jebbari
At least you can change Angular.js template tags. See http://stackoverflow.com/questions/8302928/angularjs-with-django-conflicting-template-tags for a how-to and potential problems with this approach. On Tuesday, November 19, 2013 11:27:14 AM UTC+1, David Simmons wrote: Hi Ryan I'm really

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread David Simmons
Hi Khalid yes I'm aware you can change the template tags (and the pitfalls :-)). I thought it would be easier to see if we could avoid this problem all together by using a different set of tags (especially as Caribou is Alpha release and hopefully open to change). BTW I don't intend to miss

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread Ryan Spangler
David, Certainly. There is already a facility to change them, I just haven't exposed that to the user yet! This will come out in the next release. On Tue, Nov 19, 2013 at 3:39 AM, David Simmons shortlypor...@gmail.comwrote: Hi Khalid yes I'm aware you can change the template tags (and the

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread David Simmons
Ryan - that is great news. Are we allowed to know what else will be release :-). cheers Dave -- -- 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

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread David Simmons
Hi Ryan If I create a model Customer - will Caribou create a specific table Customer. I ask because using H2 Console I can't find any of the tables I'd have expected to find having created my model. (This may be user error as I'm not used to using H2). cheers Dave -- -- You received this

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Ryan Spangler
Mark, Yes, you can do nested loops. Say you have a structure like this: {:title Hello :slides [{:caption World :images [{:path /img/world.png} {:path /img/space.png}]} {:caption Jupiter :images [{:path /img/callisto.png} {:path

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Ryan Spangler
David, Yes, if you created a Customer model there will be a customer table inside the h2 db (lowercase). Can you create customer instances? If so it is all working as it should, and you might just be missing the tables somewhere. On Mon, Nov 18, 2013 at 12:04 AM, David Simmons

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Mark Engelberg
The docs say something about being ready by default to deploy to Heroku. But the default H2 database won't work on Heroku, will it? I was under the impression that on Heroku, you can't use a database that just saves to the local filesystem, but need to provision a postgresql database. Is that

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread David Simmons
Hi Ryan I'm probably doing something daft but I'm using H2 Console and connecting to taiga_development.h2.db (user: sa). running select * from wibble (the name of my model) returns table wibble not found. I can create instances of wibble via the Admin UI. Like I've said I'm pretty sure this

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Justin Smith
Check out resources/config/*.clj. production.clj includes a postgres config that you can customize (I notice now that we should include an example mysql config in there too actually). Once you have a config set up and pointing to an empty db in the appropriate environment, you can use the lein

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Justin Smith
We only include the h2 db to lower friction for creating a project and trying it out - I have never used h2 in an actual production app. On Monday, November 18, 2013 5:23:16 AM UTC-8, Justin Smith wrote: Check out resources/config/*.clj. production.clj includes a postgres config that you can

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread David Simmons
Hi Ryan please ignore my previous email - it was definitely a user error - looking at the wrong database (doh!). Look forward to getting to grips with the framework over the next few days. cheers Dave -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Oskar Boethius Lissheim
Seriously impressive stuff. Great to have two super interesting takes on clojure web frameworks (pedestal and now caribou). -- -- 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

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
Ronen, No sample app yet! The screencast goes through building an app from scratch, but a larger example is a great idea. We'll get something together here in the coming weeks (we have many projects using Caribou, just means pulling something abstract out of one of them). On Saturday,

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Justin Smith
I don't know if this is what Ronen is asking for, but I have had requests that we serve an instance with the admin open somewhere, so people can try out the whole app without installing it and getting it running locally. On Sunday, November 17, 2013 11:49:50 AM UTC-8, Ryan Spangler wrote:

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread David Simmons
Hi Ryan Congratulations on the release of Caribou. I've got a couple of questions. 1. If I create a model via the Admin UI, am I right in thinking that this does not actually create a clj file containing the details of the model which I could edit later via a text editor? 2. Do you the

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Mark Engelberg
I'm reading through the documentation right now. Looks interesting -- reminds me a lot of Django. Could someone give a brief compare/contrast with Luminous? -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
Justin: I believe he is asking for a repo of an example Caribou site that does something useful (like a blog that posts comments or something). David: That is right, you don't have model files which describe your model. Instead, there is a Model model (with a collection of instances of a

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Mark Engelberg
On Sun, Nov 17, 2013 at 1:58 PM, Ryan Spangler ryan.spang...@gmail.comwrote: There are many advantages to this, including being able to generate the admin and api automatically, (as well as letting our frontend guys add properties they need in a model without pestering the backend guys to make

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
Mark, Luminus is great, it is at its heart a lein template that gathers together a number of useful Clojure web libraries and stitches them into a whole. It provides a good starting point with many options without preventing you from adapting it in any way you see fit. Caribou is more of an

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
The migrations are run one time to set up the models (or anything else), they don't represent the current state of the models. In general, we use either the Admin to edit models, in which case we export the schema as edn to migrate between different environments, or we use the built in

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread David Simmons
Ryan thanks for the great reply. I'll have to play a bit more to really get my head around this. I'd too would love to see a simple blog example not using the Admin interface to try and show how and where you'd define your models. many thanks. Dave -- -- You received this message because

Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Joel Holdbrooks
This exactly the sort of project I've been hoping for to get others to take a serious look at using Clojure. While its unfortunate some developers will not look at a language until it has a comfortable entry point, it's a real barrier for adoption. Caribou looks like it has the potential to

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Mark Engelberg
The template example shows a notation for doing something special on the last iteration of a loop, but it doesn't look like this syntax can handle nested loops. Is there any mechanism for nested loops? -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-16 Thread Ronen Cohen
This look great! Is there a sample app anywhere? On Wednesday, November 13, 2013 1:52:10 AM UTC+2, Ryan Spangler wrote: Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with it for over two years

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-14 Thread Yuan
This is really cool, very happy to see things like this _ Best regards - Yuan blog http://blog.lenage.com/ github http://github.com/lenage On Thu, Nov 14, 2013 at 4:24 AM, Dmitri dmitri.sotni...@gmail.com wrote: I notice you're using a fairly old version of

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-14 Thread Eric Turner
You typically need two spaces at the end of a line of markdown to force a line break. If your converter supports Github-flavored markdown then I think that will respect newlines. I've used marked.jshttps://github.com/chjj/markedon my personal note-taking web app, and it lets you configure it

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Leonardo Borges
Hi Ryan, Love the website and the idea. Gave it a try but it gives me this when trying to browse to the app: java.security.InvalidKeyException: Illegal key size It's coming from ring's cookie store. It seems the generated key isn't valid. I had a similar problem recently where I had to base64

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Ryan Spangler
Hi Leonardo, It seems that on certain default java installs keys are restricted to 16 bytes: http://stackoverflow.com/questions/6900542/java-security-invalidkeyexception-illegal-key-size I just released a version that creates 16 byte keys for the cookie store. Try that! (or edit the key in

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Leonardo Borges
Thanks for that reference. I'll give it a try. Cheers, Leonardo Borges www.leonardoborges.com On Wed, Nov 13, 2013 at 8:46 PM, Ryan Spangler ryan.spang...@gmail.com wrote: Hi Leonardo, It seems that on certain default java installs keys are restricted to 16 bytes:

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread François De Serres
Beautiful. Le mercredi 13 novembre 2013 00:52:10 UTC+1, Ryan Spangler a écrit : Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with it for over two years now and improving it every day.

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Joe Smith
Very cool, good luck to you! --- Joseph Smith j...@uwcreations.com @solussd On Nov 12, 2013, at 5:52 PM, Ryan Spangler ryan.spang...@gmail.com wrote: Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Baishampayan Ghose
This is brilliant! Many thanks Ryan. Looking forward to trying these out and contributing back. ~BG On Wed, Nov 13, 2013 at 5:22 AM, Ryan Spangler ryan.spang...@gmail.com wrote: Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Brian Craft
Looks very cool. I'm happy to see that data modeling is taken seriously, which in my experience is the biggest piece lacking in other clojure web tools. The docs have a lot of layout problems with words running together, like so: data from oneenvironment. Looks like a string joining operation

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Ryan Spangler
Brian, Thanks for the heads up! I fixed some of the formatting issues I found, I'll keep a lookout for this issue (using a md-html converter which apparently requires spaces at the end of lines in lists?) And yes, data modeling is one of our main concerns. All models are also data, which

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Dmitri
I notice you're using a fairly old version of markdown-clj [markdown-clj 0.9.19] The current version is [markdown-clj 0.9.35] so that should address a lot of formatting issues. :) On Wednesday, November 13, 2013 2:09:10 PM UTC-5, Ryan Spangler wrote: Brian, Thanks for the heads up! I

Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with it for over two years now and improving it every day. Currently we have four people working on it and another ten using it to build things, so it

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
Wow... That's pretty impressive for an initial alpha release! Sean On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler ryan.spang...@gmail.com wrote: Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Marcus Blankenship
Very nice, Ryan! Is there a company that’s shepherding the product? Best, Marcus On Nov 12, 2013, at 5:02 PM, Sean Corfield seancorfi...@gmail.com wrote: Wow... That's pretty impressive for an initial alpha release! Sean On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
Funded and supported by Instrument in Portland, OR: http://weareinstrument.com/ On Tue, Nov 12, 2013 at 5:03 PM, Marcus Blankenship mar...@creoagency.com wrote: Very nice, Ryan! Is there a company that’s shepherding the product? Best, Marcus On Nov 12, 2013, at 5:02 PM, Sean Corfield

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Marcus Blankenship
Oh, sweet! We’re down here in Klamath Falls, and have a total ManCrush on Instrument. :-) I had no idea you are a clojure shop, but am thrilled to see you on the bandwagon. Thanks again for releasing this, it looks amazing! Best, Marcus On Nov 12, 2013, at 5:21 PM, Sean Corfield

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Marcus, Great to hear! You never know when building something like this. Let me know if you have any trouble getting things up and running with the docs. On Tuesday, November 12, 2013 5:22:44 PM UTC-8, Marcus Blankenship wrote: Oh, sweet! We’re down here in Klamath Falls, and have a total

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Prasanna Gautam
This is really cool. Very easy to get up and running for first try. I have a few questions on the architecture. Why Immutant instead of plain ring as the default? I think the number of dependencies could be much lower with it. I know it's only alpha.. but I'm asking this on behalf of others

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Justin Smith
Typically my first step making a caribou app is to remove the immutant dependency. It's pretty straightforward to take it out. On Tuesday, November 12, 2013 9:19:27 PM UTC-8, Prasanna Gautam wrote: This is really cool. Very easy to get up and running for first try. I have a few questions on

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Prasanna, It supports Ring as well. You should be able to just lein ring server in the root of your new project and it will boot up. The ring options are in the project.clj so you can change the port etc. It also supports Immutant, Tomcat, HTTPKit, Heroku and Beanstalk. If you know

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Justin, As far as I know, Immutant is not a dependency, but an option. Let me know if that is not true however. On Tuesday, November 12, 2013 10:13:17 PM UTC-8, Justin Smith wrote: Typically my first step making a caribou app is to remove the immutant dependency. It's pretty