Re: Problems building CounterClockwise

2013-03-02 Thread Gunnar Völkel
I wanted to point you to the developer instructions over here: http://code.google.com/p/counterclockwise/wiki/HowToBuild But apparently they changed 4 days ago. The previous description there worked for me. Try the new description there and if it fails, report an issue on that google code proje

Re: Problems building CounterClockwise

2013-03-02 Thread Laurent PETIT
2013/3/2 Gunnar Völkel : > I wanted to point you to the developer instructions over here: > http://code.google.com/p/counterclockwise/wiki/HowToBuild > But apparently they changed 4 days ago. The previous description there > worked for me. > > Try the new description there and if it fails, report a

Re: Wrong clojure version depending on lein dependencies

2013-03-02 Thread Tassilo Horn
Nelson Morris writes: Hi Nelson, > The chain causing problems for you is: > > [clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] -> > [org.clojure/clojure "[1.2,1.5)"] > > The last one there allows clojure below 1.5, which includes -RC17. As > soon as you bump to to 1.5 it ignores t

Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen

2013-03-02 Thread greg r
Try adding :results value raw to your options. Here is what the org manual says: The results are interpreted as raw Org mode code and are inserted directly into the buffer. If the results look like a table they will be aligned as such by Org mode. org is a fantastic environment for playing wi

Re: Windows MSI installer for a msysGit-compatible Clojure?

2013-03-02 Thread Phil Hagelberg
On Mar 1, 2013 6:01 PM, "AtKaaZ" wrote: > yeah looks like both lein and lein.bat fail with 403 > curl: (22) The requested URL returned error: 403 > Failed to download https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar That error just means you're trying to downlo

Re: Problems building CounterClockwise

2013-03-02 Thread Frank Hale
Thank you. A friend and I were both trying to get it to build for several hours and we were throwing ideas back and forth and neither of us thought to check for a wiki on how to build it on the Google project page. I'll definitely give this a go. On Sat, Mar 2, 2013 at 5:12 AM, Laurent PETIT wrot

Re: [GSoC 2013] CinC

2013-03-02 Thread Ambrose Bonnaire-Sergeant
Is there enough to do here for a few months work? I've added a new project here: http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-ClojureinClojure Feel free to change it Aaron. Thanks, Ambrose On Sat, Mar 2, 2013 at 2:11 PM, Aaron Cohen wrote: > I'd really like to see this h

Enfocus is now 1.0.0 and production ready!

2013-03-02 Thread ckirkendall
After more than a year of use, I am happy to announce that Enfocus has finally reached 1.0.0. Enfocus is a DOM manipulation and templating library written in ClojureScript. It was originally inspired by Christophe Grand's awesome Clojure library, Enlive. Like Enlive, its main focus is on *d

byte-array woes

2013-03-02 Thread Karsten Schmidt
Hi, even though I've using byte arrays many times, I'm still massively confused each time I use them... For example, why does this fail? (byte-array [1 2 3 4]) ClassCastException java.lang.Long cannot be cast to java.lang.Byte clojure.lang.Numbers.byte_array (Numbers.java:1223) I understand int

Re: byte-array woes

2013-03-02 Thread Marko Topolnik
On Saturday, March 2, 2013 6:22:51 PM UTC+1, Karsten Schmidt wrote: > > Is that a bug or can someone please explain why bytes seem to require > special treatment in Clojure? > Calling it a bug wouldn't be entirely fair since it's a missing feature. I'd say this is filable as an enhancement req

Re: Windows MSI installer for a msysGit-compatible Clojure?

2013-03-02 Thread AtKaaZ
nice, thanks. I'll stick with the building it from github, I only tried the self-install to see if I can help On Sat, Mar 2, 2013 at 4:44 PM, Phil Hagelberg wrote: > > On Mar 1, 2013 6:01 PM, "AtKaaZ" wrote: > > yeah looks like both lein and lein.bat fail with 403 > > curl: (22) The requested

lazy seqs overflow the stack?

2013-03-02 Thread Ben Wolfson
Try it and see: (reduce (fn [acc _] (concat acc acc)) '() (range 1750)) blows up with a stack overflow error. Changing the inner expression to (doall (concat acc acc)) avoids the issue, but (obviously) also requires giving up laziness. This is admittedly fairly insanely nested, but I would have

Re: lazy seqs overflow the stack?

2013-03-02 Thread Marko Topolnik
It's a known issue. I guess it could be avoided if some kind of trampolining scheme was introduced instead of the current recursive one in LazySeq.java. On Saturday, March 2, 2013 8:38:24 PM UTC+1, Ben wrote: > > Try it and see: > > (reduce (fn [acc _] (concat acc acc)) '() (range 1750)) > > b

Re: Problems building CounterClockwise

2013-03-02 Thread Laurent PETIT
2013/3/2 Frank Hale : > Thank you. A friend and I were both trying to get it to build for several > hours and we were throwing ideas back and forth and neither of us thought to > check for a wiki on how to build it on the Google project page. I heard you: I've added a README which displays critica

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-02 Thread Frank Siebenlist
> ... > The chain causing problems for you is: > > [clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] -> > [org.clojure/clojure "[1.2,1.5)"] > > The last one there allows clojure below 1.5, which includes -RC17. As > soon as you bump to to 1.5 it ignores the "soft" version in your >

Custom repositories

2013-03-02 Thread BJG145
I'd appreciate it if someone could point me in the right direction re: using custom repositories. I'm interested in using Clojure with LibGDX, but the only links I've found suggest working with Maven... https://code.google.com/p/libgdx/issues/detail?id=1118 http://www.pgrs.net/2011/10/30/using-l

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-02 Thread Dave Ray
I'll push a new release of seesaw this weekend to isolate the issue. It seems like a clj-ns-browser release with the new seesaw version would then be appropriate. Nelson pointed this issue out to me a while ago, but 1.5 seemed so far off at the time. Sorry about the pain. Dave On Sat, Mar 2, 201

Re: byte-array woes

2013-03-02 Thread Karsten Schmidt
Thanks, Marko! I'd count this as a sort of bug though... at least in terms of consistency, since it breaks expected behaviour as established by other common array c'tor functions: (int-array [1 2 3]) => ok (long-array [1 2 3]) => ok (float-array [1 2 3]) => ok (double-array [1 2 3]) => ok (byte-ar

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-02 Thread Nelson Morris
On Sat, Mar 2, 2013 at 4:17 PM, Frank Siebenlist wrote: >> ... >> The chain causing problems for you is: >> >> [clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] -> >> [org.clojure/clojure "[1.2,1.5)"] >> >> The last one there allows clojure below 1.5, which includes -RC17. As >> soon

Re: byte-array woes

2013-03-02 Thread Frank Siebenlist
I just ran into that issue while I was constructing byte-arrays for secure-hash test cases. Ended-up using (byte-array (vector-of :byte 1 2 3 4)) to avoid writing the (byte-array [(byte 1)(byte 2)(byte 3)(byte 4)]). Transparently adding valid byte-number values to a byte-array makes sense and

Re: Faster lein

2013-03-02 Thread Buck Golemon
So to summarize it seems that one of you uses drip, a couple think it's a non-issue, and the rest want to design a new system. I take this to mean that there's no widely accepted solution. I don't/won't use emacs so nREPL.el is out for me. I use vim, so it's most natural for me to have some kin

Re: Faster lein

2013-03-02 Thread Buck Golemon
On Wednesday, February 20, 2013 11:05:19 AM UTC-8, Phil Hagelberg wrote: > > > Softaddicts writes: > > > SSD + fastest laptop in your price range ;) > > lein2 help takes 12 seconds from start to back at command prompt... > > FWIW the help task is basically the worst case scenario for measuring

Re: Faster lein

2013-03-02 Thread Buck Golemon
On Wednesday, February 20, 2013 10:51:55 AM UTC-8, Phil Hagelberg wrote: > > > Buck Golemon writes: > > > Can I use lein1 and expect the various clojure libraries and templates > to > > work? > > Not really. You could use it on your own projects if you stick to a > subset of project.clj that

LEIN_FAST_TRAMPOLINE

2013-03-02 Thread Buck Golemon
For me, this flag currently doesn't do anything to my startup time. Am I doing something wrong? In a `default` template project: $ \time lein versionLeiningen 2.0.0 on Java 1.7.0_10 Java HotSpot(TM) 64-Bit Server VM 8.42user 0.29system 0:02.77elapsed 314%CPU (0avgtext+0avgdata 199728maxresident

Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen

2013-03-02 Thread Mark C
Worked like a charm. Thanks! Babel is fun. I really like the idea of being able to code in multiple languages in one document - and have return values from one feed another. And I just found out you can include TeX too - just starting to play with that. I'd love to hear more about how you use c

Re: Faster lein

2013-03-02 Thread Softaddicts
If you look at the dependencies you are using, the Clojure libs are delivered as source code. This makes sense, the lib creator/maintainer does not have the slightest idea of your target runtime (which JVM implementation, which version,...). There a single version available to all possible target

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-02 Thread Dave Ray
>> As i'm responsible for the clj-ns-browser release... >> And although the dependency issue seems another 2 levels down, can i specify >> anything differently in my project file to prevent this? > > You could add the a similar exclusion for org.clojure/clojure in the > seesaw dependency declarati

Re: Faster lein

2013-03-02 Thread Michael Klishin
2013/3/3 Softaddicts > I want also to investigate if lein itself could be pre-compiled by the same > plugin. > Lein is AOT compiled. You will find compiled versions of Clojure, REPLy, clj-http and other dependencies in the standalone jar. -- MK http://github.com/michaelklishin http://twitter.c

ANN: Seesaw 1.4.3 release

2013-03-02 Thread Dave Ray
Hi, Since it's been a while, thought I'd mention that Seesaw 1.4.3 was just released. You can find release notes here: https://github.com/daveray/seesaw/wiki/Release-Notes Mostly just small maintenance issues. The one good reason to upgrade is if you're planning on using Clojure 1.5 and don't

Re: Faster lein

2013-03-02 Thread Buck Golemon
Thanks Luc. In summary, the current compile system has no smart way to cache compilation steps, even when it (could) know that the dependencies are unchanged? I can see that this might be hard, as the jvm itself, and the version of closure are implicit global dependencies. A fully reliable sys