Hi,
Am Dienstag, 5. Juli 2011 18:55:48 UTC+2 schrieb Ken Wesson:
I'd be very interested to know how one checks out a file from a CVS
repository without cvs-pserver running. You do a cvs checkout whatever
at the command prompt, the command interpreter runs the cvs client,
and the cvs client
On Tue, Jul 5, 2011 at 2:58 PM, David Nolen dnolen.li...@gmail.com wrote:
On Tue, Jul 5, 2011 at 12:59 PM, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 5, 2011 at 9:01 AM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
In general, I have found that namespaces should be larger than my
On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla alessiosta...@gmail.com wrote:
On 5 Lug, 18:49, Ken Wesson kwess...@gmail.com wrote:
1. A too-large string literal should have a specific error message,
rather than generate a misleading one suggesting a different type of
problem.
There is no
On 6 Jul 2011, at 06:35, jlk wrote:
I've been playing around with math in clojure lately and have run up
against a few hurdles that I'm not sure how to overcome, any help
would be appreciated! Mostly I've been trying to use the apache
commons math library (http://commons.apache.org/math/), but
On Wed, Jul 6, 2011 at 1:16 AM, Peter T ptaoussa...@gmail.com wrote:
Does the file you are evaluating have more than 65535 characters?
Nope. It's about 1400 LOC and not syntactically unique (no unusually
long constants, etc.). It's also not the longest ns in the project:
the longest is
On Wed, Jul 6, 2011 at 2:06 AM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am Dienstag, 5. Juli 2011 18:55:48 UTC+2 schrieb Ken Wesson:
I'd be very interested to know how one checks out a file from a CVS
repository without cvs-pserver running. You do a cvs checkout whatever
at the command
Hi,
Am Mittwoch, 6. Juli 2011 09:23:08 UTC+2 schrieb Ken Wesson:
Maybe by doing a “cvs -d /path/to/your/local/repository/directory
checkout”?
(without having an ancient cvs around to test...)
How would that be implemented, though? Without the server running to
enforce mutual exclusion and
Don't know if it counts as large, but I'm running a 20,000+ LOC
project for a 100%-Clojure web app at www.wusoup.com.
My 2c: I'm not an experienced developer by any stretch of the
imagination; this is something I'm working on completely alone, and
yet I've so far found the whole thing incredibly
On Wed, Jul 6, 2011 at 3:14 AM, Konrad Hinsen
konrad.hin...@fastmail.net wrote:
For a Clojure approach to this specific problem, see
http://clojure.github.com/clojure-contrib/complex-numbers-api.html
which is based on the generic arithmetic from
On Wed, Jul 6, 2011 at 3:49 AM, Peter Taoussanis ptaoussa...@gmail.com wrote:
Can't really comment on how easily Clojure works for large groups of
developers as such. The flexibility thing might start losing it's
charm when you have 10 different coding styles competing with one
another under
On 6 July 2011 08:06, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am Dienstag, 5. Juli 2011 18:55:48 UTC+2 schrieb Ken Wesson:
I'd be very interested to know how one checks out a file from a CVS
repository without cvs-pserver running. You do a cvs checkout whatever
at the command prompt, the
On Wed, Jul 6, 2011 at 3:33 AM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am Mittwoch, 6. Juli 2011 09:23:08 UTC+2 schrieb Ken Wesson:
How would that be implemented, though? Without the server running to
enforce mutual exclusion and detect edit collisions and everything,
the whole notion
On 6 Jul, 2011, at 9:58 , Ken Wesson wrote:
I wonder if generic math should become part of core for 1.4?
Not really the most important question for now - what matters more is how
generic math should best be implemented in Clojure. I don't think generic math
should become the default (i.e.
On 6 July 2011 09:23, Ken Wesson kwess...@gmail.com wrote:
On Wed, Jul 6, 2011 at 2:06 AM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am Dienstag, 5. Juli 2011 18:55:48 UTC+2 schrieb Ken Wesson:
I'd be very interested to know how one checks out a file from a CVS
repository without
On Tue, Jul 5, 2011 at 3:35 PM, Bassel Hajj basselh...@gmail.com wrote:
(map #(get % [45]) d)
Gah. Please don't quote the whole thing when replying to a digest.
Preferably don't use digest mode if you're going to reply a lot anyway
as replying to digests breaks threading for those of us whose
On Wed, Jul 6, 2011 at 4:23 AM, Konrad Hinsen
konrad.hin...@fastmail.net wrote:
On 6 Jul, 2011, at 9:58 , Ken Wesson wrote:
Multimethods of course are too slow for core arithmetic functions but
we have protocols now and when a protocol is implemented inline in a
datatype it runs as
On 6 July 2011 10:14, Ken Wesson kwess...@gmail.com wrote:
On Wed, Jul 6, 2011 at 3:33 AM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am Mittwoch, 6. Juli 2011 09:23:08 UTC+2 schrieb Ken Wesson:
How would that be implemented, though? Without the server running to
enforce mutual exclusion
On Wed, Jul 6, 2011 at 4:30 AM, Michael Wood esiot...@gmail.com wrote:
On 6 July 2011 10:14, Ken Wesson kwess...@gmail.com wrote:
Sorry, but I think version control and, particularly, dealing with
edit collisions is not something you can solve as easily as just
slapping a lock onto each file
On 6 July 2011 10:37, Ken Wesson kwess...@gmail.com wrote:
On Wed, Jul 6, 2011 at 4:30 AM, Michael Wood esiot...@gmail.com wrote:
On 6 July 2011 10:14, Ken Wesson kwess...@gmail.com wrote:
Sorry, but I think version control and, particularly, dealing with
edit collisions is not something you
Hi,
Am Dienstag, 5. Juli 2011 16:15:12 UTC+2 schrieb faenvie:
you plugin really rocks.
Thanks. Glad it helps. :)
have you thought about contributing clojuresque as 'clojure-plugin'
for gradle to the gradle project ? so that it will be more integrate
and managed like ... say the
What you say especially resonates with me regarding the 'ease of use' wrt
hammering code in a highly iterative/productive way, and I have approached a
number of 'enterprise' size solutions in exactly that way with extremely
robust results (IMO of course :-)).
On 6 July 2011 08:49, Peter
Sorry to not get back at you earlier. I was on vacation.
iarr stands for internal arrow, it was created because the arr function
cannot be used inside the Arrow record. As of the rearrangement of the arrow
protocol, it is deprecated.
The ||| function is definitely the most confusing, but I added
On Jul 5, 11:07 pm, faenvie fanny.aen...@gmx.de wrote:
note on the original posting:
First, he shouldn't be porting Java code to clojure, Second, Clojure IS
fundamentally different from Java, and third, such said users who
don't want to touch Java should not touch Clojure.
to port
On 5 Jul, 2011, at 20:38 , Laurent PETIT wrote:
a) Select your project's node in the Package Explorer
b) Trigger its contextual menu, select Run as, select Clojure Application
I *insist* (*) : you must trigger the Run from the project's node.
Only with the project's node will the incremental
On Tuesday, July 5, 2011 8:08:51 PM UTC+2, Sean Corfield wrote:
It might be an interesting community exercise to examine the 23 GoF
patterns and discuss whether they are applicable in an FP world and,
if a pattern _is_ still applicable, what it would look like?
Hi Sean,
take a look at
Hello folks.
I just pushed out Leiningen 1.6.1! http://bit.ly/lein-news
Highlights in this release include:
* New search task: find dependencies in all remote repositories (not
just clojars) from the command-line.
* New retest task: re-run only the tests that failed in the last run.
* New
On Wed, Jul 6, 2011 at 3:18 AM, Johan Gardner jgard...@vikingstorm.com wrote:
What you say especially resonates with me regarding the 'ease of use' wrt
hammering code in a highly iterative/productive way, and I have approached a
number of 'enterprise' size solutions in exactly that way with
Hi Phil,
Is it an intention or a bug that dev-dependencies are being copied into
lib/dev when :local-repo-classpath is true?
Regards, Sergey.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Sergey Didenko sergey.dide...@gmail.com writes:
Is it an intention or a bug that dev-dependencies are being copied
into lib/dev when :local-repo-classpath is true?
This is necessary since those dependencies need to be available to
Leiningen's own process, which has to be launched before
On 6 Lug, 09:07, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla alessiosta...@gmail.com
wrote:
On 5 Lug, 18:49, Ken Wesson kwess...@gmail.com wrote:
1. A too-large string literal should have a specific error message,
rather than generate a misleading
On Jul 6, 10:42 am, Phil Hagelberg p...@hagelb.org wrote:
Hello folks.
I just pushed out Leiningen 1.6.1!http://bit.ly/lein-news
Highlights in this release include:
* New search task: find dependencies in all remote repositories (not
just clojars) from the command-line.
* New retest
IMHO new people only will benefit from installing lein. It's very simple in
basic usage.
It can be used both from command line and with IDE.
Though I prefer my own scripts for starting REPL with readline instead of
lein repl.
It can be used with Enclojure by running lein pom every time you
On Wed, Jul 6, 2011 at 3:28 PM, Alessio Stalla alessiosta...@gmail.com wrote:
On 6 Lug, 09:07, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla alessiosta...@gmail.com
wrote:
On 5 Lug, 18:49, Ken Wesson kwess...@gmail.com wrote:
1. A too-large string
Greetings,
PragPub for July 2011 is a Clojure edition. You can read it at
http://pragprog.com/magazines/2011-07/content
Enjoy,
--
Miki
--
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
Conrad Taylor conra...@gmail.com writes:
Hi, should people new to Clojure install tool? Is this something that
mostly used within the command line or IDE?
Yes, I think newcomers would benefit from installing it. Clojure is not
like most languages in that it is not batteries included--it's
Hello,
I wanted to let everyone know about a tool I have been working on. I'm
calling it gantry (a type of crane that I see every day on my commute
on BART to SF and inspired by crane). I started working on it after
seeing crane (https://github.com/getwoven/crane) and seeing the
possibilities
I'm on a Windows machine. Does the output below indicate that I need
something like cygwin? Thanks in advance!
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] Running provisioner: Vagrant::Provisioners::Shell...
[default] stdin:
On Jul 5, 7:30 pm, Sean Corfield seancorfi...@gmail.com wrote:
On Sun, Jul 3, 2011 at 8:04 PM, Sean Corfield seancorfi...@gmail.com wrote:
On Sun, Jul 3, 2011 at 3:34 PM, James Keats james.w.ke...@gmail.com wrote:
For example I suggest you look at this video/transcript and pay
attention
I've been using Clojure on and off for a whilecurrently off,
though not because of the language itself. The thread now seems to
have moved in a different direction, but I have to say (looking at the
Seajure and Y Combinator threads) that Steve Yegge has some good
points. And ending up here
I agree that namespaces should be designed to be consumed, but that can be
pretty taxing on the developer. In my libraries, I tend to split the
functions into whatever sub-namespaces I want to keep the organization easy
for me, and then import all the functions I want to expose into a
nchubrich nchubr...@gmail.com writes:
A few people could spend a few tens of hours making things easier for
everyone else, thereby saving thousands of man-hours (isn't this
supposed to be what programming is about in the first place?), and yet
it doesn't happen.
Really? It doesn't happen?
Hi, what's the correct way to define an else clause of a cond form?
For example,
a)
(cond
(= total 20) 8.75
(or (amount 20) (= country US) 9.75)
(else 10.0))
b)
(cond
(= total 20) 8.75
(or (amount 20) (= country US) 9.75)
:default 10.0)
c)
(cond
(= total 20) 8.75
I don't have access to a windows machine to help you debug this, but
this is squarely an issue with the vagrant installation. I would
suggest reading
http://vagrantup.com/docs/getting-started/setup/windows.html
As a starting point. Vagrant related channels should be able to help
you further (but
And ending up here with a thread titled stand firm
against... seems to be exactly the sort of community problem that he
is worried about.
To be fair, this post and its title were the work of an individual who has
only been in this community for about 3 weeks. And while that individual,
and
I believe (d) is considered the idiomatic way*. Btw, I think the second
case may not be written correctly; if the intended logic is that 9.75 should
be returned when either amount 20 or country = US, the code should look
something like this:
(cond (= total 20) 8.75
(or ( amount 20) (=
In addition to Benny's suggestion - I will suggest, for future
reference, that the ClojureDocs website does an brilliant job in
showing some examples. It really is a valuable resource that I've come
to rely on.
http://clojuredocs.org/clojure_core/clojure.core/cond
And what's interesting to note
In the default terminal of KDE linux, konsole, when I am using REPL I
cannot scroll up down. When I get a long message I can only read the last
lines. Is there any way to scroll up down the REPL in konsole (or other
linux terminal)? (I think it is possible in emacs or vim, but I am
interested
I haven't had any issues in gnome-terminal, xterm, or iterm2. I suggest
trying another terminal to see if it's a problem with konsole or your setup.
Cheers,
Aaron Bedra
--
Clojure/core
http://clojure.com
On Wed, Jul 6, 2011 at 9:21 PM, Antonio Recio amdx6...@gmail.com wrote:
In the default
On Jul 6, 6:07 pm, Benny Tsai benny.t...@gmail.com wrote:
I believe (d) is considered the idiomatic way*. Btw, I think the second
case may not be written correctly; if the intended logic is that 9.75 should
be returned when either amount 20 or country = US, the code should look
something
With xterm works fine.
Are other people with konsole?
--
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 - please be patient with your
first
I have discovered the cause of the problem, it is screen. When I am using
repl with screen I cannot scroll up down with konsole or xterm. Without
screen works fine in konsole or xterm.
Is there other people with problem with screen and scroll down up repl?
--
You received this message
To Phil: I am certainly not complaining about your efforts on
Leiningen, Swank, etc. I appreciate them and use themthey have
already made things vastly easier for people, and the problems with
setting up Emacs, certainly, are probably more to do with Emacs
itself. I am just pointing out that
Conrad,
The syntax of 'cond' is actually pretty straightforward. Following the symbol
'cond' you have pairs of predicate forms and consequent expressions. The 'cond'
form evaluates each predicate in turn until one evaluates to true and then
returns the value of the corresponding consequent
On Wed, Jul 6, 2011 at 10:06 PM, nchubrich nchubr...@gmail.com wrote:
As to making contributions, I just pointed out an example of someone
who made a contribution and was ignored.
Does the term tl;dr mean anything to you? I doubt very many people
got that far in the wall of text you posted
On Wed, Jul 6, 2011 at 9:40 PM, Antonio Recio amdx6...@gmail.com wrote:
I have discovered the cause of the problem, it is screen. When I am using
repl with screen I cannot scroll up down with konsole or xterm. Without
screen works fine in konsole or xterm.
Is there other people with problem
It did go on too long. I hope when someone \does read it, they will
see I am not being wholly unreasonable.
On Jul 6, 7:21 pm, Ken Wesson kwess...@gmail.com wrote:
On Wed, Jul 6, 2011 at 10:06 PM, nchubrich nchubr...@gmail.com wrote:
As to making contributions, I just pointed out an
On Jul 6, 5:34 pm, Conrad Taylor conra...@gmail.com wrote:
Hi, what's the correct way to define an else clause of a cond form?
For example,
a)
(cond
(= total 20) 8.75
(or (amount 20) (= country US) 9.75)
(else 10.0))
b)
(cond
(= total 20) 8.75
(or (amount 20) (=
Could you please post the entire form, including the code surrounding the
cond form (since total, amount, and country need to be defined somewhere)?
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
And I thought my posts were long :)
Luc P.
On Wed, 6 Jul 2011 19:26:04 -0700 (PDT)
nchubrich nchubr...@gmail.com wrote:
It did go on too long. I hope when someone \does read it, they will
see I am not being wholly unreasonable.
On Jul 6, 7:21 pm, Ken Wesson kwess...@gmail.com
On Jul 6, 7:16 pm, David Sletten da...@bosatsu.net wrote:
Conrad,
The syntax of 'cond' is actually pretty straightforward. Following the symbol
'cond' you have pairs of predicate forms and consequent expressions. The
'cond' form evaluates each predicate in turn until one evaluates to true
On 7 July 2011 09:39, Zach Tellman ztell...@gmail.com wrote:
I agree that namespaces should be designed to be consumed, but that can be
pretty taxing on the developer. In my libraries, I tend to split the
functions into whatever sub-namespaces I want to keep the organization easy
for me, and
I am using a vim script called
Viclehttp://www.vim.org/scripts/script.php?script_id=2551to send lines to
screen repl. This is the reason why I use screen.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Jul 6, 7:33 pm, Benny Tsai benny.t...@gmail.com wrote:
Could you please post the entire form, including the code surrounding the
cond form (since total, amount, and country need to be defined somewhere)?
Benny, that was just sample code to zero in on the initial issue. I'm
working
through
You have some rogue text cluttering your cond statement.
Remove the question mark... or whatever this is...

and you'll be fine.
On Jul 6, 8:58 pm, Conrad Taylor conra...@gmail.com wrote:
On Jul 6, 7:33 pm, Benny Tsai benny.t...@gmail.com wrote:
Could you please post the entire form,
On Wed, Jul 6, 2011 at 11:06 PM, Tim Robinson tim.blacks...@gmail.com wrote:
You have some rogue text cluttering your cond statement.
Remove the question mark... or whatever this is...

and you'll be fine.
Whatever WHAT is? There's nothing in your post there but three blank lines.
--
On Jul 6, 2011, at 10:58 PM, Conrad Taylor wrote:
On Jul 6, 7:33 pm, Benny Tsai benny.t...@gmail.com wrote:
Could you please post the entire form, including the code surrounding the
cond form (since total, amount, and country need to be defined somewhere)?
Benny, that was just sample code
Lol. not sure what to tell you... on Mac OSX Firefox I see what looks
like this
--
- OBJ -
--
in the middle line, but really really really small.
and when I copy his text and paste at the repl, I get his same error.
When I remove it its not a problem.
On Jul 6, 9:07 pm,
On Wednesday, July 6, 2011 9:06:30 PM UTC-6, Tim Robinson wrote:
You have some rogue text cluttering your cond statement.
Remove the question mark... or whatever this is...

and you'll be fine.
That's what I encountered too.
Conrad, when I pasted your code into emacs, there was a
On Jul 6, 8:08 pm, David Sletten da...@bosatsu.net wrote:
On Jul 6, 2011, at 10:58 PM, Conrad Taylor wrote:
On Jul 6, 7:33 pm, Benny Tsai benny.t...@gmail.com wrote:
Could you please post the entire form, including the code surrounding the
cond form (since total, amount, and
Antonio,
Apologies if this is obvious to you, but screen eats your scrollback
lines. You can't use the terminal program's scroll bars; you've got to
enter screen's copy mode to view history. It's a little jarring at
first, but with the vim-style navigation keys the ease of copying it
allows,
How's the progress on this project going? During my spare time I've
been reading through some of the logic programming literature, trying
to learn about this, but there is still much to learn. While I could
spend hours continuing to read the literature, I feel it might be more
productive to get
On Wed, Jul 6, 2011 at 7:21 PM, Ken Wesson kwess...@gmail.com wrote:
Does the term tl;dr mean anything to you?
I'll remember this date - I find myself really liking / agreeing with
one of Ken's posts :)
Sorry nchubrich but that really was far too long - I started reading
but couldn't find any
@Perry: You are right, when screen is in copy mode (Ctrl + a + [) the
scrollback works. Solved. Thanks.
--
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
I'll try :) It was really a polemical post for a polemical thread,
but my main points can be extracted here. Feel free to read as many
or as few of them as you are inclined:
* Clojure still ends up turning off new users more than it needs to.
This may be partly an issue of priorities (see the
74 matches
Mail list logo