[Video] The Generative Generation

2012-09-06 Thread Mayank Jain
*Summary* Aaron Bedra shows code samples for writing Clojure tests using the test.generative framework, explaining why this framework and testing are useful. *Bio* Aaron Bedra is a senior software engineer at Groupon. He is a frequent contributor to the Clojure language and its supporting librarie

Re: Fund raiser for our projects

2012-09-06 Thread John Gabriele
On Wednesday, September 5, 2012 3:40:12 PM UTC-4, Simone Mosciatti wrote: > > Then still there if I write one article, you write another and @whoever > write the next we will have 3 different articles in 3 different blogs, > honestly I am sure that 3 articles doesn't worth 3 page of real > do

Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-06 Thread lambdatronic
For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is somewhat non-trivial. This is because the existing Clojure support in org-babel (ob-clojure.el) relies on slime and swank-clojure when running org-babel-e

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-06 Thread Tim King
On Thu, Sep 6, 2012 at 9:42 AM, lambdatronic wrote: > For those people (like myself) who do a lot of Literate Programming in > Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is > somewhat non-trivial. This is because the existing Clojure support in > org-babel (ob-clojure.el)

PBI: Datomic-based wiki

2012-09-06 Thread Rich Morin
I have a partly-baked idea about basing a wiki on Datomic. This could allow users to view the entire wiki as of some time in the past, compare versions of pages, etc. If you find this interesting, please offer any comments or suggestions you might have. -r -- http://www.cfcl.com/rdm

Re: Plural dispatch

2012-09-06 Thread Brent Millare
I've made my own take of your plural dispatch system. https://gist.github.com/3659663 I switched from using vars and a map for determining which pluralfn to use, to atoms and metadata tied to the pluralfn. My method reduces the amount of indirection and invocations. I originally tried to make a

Sobel edge detection library

2012-09-06 Thread Zak Wilson
I found a performance-optimized Sobel edge detection library on pastebin here: http://pastebin.com/auqEvM7J There's no indication of who owns it or license terms. I'd like to use it. Does someone here know whose this is? -- You received this message because you are subscribed to the Google Gro

Re: How to run Clooj?

2012-09-06 Thread Lee Spector
(It has been a while since the OP asked this question, but I didn't see an answer...) You should be able to just download a "standalone" jar version of clooj, launch it as an application, and get to work editing and running code. No downloading of anything else or command-line calls to java ar

Re: Where is Clojure CLR ?

2012-09-06 Thread Aaron
I can personally attest to the quality of the ClojureCLR compiler using it on a daily basis for production code. I have never had any problems with stability and I have found the code gen to be of quite high quality (via inspection with Reflector). It is the build and development environment w

edn

2012-09-06 Thread Rich Hickey
I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn Rich -- You received this message because you are subscribed to the Google Groups

RE: edn

2012-09-06 Thread Weber, Martin S
which problem other than "NIH" is edn solving? - given it's a subset of clojure's data notation, it's not really native clojure either, so you gotta convert to/fro. So: Why do we need another JSON? I'm sure you have answers to these questions, possibly answered them before, but definitely not

Re: edn

2012-09-06 Thread Rich Hickey
On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: > which problem other than "NIH" is edn solving? - given it's a subset of > clojure's data notation, it's not really native clojure either, so you gotta > convert to/fro. Of course it's native Clojure. Being a subset doesn't affect that. Cloju

RE: edn

2012-09-06 Thread Weber, Martin S
Rich: > On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: > > which problem other than "NIH" is edn solving? - given it's a subset of > > clojure's data notation, it's not really native clojure either, so you > > gotta convert to/fro. > Of course it's native Clojure. Being a subset doesn't affec

RE: edn

2012-09-06 Thread Softaddicts
Here we moved away from yaml (json was in its infancy when we opted for yaml). We now serialize values over the wire using Clojure expressions and nippy to get some compression and speed improvement. Nippy falls back to the reader if it does not know how to compress a given value. We plan to mi

Re: edn

2012-09-06 Thread Rich Hickey
On Sep 6, 2012, at 9:52 PM, Weber, Martin S wrote: > Rich: >> On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: >>> which problem other than "NIH" is edn solving? - given it's a subset of >>> clojure's data notation, it's not really native clojure either, so you >>> gotta convert to/fro. >> Of

RE: edn

2012-09-06 Thread Weber, Martin S
> Please don't use edn if you don't see the point. I'm not trying to convince > you or anyone else. I expect there to be a point, and thus also expect it to be communicatable. If there wasn't a point, you wouldn't have chosen to use it in datomic, or create the page. I feel you haven't communic

Higher-order namespaces. Does it any make sense?

2012-09-06 Thread Thomaz Leite
Does it make any sense to have a higher-order namespace? For instance, I have a namespace with functions that manipulating data from an arbitrary source, and each function takes a "source" argument. On the mutable state side of things, I require this namespace but partially apply a given source

Re: Fund raiser for our projects

2012-09-06 Thread Thomaz Leite
Good point. I remember a SproutCore (JS framework) documentation project[1] in which one of the developers would teach a course to some selected people, and in exchange they would write a manual for the framework. In the end they didn't reach the sponsorship quota and the thing was cancelled. [

Re: webnoir on openshift (Paas by RedHat), little guide

2012-09-06 Thread Dick Davies
Heroku was pretty painless (so long as your project/app is git based). https://devcenter.heroku.com/articles/clojure On 3 September 2012 21:22, Simone Mosciatti wrote: > Yes, I know it is an issue, but I didn't really find any other PaaS (free to > start) without such problem... > > > On Monday,

Browser as an Evaluation Environment error

2012-09-06 Thread goracio
Hi I try to follow this guide https://github.com/clojure/clojurescript/wiki/The-REPL-and-Evaluation-Environments and get an error No 'xpc' param provided to chid iframe when loading http://localhost:9000/repl and my clojurescript repl hangs Clojure 1.4.0 user=> (require '[cljs.repl :as repl])

Lightweight lib/way to strip html from text

2012-09-06 Thread jamieorc
Hey all, I'm looking for a lightweight way to strip html from a long String of text and leave just the text. I've come across JSoup, but at over 300kb for the lib, not quite lightweight. Suggestions? Cheers, Jamie -- You received this message because you are subscribed to the Google Groups "

Re: Expanding the Community Through Online Courses

2012-09-06 Thread Jorge Fiallega
This is a story from the trenches of your every day developer: I am in platonic love with clojure. I have tried 2 or 3 times to pick up a book and go through it. The truth is that I always get distracted by something else and other priorities. I promised myself that before I ever learn Scala I w

Re: Expanding the Community Through Online Courses

2012-09-06 Thread Erlis Vidal
Just to imagine what you are asking and unbelievable!! I want to be in that course On Thu, Sep 6, 2012 at 2:23 PM, Jorge Fiallega wrote: > This is a story from the trenches of your every day developer: > I am in platonic love with clojure. I have tried 2 or 3 times to pick up a > book and go

Re: Lightweight lib/way to strip html from text

2012-09-06 Thread Michael Klishin
2012/9/6 jamieorc > Hey all, I'm looking for a lightweight way to strip html from a long > String of text and leave just the text. I've come across JSoup, but at over > 300kb for the lib, not quite lightweight. > > Suggestions? > JSoup is good way to do it. If you need to identify the "main" par

Re: Lightweight lib/way to strip html from text

2012-09-06 Thread Richard Lyman
On Thu, Sep 6, 2012 at 11:41 AM, jamieorc wrote: > Hey all, I'm looking for a lightweight way to strip html from a long String > of text and leave just the text. I've come across JSoup, but at over 300kb > for the lib, not quite lightweight. > > Suggestions? > > Cheers, > Jamie > When you say 'ht

Re: edn

2012-09-06 Thread Stuart Halloway
The rationale appears to be up now, and for my money, it is quite clear: JSON not powerful enough, Clojure does too much and is a burden for implementers. That said, I won't complain if somebody happens to implement full Clojure serialization while implementing edn. ;-) Stu > I expect there to

Re: Where is Clojure CLR ?

2012-09-06 Thread Erlis Vidal
Hi Aaron, thanks for your response, I'll take a look at your set up and I'll give it a try. Have you tried vsClojure? It's a Visual Studio extension that will allow us to write clojure from within the Visual Studio, very interesting...I was trying to make it work and I was not able to compile...I

Re: Where is Clojure CLR ?

2012-09-06 Thread Aaron Craelius
I tried it a while back and couldn't get it working, but I have since heard that it was updated. I wouldn't be the one to ask though. In my case, I prefer Emacs for editing lisp and it is much lighter on system resources than Visual Studio. On Thu, Sep 6, 2012 at 10:55 PM, Erlis Vidal wrote: >

RE: edn

2012-09-06 Thread Weber, Martin S
Stu: > The rationale appears to be up now, and for my money, it is quite clear: JSON > not powerful enough, Clojure does too much and is a burden for implementers. > That said, I won't complain if somebody happens to implement full Clojure > serialization while implementing edn. ;-) The question

Re: edn

2012-09-06 Thread Justin Kramer
Looks great. What mime type should be used? "application/edn"? Justin On Thursday, September 6, 2012 9:01:15 PM UTC-4, Rich Hickey wrote: > > I've started to document a subset of Clojure's data format in an effort to > get it more widely used as a data exchange format, e.g. as an alternative >

Re: edn

2012-09-06 Thread David Nolen
On Thursday, September 6, 2012, Rich Hickey wrote: > I've started to document a subset of Clojure's data format in an effort to > get it more widely used as a data exchange format, e.g. as an alternative > to JSON. > > Please have a look: > > https://github.com/richhickey/edn > > Rich So will co

Re: edn

2012-09-06 Thread Daniel Pittman
On Thu, Sep 6, 2012 at 6:01 PM, Rich Hickey wrote: > I've started to document a subset of Clojure's data format in an effort to > get it more widely used as a data exchange format, e.g. as an alternative to > JSON. > > Please have a look: > https://github.com/richhickey/edn The current specifi

Re: edn

2012-09-06 Thread Richard Lyman
On Thu, Sep 6, 2012 at 7:01 PM, Rich Hickey wrote: > I've started to document a subset of Clojure's data format in an effort to > get it more widely used as a data exchange format, e.g. as an alternative to > JSON. > > Please have a look: > > https://github.com/richhickey/edn > > Rich > Thanks

Does moustache work with latest ring and clojure ?

2012-09-06 Thread Murtaza Husain
Hi, Moustache seems to be a great library and I would like to use it for my next project (No offense to compojure :) ) . However it still lists clojure 1.1 and ring 0.2 as its dependencies (on clojars). Does moustache work with clojure 1.4 and ring 1.1.5 ? Also is it still being maintained ? T

Re: Expanding the Community Through Online Courses

2012-09-06 Thread Mayank Jain
On Thu, Sep 6, 2012 at 11:53 PM, Jorge Fiallega wrote: > > I am kindly asking Rich Hickey, Stuart Halloway or some other big name to > create a course like this in Clojure. > > That would be great! :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. T