A while ago I created a small web site based on Clojure. I noticed that
when there was no requests to the site for some period of time (a few
hours) it may take up to 20-30 seconds to process an incoming request.
I only thought that it has something to do with a particular web framework,
but rec
I just came across the issue of getting the StackOverflowError in the
function reading long file and recursively building a list of data.
After I replaced function name with "recur" the problem went away.
Hence a couple of questions. It's the programmer's responsibility to
put recur instead of func
ith a remote image using emacs/tramp in an
uncommon scenario in Clojure community?
On Jul 8, 11:35 am, Trastabuga wrote:
> Hi
>
> When I run "java -jar project-standalone.jar" running swank server in
> it on a remote PC.
> Then when I open my remote *.clj file using tram
Hi
When I run "java -jar project-standalone.jar" running swank server in
it on a remote PC.
Then when I open my remote *.clj file using tramp, connect to the
image with Emacs's M-x slime-connect - everything works well until I
try to go to the function definition (M . or M-x slime-edit-
definition
The (@(resolve 'swank.swank/start-repl) 4006) works well!
Thank you,
Andrei
On May 14, 1:49 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 14.05.2011 um 00:35 schrieb Trastabuga:
>
> > I(defn -main [& args]
> > (do
> > (require 'swank.swank)
>
k you,
Andrei
On May 14, 1:49 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 14.05.2011 um 00:35 schrieb Trastabuga:
>
> > I(defn -main [& args]
> > (do
> > (require 'swank.swank)
> > (swank.swank/start-repl 4006))
> > (run-jetty main-routes {:
I am trying to compile a project with lein uberjar.
My main function looks like:
(defn -main [& args]
(do
(require 'swank.swank)
(swank.swank/start-repl 4006))
(run-jetty main-routes {:port 8080 :join? false})
)
The compiler complains about swank.swank/start-repl because the swank
sym
Hi
I got a problem including swank into the project.
I created a simple test project with "lein new test"
And modified the project.clj and core.clj files so they look like:
project.clj:
(defproject test "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:main test.core
:dependencies [
Hi
How do I get latest clojure and clojure-contrib? I understand now
there is no a single contrib lib, but if you go to
http://dev.clojure.org/display/design/Contrib+Projects and click on
xml project you'll an empty git project.
I tried to use clojre + contrib 1.2 but it lacks support for
javax.xm
Hi
I am eager to try out Clojure for my new web site. But for that I need
XSLT support, like I used to have on Common Lisp (Xuriella XSLT) and
also XPath support (like Plexippus XPath).
I saw the saxon wrapper among the Clojure libraries but in its docs I
couldn't find how they define user extensio
10 matches
Mail list logo