On May 18, 7:37 pm, verec jeanfrancois.brouil...@googlemail.com
wrote:
Whatever you chose, you probably ought to show its source with an IDE
(whichever you chose: NetBeans. Eclipse, IntelliJ) but should probably
forget about emacs: many (most?) Java developers won't even consider
anything
Hi Frank,
(Saw your post shared on ClojureCLR Google+ but was unable to comment.)
This may be slightly tangential but you might want to look at lein-clr:
https://github.com/kumarshantanu/lein-clr
It makes these things easier to do on the command-line. You need to install
Java and Leiningen to
Hi,
I am pleased to announce availability of the book `Clojure High Performance
Programming` that I have been writing for the better part of this year:
http://www.packtpub.com/clojure-high-performance-programming/book
This book is ideally meant for intermediate Clojure programmers. It is
Now also available on
Amazon US: http://www.amazon.com/dp/1782165606/?tag=packtpubli-20
Amazon UK: http://www.amazon.co.uk/dp/1782165606/?tag=packtpubli-21
Shantanu
On Thursday, 21 November 2013 05:21:45 UTC+5:30, Shantanu Kumar wrote:
Hi,
I am pleased to announce availability of the book
On Thursday, 21 November 2013 07:40:09 UTC+5:30, Alex Baranosky wrote:
Congratulation on the book Shantanu!
Thanks, Alex!
Shantanu
On Wed, Nov 20, 2013 at 5:16 PM, Shantanu Kumar
kumar.s...@gmail.comjavascript:
wrote:
Now also available on
Amazon US: http://www.amazon.com/dp
this is temporary.
Shantanu
On 21 November 2013 02:10, Alex Baranosky
alexander...@gmail.comjavascript:
wrote:
Congratulation on the book Shantanu!
On Wed, Nov 20, 2013 at 5:16 PM, Shantanu Kumar
kumar.s...@gmail.comjavascript:
wrote:
Now also available
On Thursday, 21 November 2013 16:28:14 UTC+5:30, Ulises wrote:
Thank you! The book is published very recently and I noticed it took a
while
for the printed editions to appear on Amazon. I am getting in touch with
Packt to find out why the kindle editions not on Amazon and whether this
On Thursday, 21 November 2013 16:48:56 UTC+5:30, Ulises wrote:
Could you please let me know which URL and page no. did you find the
images
missing on? I noticed the images are visible (for example on page number
21)
when I visited
On Thursday, 21 November 2013 21:39:36 UTC+5:30, Gary Johnson wrote:
This looks incredible! Just bought a copy. Congratulations, Shantanu!
Thanks, Gary!
Those who might look for a Kindle edition can find it here:
http://www.amazon.com/Clojure-Performance-Programming-Shantanu-Kumar-ebook/dp
I am trying to run some tests (that worked fine with Mono+ClojureCLR 1.4.1)
in Mono+ClojureCLR 1.5.0 from SourceForge and finding the below exception:
$ # CLOJURE_LOAD_PATH is configured properly
$ mono /path/to/clojure-clr-1.5.0-Release-4.0/Clojure.Main.exe -i
/tmp/intermediate-file -e (use
Author of lein-localrepo here. Just to mention few points:
1. Leiningen builds over Maven's transitive dependency management system.
So, I guess at some point of time you just have to accept Maven's
nomenclature.
2. `lein install` works when you have source code and a `project.clj` for
your
If you are only going to read the CSV files, you can put the CSV file in
`resources` directory (so that it is part of the jar/uberjar), and use
https://github.com/clojure/data.csv with
http://clojuredocs.org/clojure_core/clojure.java.io/resource to read the
data. If you need to make some
There's Clojure Maven plugin if that can help:
https://github.com/talios/clojure-maven-plugin
Shantanu
On Monday, 6 January 2014 11:03:45 UTC+5:30, Qiu Xiafei wrote:
Using maven, we usually package the project in a directory with sub dirs
like:
bin/ # bash/python scripts
lib/
Hi Alex,
On Wednesday, 8 January 2014 13:28:29 UTC+5:30, Alexander Hudek wrote:
Hey everyone,
We've been exploring ways to make working with database code more
efficient and less error prone.
For complex queries, we prefer working directly with SQL. However, like
for many others, a lot
The approach to read the database to generate code is pretty interesting.
There is a more portable way to extract the schema information, using
DatabaseMetadata that you can extract from a Connection.
http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html
Hi Jan,
This not directly related, but i thought it might be useful in some way. In
case you do the java interop stuff on your own to implement the servlet 3.0
methods, you might want to use lein-servlet to run the servlet using Jetty
9 maybe.
https://github.com/kumarshantanu/lein-servlet
On Thursday, 23 January 2014 02:37:43 UTC+5:30, puzzler wrote:
Is there a convenient way within Clojure to launch a Clojure function or
Java call in a separate process as opposed to a separate thread? Only way
I know of is to literally shell out to the command prompt and launch a new
Hi,
I'm happy to announce clj-liquibase version
0.5.1: https://github.com/kumarshantanu/clj-liquibase for database (JDBC)
change management.
Since 0.4.0, this version upgraded Liquibase dependency from 2.5 to 3.0 and
added support for free-form SQL and SQL files as units of change. (Thanks
Can you post the SQL template (with ? symbols) you are trying to execute?
Usually, with PostgreSQL you can specify ?::integer in place of ? to imply
that the passed parameter is an integer.
Shantanu
On Tuesday, 11 February 2014 13:52:54 UTC+5:30, The Dude (Abides) wrote:
Hi, I'm getting an
Btw, would you recommend using an ORM or straight java.jdbc and if an ORM,
any particular one you'd recommend?
ORMs are not prevalent in Clojure. You can use java.jdbc (the 0.3.x series
or later) with one of the SQL generators (HoneySQL, YeSQL etc) that you
like. See what works for you
Hi Sorin,
Are you looking for something like
load-file: http://clojuredocs.org/clojure_core/clojure.core/load-file
Shantanu
On Tuesday, 18 February 2014 17:09:20 UTC+5:30, sorin cristea wrote:
Hi
do you know how I can call a clojure script from a java method ?
Thanks,
Sorin.
--
You
On Wednesday, 26 February 2014 14:58:06 UTC+5:30, Niels van Klaveren wrote:
Windows (7) has different versions of linking. For checkouts to work on
Windows 7 you need to have a *junction* to the directory, not a symbolic
link.
I make mine with Link Shell Extension for Windows
I have seen (and I keep seeing) a ton of Java code that performs poorly.
Empirically, it's equally easy to write a slow Java app. You always need a
discerning programmer to get good performance from any language/tool.
Numbers like 1/4 or 1/10 can be better discussed in presence of the
On Saturday, 1 March 2014 15:32:41 UTC+5:30, bob wrote:
Case :
clojure verison:
(time (dotimes [n 1000] (str n another word))) ;; take about 5000msec
java version
long time = System.nanoTime();
for(int i=0 ; i1000 ;i++){
String a=i+another word;
On Sunday, 2 March 2014 05:32:00 UTC+5:30, bob wrote:
Good point, Thanks a lot.
Shall we improve the str fn in the core lib? From my point of view, the
core fns should be performance sensitive.
If string formation is the bottleneck in your app and if you can come up
with a version of
On Sunday, 2 March 2014 12:49:15 UTC+5:30, Shantanu Kumar wrote:
On Sunday, 2 March 2014 05:32:00 UTC+5:30, bob wrote:
Good point, Thanks a lot.
Shall we improve the str fn in the core lib? From my point of view, the
core fns should be performance sensitive.
If string formation
On Monday, 3 March 2014 02:18:39 UTC+5:30, tbc++ wrote:
How are you running these tests? The correct way to benchmark such
things is via a real benchmark framework (such as criterium) then compile
your clojure app to a jar (perhaps via lein uberjar) and finally run it via
a bare java
On Tuesday, 4 March 2014 14:54:49 UTC+5:30, Andy Smith wrote:
Does this mean that in a single threaded application lazy sequences suffer
the overhead of locks? I thought one of the features of clojure is that it
tries to avoid locks as much as possible.
The JIT compiler eliminates locks
On Monday, 10 March 2014 20:11:12 UTC+5:30, Roelof Wobben wrote:
Hello,
I like the idea of Clojure but I wonder if I have to know a lot of Lisp to
work with Clojure.
What is the best way to go from a absolute beginner to someone who can
work with Clojure.
To have a quick feel of
On Monday, 9 September 2013 07:55:15 UTC+5:30, rdelcueto wrote:
Hi everyone,
I'm about to start working on building a site for a startup company.
We are a small team, and currently they've been coding the site using RoR
(Ruby on Rails). I was thinking Clojure might be better suited for
Hi Frank,
You can look at the source code of `resultset-seq` (in Clojure-JVM) to see
how it does a similar thing. You must consume the entire set of messages
before closing the connection though. The `clojure.java.jdbc` library
ensures that, for example.
You may also want to discuss this on
Something like this?
(defn x [1 3 4 5 7 9 10 13])
(reduce (fn [a i] (let [y (last a) z (last y)] (if (and z (= (inc z) i))
(conj (pop a) (conj y i)) (conj a [i] [] x)
Shantanu
On Wednesday, 19 March 2014 08:26:43 UTC+5:30, John Gabriele wrote:
If you've got a sorted list of numbers, for
On Wednesday, 19 March 2014 09:39:56 UTC+5:30, Shantanu Kumar wrote:
Something like this?
(defn x [1 3 4 5 7 9 10 13])
Sory for the typo. Should be (def x [1 3 4 5 7 9 10 13])
(reduce (fn [a i] (let [y (last a) z (last y)] (if (and z (= (inc z) i))
(conj (pop a) (conj y i)) (conj
On Tuesday, 18 March 2014 08:25:30 UTC+5:30, Dave Kincaid wrote:
I'm trying to create a project with multiple modules where there are some
dependencies between modules. So far I've tried out lein-sub and
lein-modules but neither one seems to handle inter-module dependencies
(either that
Hi,
lein-servlet helps you to work with servlet based apps. I pushed out
version 0.4.0 of lein-servlet to Clojars -- the changes are listed at the
URL below:
https://github.com/kumarshantanu/lein-servlet/blob/master/CHANGES.md#2014-march-22--040
Shantanu
--
You received this message because
Hi,
(I am cross-posting this on Clojure and Hibernate-users mailing list.)
DISCLAIMER: I am a Clojure newbie - please let me know if you find any
of my assumptions / statements to be incorrect.
Hibernate has an experimental support for working with maps rather
than POJOs using the following
I have an update since my last post. It is technically possible to
completely bypass the HBM-XML files and do the mapping stuff
programmatically, a route that I will likely take (XML generation does
not fit well in the arrangement and should be avoided). Taking this
route will bring the
Can you take a look at MongoDB? It is written in C++ but you can
connect to it using Java, and several other languages.
http://www.mongodb.org/display/DOCS/Home
Regards,
Shantanu
On Jul 27, 7:46 pm, Sean Devlin francoisdev...@gmail.com wrote:
Howdy everyone,
I've got a project that needs a
mentioned here.
Thanks,
Lico
On Jul 23, 9:12 am, Shantanu Kumar kumar.shant...@gmail.com wrote:
I have an update since my last post. It is technically possible to
completely bypass the HBM-XML files and do the mapping stuff
programmatically, a route that I will likely take (XML generation
Not sure if I am the only one - I was not able to make the copy-to-
REPL and execute-block-of-code work using the keyboard shortcuts
mentioned on the URL, nor using any other method. I am using Windows
XP 32-bit with JDK 1.6.0_16.
I look forward to somebody correcting me what I am doing wrong.
I tried again following your checklist. My response is inline.
Be sure that:
- the REPL it's working fine (if it let you work normally then it's
fine).
I am not sure if I have found the REPL in the ACB yet. Is it the
WinCommand Clojure 1.0 tab you are talking about? How do I setup ACB
the
You can probably settle for a set of Java data structures that are
inter-operable with Clojure.
1. Use interfaces (because Clojure implements them too) such as
java.util.List, java.util.Set, java.util.Map etc.
2. Use type hints and enable warn on reflection.
3. When in Clojure, first convert to
On Oct 29, 4:50 pm, vanallan vanal...@gmail.com wrote:
Ok thanks for the answer :)
I have now began to implement the Java parts. The data that is going
to be processed in Clojure is mapped to clojure structs, but I now
have another question. How should I update the values in the structs?
2. Go Functional -- pass objects and anonymous functions (Strategy and
Mediator patterns may help)
I meant anonymous objects that implement some interface or extend a
class (Template pattern), not anonymous functions really. :-)
Regards,
Shantanu
Is any IDE support planned for this? As it turns out, many people
(including me) stick with Ant just because the IDE support is
fantastic.
Regards,
Shantanu
On Nov 18, 12:29 pm, Phil Hagelberg p...@hagelb.org wrote:
I'm pleased to announce the initial release of Leiningen.
Leiningen is a
On Nov 18, 1:45 pm, ngocdaothanh ngocdaoth...@gmail.com wrote:
Which IDE and Ant plugin do you use?
I think you can use lein pom to have an pom.xml file for use with
Maven. Hope that your fantastic IDE supports Maven.
Earlier I used NetBeans but now I generally use Eclipse -- both of
them
On Nov 19, 10:22 am, Phil Hagelberg p...@hagelb.org wrote:
Shantanu Kumar kumar.shant...@gmail.com writes:
Is any IDE support planned for this? As it turns out, many people
(including me) stick with Ant just because the IDE support is
fantastic.
I have no plans myself, but if writing
Hi,
Could anybody please give me a Clojure 1.1 Maven2 repo URL? It's not
there on Maven central repo yet, and (surprise!) clojars.org doesn't
seem to have it either.
I am going to use the 1.1 RC JAR in my local repo until I find one.
Regards,
Shantanu
--
You received this message because you
On Jan 2, 5:12 am, Gabi bugspy...@gmail.com wrote:
I am interested in the idea: Completely stateless set of Clojure nodes
(on many machines), operating on a central state stored in some
datastore.
If transactions could be managed somehow, I think it would be very
compelling model for many
A proper type Maven repo (whichever location, but with proper naming)
for Clojure and Contrib would be great - consistent for projects that
depend on Maven for dependencies and builds.
Regards,
Shantanu
On Jan 11, 2:33 pm, Mark Derricutt m...@talios.com wrote:
Stuart - are these RC builds
On Jan 12, 12:50 pm, Konrad Hinsen konrad.hin...@fastmail.net wrote:
On 11 Jan 2010, at 23:09, .Bill Smith wrote:
Every class object has a newInstance method:
user= (Class/forName java.util.HashMap)
java.util.HashMap
user= (.newInstance (Class/forName java.util.HashMap))
#HashMap {}
This behaviour might occur due to an old Apache Commons-Logging JAR,
several of which have had classpath / class-loading issues. Just a
thought.
Regards,
Shantanu
On Jan 12, 5:13 pm, Timothy Pratley timothyprat...@gmail.com wrote:
Hi,
GOSUB raised this on IRC and I'm stumped as to the
On Jan 12, 10:52 pm, Baishampayan Ghose b.gh...@ocricket.com wrote:
On Tuesday 12 January 2010 07:30 PM, Shantanu Kumar wrote:
This behaviour might occur due to an old Apache Commons-Logging JAR,
several of which have had classpath / class-loading issues. Just a
thought.
Which
On Jan 22, 11:09 am, cperkins cperk...@medialab.com wrote:
I've read that people have been able to use Clojure with some of the
Java web servers. I am not familiar with any Java web servers or web
frameworks and wonder if anyone who knows more about them can advise
me. FWIW I'm also not
On Feb 17, 3:05 pm, Roman Roelofsen roman.roelof...@googlemail.com
wrote:
Hi,
does someone knows a good Clojure REST framework? It should help with
URL destructuring and maybe creating JSON return data etc.
You can take a look at Taimen (in Alpha now) -
Hi,
I am trying to upload a JAR to Clojars.org but I am getting
NullPointerException. Can somebody help me understand what's going on?
The log is below:
D:\projects\hgrepos\jettify\jettify-parent\jettify-java\targetscp
pom.xml jettify-java-0.2.jar cloj...@clojars.org:
Welcome to Clojars,
On Apr 2, 4:37 am, Alex Osborne a...@meshy.org wrote:
Hi Shantanu,
Shantanu Kumar kumar.shant...@gmail.com writes:
artifactIdjettify-java/artifactId
packagingjar/packaging
version0.2/version
namejettify-java/name
urlhttp://code.google.com/p/bitumenframework//url
You
or suggest me a nice rest framework for clojure
i really like jersey, i want to use it though?
Jersey makes quite heavy use of annotations. Annotations are not
supported in Clojure yet. You may like to take a look at Taimen for
writing RESTful services:
to Clojure.
Thank you
On Apr 12, 1:57 pm, Shantanu Kumar kumar.shant...@gmail.com wrote:
or suggest me a nice rest framework for clojure
i really like jersey, i want to use it though?
Jersey makes quite heavy use of annotations. Annotations are not
supported in Clojure yet. You may
Hi,
Vipashyin Labs (at Marathalli, Bangalore) is looking for a fulltime
Clojure developer. This is a long term contract position (1+ year)
with attractive remuneration. The candidate should be well versed in
Clojure, JVM, web development and REST. If interested, please contact
at the email
That blog-post is by me. I have only tried Lein on XP, but
theoretically it should work on Vista too. The Leiningen 1.1.0 JAR
bundles Clojure 1.1.0 compiled classes inside. You can mention the
version of Clojure in the project.clj file for your project. As of now
Clojure 1.1.0 is the stable
I came across Clj-MML, which is a ClojureCLR library:
https://github.com/timgluz/clj-mml
and its starter: https://github.com/timgluz/starter-cljmml
I have also noticed few ClojureCLR ports of regular Clojure-contrib
libraries.
Just FYI, there is a ClojureCLR Google+ community:
On Jan 25, 1:55 pm, Samrat Man Singh samratmansi...@gmail.com wrote:
I'd suggest considering Librelist for the mailing list too. I'm subscribed
to a few mailing lists powered by it and never seen a spam problem.
I would vote against such a thing, unless there is a way to (1) read
the messages
On Jan 25, 4:24 pm, Peter Taoussanis ptaoussa...@gmail.com wrote:
Hi Dmitry,
Raw bench results are provided in the `results`
folder:https://github.com/ptaoussanis/clojure-web-server-benchmarks/blob/mas...
There you'll find a breakdown of the times to connect, process, and wait.
Also the
On Feb 3, 12:54 pm, Curtis Gagliardi gagliardi.cur...@gmail.com
wrote:
I took your version Feng and used rem instead of mod and added a type hint
and got down from:
23217.321626 = 11398.389942
No idea where to go from here though. I'm surprised there's such a
difference even not using any
博客:http://shenfeng.me
On Sun, Feb 3, 2013 at 6:42 PM, Shantanu Kumar
kumar.shant...@gmail.comwrote:
On Feb 3, 12:54 pm, Curtis Gagliardi gagliardi.cur...@gmail.com
wrote:
I took your version Feng and used rem instead of mod and added a type
hint
and got down from
Changing ( 0 ...) to (pos? ..) had no noticeable delay.
I meant 'difference', not 'delay'.
Shantanu
--
--
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
On Feb 3, 11:40 pm, Alexandros Bantis amban...@gmail.com wrote:
yes, I believe I can just make a list of the greatest common factors and
then multiply them out to get the number rather than iterating through 2
through n. Still, I'm curious about the performance difference, since
all three
On Feb 6, 11:42 am, Sean Corfield seancorfi...@gmail.com wrote:
Andy's right on process... but as maintainer of clojure.java.jdbc, I
have to ask: why on earth do you have column names containing spaces
or or other weird characters? That's a serious question: how do you
get into that
On Thursday, 7 February 2013 18:41:10 UTC+5:30, Vladimir Tsichevski wrote:
Hi,
seems type hints are ignored when we use proxy-super:
(set! *warn-on-reflection* true)
(proxy [Object][]
(equals[o]
(proxy-super equals)))
Reflection warning, null:3 - reference to field equals can't
Hi,
I noticed that parts of repl-utils from old contrib have moved into new
modular contribs, but expression-info[1][2][3] and few others have not yet.
Just wanted to know if anybody's maintaining it? `run` and `run*` are
useful and also provided by Leiningn via the `run -m` task.
[1]
On Mar 8, 1:32 am, larry google groups lawrencecloj...@gmail.com
wrote:
At some point on this mailist, someone suggested that to best understand
concurrency in Java, once should read:
Java Concurrency In Practice
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/032134...
So
On Sunday, 24 March 2013 22:04:46 UTC+5:30, Richard Elliott wrote:
Hi,
If i create an immutable type in java and use an instance of it from
clojure, can I wrap it in an atom and benefit from the concurrency
semantics of swap! etc.
In this case, making the type immutable is probably
On Sunday, 24 March 2013 23:34:38 UTC+5:30, Jim foo.bar wrote:
On 24/03/13 17:49, Shantanu Kumar wrote:
In this case, making the type immutable is probably encouraged but not
mandatory
yes true, it's not enforced or anything like that, but I'd say it is
more than just 'encouraged
On Monday, 25 March 2013 06:45:32 UTC+5:30, Leif wrote:
Hello, fellow Clojurians.
One problem I've run into when stubbing fns is that with-redefs doesn't
play well with concurrency. E.g.
http://clojuredocs.org/clojure_core/clojure.core/with-redefs#example_994
The problem arises
On Monday, 25 March 2013 18:07:33 UTC+5:30, Jim foo.bar wrote:
On 25/03/13 12:28, Michael Klishin wrote:
There is no absolute immutability on the JVM, .NET, in JavaScript.
There is always a backdoor to mutability.
But 99.9% of projects won't use it.
Andy hinted this last night as
On Monday, 25 March 2013 18:23:25 UTC+5:30, Jim foo.bar wrote:
On 25/03/13 12:50, Shantanu Kumar wrote:
However, I'd consider they are just implementation details and intended
for idiomatic use from within the Clojure language.
I think you meant *not* intended for idiomatic use from
On Wednesday, 27 March 2013 08:06:30 UTC+5:30, Leif wrote:
Hi, Shantanu.
Thanks for the suggestions. A couple thoughts:
1. Many times, I seem to stub or mock things that are scattered here and
there in the code, like things that send email or log metrics, etc. so
they are not really
personally, I use a static var that I `alter-var-root` so I couldn't see
the error in dynamic var immediately.
Shantanu
On Wednesday, 27 March 2013 12:16:58 UTC+5:30, Shantanu Kumar wrote:
On Wednesday, 27 March 2013 08:06:30 UTC+5:30, Leif wrote:
Hi, Shantanu.
Thanks
On Wednesday, 27 March 2013 17:54:01 UTC+5:30, John Hume wrote:
On Mar 27, 2013 1:56 AM, Shantanu Kumar kumar.s...@gmail.comjavascript:
wrote:
Sorry, in the last illustration, the (binding [*deps* deps] ...) cannot
be useful for Compojure route handlers because dynamic vars are bound
On Wednesday, 3 April 2013 00:39:25 UTC+5:30, larry google groups wrote:
If Clojure is suppose to emphasize immutability, why can I do this:
kiosks-clojure.core= (let [
#_= mega (+ 1 1)
#_= mega (+ 1 mega)
#_= mega (+ 1 mega)
Congratulations on the release! Could you please let me know whether
HTTP-Kit has built-in support for applying backpressure, and if it
does then how to configure the same?
Shantanu
On May 3, 9:05 pm, Feng Shen shen...@gmail.com wrote:
Hi,
just released 2.1.0.
[http-kit 2.1.0] ; Add to your
On Thursday, 30 May 2013 19:27:34 UTC+5:30, Plinio Balduino wrote:
Hi there
I'm playing with Clojure CLR (good job, guys) and I miss something like
Leiningen. I quickly saw Kumar's lein-clr, but I don't know if it could be
used in a production environment (or explaining better, in a dev
Hi,
I pushed new versions of three Leiningen plugins to Clojars recently:
* lein-localrepo 0.5.0
This plugins lets one manage the local Maven/Leiningen repository. The
0.5.0 release fixes outstanding issues.
* lein-servlet 0.3.0
This plugin lets the user work with servlet-based Clojure apps.
Project URLs below.
lein-localrepo: https://github.com/kumarshantanu/lein-localrepo
lein-servlet: https://github.com/kumarshantanu/lein-servlet
lein-idefiles: https://github.com/kumarshantanu/lein-idefiles
Shantanu
On Tuesday, 11 June 2013 18:42:08 UTC+5:30, Shantanu Kumar wrote:
Hi,
I
Project URLs below.
lein-localrepo: https://github.com/kumarshantanu/lein-localrepo
lein-servlet: https://github.com/kumarshantanu/lein-servlet
lein-idefiles: https://github.com/kumarshantanu/lein-idefiles
Shantanu
On Tuesday, 11 June 2013 18:42:08 UTC+5:30, Shantanu Kumar wrote:
Hi,
I
Hi Tom,
Autodoc is superb! However having run into dependency issues with
Autodoc myself, I think it would be cool if you can specify Clojure
and Contrib JARs as only dev-dependencies so that they don't clash
with the ones the user depends on too. Just an idea.
Regards,
Shantanu
On Jun 22, 5:55
This is very nice indeed. Thanks for putting it up.
Regards,
Shantanu
On Jun 29, 3:21 am, Tim Robinson tim.blacks...@gmail.com wrote:
I'm fairly new to Programming, Clojure and Blogging, but I did manage
to write a few posts about Clojure in my spare time.
The idiomatic way may be to include the file(s) in the classpath and
there is already a `resource` function in clojure.java.io that can
load it from the classpath:
$ lein new foo
$ cd foo
$ mkdir resources
$ catresources/test.txt
hello
world
foo
bar
^D
$ # edit src/foo/core.clj as follows
(ns
You can set :repl-options [:print clojure.contrib/pprint], but that
depends on pprint being required before the repl launches, and I can't
think of a straightforward way to do that. Perhaps adding an :eval-init
entry in project.clj which can contain needed requires like this?
+1
--
You
To get the source form of the function map?:
(read-string (with-out-str (source map?)))
This may not work only when the function has been AOT'ed already. Hope
this helps.
Regards,
Shantanu
On Jul 2, 11:34 am, Oded Badt odedb...@gmail.com wrote:
Hey,
Does anyone know of a way, given a
On Jul 3, 7:52 am, Glen Stampoultzis gst...@gmail.com wrote:
On 3 July 2011 11:26, Mark Engelberg mark.engelb...@gmail.com wrote:
But Clojure's
lack of a fail-fast philosophy has burned me several times, with
hard-to-track-down bugs that were far-removed from the actual cause.
The
On Jul 3, 7:39 pm, Timothy Washington twash...@gmail.com wrote:
I'm using pre / post assertions quite a bit in a project I'm building. And I
too would love to see better or custom error messages for each assertion.
That should be possible with a macro. For example, I use this:
On Jul 4, 12:57 am, Konrad Hinsen konrad.hin...@fastmail.net wrote:
I am looking for a build tool that fulfills the following requirements:
1) Must handle Clojure namespaces that are AOT-compiled.
2) Must handle Clojure namespaces that are not AOT-compiled.
3) Must handle Java source code
(ns leiningen.sub
(:use [leiningen.core :only [apply-task task-not-found]]))
(defn sub [task-name args]
(doseq [project (projects-in-dir)]
(apply-task task-name project args task-not-found)))
Implementation of projects-in-dir left as an exercise for the
I have seen this local JAR thing coming up far too often, so I sat
down and wrote this:
https://github.com/kumarshantanu/lein-localrepo
Can somebody try this and let me know if it works?
Regards,
Shantanu
On Jul 11, 11:35 pm, finbeu info_pe...@t-online.de wrote:
Hi Phil,
leiningen is really
On Jul 12, 4:24 am, Asim Jalis asimja...@gmail.com wrote:
On Tue, Jul 5, 2011 at 6:35 AM, Stephen C. Gilardi squee...@mac.com wrote:
I would argue that the ~/.m2 repository is nearly as easy to work with as
any other local, on-disk scheme one might envision and has the benefit of
It would be ideal if it could be run outside of the project structure, as
would be the case if an additional arity was added to the install function
in leiningen.install.
Thanks for the report -- I have pushed version 0.1.1 so it should now
be possible to install it as a plugin and run from
On Jul 12, 1:17 pm, finbeu info_pe...@t-online.de wrote:
Hi Shantanu,
thanks a lot for that! Looks great. I just downloaded it, but now lein
doesn't work anymore. It fails on windows using lein.bat.
It appears you are using Lein 1.6.0, which has a bug related to
RobertHook. Can you try
workaround otherwise, or in the interim.
Thanks
Tim Washington
twash...@gmail.com
416.843.9060
On Sun, Jul 3, 2011 at 11:42 AM, Shantanu Kumar
kumar.shant...@gmail.comwrote:
On Jul 3, 7:39 pm, Timothy Washington twash...@gmail.com wrote:
I'm using pre / post assertions quite
1 - 100 of 487 matches
Mail list logo