*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
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
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
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)
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
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
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
(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
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
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
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
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
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
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
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
> 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
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
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.
[
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,
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])
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 "
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
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
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
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
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
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
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:
>
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
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
>
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
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
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
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
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
35 matches
Mail list logo