On Mar 7, 2011, at 11:08 AM, Ken Wesson wrote:
On Sun, Mar 6, 2011 at 11:00 AM, Chas Emerick cemer...@snowtide.com wrote:
Rather than enumerate the places where sexprs are sub-optimal, it would
save a *lot* of time to simply point out that:
(a) Every general-purpose programming language
No, you're exactly right. Leaving aside the obvious utility of being able to
consume non-sexpr-structured content/data, there are plenty of domains for
which s-expressions are not optimal, or even well-suited. Though s-expressions
make things a lot easier for us, they are not the only lens
On Mar 6, 2011, at 9:55 AM, Ken Wesson wrote:
On Sun, Mar 6, 2011 at 8:39 AM, Chas Emerick cemer...@snowtide.com wrote:
No, you're exactly right. Leaving aside the obvious utility of being able
to consume non-sexpr-structured content/data, there are plenty of domains
for which s-expressions
On Mar 5, 2011, at 12:21 AM, Shantanu Kumar wrote:
On Mar 5, 2:17 am, Shlomi Fish shlo...@iglu.org.il wrote:
On Mar 4, 2011, at 4:29 AM, Shlomi Fish wrote:
a Clojure API and a convenient command line utility for
performing quick system admin tasks, text manipulation tasks, command
line
I agree with your sentiment. This has been discussed before here:
http://groups.google.com/group/clojure-dev/browse_frm/thread/fb3a0b03bf3ef8ca
That discussion pretty quickly wandered into the weeds of whether this sort of
usage of protocols was intended or not, fundamentally programmer error
On Feb 28, 2011, at 12:33 PM, Ken Wesson wrote:
As noted earlier in this thread, I have determined that simply making
supers return a sorted set with an appropriate comparator (e.g.
alphabetic) suffices in this regard. (For performance reasons, supers,
or the instance of supers used by
Mark,
Thanks for the input. Some comments inline:
On Feb 27, 2011, at 1:06 PM, Mark Rathwell wrote:
If you have time, I posted a gist containing a data access library I built on
top of Rich's sdb library (data.clj), and the modifications I made to his sdb
library (sdb.clj) for consistent
Thanks very much for the feedback!
On Feb 27, 2011, at 5:59 AM, Gijs S. wrote:
To talk in terms of entities is perhaps too much structure for the
simpledb.
I would agree -- although if the data one is storing in SDB is regular enough,
you should be able to build ORM-esque functionality on
, 3:36 pm, Chas Emerick cemer...@snowtide.com wrote:
Is anyone using the sdb (AWS SimpleDB) client library, originally written by
Rich Hickey in 2009, and then tweaked in various ways by a couple of others
since?
Github repo network here:https://github.com/richhickey/sdb/network
I ask
On Feb 25, 2011, at 7:57 AM, Shantanu Kumar wrote:
Hi,
I want to gather some feedback on how others are dealing with the
issue of pre-conditions raising AssertionError instead of
IllegalArgumentException, whereas the general practice is to catch
java.lang.Exception at the user-facing web
Is anyone using the sdb (AWS SimpleDB) client library, originally written by
Rich Hickey in 2009, and then tweaked in various ways by a couple of others
since?
Github repo network here: https://github.com/richhickey/sdb/network
I ask because I have some ideas for some changes and enhancements
On Feb 24, 2011, at 3:09 PM, David wrote:
I fully recognize that we could call the next iteration of Clojure 2.0
and would be well within our rights. My point has been that calling it
2.0 may give people the impression that developing in the language is
seamless and well-polished. When they
FWIW, I've settled on cemerick.project-name as my default. I think the
project-name.core convention cropped up because of hesitancy of some to use
their name at the top level.
- Chas
On Feb 24, 2011, at 5:48 AM, Paul Richards wrote:
My goodness.. Seems like a can of worms. :p
I think
On Feb 24, 2011, at 5:58 PM, .Bill Smith wrote:
I don't know, but if you introduce breaking changes, you'd better name it
version 2.0.
;-)
It'd actually be nice to establish a stable groupId and artifactId for the
project (rather than the constantly-shifting
I recently found myself wanting to work with Amazon’s Simple Queue Service
(SQS), but I could find no reasonable Clojure library for accessing it. Of
course, AWS’ own Java SDK is the canonical implementation of their APIs (at
least in the JVM space), so putting together a Clojure wrapper that
On Feb 23, 2011, at 4:06 PM, David Jacobs wrote:
- better discovery for existing, well-tested libraries.
You can search on http://clojars.org/. This works well for me.
However, the key to well tested libraries is having people give
feedback if a library breaks or is badly documented or
The numeric coercion functions only impact interop starting in 1.3.0. If you
want a concrete Integer, use (Integer. 0); if you want a float, use (Float.
6.7).
Cheers,
- Chas
On Feb 1, 2011, at 7:12 PM, Jules wrote:
Clojure 1.2.0
user= (type 0)
java.lang.Integer
user= (type (int 0))
On Jan 27, 2011, at 10:41 PM, Ben Mabey wrote:
On 1/27/11 7:24 PM, Ken Wesson wrote:
On Thu, Jan 27, 2011 at 6:24 PM, Mark Engelberg
mark.engelb...@gmail.com wrote:
Records don't have serialization yet, do they?
user= (defrecord Foo [n])
user.Foo
user= ((supers Foo)
I'm relying entirely on memory at the moment, but there are two answers to this
question.
First, Sonatype's validation of -sources.jar and -javadoc.jar aren't as
stringent as you might expect. That is, the OSS/central repos' validation
routines appear to check for the existence of those
On Jan 18, 2011, at 8:54 PM, Lee Spector wrote:
Also BTW I saw no clear performance improvement (relative to the overall
runtime of my system); some numbers on that are also below.
A perf differential will be seen if slot access is a significant portion of the
algorithms in question. IIRC,
On Jan 18, 2011, at 3:22 AM, Ken Wesson wrote:
I could use the new-generic-file option to create files with the .clj
extension and maybe I'd even get Clojure syntax highlighting and
indenting in the editor if I did so; I didn't bother to check. Lack of
any apparent way to launch a project
On Jan 18, 2011, at 2:01 PM, Ken Wesson wrote:
Tangentially, IMO it'd be nice if tooling troubleshooting discussions didn't
hit this list at all, since there are presumably mailing lists and other
forums specific to each toolset.
Your email is the first place that I encountered the url
On Jan 18, 2011, at 5:38 PM, Lee Spector wrote:
If I recall correctly the lack of nil defaults was indeed one of the things
that I didn't like about records (I think this was leading to exceptions in
my code until I patched around it), and it's even possible that the IFn thing
meant that
links below.) http://clojure.org/libs
A lib name is a symbol that will typically contain two or more parts
separated by periods.
http://groups.google.com/group/clojure-dev/browse_frm/thread/00b1c6971c3b3394
Chas Emerick wrote:
First, namespacing is good. Your foobar library won't have the same
On Jan 13, 2011, at 3:59 PM, Steve Miner wrote:
On Jan 13, 2011, at 3:16 PM, Chas Emerick wrote:
Just to clarify my position (it's funny to see one's self quoted out of the
blue from an old thread!), I'm not at all suggesting java naming
conventions when it comes to namespacing
Indeed, I use Eclipse + counterclockwise as well -- to the point of
contributing to it of late. IMVHO, the Eclipse + counterclockwise combination
is the one that has the most potential in the IDE space (for those of us that
can't bear to work with emacs).
Check out the v0.2.0 RC[1] that went
debug into
clojure's internal classes as well, to get some insight into what was
going on.
On Jan 10, 6:37 am, Chas Emerick cemer...@snowtide.com wrote:
Indeed, I use Eclipse + counterclockwise as well -- to the point of
contributing to it of late. IMVHO, the Eclipse + counterclockwise
To expand on this:
user= (defn try [] 5)
#'user/try
user= (try) ; `try` alone is resolved to the special form
nil
user= (#'try) ; obtaining the `try` var works just fine
; (vars currently delegate function calls to their values)
5
user= (@#'try) ; explicitly deref'ing the fn from
Clojure's vars maintain bindings in ThreadLocals[1]. I'm pretty sure
accessing ThreadLocals of other threads can't be done. Looking at
ThreadLocal and Thread sources, you might be able to dig around
private and package-private fields to get at them. Generally a bad
idea.
FWIW, the Enclojure
The :as option in destructuring forms binds the original value being
destructured -- no entire map is being formed in the background ahead of time.
So, build that entire map as you require; e.g.:
= (let [{:keys [a] :as b} (merge {:b 3} {:a 4})] b)
{:a 4, :b 3}
- Chas
On Jan 4, 2011, at 7:38
On Jan 2, 2011, at 9:13 AM, Marek Kubica wrote:
But in theory it could be posible to collect run-time data in one run,
then JIT code at startup, using that collected data and current
procesor architecture.
Something like this is already used in practice, it is called
Profile-Guided
On Jan 1, 2011, at 2:20 AM, Ken Wesson wrote:
I use Enclojure/NetBeans myself, but it occurred to me to check out
the current state of its Eclipse counterpart.
But I can't find it anywhere. Google returns tons of results, of
course, but they're all third-party results except the first,
On Dec 31, 2010, at 5:53 PM, Mike K wrote:
OK, I understand the difference in behavior between the two maps. But
why is chunked-seq? incorrect?
Also, Chas Emerick stated in another discussion that ranges always
produce chunked seqs, but the value of (chunked-seq? (range 100))
seems
Yes, that's intentional – implementing IFn is (as you can see) orthogonal to
implementing IPersistentMap, IPersistentCollection, etc.
Of course, keyword access of record slots is most idiomatic, e.g. (:my-slot
some-record)
If you'd like to pass around a function that accesses a record, there's
Java's LinkedHashMap provides the hook necessary to implement a simple LRU
cache. Here's some code where we use LHM in as an LRU cache, in service of
providing a variation on the memoization concept:
https://gist.github.com/747395
Whether what's there is sufficient for your needs is another
On Fri, Dec 31, 2010 at 12:25 AM, ehanneken ehanne...@pobox.com wrote:
I spent a long time debugging some Clojure code yesterday. The
essence of it looked similar to this:
(defn items []
(mapcat expensive-function (range 0 4000 100)))
. . . (take 5 (items)) . . .
expensive-function
On Dec 29, 2010, at 1:28 AM, Mark Engelberg wrote:
On Tue, Dec 28, 2010 at 10:15 PM, David Nolen dnolen.li...@gmail.com wrote:
Even in in a single threaded context raw insert performance isn't the final
word. What if you want to be able to deliver a snapshot for reporting?
What if you
On Dec 22, 2010, at 4:58 AM, Laurent PETIT wrote:
There's also this issue raised in the bug tracker (by Chas Emerick I presume
?) which is about adding a nice java facade for this kind of interop (and
thus also ensuring some independance towards clojure internals).
What about bringing
With a huge helping hand from Relevance, the host of the Conj in
October, I'm hoping we can make it possible for Anthony Simpson (you
may know him as Raynes in #clojure irc) to attend the conference.
The blog post tells the story:
http://bit.ly/9dmeDe
I hope you'll check it out, and help
to all!
- Chas
On Sep 10, 2010, at 2:55 PM, Alan wrote:
Did we really get this done in an hour? I haven't been part of the
community for long, but Rayne has been helpful to me already on
#clojure so I was going to donate a bit. Did I already miss my chance?
On Sep 10, 10:39 am, Chas Emerick
On Sep 3, 8:06 pm, Nick Brown nwbr...@gmail.com wrote:
Yeah, I'm in the same boat. A conference I want to attend right in my
backyard and its the same weekend as my high school class reunion...
Everyone's different, but if I were you, I'd opt for just about any
conference compared to going to
On Aug 19, 2010, at 11:25 AM, Rich Hickey wrote:
I'm pleased to announce today the release of Clojure 1.2.
A huge milestone. Thanks, Rich, and to everyone else that has helped,
fretted, argued, and worked to make Clojure and its community what it
is today. I can't wait to see what
No, you can put a breakpoint on any class, regardless of where it's
been loaded from.
In this case, I'd suggest not relying on the line numbers shown in
source dumps. At least in my experience, line numbers in the standard
library source differ from what is shown at runtime. All three Java
IDEs
What error or other message do you get? Also, which MetaModelImpl is
this? I assume it's not the JPA one.
- Chas
On Jul 27, 2010, at 2:38 PM, Sandeep Puri wrote:
The snippet below works fine
GraphDatabaseService neo = new EmbeddedGraphDatabase(dbpath);
MetaModel model = new
Nicolas, just out of curiosity, what program (or class of program(s))
are you interested in that can't be typed in Haskell? I'm always
interested in seeing examples of static typing preventing the
implementation of certain classes of programs, insofar as such things
are an antidote to my
On Jul 20, 2010, at 4:29 AM, Laurent PETIT wrote:
You're right. When ccw will be remotely connected to web server
instances, the current behaviour will be a recipe for disaster. The
middle way is definitely the final target, but providing good
defaults for the smart-reload-on-save should
On Jul 20, 2010, at 9:14 AM, Lee Spector wrote:
On Jul 20, 2010, at 4:18 AM, Laurent PETIT wrote:
Lee, did you remove the automatic build-on-save behavior because
you feared that it would give annoyances to you, or because you
encountered annoyances and wanted to get rid of them ? If the
On Jul 20, 2010, at 8:34 AM, Laurent PETIT wrote:
So e.g. code completion while in the file editor works on a set of
possible completions, and code completion while in the REPL works on
another set of possible completions ? e.g. if I dynamically define a
new var in the REPL, it's not
More specifically, the Sun JVM has an implementation limit of 64k per
classfile. This is almost never exceeded in normal functions, but
can easily be exceeded by generated code, or by very, very large
literals. Either break generated chunks of code into smaller bits or
separate data from
Automatically reloading namespaces into a REPL that I'm actively using
is a very bad idea -- I expect to control what happens within REPLs I
start, and subverting that is decidedly impolite IMO. I can expect to
see odd behaviour when that happens, insofar as I assume new code I've
written
to hear others thoughts.
Let's see how others react to what you wrote !
Cheers,
--
Laurent
2010/7/19 Chas Emerick cemer...@snowtide.com
Automatically reloading namespaces into a REPL that I'm actively
using is a very bad idea -- I expect to control what happens within
REPLs I start
Forgot one thing:
On Jul 19, 2010, at 2:50 PM, Laurent PETIT wrote:
Anyway, I didn't expect you reaction to be soo opinionated, and it's
refreshing to hear others thoughts.
Strong opinions, weakly held, 24/7. ;-)
- Chas
--
You received this message because you are subscribed to the
I can't respond to that, but presumably these issues are irrelevant if
one were using terracotta to coordinate asynchronous independent
computation, e.g. using agents heavily?
- Chas
On Jul 16, 2010, at 8:00 AM, peter veentjer wrote:
To repeat myself again:
The big problem with a MVCC
There are some utilities in clojure.stacktrace that are helpful with
gnarly stacktraces (http://richhickey.github.com/clojure/clojure.stacktrace-api.html
). Various people have tinkered with more sophisticated stacktrace
interpreters of late; clj-stacktrace is the most notable that I've
I think there's a lot of value to having good documentation and
examples available directly in your development environment. I'm not
sure what a reasonable alternative would be for that context other
than having the examples and docs included (or at least, adjacent, as
set-examples!
On Jul 8, 2010, at 10:15 AM, Meikel Brandmeyer wrote:
What happens with the prefix-with-your-domain prefix can be seen on
clojars at the moment. People upload stuff under names they don't own.
There are several vimclojure packages. Not a single of these are
projects on their own right. Just
, Chas Emerick cemer...@snowtide.com wrote:
I think there's a lot of value to having good documentation and
examples available directly in your development environment. I'm not
sure what a reasonable alternative would be for that context other
than having the examples and docs included (or at least
On Jul 9, 2010, at 12:55 AM, B Smith-Mannschott wrote:
command-space on the mac is used by the system to open the spotlight
search field from the menu bar. It would be best not to bind it in
Eclipse as this will mean the user must either rebind the spotlight
shortcut, or your eclipse shortcut
On Jul 6, 2010, at 1:35 AM, Laurent PETIT wrote:
2010/7/6 Sean Corfield seancorfi...@gmail.com:
On Mon, Jul 5, 2010 at 9:24 PM, Sean Corfield
seancorfi...@gmail.com wrote:
No, I hadn't found it painful in my brief run around with CCW over
the
last few days... I hadn't even noticed the
Clojure does use the context classloader by default for its root
classloader (on top of which it sometimes creates new
DynamicCLassloaders). This behaviour is controlled by the value of
*use-context-classloader*, which is true by default.
I don't have any java web start experience, so I'm
On Jul 4, 2010, at 4:10 PM, Laurent PETIT wrote:
I know talk is cheap and beggars can't be choosers, etc., but FWIW
I would prefer to have something close to the default mode but
with tab (or some other key)
The default reindent line keyboard shortcut in Eclipse is Ctrl+I.
Would this be
Take a look at clojure.contrib.graph. It's very basic, but has a nice
generic model.
- Chas
On Jul 2, 2010, at 3:15 PM, Mate Toth wrote:
I'm building a directed graph library, where the nodes has out and
in fields. If I connect a node, let's say:
(node-node n0 n1)
then the node's fields
On Jul 1, 2010, at 9:21 AM, Martin DeMello wrote:
On Thu, Jul 1, 2010 at 6:42 PM, Martin DeMello martindeme...@gmail.com
wrote:
I haven't benchmarked yet, but it's called frequently enough that
it's
probably worth making it efficient. (This is in code that converts a
dictionary to a
On Jun 30, 2010, at 4:09 AM, Paul Moore wrote:
Based on this comment, maybe I could ask an alternative question - can
you suggest where I should go to read some tutorials which would give
me a fast start on just enough Java infrastructure to get
comfortable in Clojure? Most of the Java
access
NetBeans 6.8 downloads here:
On Jun 17, 6:45 pm, Chas Emerick cemer...@snowtide.com wrote:
Indeed, it appears that enclojure andNetBeans6.9 do not mix well.
I've updated the getting started wiki page (http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Netbea
...
) with a note
Not one person has ever said *anything* about Clojure not
interoperating smoothly with Java, or abandoning the JVM. Suggesting,
implying, or speculating about anything otherwise, bluntly or not, is
sort of laughable given how much work Rich has been putting into 1.2
(and later, with the
That's a great first start. My only initial comment would be that
Clojure is a lisp, or maybe a Lisp, but it's definitely not a LISP. ;-)
- Chas
On Jun 30, 2010, at 8:11 PM, Mike Meyer wrote:
Ok, my turn to contribute something more than just messages. Still
just talking, though.
Yes, CCW has automatic indentation at this point.
- Chas
On Jun 29, 2010, at 9:32 AM, Lee Spector wrote:
Thanks Laurent.
Is there automatic Clojure indentation in Counterclockwise now?
I played with it a couple of months ago and saw a lot to like, and
if I recall correctly a lack of
On Jun 28, 2010, at 8:30 PM, Greg wrote:
- Clojure (and some environment for working with it) must be as
friendly and approachable for new users as possible. It is not
an expert's or professional's language, at least in my
conception, and thinking of it that way will doom it to
First, just to gather a gestalt here (names elided as I'm not trying
to single anyone out):
On Jun 28, 2010, at 10:54 PM, XXX wrote:
If you are going to go to all the trouble to work with Clojure, you
might as well be exposed to the reality of a semi-production Clojure
project. Put the
?
No one would ask *you* to use documentation, tools, or other
affordances in order to make using Clojure easier, but don't begrudge
those that wish and ask for such things.
- Chas
On Jun 29, 2010, at 5:03 PM, Brian Hurt wrote:
On Tue, Jun 29, 2010 at 4:22 PM, Chas Emerick
cemer
On Jun 29, 2010, at 6:30 PM, cageface wrote:
On Jun 29, 1:22 pm, Chas Emerick cemer...@snowtide.com wrote:
Any talk about how Clojure might be too much for some, for whatever
reason, is out of bounds IMO. Clojure, as a language, is *simpler*
than just about all of the popular alternatives
On Jun 28, 2010, at 9:13 AM, Meikel Brandmeyer wrote:
Hi,
On Jun 28, 3:06 pm, Chouser chou...@gmail.com wrote:
But after looking into it a bit more, it appears that docstring
is not (yet?) accurate.
Maybe not anymore?
Greg, thanks for this post, it's a helpful perspective. Many of us
have been working on this problem from various angles (though often
uncoordinated, but that's how it goes), and I do what I can. Here's
some general comments/thoughts in no particular order after re-
skimming your post and
Yes, you can load Clojure code from Java and invoke it however you like:
RT.var(clojure.core,
require).invoke(Symbol.intern(your.namespace.here));
And now you can use your clojure fns:
Var myfn = RT.var(your.namespace.here, myfn);
myfun.invoke(arg1, arg2, etc);
I'd like to have a more
Sorry I'm so late to this particular discussion :-/
Why was to-byte-array left behind? It is a bit of an oddball
function, insofar as it doesn't fit into IOFactory or Coercions, but
seems to me like a natural cousin to copy.
- Chas
On May 11, 2010, at 12:16 PM, Stuart Halloway wrote:
On Jun 16, 2010, at 9:21 PM, Michael Gardner wrote:
On Jun 16, 2010, at 7:07 PM, ataggart wrote:
There's a disconnect between the function definition and the
datastructures used by the caller.
Either fix the data structure:
(def args [:bar 2 :baz [:quux]])
then use apply
Or change the
presents a few of these answers).
2010/6/9 Chas Emerick cemer...@snowtide.com:
Following the results from the State of Clojure survey, and some
follow-up
comments from some in #clojure indicating that they, too, would
like to see
a commercially-supported Clojure development environment
Good point. I have a todo waiting for me to figure out how to deliver
some services that HTTP might not be cut out for. It looks like v3.0
servlets have a variety of enhancements in this area, so hopefully
compojure/ring can stand on those shoulders. I've no idea about the
container
James,
First, thank you for all of your work in this area. It is greatly
appreciated. My answers follow:
1. DocuHarvest ( https://docuharvest.com ), which I've already talked
about here. Broadly speaking, it extracts data from documents, and
it's just getting started.
2. Relevant to
There are places where regular folks can be helped (e.g. perhaps
supporting contagious bigs for the normal/fast ops so that the
potentially foreign op-prime notation can be ignored if that's
desirable), but handicapping capability or semantics in any direction
based on vague appeals to
If you're just looking to run a script that happens to be on the
classpath, you can do so by prepending an '@' character to the
classpath-relative path to the script.
So, if a directory foo is on your classpath, and a clojure file you'd
like to run is at foo/bar/script.clj, then you can
Indeed, it appears that enclojure and NetBeans 6.9 do not mix well.
I've updated the getting started wiki page (http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Netbeans_and_Enclojure
) with a note to reflect this, and point directly at the 6.8 download
page.
FYI, there is
, Jim Blomo jim.bl...@gmail.com
wrote:
On Thu, Jun 10, 2010 at 4:32 AM, Chas Emerick
cemer...@snowtide.com wrote:
- Clutch to interface to CouchDB (which we abuse as a message
queue, among
other things)
Can you comment on the choice of Clutch over clojure-couchdb? I've
found clojure-couchdb
form of electronic format is one of their biggest concerns.
Luc P.
Chas Emerick cemer...@snowtide.com wrote ..
Thanks very much, esp. for the 'nice looking' compliment. I've heard
otherwise as well, so we'll have to see what happens when I get a
real designer in to take a crack at things
as well! ) - is that compojure on the backend?
--
Pull me down under...
On Thu, Jun 10, 2010 at 7:21 AM, Chas Emerick
cemer...@snowtide.com wrote:
DocuHarvest is a web application we launched today, built using
Clojure (along with a variety of stellar frameworks and libraries
from
On Jun 10, 2010, at 7:55 AM, Rick Moynihan wrote:
On 10 June 2010 12:32, Chas Emerick cemer...@snowtide.com wrote:
Thanks very much, esp. for the 'nice looking' compliment. I've heard
otherwise as well, so we'll have to see what happens when I get a
real
designer in to take a crack
Last week, many of you were kind enough to participate in a survey I
linked to here and elsewhere, that I awkwardly titled The State of
Clojure, Summer 2010.
I've written up a summary of the results, and linked to the raw survey
result data:
http://bit.ly/dtdAwb
There's a lot of
to pass along the link above, etc.
Have a good weekend,
- Chas
On Jun 2, 2010, at 1:48 PM, Chas Emerick wrote:
I have now been using Clojure as my primary programming language
for almost exactly two years. Clojure 1.2 is nearing release. The
Clojure community is larger than it ever has been
I have now been using Clojure as my primary programming language for
almost exactly two years. Clojure 1.2 is nearing release. The Clojure
community is larger than it ever has been, and shows no sign of
slackening its growth.
It seems like now would be a good time to take stock of where the
We've been able to treat ns declarations *as* declarations for the
most part, which is nice. IMO, last-var-wins pulls the veil away even
more on the fact that namespaces are probably the most pervasively-
stateful part of clojure.
I remember various proposals floating around a long time ago to
On May 5, 3:47 pm, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
On Wed, May 05, 2010 at 08:24:39AM -0700, Chas Emerick wrote:
variety of birds with one stone, and maybe slightly simplify the
mental model that one needs to have in place to understand namespaces.
The model is already quite
Assuming your environment is set up properly w.r.t. classpaths, spring
should work just fine in a REPL. We use spring security for our
compojure webapp, and the spring context starts up as expected in our
enclojure REPLs. FWIW, we do use maven and the clojure-maven-plugin,
which informs
As Clojure moves towards being self-hosted, fewer and fewer of the
data structures will be implemented in Java, thereby ensuring
dependence on the Clojure runtime. Just FYI.
- Chas
On Mar 31, 2010, at 12:56 PM, Krukow wrote:
It would be nice to have a version of the clojure data
Compilation is driven by namespace load-order, so just ensure that you
add a (:require com.foo.IFoo) to the ns declaration where you define
the Foo class.
I seem to remember suggesting that Clojure should implicitly attempt
to require namespaces corresponding to classnames being
If you're not using a parallel garbage collector (which is the case by
default), then generating significant garbage will result in not-
insignificant GC pauses. Allocation itself isn't a synchronous
operation, but the default GC is.
Most java profilers have thread-related tools that allow
On Mar 26, 2010, at 12:59 AM, Per Vognsen wrote:
On Fri, Mar 26, 2010 at 11:50 AM, Chas Emerick
cemer...@snowtide.com wrote:
Because they're common processes that are ideally built once, and
then
reused with minor variation. Library reuse is generally considered
to be a
good thing
On Mar 26, 2010, at 5:35 AM, David Powell wrote:
I often want to add a custom task to a build, just as an example, I
might want to call a Java method in my code after it has built which
will generate a property file to be included in the distribution.
If this was just a make file or some sort
On Mar 26, 2010, at 4:33 AM, Jarkko Oranen wrote:
No, compilation should not be included. You mention make; it is a
macro language, dependency graph walker, shell executor and
up-to-dateness checker. It doesn't do any compilation. It's very bare
bones. It's not at all perfect but it's much
)
Is that the right way to do it?
Thanks,
-Lee
On Mar 26, 2010, at 3:30 AM, mac wrote:
There is a fast Java version of Mersenne Twister here, if you feel
like compiling a java file:
http://cs.gmu.edu/~sean/research/
On 26 mar, 05:43, Chas Emerick cemer...@snowtide.com wrote:
I was going
301 - 400 of 485 matches
Mail list logo