I can't think of a single good reason to not deprecate :use. :require can
do everything :use could do now.
This isn't about whether or not (:use ..) without :only is bad. I'd go as
far as to say that outside of test files (and sometimes not even those) and
repl sessions, :use without :only is
Keep in mind that you should almost never do this. It's much better to
require :as or explicitly refer which things you want from each namespace.
When you do :refer :all, you pollute your namespace with tons of vars and
when you use them, nobody has any clue where they're coming from so they
I wrote a function for this in
laser.
https://github.com/Raynes/laser/blob/e351444a09e5c81b900767e955edf62558c33fd6/src/me/raynes/laser/zip.clj#L38
(defn zipper?
Checks to see if the object has zip/make-node metadata on it (confirming it
to be a zipper.
[obj]
(contains? (meta obj)
https://github.com/Raynes/least
I wrote this a little while ago. My intentions are to make use of it in
lazybot for some last.fm integration. Haven't actually done that yet
(tomorrow is another wonderful day) so it hasn't seen real world use. If
you find any boogs, shoot me an issue on Github.
You had me at the changelog entry regarding Sundays.
I was actually tasked with writing pretty much this at work last Friday. My
thanks for doing my work for me. Unfortunately I don't think you will be
paid for your troubles.
On Monday, April 15, 2013 6:02:02 AM UTC-7, Adam Clements wrote:
I
clojure-http-client is more or less unmaintained.
https://github.com/dakrone/clj-http is the canonical http client these days.
Lazybot has a plugin for doing this with the google ajax api, if that's
helpful. No API key
needed.
The problem is that your first namespace defines 'sorted?' and your second
namespace just uses the namespace, thus overriding 'sorted?'. You have two
options here. Your biggest project is that you're using ':use'. Use
':require' instead. Something like `(:require
On Sunday, January 20, 2013 9:16:35 AM UTC-6, Fogus wrote:
I'll just add a few points:
Pull requests are not likely to happen. It's not worth fighting over.
However, I think that is a weak excuse for not contributing. If you
want to contribute a complex bug fix, then the patch process
On Sunday, January 20, 2013 10:22:04 AM UTC-6, Fogus wrote:
Please don't ask people to not rehash this discussion. Don't tell them
that it is a 'weak reason' for not contributing and 'not worth fighting
over'.
Well, that's only my opinion. I happen to think it's not worth fighting
On Sunday, January 20, 2013 11:33:56 AM UTC-6, Fogus wrote:
To make matters worse, Clojure/core consistently avoids discussing these
issues in public
I would guess because their position hasn't changed since the last time.
This is only speculation. A page like what Anthony
On Friday, January 4, 2013 1:35:45 PM UTC-6, puzzler wrote:
On Fri, Jan 4, 2013 at 9:02 AM, Edward Tsech edt...@gmail.comjavascript:
wrote:
Thanks Dave! Seems like different people expect slightly different
behavior.
Are we reading the same thread? When I looked at it, it seemed that
http://dev.clojure.org/jira/browse/TNS-1 is the reason why I did bultitude.
It was an important bug that was never addressed, and probably still hasn't
been addressed. Other people have also added relatively complex classpath
features to it as well, and since it isn't a contrib project you can
Actually, scratch that first one. Looks like Stuart did finally apply the
patch. Other reasons for bultitude's existence still apply.
On Tuesday, December 18, 2012 6:06:40 AM UTC-6, Anthony Grimes wrote:
http://dev.clojure.org/jira/browse/TNS-1 is the reason why I did
bultitude
Just posting this here to make sure as many people as possible have seen it.
http://blog.raynes.me/blog/2012/12/13/moving-away-from-noir/
Associated HN thread for you
masochists: http://news.ycombinator.com/item?id=4918720
--
You received this message because you are subscribed to the Google
I opened a report on ST2's userecho a long time ago about the terrible
indentation. If you'd like to see if fixed in Sublime Text 2 itself, please
upvote:
http://sublimetext.userecho.com/topic/98139-clojure-auto-indentation-is-almost-never-correct/
On Monday, November 12, 2012 10:25:38 AM
I just took a shot at it. I put it in Pristine Packages as described, but
it disappears when I restart ST2 and try to use it.
Also, will this work with the built in 'reindent' command? If not, will it
work with vintage mode (you can reindent blocks with =ab from Vim)? I
really wish the Clojure
Another +1 for Persona. I'm the author of Refheap which uses Persona, and I
chose it specifically because of how easy it was to implement and use.
On Friday, October 26, 2012 3:26:16 PM UTC-5, Pierre R wrote:
+1 for Persona. Please give your user a chance to break the cycle of
password
All hail the king of kings!
On Monday, October 22, 2012 10:31:16 AM UTC-5, Tim King wrote:
I am pleased to announce the release of nrepl.el v0.1.5, an Emacs client
for nREPL.
nrepl.el v0.1.5 is now available on Marmalade.
Preview versions of the next release are available on Melpa.
See
It's that time again, folks. Some poor sucker is asking for help to get to
this wonderful conference in its third year.
Turns out, I found out a few days ago that Carin Meier was unable to go and
wanted to donate her ticket to me! Unfortunately, I had no intentions
of making it this year and
Awesome! I've been waiting for this. I'd love to see it added to refheap,
https://github.com/Raynes/refheap. It'd be the only paredit-enabled
pastebin on the market.
On Friday, October 12, 2012 3:21:51 PM UTC-5, Andrew wrote:
A ParEdit approximation for use in CodeMirror.
Open source projects aren't the result of one person's activity. Other
people are welcome to contribute. Noir isn't dead or anything, it's just
slow at the moment.
Furthermore, yes, the website is outdated. I do not have access to the
website in order to update it, and there hasn't been a
If it hasn't been updated at this point, I think it is safe to say it isn't
being maintained. I'd go with Compojure. It is pretty minimal too. If you
really, really want moustache, it might not be hard to fork and update the
deps.
On Friday, September 7, 2012 12:51:37 AM UTC-5, Murtaza Husain
This isn't actually a good
thing:
http://nelsonmorris.net/2012/07/31/do-not-use-version-ranges-in-project-clj.html
FWIW, even if it didn't use version ranges, the version of Clojure and
other dependencies that you use would take precedence over the ones it
specifies.
On Friday, September 7,
Clojurepy is nice and all, but with a slow startup time, I really don't
have a use for it. Coming from Clojure, I found clojurepy more complicated
than Clojure itself. Probably due to lack of documentation. What bothered
me the most is that it seems like they've changed things making it
You don't have to post your whole application, but you really, really need
to give us a small example that causes your problem. We can't work with I
did x with y and it doesn't work.. Try to water down an isolated piece of
code that we can run that causes your issue.
On Wednesday, July 11,
Stencil is spec compliant (the tests actually run against the spec) while
this implementation is not. A major goal behind stencil is to be totally
spec compliant and as fast as possible. However, implementing the slow
parts of the spec is important too.
On Wednesday, July 11, 2012 6:28:23 PM
Chris Granger and I decided that a lot of the stuff in Noir is also useful
outside of Noir, so I took a bunch of Noir's middleware and such and split
it out into a
new library called lib-noir. You can find it here:
https://github.com/noir-clojure/lib-noir
It has Noir's stateful session/flash
Aha! Thanks for explaining this here as well as in detail on IRC and
working through it with me. It does indeed make sense.
Furthermore, we've already had this discussion on IRC, but at least one
person thought that my suggestions above were me being a jerk. Just wanted
to publicly state here
Hey there! I was taking a look at the libraries implementation and have a
few suggestions/questions.
Most importantly, what is going on
here:
https://github.com/wtetzner/exploding-fish/blob/master/src/org/bovinegenius/exploding_fish/query_string.clj
It looks like you have written a little
Either one of them is perfectly acceptable. They are both supported
libraries.
On Wednesday, April 4, 2012 12:51:07 PM UTC-5, Simone Mosciatti wrote:
I don't like try to compare two different work, but when two programs have
the same task, i never know...
What would you suggest, congomongo
Clojail errs on the side of safety and not on the side of Oh, well maybe
he wasn't trying to break the sandbox. Let's allow it anyway.. Treating
macros as opaque is just another hole in what is already difficult
sandboxing. Macros are not even remotely close to functions. They *create*
code.
I responded to this earlier, but I accidentally hit the 'reply to author'
button instead of 'reply to post', and thus it went directly to Cedric
rather than to the group. I'll respond here and quote the previous emails:
On Fri, Jan 13, 2012 at 8:57 PM, Anthony Grimes disciplera...@gmail.com
The last stacktrace that occurred in a REPL is bound to *e. Try
(.printStackTrace *e). That should work in the REPL. Might not in SLIME.
--
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
fs is a file system utilities library for Clojure. This library was
originally created by Miki Tebeka and resided at
https://bitbucket.org/tebeka/fs. Unfortunately, Miki recently found himself
having less time for Clojure and wasn't able to fix bugs and add new
features in a timely manner.
I just released v0.1.0 of my new Github API library, tentacles.
Tentacles is the successor of my old v2 API library, clj-github. I went
ahead and rewrote the whole thing because clj-github was a bit of a mess
and the v3 API is different enough from the v2 API to warrant a new
library. Also,
In anticipation of the Conj and my talk about sandboxing + clojail there,
I've just cut a new major release of the library. Here are some of the
changes:
- Code has been cleaned up significantly.
- Old broken attempts at supporting both blacklisting and whitelisting
are gone, and
Cake's global project allows for dev deps to be set for all projects, so this
applies to cake as well.
--
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
Absolutely.
--
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, send
Going to have to dec. A lot of ClojureScript questions in the future (after
there are less bugs and everything is more stable) will probably be
answerable by plain ol' Clojure programmers, since most of them will likely
be normal Clojure problems unrelated to JavaScript. I think it should stay
I'm all of a sudden getting this exact same error on OS X 10.6.8. And I do
mean all of a sudden. I actually updated to this version of OS X last night
and today it isn't working. Is this happening to any OS X users on an older
Snow Leopard? This is the only thing that has changed in my setup,
Actually, it seems to be caused by this
commit:
https://github.com/clojure/clojurescript/commit/954e8529b1ec814f40af77d6035f90e93a9126ea
If I checkout before that, everything is peachy. I guess I'll submit a bug
report.
--
You received this message because you are subscribed to the Google
command-line is deprecated in favor of tools.cli now.
http://github.com/clojure/tools.cli
--
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 -
, July 28, 2011 6:40:39 PM UTC-5, Rich Hickey wrote:
Could you please use quoting in your messages? Otherwise they have no
context.
Thanks,
Rich
On Jul 28, 2011, at 7:10 PM, Anthony Grimes wrote:
Actually, it seems to be caused by this commit:
https://github.com/clojure/clojurescript
Sorry for the terrible subject line. I couldn't think of an easy way to
describe the problem in a single line.
(def net (node/require net))
(defn portal
[port host] (.createConnection net port host))
(defn -main [ args] ; Note that only one of these -main functions is in the
file at any
It's odd that it works fine in the first one but no the second.
You'd think with that post button being so small that it'd be difficult
to... yeah.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Yep, just double checked. No extra spaces.
--
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
Yeah. To the extent that I can read Javascript, the calls look exactly the
same and it looks fine.
--
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
That's actually what I thought at first, but the node example that ships
with ClojureScript actually does the same thing (uses a node function
outside of -main and then calls that function from -main) I did and it works
fine.
Here is the generated JavaScript for the failing -main and such:
The first argument to Javascript's 'call' is a 'this' argument. All
generated functions are called like this.
--
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
It looks like main is called the same way. Like I said, my example is not
much different than the one that comes with cljs.
(ns nodels
(:require [cljs.nodejs :as nodejs]))
(def fs (nodejs/require fs))
(def path (nodejs/require path))
(defn file-seq [dir]
(tree-seq
(fn [f] (.isDirectory
Hah! That was it! You, sir, are one clever fellow. Thank you very much.
--
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
This is an odd one. It seems that, when new functions are added to
cljs.core, the code generated when you compile targeting nodejs doesn't
include them. I noticed this initially when I pulled this
commit
https://github.com/clojure/clojurescript/commit/3b3ed7783ebbd07fec6772b6a1bca4ed32924fb8
I guess I should have added that it's not just rand that isn't being
included. It's all of the recently added functions. Check the commit log.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Check out http://github.com/daveray/seesaw. It might help ease some of that
Swing pain.
--
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 -
Cake can indeed handle Java source files. Throw them in src/jvm, I believe.
Leiningen and cake can both handle on-disk jar files, but (at least in cakes
case) they need to be installed in the local repository.
--
You received this message because you are subscribed to the Google
Groups Clojure
Check out Seesaw http://github.com/daveray/seesaw. It's a Clojure Swing
wrapper that really cuts back on boilerplate, and will probably serve you
better than rolling your own making-swing-manageable macros.
Happy hacking!
--
You received this message because you are subscribed to the Google
Awesome! Looking forward to it. :)
--
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
57 matches
Mail list logo