I can't speak much to the efficiency analysis, but if I was solving the
problem I would attempt to change the data structure. If the `proj-roles`
could be a map then everything could be quick map updates. Given you run
this in a loop to aggregate everything perhaps converting to that form
before h
Is there a list of reviewers and editors?
On Tue, Nov 10, 2015 at 9:14 AM, Alex Miller wrote:
> The Clojure community is full of talented writers and valuable experience,
> and together we can create great documentation for the language and the
> ecosystem. With that in mind, we are happy to ann
http://www.parens-of-the-dead.com/ is a screencast series that shows a nice
emacs/cider workflow with some additional usage of figwheel for the cljs
frontend development. No showing off of the debugger yet though. Cursive
should be able to do something similar with keybindings for running tests
and
The `clojure.data.xml/emit` function will stream xml to a Writer. To hook
it up to `piped-input-stream` requires a little bit of book keeping work.
`piped-input-stream` provides an OutputStream and we need to convert that
to a Writer. Luckily `clojure.java.io/writer` can handle that for us.
Additi
Created http://dev.clojure.org/jira/browse/CLJ-1709 and
http://dev.clojure.org/jira/browse/CLJ-1710 around the two issues.
On Sat, Apr 18, 2015 at 4:08 PM, Beau Fabry wrote:
> Ouch. Suspect this is the problem
> https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LongRange.java#L
I was trying to write a test.check property for this, and it seems to have
a found a different bug around `count` and `range`.
```
*clojure-version*
;;=> {:major 1, :minor 7, :incremental 0, :qualifier "beta1"}
(require '[clojure.test.check :as tc])
(require '[clojure.test.check.generators :as ge
you looking at for the more corporate users
> of Clojars? What would you expect for an organization that simply pulls
> for Clojars, vs. one that distributes code via Clojars?
>
>
> On Friday, 26 September 2014 08:09:55 UTC-7, Nelson Morris wrote:
>>
>> Clojars has bec
lease forgive the naive question:
> Why not host jar files themsevles on Maven central and Clojars becomes a
> catalog of Clojure related artifacts?
>
> On Friday, September 26, 2014 8:09:55 AM UTC-7, Nelson Morris wrote:
>>
>> Clojars has become a critical part of the cl
ancial interest in a well maintained and secure clojars service? Would
it be interested in sponsorships, business features, or another arrangement
that produces value? Then I request you email me. I want to create a
sustainable path for this critical piece of the clojure ecosystem.
Thanks,
Nelson Morr
on
and https://www.youtube.com/watch?v=uXebQ7RkhKs as containing similar
information said in different ways, in case it comes across better there.
-
Nelson Morris
On Sun, Aug 31, 2014 at 4:02 PM, Timothy Washington
wrote:
> Ok,
>
> So I'm trying to write a leiningen plugin that
The ordering of middleware is certainly causing some problems. From
https://github.com/cemerick/friend#authentication: "Note that Friend itself
requires some core Ring middlewares: params, keyword-params and
nested-params". These are added as part of `handler/site`, and so that
needs to be outsid
You can use `lein run` to execute a function from your project while
avoiding the complexity/distribution of a plugin.
In order to seed from a command line I would::
1. Write a function that can seed the data (like the blog post).
2. Use `lein run -m my.seed.ns/load-fixtures`. This will start a j
"Read timed out" sounds like the artifact might be too large, but if future
tries succeed then that's not the case. Could you send me the
group/artifact/versions that failed?
On Thu, Jul 3, 2014 at 9:02 AM, Zach Oakes wrote:
> Even on the latest version (2.4.0), I've experienced problems in th
Peer not authenticated sounds like an ssl issue. Could you try adding
:certificates ["clojars.pem"] to your :user profile and seeing if it
authenticates?
On Fri, Jul 4, 2014 at 3:11 PM, Jacob Goodson
wrote:
> I tried updating to the latest version and it still keeps saying that peer
> is not a
Yes it was down as part of a linode issue. As a co-maintainer for clojars,
if this inconvenienced anyone's business I'd be happy to hear from you.
-
Nelson Morris
On Mon, Mar 31, 2014 at 2:14 PM, Gal Dolber wrote:
> nevermind
>
>
> On Mon, Mar 31, 2014 at 4:00
3).
Since you're using maven, the solution might be to use the `keytool`
command as show in
http://stackoverflow.com/questions/4302686/import-startcom-ca-certificates-in-windows-jre
-
Nelson Morris
On Wed, Mar 26, 2014 at 2:54 AM, radhika shashank <
radhika.shash...@gmail.com> wro
back, and
use lein's checkout dependencies.
-
Nelson Morris
--
--
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
:
> Thanks. Might there also be a problem when you try to reupload the
> same version of a jar?
>
> On Mon, Nov 4, 2013 at 8:29 PM, Nelson Morris
> wrote:
> > Clojars has a 20mb limit on jar files. The file trying to be transfered
> was
> >>100mb, This gets caught a
Clojars has a 20mb limit on jar files. The file trying to be transfered
was >100mb, This gets caught and sent back as a 403. It should probably
be something else.
-
Nelson Morris
On Sun, Nov 3, 2013 at 5:47 PM, Mihnea Dobrescu-Balaur wrote:
> What was the problem?
>
>
> On M
I'm glad to see you've found a solution that works for you. I know of
several people doing scraping of clojars to get info, and a real api is on
my list to do when I find time.
-
Nelson Morris
On Fri, Oct 11, 2013 at 7:45 AM, Adam Clements wrote:
> That's great, gets exactly
thanks to Alexander Yakushev (https://github.com/alexander-yakushev)
for putting together the commit.
-
Nelson Morris
--
--
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
I've been using austin on a project with emacs/nrepl. It works for a C-c
C-k, switch to nrepl, interact with app. However, some other features like
auto-complete and jump-to-symbol-definition I'm used to in a clojure
workflow don't work or cause a core to spin. I'd suspect the eldoc call to
show
a
single spot for this documentation. I've picked up most of what I described
above by knowing the authors / what to google / asking + watching irc.
That does seem like an unfortunate situation for anyone new to have to
learn.
-
Nelson Morris
--
--
You received this message becau
I believe this is https://github.com/technomancy/leiningen/issues/1283.
On Sat, Aug 10, 2013 at 3:54 PM, Zach Oakes wrote:
> I experienced this as well; when I opened the resulting jar, I found
> source files rather than class files. Not sure what causes this.
>
>
> On Saturday, August 10, 2013
It might be a version range somewhere. `lein deps :tree` in lein 2.2.0
should show the path to it. If it doesn't please let me know
On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes wrote:
> Thanks! It seems to work well so far in Nightcode. I noticed it pulled
> down a bunch of older versions of C
Note the original discussion was from 2010.
On Wed, Jul 17, 2013 at 11:49 AM, Alexander Yakushev wrote:
> What a twist.
>
> Does any of the participants care to comment on this one? A hundred posts
> of bashing a person from the position of authority while the macro in
> question already sits in
There seems to be enough desire to spend some more time on them. Issues
filed at https://github.com/technomancy/leiningen/issues/1197 and
https://github.com/technomancy/leiningen/issues/1198. I'll see about
getting them into a future release.
-
Nelson Morris
On Fri, May 31, 2013 at 7:
Thanks for posting the link. I'll have to make sure to follow an ANN guide
instead of memory next time.
On May 29, 2013 11:40 PM, "Michał Marczyk" wrote:
> https://github.com/xeqi/peridot
>
>
> On 30 May 2013 06:13, Michael Klishin wrote:
> >
> > 2013/5/3
I am happy to announce the release of peridot 0.2.1. peridot is a library
for interacting with ring apps while maintaining state between requests,
such as a cookie jar. An example:
```
(-> (session ring-app) ;Use your ring app
(request "/login" :request-method :post
iningen release.
-
Nelson Morris
--
--
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 unsubscr
You might be looking for "test selectors". They are a built-in way to only
run tests based on their metadata. Take a look at `lein help test`.
-
Nelson Morris
On Wed, May 29, 2013 at 5:20 AM, Phillip Lord
wrote:
>
> I have a project in lein which runs tests. But some of t
Development for money isn't a problem for me, however dev for open source
can be problematic. The scarce resource for open source is mostly time,
though occasionally motivation becomes low. Contributions and projects
start off well, and energy might wane depending on time and life factors.
Even con
ether the :params map
first, then wrap-nested-params gets to do its thing, then
wrap-keyword-params get to turn the :params keys from strings into
keywords, and finally the routes get to take the modified request map and
turn it into a ring response. Changing the response map happens in
oppos
params {"" nil, "login_failed" "Y", "username" ""},
indicates that they are not being changed to keywords. Since friend's
interactive-form workflow uses keywords to pull out the params,
it doesn't match and is constantly failing.
-
Nel
On Apr 28, 2013 1:26 AM, "Michael Klishin"
wrote:
>
> 2013/4/28 Steven Degutis
>>
>> I'd put it on Clojars but I can't really figure out how to deal with
this gpg stuff. Seems way more complicated. Wish clojure had something
easier, like homebrew and melpa. But whatever.
>
>
> GPG signint is curr
Yep. There is an issue for making it work over scp, which the
lein-clojars plugin uses, at
https://github.com/ato/clojars-web/issues/118. Unfortunately the
commits mentioning they "fix" it are incorrect.
At the moment, `lein deploy clojars` is the way to send signatures.
This command is built in
The latest version of seesaw is 1.4.3. Unfortunately there is a bug in
clojars with scp uploads that does not update the search index, so it is
showing an older version on the search page.
If you want seesaw 1.4.2 you can use [seesaw "1.4.2" :exclusions
[org.clojure/clojure]].
If you are using
t; On Sunday, 24 March 2013 16:43:39 UTC+1, Nelson Morris wrote:
>>
>> > In the application, I have :use [cemerick.friend :as friend], where
>> > indeed
>> > a identity function is defined.
>>
>> I think you want :refer here.
>
> --
> --
>
> In the application, I have :use [cemerick.friend :as friend], where indeed
> a identity function is defined.
I think you want :refer here.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroup
Found a post on clojure-dev about this
https://groups.google.com/forum/?fromgroups=#!topic/clojure-dev/F68GRPrbfWo
On Fri, Mar 22, 2013 at 1:29 AM, Nelson Morris wrote:
> If I'm reading everything correctly:
>
> 1. Object 's .toString uses .hashCode()
> 2. LazySeq 's .
If I'm reading everything correctly:
1. Object 's .toString uses .hashCode()
2. LazySeq 's .hashCode() uses seq() which realizes a seq.
3. LazySeq 's .hashCode() calls .hashCode() on the realized seq
3. (map ..) creates a LazySeq with a fn to create (cons val (lazy-seq
(map f rest)))
4. (cons ...
In lein 2.1 using `lein deps :tree` will print out any version ranges
it finds. Hopefully this helps with when noticing similar dependency
issues.
On Sat, Mar 2, 2013 at 5:42 PM, Nelson Morris wrote:
> On Sat, Mar 2, 2013 at 4:17 PM, Frank Siebenlist
> wrote:
>>> ...
>&g
;]
>>
>> The last one there allows clojure below 1.5, which includes -RC17. As
>> soon as you bump to to 1.5 it ignores the "soft" version in your
>> :dependencies, and chooses one in the range based on your other
>> dependencies.
>>
>> You should
o clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
The chain causing problems for you is:
[clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] ->
[org.clojure/clojure "[1.2,1.5
On Wed, Feb 20, 2013 at 2:48 PM, Ari wrote:
> Hi,
>
> I'm trying to incorporate authentication via the interactive form workflow;
> however, I'm currently unable to receive submitted credentials for
> verification. When I submit the sign-in form that has it's action bound to
> "/login", I get "Pag
While [enlive "1.1.0"] does have the range removed, it looks like
[enlive "1.1.1"] is the latest.
On Wed, Feb 20, 2013 at 12:13 AM, Nelson Morris
wrote:
> The dependency with the version range is [enlive "1.0.1"]. You can
> either add an exclusion, or updat
The dependency with the version range is [enlive "1.0.1"]. You can
either add an exclusion, or update to [enlive "1.1.0"] which does not
have a version range. https://github.com/cgrand/enlive/issues/37.
There are some changes that need to happen to pomegranate and then
I'll make a better way to d
Basically, yes. They left a version range. Aether (which lein and
maven use underneath) will download all the poms in the range before
making a decision.
On Tue, Feb 19, 2013 at 1:28 PM, larry google groups
wrote:
> If I understand that, then, if one of my dependencies left their
> version of C
It was a bug in kerodon that happens when a ring response has a :body
that is a not a string (in this case a lazyseq). Reported and fixed by
Travis Vachon at https://github.com/xeqi/kerodon/pull/6, I just had
lost track of making a release for it.
Fixed as part of [kerodon "0.1.0"].
On Tue, Feb
I've released a screencast on friend and using its interactive-form
workflow to create a login form.
http://www.clojurewebdevelopment.com/videos/friend-interactive-form
I've got more in various stages of completion, so I'd be interested in
hearing feedback.
Thanks,
Nelson Morr
On Sun, Jan 20, 2013 at 12:13 PM, Zbigniew Łukasiak wrote:
> I have not seen something like that in Clojure - so as my first coding
> excercise in Clojure I've started porting my Perl library.
>
> https://github.com/zby/ring-form-authentication
>
> Quoting the README:
>
> It lets you quickly add t
On Sun, Jan 20, 2013 at 8:55 AM, Shantanu Kumar
wrote:
>> I really like Enlive, with its very clear separation of logic and
>> presentation. Are there any other libraries I should be looking at at the
>> templating layer, or is Enlive currently the one to go for?
>
> Enlive and Hiccup seem to be p
Yeah, i had checked the releases not expected the "classic" repo to
loose it. Fixed manually.
On Sun, Nov 18, 2012 at 10:20 AM, Jim - FooBar(); wrote:
> On 18/11/12 15:14, Nelson Morris wrote:
>>
>> enclog 0.5.8 appears in the releases repo, so everything is ok
rtant?
>
> Jim
>
>
> On 18/11/12 14:46, Jim - FooBar(); wrote:
>
> On 18/11/12 14:39, Nelson Morris wrote:
>
> The previous one was a bit
> strict on the whitespace
>
>
> I just pasted the same with no wxtra white-space and now I'm getting
>
> Invalid
I've just deployed a new clojars version. The previous one was a bit
strict on the whitespace (thanks Lee Hinman).
Make sure to include both the "-BEGIN PGP PUBLIC KEY BLOCK-"
and "-END PGP PUBLIC KEY BLOCK-".
-
Nelson Morris
On Sun, Nov 18, 2012
I've also been using lein-cljsbuild to compile an initial js for page
load, and piggieback for interactive dev.
I did need to make a fork of nrepl.el that used an :op "load-file" to
be able to C-c C-k a buffer and load it in the background. Working on
getting that into master.
On Mon, Sep 10, 20
On Fri, Sep 7, 2012 at 9:56 AM, Laurent PETIT wrote:
> 2012/9/5 Stuart Halloway :
>> I started a wiki page for this:
>>
>> http://dev.clojure.org/display/design/Never+Close+a+REPL
>>
>> If you have other REPL-reloading annoyances please add them there.
>
> Adding new dependencies to my Leiningen p
ces in production using
> Friend for user authentication and authorization, (including Clojars, /ht to
> Nelson Morris on that count), the caveats in the Friend main README still
> apply, including:
>
>> ...proceed happily, but mindfully. Only with your help will we have
>> a
.
Usage and an example are at https://github.com/xeqi/lein-pedantic.
Thanks,
Nelson Morris
--
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 moderate
On Tue, Aug 28, 2012 at 1:08 PM, Armando Blancas wrote:
> I'm playing around with a parser combinator library from the paper Monadic
> Parser Combinators by Hutton and Meijer [1] and came up with this:
>
> https://gist.github.com/3501273
>
> That's just enough to show the error I'm getting when (e
On Sun, Aug 26, 2012 at 5:36 AM, mperdikeas wrote:
> I am now using Emacs 24.1.1 in Ubuntu precise and have managed to install
> Clojure-mode. The next thing I want to do is to use lein repl as my Emacs
> REPL (currently I've set inferior-lisp-program to a custom bash script that
> simply does a j
> ]
> :dev-dependencies [[midje "1.4.0"]]
> :jvm-opts ["-Xmx2g" "-server"]
> :warn-on-reflection true
> ;:javac-options {:classpath "target/dependency/encog-core-3.1.0.jar"
> :destdir "target/classes"}
>
Whats the project.clj look like?
On Tue, Aug 21, 2012 at 2:25 PM, Jim - FooBar(); wrote:
> I built clojure 1.5 snapshot from source and installed it in
> ~/.m2/repositories/org/clojure/ via 'mvn install' but now lein2 reverts to
> 1.3 after amending my project.clj!!! How can I make leiningen awar
On Tue, Aug 14, 2012 at 7:49 PM, Dave Kincaid wrote:
> Being new to functional programming and Lisp in particular there is
> something that's been bugging me for a while. How do people handle having
> different configurations during development for development, testing and
> production? For exampl
On Wed, Aug 8, 2012 at 11:48 AM, Brian Marick wrote:
> I'm looking for medium-scale examples of using function-generating functions.
>
> Such examples might be ones that ... use closures to avoid the need to have
> some particular argument passed from function to function (which looks like
> the
On Mon, Aug 6, 2012 at 8:52 PM, Mikera wrote:
> Great stuff!
>
> I'm trying to use this functionality to deploy a library using Maven/Eclipse
> Juno on Windows and keep getting a timeout (but interestingly the jar and
> pom do make it up there) - see this SO question :
> http://stackoverflow.com/q
I'm planning to make some screencasts for clojure and some of its
libraries. I'd like to get a general feel for the level of interest
and what topics are desired. I've made a brief survey at
bit.ly/N2vBKk and I appreciate any responses from people that are
interested.
Thanks
It is now possible to deploy to clojars through the standard maven
deploy mechanism. The url is https://clojars.org/repo. There are
instructions at https://github.com/ato/clojars-web/wiki/Pushing for
configuring the various build tools.
One highlight, if you are using lein 2.0.0-preview6 then `l
On Thu, Jun 14, 2012 at 8:38 AM, Stuart Sierra
wrote:
>
>>
>> Is there anyone on the Clojure/core team with a contact among those
>> who run Central who could get them to look into this?
>
>
> I'm on the Sonatype OSSRH mailing list:
> https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven
On Fri, May 18, 2012 at 4:16 PM, Jim - FooBar(); wrote:
> It seems that the known issue of lein1 (repl hanging sometimes after
> printing), is still present on lein2... The only way to avoid this is to aot
> compile at least one namespace and then do "lein2 run", which is exactly
> what I used to
k you what lead you to that?
> Thanks
>
>
> On Thursday, April 5, 2012 11:26:53 AM UTC-4:30, Nelson Morris wrote:
>>
>> It looks like you have the lein-newnew plugin installed. If I'm reading
>> its project history correctly, 0.2.3 might cause this. Try rem
It looks like you have the lein-newnew plugin installed. If I'm reading
its project history correctly, 0.2.3 might cause this. Try removing it
from ~/.lein/plugins or upgrading to 0.2.5.
On Apr 5, 2012 9:47 AM, "uMany" wrote:
> Hi,
>
> On Tuesday, April 3, 2012 11:20:10 PM UTC-4:30, Cedric Gree
The `lein deps :tree` command will work in preview3. This plugin is
good for anyone who needs it now on preview2.
Thanks for putting it together.
On Mon, Apr 2, 2012 at 7:48 AM, Sun Ning wrote:
> lein2 has a built-in command: `lein deps :tree` for this task
> it would be great to have the plugi
it has functions for following links, filling in form input
fields, attaching files, pressing buttons, and validating form input
fields contents. I plan to have similar functions for other form
elements in the future.
-
Nelson Morris
--
You received this message because you are subscribed to
peridot is a library for interacting with ring apps. It is designed
to work with ->, keep cookies, and handle some actions like file
uploads as multipart. It is similar in level/style to Rack::Test. I
imagine it could be useful for testing.
https://github.com/xeqi/peridot
-
Nelson Mor
75 matches
Mail list logo