(ns mine
(:use foo)) ; has public symbol bar
What is the proper use/require/refer entry to export foo's bar as mine's
bar without defining a new public bar in mine?
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
:refer`, you can always tell where a symbol comes from.
-S
On Sunday, December 1, 2013 10:10:46 AM UTC-5, Dave Tenny wrote:
(ns mine
(:use foo)) ; has public symbol bar
What is the proper use/require/refer entry to export foo's bar as mine's
bar without defining a new public bar in mine
/sample.project.clj
On Wednesday, November 27, 2013 4:53:02 PM UTC-8, Dave Tenny wrote:
Thanks, I seem to have accomplished what I need for now. It was a bit
frustrating to figure out exactly what I could do in profiles.clj. For
example, I can't find any documentation on :injections, which was key
I'm still learning clojure and wrote this decidedly unfunctional bit of
code as part of a common lisp style DESCRIBE function.
I was wondering what experienced clojure-ers (what's the proper
reference?) might suggest to make this function less ugly.
I realize making a purely functional
What, not conj!urers?
On Sat, Nov 30, 2013 at 6:33 PM, Thomas th.vanderv...@gmail.com wrote:
On Saturday, November 30, 2013 11:17:01 PM UTC, Dave Tenny wrote:
I'm still learning clojure and wrote this decidedly unfunctional bit of
code as part of a common lisp style DESCRIBE function.
I
/PROFILES.mdhttps://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ftechnomancy%2Fleiningen%2Fblob%2Fstable%2Fdoc%2FPROFILES.mdsa=Dsntz=1usg=AFQjCNGPecCbKEDAS5MWZP4qvsqXetVkTw
On Mon, Nov 25, 2013 at 3:34 PM, Dave Tenny dave@gmail.com wrote:
With all my attention on trying to learn things about clojure
With all my attention on trying to learn things about clojure, I've either
missed or forgotten how do to a simple thing.
As I learn clojure I'm writing a few definitions that represent tools I
like to use in development.
What is the simplest way to have those tools present in arbitrary clojure
How much impact would it have on you, Alexander, if the java.jdbc.sql
namespace went away?
I work for Alex and I can say that it wouldn't be such a big deal since
we are already including honeysql, and I would simply swap the built-in
DSL for that where necessary.
I can't speak for him but
on the results of those processes.
Thanks for any pointers!
Dave
--
--
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
Fun reading!
On Monday, November 18, 2013 2:00:02 AM UTC-5, Sean Murphy wrote:
Here are some functional programming job opportunities that were posted
recently:
Clojure Engineers Needed! at Factual
http://functionaljobs.com/jobs/8657-clojure-engineers-needed-at-factual
Cheers,
Sean
Sounds like you've got some of this working smoothly already, so
apologies in advance if any of this is redundant.
Regarding database roles, the way I have it working in one of my simpler
apps with the default interactive form workflow is to set the
credential-fn in the workflow configuration to
Heh--I know exactly what you mean, had the exact same kind of experience
myself many times. In any case, glad you got it working!
(2013/11/18 4:42), wm.mark@gmail.com wrote:
Sometimes you can't see the wood for the trees I guess, I have it
working with this trivial change:
(defn
There's a library for this:
https://github.com/Netflix/Hystrix
and Clojure bindings:
https://github.com/Netflix/Hystrix/tree/master/hystrix-contrib/hystrix-clj
Cheers,
Dave
On Sat, Nov 16, 2013 at 6:35 PM, James Reeves ja...@booleanknot.com wrote:
On 17 November 2013 01:52, Cedric Greevey
.
Cheers,
Dave
On Thu, Nov 14, 2013 at 12:19 PM, Josh Kamau joshnet2...@gmail.com wrote:
Try to create a simple app that just demonstrate the issue. Then send the
sample to the mailing list. Most likely you won't have to send because you
will discover the problem in the process.
Josh
On 14 Nov
), Dave Della Costa wrote:
Hi folks,
friend-oauth2 0.1.0 is out.
https://github.com/ddellacosta/friend-oauth2
Changes:
- adds credential-fn for injecting your own functionality in the
post-3rd-party-authentication stage. Thanks go to Kevin Lynagh
(https://github.com/lynaghk
I was about to be like, oh no, not another one! and then I read the
README and I thought, oh, interesting...
So, kudos on thinking outside the box. I certainly agree with a lot of
the points you've made. I'll definitely be playing around with this.
Cheers,
DD
(2013/11/11 20:10), Kris Jenkins
I don't understand why these things aren't equal.
user= (= (list java.lang.String) (list (class abc)))
true
user= (= '(java.lang.String) (list (class abc)))
false
user= (type '(java.lang.String))
clojure.lang.PersistentList
user= (type (list java.lang.String))
clojure.lang.PersistentList
user=
I should know better, thanks.
On Sunday, November 10, 2013 7:06:13 AM UTC-5, Timo Mihaljov wrote:
On 10.11.2013 14:03, Dave Tenny wrote:
I don't understand why these things aren't equal.
user= (= (list java.lang.String) (list (class abc)))
true
user
both into the
friend-oauth2 lib and the examples.
Please feel free to drop me a line if you have questions or comments.
And of course bug reports/feature requests/patches/etc. welcome.
Cheers,
Dave
--
--
You received this message because you are subscribed to the Google
Groups Clojure group
As a person who has recently been dabbling with clojure for evaluation
purposes I wondered if anybody wanted to post some links about parallel
clojure apps that have been clear and easy parallelism wins for the types
of applications that clojure was designed for. (To contrast the lengthy
Rich, thanks for the recommendation--will definitely be checking this
book out, it's just what I need.
Thanks,
DD
(2013/11/05 13:03), Rich Morin wrote:
When I first started looking into Clojure, I was dismayed to find that
it is deeply entangled with Java (which I had successfully avoided for
... or the no-sentinel find-based approach:
(if-let [[_ v] (find a-map :b)]
v
(my-foo))
Cheers,
Dave
On Mon, Oct 28, 2013 at 9:08 AM, Alex Baranosky
alexander.barano...@gmail.com wrote:
Or a shorter variant of the sentinel approach:
(let [r (get a-map :b ::unfound)]
(if (= r
Nightcode is also client-side and all Clojure: https://nightcode.info/
Dave
On Thu, Oct 17, 2013 at 7:02 AM, Andy Fingerhut andy.finger...@gmail.comwrote:
The Clojure namespace browser was developed using the Seesaw library:
https://github.com/franks42/clj-ns-browser
On Thu, Oct 17
Link?
(2013/10/13 14:14), Benjamin Vulpes wrote:
Hey all!
I've written a S.O. question about Emacs/ClojureScript REPL integration.
My basic question is:
how ams call compiled functions and execute in browser context?
I love working with Emacs and I also love all of the work that
2010...bummer! That sounds really interesting.
(2013/10/03 22:24), Raoul Duke wrote:
an olide: http://www.starling-software.com/en/tsac.html. i went once
when in town years back. it was fun. wish it were still going on.
--
--
You received this message because you are subscribed to the
to
get more involved with the Clojure community here. I would certainly be
interested in giving a talk too, or putting together some sort of
workshop or something if that appealed. And I'd love to hear more about
core.typed from Ambrose!
Best,
Dave
(2013/10/03 16:43), Ambrose Bonnaire-Sergeant
Well, that would be mighty fine too. :-)
(2013/10/04 9:57), Ambrose Bonnaire-Sergeant wrote:
Only through the magic of the internet! I'll be giving a video
conference talk + QA.
Ambrose
On Fri, Oct 4, 2013 at 8:54 AM, Dave Della Costa ddellaco...@gmail.com
mailto:ddellaco...@gmail.com
Hi ronen,
This doesn't address your question re: how do it in pure Clojure, but as
a data point we recently implemented a wrapper for Shiro in Clojure for
use in setting policies on a ring-based web app.
We are using our own solution for checking the access policies on routes
themselves, which
Speaking of, is there anything other than Tokyo.clj (which seems pretty
infrequent based on this: http://atnd.org/event/tokyoclj) going on for
Clojurians in Tokyo? I work remotely, using Clojure, and would love to
get together more frequently with other Clojure developers if possible.
If anyone
Hey,
You have too many colons:
user= (read-string :l/test)
:l/test
Dave
On Tue, Sep 17, 2013 at 4:03 PM, Casper Clausen casp...@gmail.com wrote:
I am reading a bunch of clojure files using the build-in reader (or
tools.reader, it has the same problem) and I am running into a problem
A namespace-qualified keyword has a single colon:
:my-namespace/something
The double-colon is only shorthand for the current namespace:
(in-ns 'my-namespace)
::something - :my-namespace/something
Dave
On Tue, Sep 17, 2013 at 4:58 PM, Casper Clausen casp...@gmail.com wrote:
The double
Cool. You learn something new every day :)
On Tuesday, September 17, 2013, Brandon Bloom wrote:
The double-colon is only shorthand for the current namespace:
Or other namespaces via an alias:
(alias 'clj 'clojure.core)
::clj/foo = :clojure.core/foo
Inside ns forms, the :as keyword
Prasad, I'm not positive but I suspect your issue is here:
:cljsbuild [:builds []])
...the argument to cljsbuild must be a hashmap I believe. It's
currently a vector. Try:
:cljsbuild {:builds []})
Let us know if that doesn't work.
DD
(2013/09/07 11:25), prasad wrote:
When I followed
~(vec attrs), perhaps?
On Thu, Sep 5, 2013 at 12:20 PM, Jim - FooBar(); jimpil1...@gmail.comwrote:
HI all,
I've gotten myself into a weird situation...
I'm defining a def-like macro and I want to use 'name-with-attributes'.
Consider the following skeleton:
(defmacro defX [name args]
Maybe this is a dumb idea, but could you have a macro that rewrites code to
use your ops?
(require '[clojure.core.matrix :as m])
(m/with-ops (+ ... (* ...) ...))
and then all the special symbols get rewritten/qualified with
clojure.core.matrix?
Dave
On Wed, Sep 4, 2013 at 10:26 PM, Sean
or forever
hold your peace.
Cheers,
Dave
On Wed, Aug 28, 2013 at 2:32 AM, Joseph Wilk j...@josephwilk.net wrote:
On Tuesday, August 27, 2013 6:03:29 PM UTC+2, daveray wrote:
Hi.
I'm writing to see if there's anyone out there using RxJava [1] from
Clojure and to get their opinion on it's
Seems to work fine in my tests as long as I fully qualify it in the fn
macro that uses it. What am I missing?
If someone :uses or :refer-alls the ns, I'm assuming bad thing would
happen, but I'm not worried about that.
Dave
On Thu, Aug 29, 2013 at 12:15 PM, Cedric Greevey cgree...@gmail.com
future and we'd like to
get a feel for if/how people are using RxJava from Clojure.
Thanks!
Dave
[1] https://github.com/Netflix/RxJava
--
--
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
chunked lazy sequences
On Wednesday, 28 August 2013 12:51:27 UTC+10, ljcp...@gmail.com wrote:
Hi,
(take 1 (map #(do (print \.) %) (range)))
result: (0)
I think it should be (.0), why? thank you!
--
--
You received this message because you are subscribed
There is also identity, which returns what it was passed, which seems
closer to what you described initially.
= (identity foo)
foo
(2013/08/25 20:41), Christian Sperandio wrote:
Thanks, exactly what I want :)
Le 25 aoűt 2013 ŕ 13:40, László Török ltoro...@gmail.com
:
Not really.
The identity function returns the value. I want to have the function that
returns the value.
constantly is the good answer for my needs.
Le 25 août 2013 à 13:57, Dave Della Costa ddellaco...@gmail.com a écrit :
There is also identity, which returns what it was passed, which seems
)))
Clojure
nil
Cheers,
Dave
On Sat, Aug 24, 2013 at 12:48 PM, Hussein B. hubaghd...@gmail.com wrote:
Hi,
Why the following snippet:
(eval (list (quote (println Clojure
is throwing a null pointer exception?
Thanks for help and time.
--
--
You received this message because you
I know you said clj-time solved this for you, but here's another way to
handle it which avoids using a macro (using a map of keywords to
java.util.Calendar weekday enums for convenience and to be more
Clojure-esque, but it isn't necessary):
user= (def weekdays {:mon Calendar/MONDAY :tues
you wrote only returns true on saturdays
but I get the point!
thanks for your answer
On Wed, Aug 14, 2013 at 12:14 PM, Dave Della Costa
ddellaco...@gmail.com mailto:ddellaco...@gmail.com wrote:
I know you said clj-time solved this for you, but here's another way to
handle
In Seesaw [1] you can specify your shortcuts as menu S instead of ctrl
S and it will pick the right one for the platform.
Cheers,
Dave
[1] my memory's a little fuzzy here :)
On Fri, Aug 2, 2013 at 12:00 PM, Zach Oakes zsoa...@gmail.com wrote:
That's a good point, I should be using command
if you are thinking of the nested map as a sort of tree - which you seem to
be doing - then map-leaves or something similar might convey the intent.
On Saturday, 27 July 2013 04:30:30 UTC+10, Jay Fields wrote:
I'm not sure I'd call this more readable, but it's another option - using
Hi folks,
More core.async fun. Would love to hear comments, criticisms, etc.,
especially on how to better integrate core.async into this. Otherwise,
maybe it can be inspiration to someone else to do something grander.
Granted, it's pretty stupidly simple.
Excellent, glad to hear it. And I'd love to hear more about how porting
AutobahnJS goes for you! Seems like a perfect application of core.async
on the client-side.
(2013/07/22 3:10), Christopher Martin wrote:
Thanks for sharing this! I'm in a similar mindset right now, working on
a cljs port
Here are some more in-depth examples:
https://github.com/ddellacosta/friend-oauth2-examples
Please do use version 0.0.4 or above as anti-CSRF protection is
incorporated. I still owe Chas a pull request with an up to date
version of friend-oauth2.
Please note, it is in development, still rather
Thanks, Stefan. That sounds like good advice.
Dave
On Sunday, June 30, 2013 5:09:23 AM UTC-5, Stefan Kamphausen wrote:
Just a little hint which may help you in the future.
First, note the trailing $fn in reformat-headers$fn which tells you, that
your problem is with an anonymous function
reformat-headers
[headers]
(map #(.toString %) headers))
as far as I can tell the exception is saying that 1 argument is the wrong
number of arguments for reformat-headers, but as you can clearly see it is
a function of one argument. What am I interpreting wrong?
Thanks,
Dave
--
--
You
I'm using pprint to write out a map to a file then trying to read it back
in using clojure.edn/read (I also get the same error using read). Here is
the output (it's a map that was created by the Langohr rabbitmq library):
{:header
{:timestamp #inst 2058-04-07T17:56:17.000-00:00,
...) form help? ~BG
On Sun, Jun 30, 2013 at 5:39 AM, Dave Kincaid
kincai...@gmail.comjavascript:
wrote:
Could someone help me decipher the ArityException I'm getting. It's not
making sense to me. First here is the exception:
ArityException Wrong number of args (1) passed to:
lastN
, 2013 8:14:49 PM UTC-5, Baishampayan Ghose wrote:
Adding a method to the `print-dup` multimethod that dispatches on
ByteArrayLongString should help. See here for an example -
http://clojuredocs.org/clojure_core/clojure.core/print-dup ~BG
On Sun, Jun 30, 2013 at 5:47 AM, Dave Kincaid
kincai
Yes! That does help. It's complaining about the arity of the function in
the map, not the reformat-headers function. Now I understand. Thank you
very much for helping clarify it for me.
Dave
On Saturday, June 29, 2013 8:30:21 PM UTC-5, Baishampayan Ghose wrote:
What is the shape of `headers
.
[messages dest]
(binding [*print-dup* true]
(pprint
(for [[metadata ^bytes payload] messages]
{:header metadata :payload (String. payload)})
dest)))
~BG
On Sun, Jun 30, 2013 at 7:05 AM, Dave Kincaid
kincai...@gmail.comjavascript:
wrote:
Thanks! If that works
Thank you very much for the help. I really appreciate you trying. I don't
know what is going on, but I need to move on from this.
Dave
On Saturday, June 29, 2013 8:57:31 PM UTC-5, Baishampayan Ghose wrote:
This form, by the way is readable. Not sure why the print-dup
extension
Ghose wrote:
This form, by the way is readable. Not sure why the print-dup
extension is not working though... ~BG
On Sun, Jun 30, 2013 at 7:18 AM, Dave Kincaid
kincai...@gmail.comjavascript:
wrote:
Hmm. No, it doesn't. This is what I get with pprint by itself:
:headers {pluginKey
://clojuredocs.org/clojure_core/clojure.core/print-method ~BG
On Sun, Jun 30, 2013 at 7:18 AM, Dave Kincaid
kincai...@gmail.comjavascript:
wrote:
Hmm. No, it doesn't. This is what I get with pprint by itself:
:headers {pluginKey #ByteArrayLongString PLUGIN2}
with your version I get
My team at Netflix is using Clojure for all new development these days.
Dave
On Tue, Jun 18, 2013 at 7:12 AM, Hussein B. hubaghd...@gmail.com wrote:
According to their Jobs page, Doo is using Clojure to implement their
backend and web application:
https://doo.net/en/
On Monday, June 10
Coming from the Rails world, for a while I searched for a way to do
this, and at this point I've come to the conclusion that
* raw SQL migrations are the way to go
* rollback/down migrations are problematic for environments other than test.
Regarding specific experiences, I used Lobos for a
Hi David.
Himera by Fogus is a ClojureScript compiler as a service which seems
like it may be an example of what you're looking for.
https://github.com/fogus/himera
Cheers,
Dave
On Wed, May 29, 2013 at 1:49 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Howdy,
I'm looking to embed
I am definitely interested in that. I've been using lein-pedantic all the
time. It's helped immensely.
On Wednesday, May 29, 2013 8:25:22 PM UTC-5, Nelson Morris wrote:
Good news everybody! As of leiningen 2.2.0 using `lein deps :tree` will
perform version checks and version range detection.
Thanks all. D
--
--
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 post.
To unsubscribe from this group,
)
at clojure.lang.AFn.invoke(AFn.java:39)
at clojure.lang.Var.invoke(Var.java:415)
at clojure.lang.RT.doInit(RT.java:460)
at clojure.lang.RT.clinit(RT.java:329)
does that give anyone an idea?
On Thursday, May 16, 2013 7:53:27 PM UTC-5, Dave Kincaid wrote:
I'm posting this here in hopes that someone
On Wednesday, May 15, 2013, Dave Sann wrote:
If you are not using Leiningen, what do you use?
At home I use leiningen because its easy and well supported. At work I use
gradle and sometimes ant because it's the quickest path to getting clojure
in the build.
why do you prefer it?
D
on the Spring forums too,
since it's most likely something with Spring's manipulation of classpath
and/or classloader while it's trying to get the MR jobs over to Hadoop.
If anyone has another idea, we'd love to hear it. We're kind of stuck right
now and been working on it for a few days.
Thanks,
DAve
as too accusatory, if the cost of
dependencies truly is higher than the cost of duplicating work/code then
perhaps we need to try and make the former easier.
Glen
On Tuesday, 14 May 2013 13:19:15 UTC+1, Dave Kincaid wrote:
This thread seems to have gotten way off track and I think that Stuart
it would work). But I still wasn't able to get Midje working due some
assumptions about Leiningen.
On Wednesday, May 15, 2013 8:13:19 AM UTC-5, Laurent PETIT wrote:
2013/5/15 Dave Kincaid kincai...@gmail.com javascript::
As long as we remember that not everyone is using Leiningen
If you are not using Leiningen, what do you use?
why do you prefer it?
D
--
--
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
This thread seems to have gotten way off track and I think that Stuart made
a very important point in the original post that's getting lost. It would
help all of us out if library authors stopped making their libraries
dependent on 10+ other libraries. This issue does have the potential to
, different content = problem.
Dave
On Tuesday, 14 May 2013 22:19:15 UTC+10, Dave Kincaid wrote:
This thread seems to have gotten way off track and I think that Stuart
made a very important point in the original post that's getting lost. It
would help all of us out if library authors stopped
On Mon, May 13, 2013 at 1:42 AM, Meikel Brandmeyer (kotarak)
m...@kotka.de wrote:
Hi,
Am Montag, 13. Mai 2013 10:35:14 UTC+2 schrieb Stuart Sierra:
I believe lightweight dependency loading system is an oxymoron. Either
you A) design a new module format and try to get everyone to follow it
Thanks for this, Stuart. I hope it's not too late. As one who has spent the
last couple weeks spinning up a new project that uses its own local Ivy
repository I've been feeling this pain first hand. The number of
dependencies I have had to add just for a few Clojure libraries has been
quite
...]
(reify Woobly
... implement protocol here ...)))
Dave
On Thu, May 9, 2013 at 9:15 AM, Gary Trakhman gary.trakh...@gmail.com wrote:
If the interface provides everything that's needed, then there will be no
need to dive in?
I find attempts to hide that stuff frustrating when I'm
I've not worked with protocols much, but saw a good fit recently. However,
I'm a little bit unsure about this situation. I have some Thrift objects
that I'd like to be able to easily unpack into maps, so I created a protocol
(defprotocol Unpackable
(unpack [x]))
Thrift has two main data
duplication of effort.
Dave
On Friday, 10 May 2013 07:57:10 UTC+10, Alex Baranosky wrote:
Runa has decided to open source a project of our utility namespaces that
we call Runa Kits https://github.com/runa-dev/kits. At this point in
time this includes:
- benchmark.clj ;; simple timing
I came across the following...
;; = ok;
(let [v :abc] nil)
;; = ok;
(let [v :abc]
nil)
;; = ok;
(let [v :#abc] nil)
;; = fail;
(let [v :#abc]
nil)
$ lein repl
nREPL server started on port 33719
REPL-y 0.1.10
Clojure 1.5.1
...
user= ;; = ok;
user= (let [v :abc] nil)
nil
.
http://clojure.org/reader
Thanks,
Ambrose
On Wed, May 1, 2013 at 10:22 PM, Dave Sann dave...@gmail.comjavascript:
wrote:
I came across the following...
;; = ok;
(let [v :abc] nil)
;; = ok;
(let [v :abc]
nil)
;; = ok;
(let [v :#abc] nil)
;; = fail;
(let [v :#abc
-- Forwarded message --
From: Colin Jones trptco...@gmail.com
Date: 2 May 2013 04:35
Subject: Re: Bug in reader or repl? reading keyword :#abc
To: daves...@gmail.com
On Wednesday, May 1, 2013 9:22:43 AM UTC-5, Dave Sann wrote:
I came across the following...
;; = ok;
(let
]
#_= nil)
nil
user=
--
'(Devin Walters)
On Wednesday, May 1, 2013 at 9:22 AM, Dave Sann wrote:
I came across the following...
;; = ok;
(let [v :abc] nil)
;; = ok;
(let [v :abc]
nil)
;; = ok;
(let [v :#abc] nil)
;; = fail;
(let [v :#abc]
nil
Comments from Colin Jones.
This is a symptom of how REPLy handles unexpected nodes that sjacket
provides (and sjacket saying that :#abc is not a keyword). REPLy started to
use sjacket for parsing input forms in 0.1.0 (final; not the betas), to
handle situations like reader literals and
Out of interest, did any library come out of this?
On Thursday, 15 January 2009 06:46:52 UTC+11, Laurent PETIT wrote:
OK thank you both Chris Mike for your answer.
What I've done for the moment is similar to what Mike did: at any
place where there is a chance for something to change
for
allowing custom tags.
Thoughts anyone?
Dave
On Monday, 14 May 2012 00:31:48 UTC+10, Walter Tetzner wrote:
You could do this without adding anything to hiccup.
If you wrote a function that, say, used walk, you could have it go
through the vectors, and replace the custom tags with what
see this commit for main changes to hiccup
https://github.com/davesann/hiccup/commit/e8c06d884eb22a2cdd007f880a9dd5e1c13669a4
On Thursday, 25 April 2013 18:55:52 UTC+10, Dave Sann wrote:
I replied to this a long time ago and in the original case - I did not see
huge value in the suggestion
one other thought.
It is possible just to manipulate the hiccup data as suggested by Walter
above. This may be better because it is independent. But I wonder about
performance costs of processing the structures twice (expand and then
render) rather than once (render).
Dave
--
--
You
Good points. I've tried to follow many of these with code I've written,
but there are still some things I could stand to do better.
Thanks for writing this, it can serve as a checklist for my own projects
from now on!
Cheers,
DD
(2013/04/20 7:09), Michael Klishin wrote:
Month after month
+1
On Thursday, 18 April 2013 05:04:47 UTC+10, Andrew Wagner wrote:
Just wanted to say, awesome job with this. I appreciate your diligence!
On Wed, Apr 17, 2013 at 2:50 PM, Phil Hagelberg ph...@hagelb.orgjavascript:
wrote:
Update: thanks to an older backup from Ivan Kozik, we've been
If you give keyword two arguments the first one is the namespace, and
you are generating a namespaced keyword. To expand on your example:
clojure.core= (in-ns 'm)
#Namespace m
m= (clojure.core/keyword m 7)
:m/7
m= {::7 foo}
{:m/7 foo}
m=
If you want to chain strings together to make a keyword,
have a look at this for a discussion of exactly that question.
http://clj-me.cgrand.net/2011/10/06/a-world-in-a-ref/
https://github.com/cgrand/megaref
On Friday, 12 April 2013 07:35:03 UTC+10, James Adams wrote:
Hi,
I'm new to Clojure and trying to write a multiplayer poker web app.
Caveat - I haven't do any android dev and don't know details of their UI
apis
But not letting that get in the way of an opinion, I also suggest that you
look at what Dave Ray has done with Seesaw for swing. There my well be
useful ideas in there for you.
https://github.com/daveray/seesaw
The latest Seesaw version on Clojars is 1.4.3. It addresses the Clojure
dependency issue.
Cheers,
Dave
On Thu, Apr 4, 2013 at 4:40 PM, Jim - FooBar(); jimpil1...@gmail.comwrote:
[ghostandthemachine/seesaw 1.4.3-SNAPSHOT :exclusions [
org.clojure/clojure]]
Jim
ps: maybe the actual
how could it not be true?
it's in data represented in memory.
On Monday, 25 March 2013 23:37:33 UTC+11, Jim foo.bar wrote:
On 25/03/13 12:28, Michael Klishin wrote:
There is no absolute immutability on the JVM, .NET, in JavaScript.
There is always a backdoor to mutability.
But 99.9%
deps
cheers
Dave
On Friday, March 22, 2013 9:13:16 AM UTC, Karsten Schmidt wrote:
You can see the actual path used by doing this in the repl:
(System/getProperty java.library.path)
I found it best to wrap native libs in a jar with this internal structure:
/META-INF/MANIFEST.MF
is not being located?
thanks
Dave
--
--
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 post.
To unsubscribe
alternative control flows are
available - which are possible but not available - and which are good for
which situations.
Apologies to the original questioner for changing the focus of the recent
posts.
Dave
On Wednesday, 20 March 2013 19:36:46 UTC+11, Marko Topolnik wrote:
Exceptions
if the validation
passes and must not if it fails. I can't validate in advance because that
would lead to a race condition).
On Wednesday, 20 March 2013 23:24:48 UTC+11, Marko Topolnik wrote:
On Wednesday, March 20, 2013 1:06:54 PM UTC+1, Dave Sann wrote:
Marko, do you have a good example of doing what you
to be the
most common thing I'm trying to do. Are there any tools out there to make
it easier?
Thanks,
Dave
--
--
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
to use
https://github.com/joodie/clojure-refactoring.
--
'(Devin Walters)
Sent from my Motorola RAZR V3 (Matte Black)
On Wednesday, March 20, 2013 at 8:05 PM, Dave Kincaid wrote:
I'm wondering if there are any refactoring tools around for working with
Clojure projects in Emacs
? There are certainly pros and cons.
Dave
On Wednesday, 20 March 2013 09:42:11 UTC+11, James Reeves wrote:
I'd argue that using exceptions for control flow is something of an
anti-pattern, even in Java.
In this case a better mechanism might be to use polymorphism. For instance
201 - 300 of 702 matches
Mail list logo