I had similar issues with Aquamacs.
It went away when I installed Phil's emacs-starter-kit before trying to
install anything else.
Kudos for this great piece of bundle!
Las
sent from my mobile device
On May 25, 2011 8:51 AM, "michele" wrote:
> Thanks, that seemed to work so far.
>
> On May 22
Thanks, that seemed to work so far.
On May 22, 2:34 pm, Alex Ott wrote:
> I think, that lein isn't in your search path. You can add directory
> with lein script explicitly using something like:
>
> (setenv "PATH" (concat "your-lein-dir:" (getenv "PATH")))
>
>
>
>
>
>
>
>
>
> On Sun, May 22, 2011
And this one
https://github.com/technomancy/leiningen/
On May 22, 10:53 am, dokondr wrote:
> Hello,
> I am trying to install Clojure tools on Mac OS X according to the
> instructions:
> "Clojure, Swank, and Leiningen with Emacs on
> Linux"http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.
Have you tried this one?
https://github.com/technomancy/swank-clojure
On May 22, 10:53 am, dokondr wrote:
> Hello,
> I am trying to install Clojure tools on Mac OS X according to the
> instructions:
> "Clojure, Swank, and Leiningen with Emacs on
> Linux"http://riddell.us/ClojureSwankLeininge
On Wed, May 25, 2011 at 1:36 AM, Sunil Nandihalli <
sunil.nandiha...@gmail.com> wrote:
>
> Thats really nice to hear.. but is the version on clojars compatible
> with 1.2 yet?
> Thanks
> Sunil.
I actually spoke a tiny bit too soon. There's one bug related to the
numerics change between 1.2 and 1
On Apr 22, 10:32 pm, Shantanu Kumar wrote:
> > I'm going to be working on clojure.java.jdbc, with Steve Gilardi, and
> > I'd like to get people's feedback on what you like / what you don't
> > like / what you need changed or added in clojure.contrib.sql so that
> > clojure.java.jdbccan become wh
Thats really nice to hear.. but is the version on clojars compatible
with 1.2 yet?
Thanks
Sunil.
On May 25, 9:03 am, David Nolen wrote:
> I know not everyone is adventurous enough to use the 1.3.0 alphas just to
> try out core.logic. I've made the required changes to make it 1.2.0
> compatible.
>
Hi,
I'm the original author of RIncanter, and I apologize for its current state.
Edmund has tracked down the biggest current problem with loading the native
lib portion of the package: it builds a library with a hard-coded path to
the R libs (which may not be correct). I talked to Edmund a coupl
It looks like Clojure 1.1.0 and the corresponding version of contrib
were packaged for Debian. Is the fellow who packaged that still
around? Are there any plans to package 1.2.1 and contrib 1.2.0?
-Phil
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
I know not everyone is adventurous enough to use the 1.3.0 alphas just to
try out core.logic. I've made the required changes to make it 1.2.0
compatible.
Have fun,
David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send emai
On Tue, May 24, 2011 at 8:28 PM, David Nolen wrote:
> On Tue, May 24, 2011 at 7:54 PM, Ken Wesson wrote:
>>
>> IMO, records should support anything maps support -- in particular,
>> they should support near-arbitrary numbers of entries.
>
> If performance is not a concern I don't see the point of
On Tue, May 24, 2011 at 7:54 PM, Ken Wesson wrote:
> IMO, records should support anything maps support -- in particular,
> they should support near-arbitrary numbers of entries.
If performance is not a concern I don't see the point of not justing plain
maps + multimethods. None of these problem
On May 24, 1:28 pm, "J.R. Garcia" wrote:
> I'm having an issue when running clojure-jack-in. I followed the steps
> in the video and once I get to the point of using clojure-jack-in I
> get: "Symbol's function definition is void: locate-dominating-file". I
> am running GNU Emacs 22.1.1 (mac-apple-
On Tue, May 24, 2011 at 5:36 PM, daly wrote:
> I'm surprised that defrecord isn't a hashed trie data structure of
> some sort, allowing the usual 2^32 entries.
For speed, it's a Java class with instance variables for the
predefined keys (and a hash trie for any non-standard-for-that-record
keys t
On Tue, 2011-05-24 at 13:12 -0700, Jules wrote:
>
>
> I think this issue reinforces my belief that arbitrary limits are bad.
>
> Re. defrecord - Should we put the onus on everyone using defrecord to
> manipulate wide datasets to remember that there is an arbitrary limit
> of 19 fields, or put so
Andreas Kostler writes:
> lein install
> or
> mvn
> mvn install:install-file -DgroupId=blub -DartifactId=blub -Dversion=1
> -Dpackaging=jar -Dfile=/path/to/file
Thanks for this. Although I did install maven, I didn't get around to
trying this solution as the simple solution of the recently
add
Mark Rathwell writes:
> Yes, this key was recently added, and is currently only available in the
> development snapshot (1.6.0-SNAPSHOT). You have the most recent stable
> version, 1.5.2, which is what lein upgrade pulls down.
>
> The current development version is available at:
> https://github
Following along in a version of Emacs.app compiled from source works
just fine. It may just be a problem with version 22.1.1 (which is
admittedly pretty old). prefer to run inside of iTerm2, but I can
update emacs.
On May 24, 3:28 pm, "J.R. Garcia" wrote:
> *Note: I'm an emacs n00b!
>
> I'm havi
On Tue, May 24, 2011 at 4:12 PM, Jules wrote:
>
>
> I think this issue reinforces my belief that arbitrary limits are bad.
>
> Re. defrecord - Should we put the onus on everyone using defrecord to
> manipulate wide datasets to remember that there is an arbitrary limit of 19
> fields, or put some
*Note: I'm an emacs n00b!
I'm having an issue when running clojure-jack-in. I followed the steps
in the video and once I get to the point of using clojure-jack-in I
get: "Symbol's function definition is void: locate-dominating-file". I
am running GNU Emacs 22.1.1 (mac-apple-darwin) if that matters
I think this issue reinforces my belief that arbitrary limits are bad.
Re. defrecord - Should we put the onus on everyone using defrecord to
manipulate wide datasets to remember that there is an arbitrary limit of 19
fields, or put some smarts into the defrecord macro ?
I think we are in ag
Yes, this key was recently added, and is currently only available in the
development snapshot (1.6.0-SNAPSHOT). You have the most recent stable
version, 1.5.2, which is what lein upgrade pulls down.
The current development version is available at:
https://github.com/technomancy/leiningen/raw/mast
Aaron Cohen writes:
> On Tue, May 24, 2011 at 3:55 AM, Eric S Fraga wrote:
>> Therefore, I want to tell lein that, for a given project, I have Java
>> packages in, say, ${HOME}/share/classes that I wish to access from
>
>> within that project. Can any body point me in the right direction? I
>>
Sorry, missed this email before my last reply. To contact the maintainers,
there is a contact email address on their organization page:
https://github.com/getwoven
On Tue, May 24, 2011 at 2:33 PM, dudaroo wrote:
> Also, this is probably elementary, but how do I contact the folks at
> woven ab
Phil Hagelberg writes:
Hi Phil,
>> But with a new project created with "lein new myproject" it works
>> fine. Even after changing that new project's deps to clojure
>> 1.3.0-SNAPSHOT.
>>
>> Hm, I wonder what's making the existing project not "jack-innable"...
>
> I think this may be due to a co
Also, this is probably elementary, but how do I contact the folks at
woven about uploading the most current version of the work build to
clojars? :)
On May 20, 5:20 pm, Mark Rathwell wrote:
> A couple things going on here, I think:
>
> First, it looks like maven is having problems communicating w
Hi Mark,
Thanks so much for your help :) But I'm still stumped on this
''work:work:jar:0.2.4-SNAPSHOT'. It seems odd to downgrade the
version to 0.1.2-SNAPSHOT to try to get it to resolve, doesn't it? Or
is there something about downgrading developer versions that I'm not
getting?
Is there a s
On May 24, 10:36 am, Ambrose Bonnaire-Sergeant
wrote:
> On Wed, May 25, 2011 at 12:55 AM, Alex Robbins <
>
> alexander.j.robb...@gmail.com> wrote:
> > What is the difference between
> > (into #{} (for x..))
> > and
> > (set (for x ..))
> > Is one preferred?
>
> I don't think one is preferr
On Wed, May 25, 2011 at 12:55 AM, Alex Robbins <
alexander.j.robb...@gmail.com> wrote:
> What is the difference between
> (into #{} (for x..))
> and
> (set (for x ..))
> Is one preferred?
>
>
I don't think one is preferred over the other in general.
Personally I prefer into, I find it gen
On Tue, May 24, 2011 at 8:37 PM, Ken Wesson wrote:
>
> Amazingly, one thing I didn't see suggested was any variation on the theme
> of
>
> (in occasionally-called function)
>
> (if (zero? (rand-int 100)) (System/exit 127) (whatever should go here))
>
> Nothing, and I mean NOTHING, is harder to
On Tue, May 24, 2011 at 4:18 AM, Meikel Brandmeyer wrote:
> Hi,
>
> maybe subseq to the rescue?
>
> user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3))
> 4
>
> I'm not sure about the perfomance, but I'd think it's fast?
Yes, this is right.
Note you can also walk the other direction using rsubse
Yes, subseq is fast.
On May 24, 1:18 am, Meikel Brandmeyer wrote:
> Hi,
>
> maybe subseq to the rescue?
>
> user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3))
> 4
>
> I'm not sure about the perfomance, but I'd think it's fast?
>
> Sincerely
> Meikel
--
You received this message because you ar
On Wed, May 25, 2011 at 12:20 AM, Mark Engelberg
wrote:
> Scala's approach to comprehensions is to automatically produce the
> same type of collection that is used first in your comprehension.
> Clojure's approach is to always produce a lazy sequence which can then
> be "poured" into the collectio
What is the difference between
(into #{} (for x..))
and
(set (for x ..))
Is one preferred?
Thanks!
Alex
On Tue, May 24, 2011 at 11:20 AM, Mark Engelberg
wrote:
> Scala's approach to comprehensions is to automatically produce the
> same type of collection that is used first in your compre
Dear Laurent,
looks like this helped get the expected output of new version.
Thanks for prompt reply :)
--
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
On Wed, May 25, 2011 at 12:35 AM, Michael Wood wrote:
>
> I'm not entirely sure. I figured it out >2 years ago, but I've
> forgotten now. For me there's an Edit button on the top left. Do you
> have that? Does it allow you to add an entry if you click on it?
>
Ah I got it. You click Edit then
On May 22, 2:34 am, Tassilo Horn wrote:
> But with a new project created with "lein new myproject" it works fine.
> Even after changing that new project's deps to clojure 1.3.0-SNAPSHOT.
>
> Hm, I wonder what's making the existing project not "jack-innable"...
I think this may be due to a conflic
On 24 May 2011 16:50, Ambrose Bonnaire-Sergeant
wrote:
> On Tue, May 24, 2011 at 8:36 PM, Michael Wood wrote:
>>
>> On 24 May 2011 10:43, David Jagoe wrote:
>> > Are you in Nigeria?
>> >
>> > Anyone else on this list in Africa?
>>
>> Yes
>>
>>
>> http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&ms
Hello,
2011/5/24 Bojan Jovičić :
> Dear all,
> I have an issue with FatJar and Clojure/Eclipse/CCW.
>
> I first perform (compile ... to get my file in .class form, and then
> activate FatJar export and get a nice jar.
>
> The issue is that when I run this jar, I get the same output as like before.
Scala's approach to comprehensions is to automatically produce the
same type of collection that is used first in your comprehension.
Clojure's approach is to always produce a lazy sequence which can then
be "poured" into the collection of your choice using "into". Both
approaches have their merits
Dear all,
I have an issue with FatJar and Clojure/Eclipse/CCW.
I first perform *(compile* ... to get my file in *.class *form, and then
activate FatJar export and get a nice jar.
The issue is that when I run this jar, I get the same output as like before.
As if older version of the classes is
On Tue, May 24, 2011 at 8:36 PM, Michael Wood wrote:
> On 24 May 2011 10:43, David Jagoe wrote:
> > Are you in Nigeria?
> >
> > Anyone else on this list in Africa?
>
> Yes
>
>
> http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&msa=0&msid=202393302624302710321.00045972a1deb8de0d96b&ll=-19.47695,23.
Brilliant. Two good solutions. Thanks.
On 24 Maj, 00:44, Phil Hagelberg wrote:
> On May 23, 6:19 am, Rasmus Svensson wrote:
>
> > (defproject foo 1.0.0
> > ...the usual stuff...
> > :aws {:access-key ~access-key
> > :secret-key ~secret-key}
>
> This is good advice,
On Tue, May 24, 2011 at 3:55 AM, Eric S Fraga wrote:
> Therefore, I want to tell lein that, for a given project, I have Java
> packages in, say, ${HOME}/share/classes that I wish to access from
> within that project. Can any body point me in the right direction? I
> assume I need to add somethin
I think I understand what you're looking for. I have the same
concern.
There very best Java book I have found is "The Java Developer's
Almanac"
by Patrick Chan. Volume 2 covers Swing and Volume 1 covers
everything
else. No nonsense, just answers with great examples.
Bill
On May 23, 12:16 pm
Hello there,
the following throws an IOException ("Invalid Argument") in clojure
1.3-alpha7 on an ubuntu machine:
(slurp "/proc/stat")
Apparently creating a BufferedReader on (File. "/proc/stat") does not
work in this case. It *does* however work if I do:
(slurp (java.io.FileReader "/proc/stat"))
On Tue, May 24, 2011 at 6:10 AM, Michael Wood wrote:
> http://thedailywtf.com/Articles/Disgruntled-Bomb-Java-Edition.aspx
>
> user=> (import '(dont.try_this.at_home ValueMunger))
> nil
> user=> (.start (ValueMunger.))
> nil
> user=> (def a 1)
> #'user/a
> user=> a
> 1
> user=> a
> java.lang.Except
On 24 May 2011 10:43, David Jagoe wrote:
> Are you in Nigeria?
>
> Anyone else on this list in Africa?
Yes
http://maps.google.com/maps/ms?ie=UTF8&oe=UTF8&msa=0&msid=202393302624302710321.00045972a1deb8de0d96b&ll=-19.47695,23.818359&spn=46.399738,93.076172&t=h&z=4&iwloc=00045c4ebd01b08917060
--
STM is discussed in this book
The Art of Multiprocessor Programming
http://www.amazon.com/Art-Multiprocessor-Programming-Maurice-Herlihy/dp/0123705916
On May 18, 8:25 am, jaime wrote:
> Hi All,
>
> I have interest in the implementation of STM, anyone who can suggest
> where I can start to find
2011/5/23 Shantanu Kumar :
> Hello Laurent, Quite interesting points there.
>
> Yes, I agree - having confidential config (production etc.) in code
> base is not advisable. The reason I mentioned that though, was because
> I was trying to cover a gamut of workflows the situation may demand.
> One o
2011/5/23 Chas Emerick :
>
> On May 23, 2011, at 3:48 AM, Laurent PETIT wrote:
>
>> So far, the "most" general techniques I can see are : either
>> bundle/repackage your webapp for the target servlet container
>> instance, either pass the path to configuration file(s) via one (or
>> more) JNDI para
> (set (for [x (range 4)] (* 4 x)))
> ;=> #{0 4 8 12}
>
> Does that help?
yes, thank you.
--
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
> Does this actually yield a set in Scala?
yes, it does
> What is p()? A set constructor?
p(i) reads i-nth element from a vector
def selectRow(p: Vector[Int], i: Int) = {
for (i <- (i - i % 9 to i - i % 9 + 8).toSet[Int]) yield p(i)
}
--
You received this message because you are subscri
> The DTD/schema for web.xml files is not small (e.g.
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd). Rather than offering a
> transliteration of a subset of web.xml's elements into sexprs, perhaps it
> would be better to be able to control your web.xml directly, and have
> lein-ring use i
Hi,
try
(set (for [x (range 4)] (* x 4)))
Cheers
Andreas
On 24/05/2011, at 8:40 PM, MarisO wrote:
> Is it possible to use list comprehension to generate a set ?
> For example in scala I can do:
>
> for (i <- (2 to 8).toSet[Int]) yield p(i)
>
> In clojure this
>
> (for [ x (set (range 4))]
On Tue, May 24, 2011 at 6:40 PM, MarisO wrote:
> Is it possible to use list comprehension to generate a set ?
> For example in scala I can do:
>
> for (i <- (2 to 8).toSet[Int]) yield p(i)
>
>
Does this actually yield a set in Scala?
What is p()? A set constructor?
Thanks,
Ambrose
--
You rece
On Tue, May 24, 2011 at 4:10 PM, MarisO wrote:
> Is it possible to use list comprehension to generate a set ?
> For example in scala I can do:
>
> for (i <- (2 to 8).toSet[Int]) yield p(i)
>
> In clojure this
>
> (for [ x (set (range 4))] (* 4 x))
>
> generates a list.
(set (for [x (range 4)] (*
Hi Maris,
`into` is a useful function for this case.
user>> (into #{} (for [ x (set (range 4))] (* 4 x)))
#{0 4 8 12}
You can use it for lists, maps, vectors.
user>> (into {} '([:a "a"] [:b "b"]))
{:a "a", :b "b"}
user>> (into [] '([:a "a"] [:b "b"]))
[[:a "a"] [:b "b"]]
Thanks,
Ambrose
On Tu
Is it possible to use list comprehension to generate a set ?
For example in scala I can do:
for (i <- (2 to 8).toSet[Int]) yield p(i)
In clojure this
(for [ x (set (range 4))] (* 4 x))
generates a list.
--
You received this message because you are subscribed to the Google
Groups "Clojure" gr
The DTD/schema for web.xml files is not small (e.g.
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd). Rather than offering a
transliteration of a subset of web.xml's elements into sexprs, perhaps it would
be better to be able to control your web.xml directly, and have lein-ring use
it when it'
http://thedailywtf.com/Articles/Disgruntled-Bomb-Java-Edition.aspx
user=> (import '(dont.try_this.at_home ValueMunger))
nil
user=> (.start (ValueMunger.))
nil
user=> (def a 1)
#'user/a
user=> a
1
user=> a
java.lang.Exception: Unable to resolve symbol: b in this context
(NO_SOURCE_FILE:0)
a
2
a
1
lein install
or
mvn
mvn install:install-file -DgroupId=blub -DartifactId=blub -Dversion=1
-Dpackaging=jar -Dfile=/path/to/file
On 24/05/2011, at 5:55 PM, Eric S Fraga wrote:
> Hello,
>
> I've trawled the 'net etc. but have not been able to find the answer to
> a simple question: how can I tell
thanks Meikel.. what you suggested might be it..
Sunil.
On Tue, May 24, 2011 at 1:48 PM, Meikel Brandmeyer wrote:
> Hi,
>
> maybe subseq to the rescue?
>
> user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3))
> 4
>
> I'm not sure about the perfomance, but I'd think it's fast?
>
> Sincerely
> Mei
Are you in Nigeria?
Anyone else on this list in Africa?
On Sunday, 22 May 2011, Emeka wrote:
> Okay.
> I live in Africa... maybe we should have online meetups for now.
> Emeka
>
> On Thu, May 19, 2011 at 4:29 PM, David Jagoe wrote:
> On 18 May 2011 18:54, Emeka wrote:
>> David,
>> How is Clo
Hello,
I've trawled the 'net etc. but have not been able to find the answer to
a simple question: how can I tell lein that I want to access classes
from a Java package installed locally on my system but not publicly
available?
If I use "lein repl" from outside a lein project, the class path set u
Hi,
maybe subseq to the rescue?
user=> (first (subseq (sorted-set 1 2 3 4 5 6) > 3))
4
I'm not sure about the perfomance, but I'd think it's fast?
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email t
66 matches
Mail list logo