archive.org to the rescue:
http://web.archive.org/web/20130430195826/http://paudo.posterous.com/clojure-osgi
http://web.archive.org/web/20130430195755/http://paudo.posterous.com/clojure-and-osgi-sitting-in-a-tree
Hth!
--
--
You received this message because you are subscribed to the Google
According to the JLine https://github.com/jline/jline's source code
(v1.0) in
UnixTerminal.javahttps://github.com/jline/jline/blob/jline-1.0/src/main/java/jline/UnixTerminal.java#L355,
echo is disabled with the command *stty -echo* which disables all echoing
in the console (just tried it in a
Hi Guys,
I'm trying to memoize a fairly complicated double recursion, and it's
blowing stack after not terribly many calls.
I've reduced the problem to a simple test case, summing from 1 to n :
user= (clojure-version)
1.5.1
user= (def gauss-recurse (fn [n] (if ( n 1) 0 (+ n (gauss-recurse
Check out my blog article from last year and search for the spot where I
describe the priming the pump trick:
http://programming-puzzler.blogspot.com/2012/11/coin-change-kata-in-racket-and-clojure.html
If the simplest way to write the solution to your problem is to use a
top-down form of
For the past 3 months I've been working as part of my GSoC project,
on a port of the clojure compiler and analyzer to clojure.
Tomorrow the GSoC will end, so this is a report of what I've accomplished
with this project thus far; note that I'm not going to stop working on
CinC now that the GSoC
Nice, but it won't work for me, since I'm trying to avoid computing all the
values in the table, and so I can't use the pump-priming approach. I don't
know what values I'm going to need primed!
I'm sure there are ways round it, but I think they're all complicated and
ugly.
I think I'll
Ah, it turns out that adding this
:jvm-opts [-Xss50M]
to project.clj
gets me about 25000 memoized self-calls, so that will do.
Last time I had to worry about stack size I was programming an 8051 . I'd
forgotten!
Cheers, John.
--
--
You received this message because you are subscribed
On 23 September 2013 00:28, John Lawrence Aspden aspd...@googlemail.comwrote:
Nice, but it won't work for me, since I'm trying to avoid computing all
the values in the table, and so I can't use the pump-priming approach. I
don't know what values I'm going to need primed!
I'm sure there are
Excellent work! To hear CinC is a long term project is music to my ears!
Ambrose
On Mon, Sep 23, 2013 at 4:59 AM, Nicola Mometto brobro...@gmail.com wrote:
For the past 3 months I've been working as part of my GSoC project,
on a port of the clojure compiler and analyzer to clojure.
With memoize there are additional calls (the new function and apply) per
recursion, so I guess that will produce the stack overflow to happen
sooner. You can use memoization once you remove the stack issue with
iteration:
(defn gauss-iter [n]
(letfn [(f [n acc]
(if ( n 1)
Is there anyone out there that is using Clojure(Script) in Salt Lake City
that would like to meetup?
--
--
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
Hi Murtaza,
The short answer is that it's not necessarily that there are pros or cons
between having components know about each other in their constructed vs
started forms- it's that immutability imposes limitations in the way that
components can maintain local references to other components in
James:
It's extremely difficult to overflow the stack in Racket, because the stack
isn't arbitrarily limited to some small value -- it does some tricks so
that the stack is only limited by your total available memory.
For me, having to worry about stack overflows is definitely one of the
biggest
The JLine story is indeed confusing. I
believe https://github.com/jline/jline2 is the current one you want ([jline
2.11] in your project.clj deps). See the forthcoming Clojure Cookbook
Hi Everyone.
I've just pushed a new documentation library for midje tests to clojars.
Its very experimental and a bit of a hack but I'm finding it super useful.
Hope to get some feedback on this library.
Github Page - https://github.com/zcaudate/lein-midje-doc
Generated Documentation -
On Sun, Sep 22, 2013 at 8:54 PM, Mark Engelberg mark.engelb...@gmail.comwrote:
When you're doing memoization and you have a lot of holes in the inputs,
one option is to have two phases to your function. The first phase takes
the initial input and then computes a collection of all the inputs
On Sun Sep 22 21:24:24 2013, Jason Kapp wrote:
Is there anyone out there that is using Clojure(Script) in Salt Lake
City that would like to meetup?
Hi Jason,
I'm currently based in SLC and have been using clojure since 2010 (at
work that is). We've had a couple of false starts of doing a
17 matches
Mail list logo