Hi,
I'm happy to announce the Leiningen plugin lein-exec 0.2.0, that lets
one write scripts with shebang in Clojure as we do in other languages
like Python, Ruby Groovy etc.
Github URL:
https://github.com/kumarshantanu/lein-exec
Blog post with examples:
http://charsequence.blogspot.in/2012/04/sc
It'd be good. These words from the SICP "acknowledgements" section just
came into my mind:
"Many educators in other countries have put in significant work translating
the first edition. Michel Briand, Pierre Chamard, and André Pic produced a
French edition; Susanne Daniels-Herold produced a Ger
Hello,
I've read somewhere (in the list ?) the idea of embedding Clojure & al as a
Java Applet in a page to provide easy standalone web-based test
environment, something like Himera ( https://github.com/fogus/himera ) but
without the need to host the service on a server.
I found the idea compelli
yet another pearl on necklace
--
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 moderated - please be patient with your
first post.
To unsubscribe from t
Hi Stuart
fantastic - it is starting to make sense now. One follow on question.
Presumably this only applies to functions? If I replace (defn foo []
"hello") with (def foo "hello") I don't get the same results. Is this
because functions are handled differently?
many thanks (again)
Dave
On Apr
David Simmons writes:
Hi David,
> Presumably this only applies to functions?
No, not really.
> If I replace (defn foo [] "hello") with (def foo "hello") I don't get
> the same results. Is this because functions are handled differently?
--8<---cut here---start--
Rather than battle the challenges of Java Applets,
could you possibly expose the functionality via Fetch (RPC over HTTP
from within ClojureScript)?
https://github.com/ibdknox/fetch
Regards,
Paul (OhPauleez)
On Apr 23, 7:23 am, Laurent PETIT wrote:
> Hello,
>
> I've read somewhere (in the list ?
2012/4/23 Paul deGrandis
> Rather than battle the challenges of Java Applets,
> could you possibly expose the functionality via Fetch (RPC over HTTP
> from within ClojureScript)?
> https://github.com/ibdknox/fetch
>
Hello Paul,
I could, but the whole point of my email is trying to understand th
Ahh I understand the design constraint.
About ten years ago I had to write an HTML editor Applet - this is
what I remember:
I was able to get all the functionality I really wanted in terms of
interaction and usability without any struggle.
I was even making use of some in-house libraries we wrote
Hi Tassilo
Perfect answer - the fog is definately beginning to lift!
Do you know why Clojure automatically dereferences functions but not
for other bound values?
cheers
Dave
On Apr 23, 1:36 pm, Tassilo Horn wrote:
> David Simmons writes:
>
> Hi David,
>
> > Presumably this only applies to fu
Hi,
it does not automatically deref the Var. Instead the Var delegates being
called like a function to the value it's holding. If Clojure was
automatically to dereffing a Var upon access, you wouldn't be able to use
it as a value, because you'd always get its contents.
Kind regards
Meikel
--
On Mon, Apr 23, 2012 at 8:36 AM, Tassilo Horn wrote:
> It seems that Clojure dereferences Var's automatically, possibly multiple
> times, in case of function calls.
Multiple times confirmed:
user=> (defn foo [] "Boo!")
#'user/foo
user=> (type foo)
user$foo
user=> (def bar #'foo)
#'user/bar
user=
On Sun, Apr 22, 2012 at 3:33 AM, David Jagoe wrote:
> On 21 April 2012 14:41, Dan Cross wrote:
>> On Sat, Apr 21, 2012 at 6:20 AM, David Jagoe wrote:
>> > Can anybody tell me whether wkhtmltopdf or flying-saucer deal with
>> > pagination properly? I've been templating TeX to get properly laid ou
Hi,
For a java project I have been looking at Esper (esper.codehaus.org),
a component for complex event processing:
"Complex event processing (CEP) delivers high-speed processing of many
events across all the layers of an organization, identifying the most
meaningful events within the event cloud
Hi,
I tried to make my first steps with ClojureScript, but the third
command of the four "getting started" commands fails. When I enter
"lein bootstrap" I get the following message:
bootstrap is not a task. Use "lein help" to list all tasks.
Do I have to specify somehow the path to the bootstrap
On 23 April 2012 10:01, Daniel Hofstetter wrote:
> Hi,
>
> I tried to make my first steps with ClojureScript, but the third
> command of the four "getting started" commands fails. When I enter
> "lein bootstrap" I get the following message:
>
> bootstrap is not a task. Use "lein help" to list all
I would start with storm:
https://github.com/nathanmarz/storm
On Apr 23, 2012, at 9:51 AM, Rogier Peters wrote:
> Hi,
>
> For a java project I have been looking at Esper (esper.codehaus.org),
> a component for complex event processing:
>
> "Complex event processing (CEP) delivers high-speed
Hi Mark,
Thanks. Some work has been done by Thomas Dudziak on integrating storm
with esper [1][2].
What esper offers is:
a. queries (select average(price) from events where type=buy)
b. windows (the above for a window of 30 minutes)
c. patterns (if event a is not followed within 5 minutes by even
No functional changes (at least, no _intentional_ functional changes)
but a code reorganization.
The "internal" namespace (clojure.java.jdbc.internal) has been merged
into the main namespace (clojure.java.jdbc) and access on various
symbols has been adjusted accordingly. This was a change suggeste
I've had some success using Esper directly in Clojure for an internal
project at work.
Are you just looking to avoid interop? Are you just curious about
what other Clojure-specific options exist?
Or is there a specific tradeoff, design constraint, or quality
attribute you're working with?
Paul
Sent from my HTC
- Reply message -
From: "Cedric Greevey"
To:
Subject: Help with #'
Date: Mon, Apr 23, 2012 4:41 PM
On Mon, Apr 23, 2012 at 8:36 AM, Tassilo Horn wrote:
> It seems that Clojure dereferences Var's automatically, possibly multiple
> times, in case of function calls.
M
The tooltip version of the Clojure/Java cheatsheet is not published at [1] just
yet, but hopefully we can figure out how to make that happen in a while:
[1] http://clojure.org/cheatsheet
There is an updated link at the bottom of that page called "Download other
versions" that leads to [2]:
[2]
On Mon, Apr 23, 2012 at 2:32 PM, shortlypor...@googlemail.com
wrote:
[in reply to my confirmation that vars referencing vars referencing
functions are still callable as functions]
> Sent from my HTC
Beg pardon?
--
You received this message because you are subscribed to the Google
Groups "Cloj
Cedric - apologies - fat fingers on my mobile phone!!
To both Cedric and Meikel - thank you both for your help.
I'm finding Clojure a great language to learn (if a little difficult
at first). It seems a much more consistent language than the others I
have studied which I think is fantastic.
Dave
On Mon, Apr 23, 2012 at 3:02 PM, David Simmons wrote:
> Cedric - apologies - fat fingers on my mobile phone!!
More likely, tiny keys. (Though how that generated a meaningful
English sentence that just happened to be completely off topic, I
don't know!)
> To both Cedric and Meikel - thank you bot
The Dart Synonyms page is pretty informative: http://synonym.dartlang.org/
They say imitation is the sincerest form of flattery:
http://himera.herokuapp.com/synonym.html
If you'd like to contribute improvements (syntax highlighting ;),
corrections, additions please send pull requests here:
https:
this page is amazing:
http://himera.herokuapp.com/synonym.html
this should be part of the standard docs for clojurescript - or am i
just blind and cannot find it? it would have saved me so much time
*sob*
On Mon, Apr 23, 2012 at 3:45 PM, David Nolen wrote:
> http://himera.herokuapp.com/synonym.
I've added links to Himera in the ClojureScript GitHub README
On Mon, Apr 23, 2012 at 5:18 PM, gaz jones wrote:
> this page is amazing:
>
> http://himera.herokuapp.com/synonym.html
>
> this should be part of the standard docs for clojurescript - or am i
> just blind and cannot find it? it would
Good questions. Mostly that it seems a technology domain (a dsl for
event streams) that would fit clojure well. If it hasn't been done,
interop would be no problem.
On Mon, Apr 23, 2012 at 8:16 PM, Paul deGrandis
wrote:
> I've had some success using Esper directly in Clojure for an internal
> pro
cheers! :D
On Mon, Apr 23, 2012 at 4:20 PM, David Nolen wrote:
> I've added links to Himera in the ClojureScript GitHub README
>
> On Mon, Apr 23, 2012 at 5:18 PM, gaz jones wrote:
>>
>> this page is amazing:
>>
>> http://himera.herokuapp.com/synonym.html
>>
>> this should be part of the standar
On Thu, Mar 29, 2012 at 9:52 AM, Phil Hagelberg wrote:
> Anyway, I'd be happy if someone went ahead with nrepl.el even so;
> don't let me discourage you.
For what it's worth I sketched out a bare skeleton of what this could
look like. Nothing works yet, but if someone were to want to hack on
it,
I'm curious. How does this differ from Jark?
http://icylisper.in/jark/scripting.html
On Monday, April 23, 2012 2:03:20 AM UTC-5, Shantanu Kumar wrote:
>
> Hi,
>
> I'm happy to announce the Leiningen plugin lein-exec 0.2.0, that lets
> one write scripts with shebang in Clojure as we do in o
I am in the process of learning Clojure, and I want to play around with the
MIT Java WordNet library (http://projects.csail.mit.edu/jwi/) to
familiarize myself with Clojure idioms.
What are some examples of idiomatic Clojure/Java interop libraries that I
can study?
Thanks.
- James
--
You r
I have some dynamically generated data that needs to be sent to the
clojurescript code running on the page. Now I know there already exists the
URL which can have query data (accessed via (. js/window -location) but has
the disadvantage of requiring to be read in by the reader), and
goog.net.Xh
clojure-opennlp has been around for awhile:
On Github:
https://github.com/dakrone/clojure-opennlp
http://dakrone.github.com/clojure-opennlp/
A couple of blog posts:
http://writequit.org/blog/?p=365
http://writequit.org/blog/?p=351
Add it to your project:
http://clojars.org/search?q=opennlp
Hap
If you are using clojure on the backend, I'd look into
https://github.com/ibdknox/fetch , it really simplifies things.
It is possible to send compiled clojurescript data, though its harder
to get up and running with that, and if you are only sending data (as
opposed to functions) , it might not be
Congratulations to the following students, their proposals have been
accepted for Clojure/dev's Google Summer of Code 2012!
Jon Rose
- Lightweight Clojure editor
Raphael Amiard
- Pluggable backend infrastructure for ClojureScript
Alexander Yakushev
- Toolchain for dynamic Clojure development
Thanks to all that made this possible, and a big thanks to David for his
tireless effort!
If you are interested in following the development of Typed Clojure
Github: https://github.com/frenchy64/typed-clojure
Twitter: https://twitter.com/ambrosebs
I predict the project will either be an epic suc
James Thornton:
> What are some examples of idiomatic Clojure/Java interop libraries that I can
> study?
https://github.com/michaelklishin/pantomime
https://github.com/michaelklishin/urly
https://github.com/michaelklishin/monger
https://github.com/michaelklishin/welle
https://github.com/michaelk
Jark works with a persistent JVM. It runs the script by transferring
the contents of the script to a remotely running JVM using the nREPL
protocol. Thus the JVM startup overhead is negligible, which is needed
for scripting/IDEs.
The client is a light-weight binary (~80-100k, is written in OCaml and
The persistent JVM is what makes jark worthwhile. I wish it for me, but, I
have this issue: https://github.com/icylisper/jark-client/issues/76
lein-exec is too slow because doesn't use a persistent JVM.
On Mon, Apr 23, 2012 at 10:46 PM, isaac praveen wrote:
> Jark works with a persistent JVM. I
On Apr 24, 6:05 am, Daniel wrote:
> I'm curious. How does this differ from Jark?
> http://icylisper.in/jark/scripting.html
Jark is a client (written in Ocaml) that starts up/shuts down/talks to
resident JVMs (with additional Jark-specific code) via the nREPL
protocol. It is possible to hav
I was originally looking at this as a lein-integrated subset of jark, but I
see there are different use cases now. Thanks. :)
On Monday, April 23, 2012 11:13:45 PM UTC-5, Shantanu Kumar wrote:
>
>
>
> On Apr 24, 6:05 am, Daniel wrote:
> > I'm curious. How does this differ from Jark?
> ht
Sean,
Ah, you need to call the (-main) function in the script when running
it via Jark. We can discuss this issue further on IRC (#jark) or
mailing list (https://groups.google.com/group/clojure-jark)
-
isaac
On Tue, Apr 24, 2012 at 9:27 AM, Sean Neilan wrote:
> The persistent JVM is what makes
That worked! Thank you very much!
On Mon, Apr 23, 2012 at 11:38 PM, isaac praveen wrote:
> Sean,
>
> Ah, you need to call the (-main) function in the script when running
> it via Jark. We can discuss this issue further on IRC (#jark) or
> mailing list (https://groups.google.com/group/clojure-jar
On Apr 23, 3:03 am, Shantanu Kumar wrote:
> Hi,
>
> I'm happy to announce the Leiningen plugin lein-exec 0.2.0, that lets
> one write scripts with shebang in Clojure as we do in other languages
> like Python, Ruby Groovy etc.
>
Hi Shantanu,
Useful blog post, thanks!
I've been using lein-oneoff
On Apr 23, 2:35 pm, Andy Fingerhut wrote:
> The tooltip version of the Clojure/Java cheatsheet is not published at [1]
> just yet, but hopefully we can figure out how to make that happen in a while:
>
> [1]http://clojure.org/cheatsheet
>
> There is an updated link at the bottom of that page calle
47 matches
Mail list logo