On Sat, Oct 2, 2010 at 6:36 PM, Michael Ossareh wrote:
> What is the recommended manner in which to let your application know its on
> a dev machine?
>
I use an environment variable that determines which config (dev, production,
test) gets loaded.
APPNAME_CONFIG=development lein swank
I don't
I've noticed a bug in my implementation of the durable ref, or "dref"
construct. This is an attempt to add durability to the STM. drefs
have all of the ACI guarantees of refs, with the additional property
of being durable, so changes to the state of the identity are
durable. The API is that ther
On Sat, Oct 2, 2010 at 3:36 PM, Michael Ossareh wrote:
> In java I'd normally have a conf file somewhere, and that had a range of
> issues so I'm wondering if there is something more lispy
Actually it works really well to use the classpath. Leiningen (and
presumably other tools) will place test/
I'd like to announce my Visual Studio 2010 Clojure extension project,
vsClojure. The extension is not yet complete but provides a base for
further enhancements. Currently, it supports syntax highlighting,
auto-indentation, brace matching, a Clojure project type, repl
support, and a few ot
I just submitted a patch for this issue.
On Oct 1, 2:42 pm, ataggart wrote:
> I'm working on the latter right now. Note there's already a ticket
> for the reflection problem:https://www.assembla.com/spaces/clojure/tickets/446
>
> On Oct 1, 12:24 pm, Nicolas Oury wrote:
>
>
>
> > > David pointed
On Fri, Oct 1, 2010 at 17:55, Ross Gayler wrote:
> Hi,
>
> This is probably an abuse of the Clojure forum, but it is a bit
> Clojure-related and strikes me as the sort of thing that a bright,
> eclectic bunch of Clojure users might know about. (Plus I'm not really
> a software person, so I need a
On Oct 2, 4:11 pm, B Smith-Mannschott wrote:
> > However, I can't find the properties functions in clojure-contrib
> > 1.3.0-*. Did I accidentally delete them when transitioning to
> > modularized contrib?
>
> fixed.
>
> https://www.assembla.com/spaces/clojure-contrib/tickets/100
Applied. Thanks
On Fri, Oct 1, 2010 at 13:32, George Jahad wrote:
> For your delectation:
> http://www.vimeo.com/15462015
This is sick! In the good sense!
--
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
Thanks Saul. That's all useful stuff. At this stage I am trying to
simultaneously work out what my requirements should be and map out the
space of implementation possibilities - so it's a matter of casting
the net as widely as possible and kicking the tyres on everything in
kicking range.
Ross
On
What is the recommended manner in which to let your application know its on
a dev machine?
I'm building an app that sends emails based on certain events, however when
I'm developing locally I'd rather it print the email to my log file. I have
a variable in that namespace: *send* which is def'ed to
I follow this thread, but haven't read Clojure's source. I have a
similar question -
http://groups.google.com/group/clojure/browse_thread/thread/46415b89c7b311f6,
but haven't got any responses yet.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
Good question. The jvm debuggers are inherently linenumber oriented
as is the JDI. The question is can we overload the "linenumber"
concept to map more closely to what we want to do with Clojure.
It's on my list of things to explore, but that's getting to be a
pretty long list, and it's not at t
On Sat, Oct 2, 2010 at 19:45, Stuart Sierra wrote:
> On Oct 2, 2:53 am, Shantanu Kumar wrote:
> > I found that the function read-properties is implemented in both
> > c.c.properties and c.c.java-utils -- is this intentional? Which one is
> > recommended, and why?
>
> c.c.properties is deprecated
It's very simple, you only need to
1. create a directory with all needed templates
2. (fleet-ns templates "path/to/that_dir" [:fleet :xml])
3. use templates.* functions just as any other
Give it a try :)
On Sep 2, 1:39 am, Sean Corfield wrote:
> On Wed, Sep 1, 2010 at 2:14 PM, Saul Hazledine wr
On Sat, Oct 2, 2010 at 21:29, B Smith-Mannschott wrote:
>
>
> On Sat, Oct 2, 2010 at 19:45, Stuart Sierra
> wrote:
>
>> On Oct 2, 2:53 am, Shantanu Kumar wrote:
>> > I found that the function read-properties is implemented in both
>> > c.c.properties and c.c.java-utils -- is this intentional? Wh
On Sat, Oct 2, 2010 at 19:45, Stuart Sierra wrote:
> On Oct 2, 2:53 am, Shantanu Kumar wrote:
> > I found that the function read-properties is implemented in both
> > c.c.properties and c.c.java-utils -- is this intentional? Which one is
> > recommended, and why?
>
> c.c.properties is deprecated
On Sat, Oct 2, 2010 at 2:01 PM, Mark Engelberg wrote:
> So I'm thinking it's time to move to another database. Doing a
> websearch, I couldn't really figure out which options are "ready for
> prime-time" with respect to Clojure. For example, searching on
> clojure and couchdb turned up a handful
On Sat, Oct 2, 2010 at 7:32 AM, Albert Cardona wrote:
> I'd like to understand how to properly use "use" with additional
> options, such as :only.
This doesn't directly address your request but it raised a question in my mind:
Should the examples go in the core documentation or is ClojureDocs a
I should add that my needs are fairly simple as databases go. This is
not for a webserver. I just need to locally store data which is too
big to fit in memory, and store it in a durable fashion. Typically,
my data is a uniquely identifying string combined with a number of
numeric attributes. I
I've been using clojure with mongodb for a while now. I found that
using a nosql database system was very freeing and pleasurable,
compared to the python/sqlite combination I'd used before. However,
I'm starting to bump up against some limitations:
1. On my 32-bit Windows machine, mongodb is qui
On Oct 2, 2:53 am, Shantanu Kumar wrote:
> I found that the function read-properties is implemented in both
> c.c.properties and c.c.java-utils -- is this intentional? Which one is
> recommended, and why?
c.c.properties is deprecated in version 1.2.0, replaced by functions
in c.c.java-utils. It'
Andy
Thanks. Makes complete sense when explained!
Thanks for the speedy reply.
On Oct 2, 6:27 pm, Andy Fingerhut wrote:
> user> (def a ["a" "a" "a" "b" "c" "c" "a"])
> #'user/a
> user> (pack a)
> (("a" "a" "a") ("b") ("c" "c") ("a"))
>
> Now calling (map f (pack a)) will cause the function you
user> (def a ["a" "a" "a" "b" "c" "c" "a"])
#'user/a
user> (pack a)
(("a" "a" "a") ("b") ("c" "c") ("a"))
Now calling (map f (pack a)) will cause the function you give as the
first argument of map to be called with each of the elements of the
collection (pack a) in turn. Those elements are,
I just realized the second paste was that of use, not of refer:
user=> (doc refer)
-
clojure.core/refer
([ns-sym & filters])
refers to all public vars of ns, subject to filters.
filters can include at most one each of:
:exclude list-of-symbols
:only list-of-symbols
Hi
I'm new to Clojure so thought that I would work through some basic
examples and decided upon 99 problems (http://aperiodic.net/phil/scala/
s-99/). So far I have got as far as #11 and have become a bit confused
as to why my initial solution does not work.
My test for this problem is
(deftest e
Hi
I'm new to Clojure so thought that I would work through some basic
examples and decided upon the 99 problems (http://aperiodic.net/phil/
scala/s-99/)
I have got as far as #11. My test for this is
;p11
(deftest encodemodified-should-return-list-with-counts-when-more-than-
one
(is (= '((3,"a
Hi,
I'd like to understand how to properly use "use" with additional
options, such as :only.
The current documentation for use says:
=> (doc use)
-
clojure.core/use
([& args])
Like 'require, but also refers to each lib's namespace using
clojure.core/refer. Use :use in
On Oct 2, 2:55 am, Ross Gayler wrote:
> I am looking at the possibility of finding/building a declarative data
> aggregation language operating on a small relational representation.
> Each query identifies a set of rows satisfying some relational
> predicate and calculates some aggregate function
>> Sean, Sean...I was just making fun of your signature. :)
>
> Phew! Just checking...
>
> (I'm on some lists where the response to similar questions has been
> "You want me to do your homework?"...)
The Clojure community is certainly not one of those.
Regards,
BG
--
Baishampayan Ghose
b.ghose
29 matches
Mail list logo