[ANN] Clojars now requires a license in the POM for new projects or projects that already specify a license

2023-09-29 Thread Toby Crawley
Hi all! Clojars (https://clojars.org - the community repository for open source Clojure libraries) will now require a license to be specified in the POM file for: - newly uploaded versions for new projects - newly uploaded versions for existing projects where the prior version had a license We

ANN: Clojars one-off deploy tokens; emails on deployment

2022-03-18 Thread Toby Crawley
Howdy friends! We recently made some improvements to Clojars relating to deployment and security. If you don't ever deploy projects to https://clojars.org, you can stop reading here. ## Single-use deploy tokens You can now create a deploy token that can only be used to deploy a single version

Re: [ANN] Important upcoming changes to Clojars

2021-04-18 Thread Toby Crawley
jars-web/wiki/Groups#personal-groups [3]:https://github.com/clojars/clojars-web/issues/new/choose On Mon, Mar 1, 2021, at 08:46, Toby Crawley wrote: > Howdy folks! We have two separate changes coming for the Clojars system > that you need to be aware of. > > First, the tl;dr: > >

Re: [ANN] Important upcoming changes to Clojars

2021-03-26 Thread Toby Crawley
A followup on: On Monday, March 1, 2021 at 8:47:05 AM UTC-5 Toby Crawley wrote: > # Dropping support for old Java versions > > The repository itself is hosted behind a Fastly CDN, and Fastly is forcing > all accounts to switch to SNI[1] for TLS connections. Clojars will be >

Re: [ANN] Important upcoming changes to Clojars

2021-03-01 Thread Toby Crawley
On Mon, Mar 1, 2021, at 11:08, James Reeves wrote: > Have you considered automatically validating domain name ownership by > supplying a challenge token and then looking for it at a well-known location > on the domain? That's a good suggestion - I have considered that as a verification option. T

[ANN] Important upcoming changes to Clojars

2021-03-01 Thread Toby Crawley
Howdy folks! We have two separate changes coming for the Clojars system that you need to be aware of. First, the tl;dr: - After 2021-04-15, versions of Java older than 7u25 will no longer be able to access the Clojars repository - After 2021-04-18, a Clojars group name must have verified owne

[ANN] Deploy tokens now required for Clojars

2020-06-28 Thread Toby Crawley
As announced in https://groups.google.com/d/msg/clojure/GmAU4XwnRpw/oetRCb0UCgAJ, Clojars now supports deploy tokens to be used in place of a password when deploying artifacts. A deploy token is now *required* to deploy as of today - deploying with a password is no longer supported. If you try to

[ANN] Two-factor auth support for Clojars.org

2020-06-13 Thread Toby Crawley
Hi folks! We just released *optional* two-factor auth support for Clojars to improve account security. The details are available at https://github.com/clojars/clojars-web/wiki/Two-Factor-Auth, the contents of which I have included below for convenience. Please file an issue at https://github.com/

Re: [ANN] Deploy tokens for Clojars

2020-05-18 Thread Toby Crawley
n to > use the Clojars password. > > Forcing everyone to change their deployment processes across the board within > just over a month seems a bit... aggressive... > > On Sun, May 17, 2020 at 1:56 PM Toby Crawley wrote: >> >> Howdy folks! >> >> Just letting

[ANN] Deploy tokens for Clojars

2020-05-17 Thread Toby Crawley
Howdy folks! Just letting you know that Clojars[1] now allows you to create and use deploy tokens[2] in place of passwords when deploying. If you don't deploy OSS projects to Clojars, feel free to stop reading now. The deploy tokens are to be used in place of a password when deploying, and can op

Re: Clojars moved to new infrastructure

2020-03-28 Thread Toby Crawley
_6681.invoke(main.clj:452) > at leiningen.core.main$_main.invokeStatic(main.clj:442) > at leiningen.core.main$_main.doInvoke(main.clj:439) > at clojure.lang.RestFn.applyTo(RestFn.java:137) > at clojure.lang.Var.applyTo(Var.java:705) > at clojure.core$apply.invokeStatic(core.clj:665) > at c

Clojars moved to new infrastructure

2020-03-21 Thread Toby Crawley
As announced on March 15th[1], we are in the process of moving Clojars.org to new infrastructure hosted on AWS. We've beta tested for the past week (thanks to all that helped out!), and haven't had any issues. So we just switched DNS to point to the new infrastructure. You should start using it aut

Help test the new Clojars server

2020-03-15 Thread Toby Crawley
Howdy folks! We have set up a new Clojars server, and we would love help testing it. Interested? Read on for details! ## How to test it The server is available at https://beta.clojars.org. It shares the same database and repository as the existing server. You can test it by using it for anything

Re: Clojars deployment failing

2020-02-22 Thread Toby Crawley
geant, and Benito Gonzalez for their patience and assistance in debugging this issue. - Toby On Sat, Feb 22, 2020 at 12:20 PM Toby Crawley wrote: > > Just to follow up on this: we still haven't been able to figure out > the cause, but have collected some data at > https://gith

Re: Clojars deployment failing

2020-02-22 Thread Toby Crawley
ending >>>> com/github/atdixon/thurber/0.0.3-alpha5-SNAPSHOT/thurber-0.0.3-alpha5-20200217.002121-1.pom >>>> (4k) >>>> to https://repo.clojars.org/ >>>> Could not transfer metadata com.github.atdixon:thurber/maven-metadata.xml >>>> fro

Re: Clojars deployment failing

2020-02-19 Thread Toby Crawley
Also, what version of lein are you using? What is the output of `lein version`? On Wed, Feb 19, 2020 at 8:14 PM Toby Crawley wrote: > > Howdy Aaron: > > We've had a report from another user on Slack of this same issue, but > I haven't been able to recreate it. > >

Re: Clojars deployment failing

2020-02-19 Thread Toby Crawley
by -- "Arrogance is quoting yourself." - Toby Crawley "Ignorance is quoting others." - Aaron T. Dixon On Sun, Feb 16, 2020 at 7:37 PM Aaron Dixon wrote: > > update, I disabled :checksum checking for clojars and was able to get a > release thru. > > On Sun, Feb 16,

Re: Upcoming changes to Clojars

2020-01-04 Thread Toby Crawley
is change - you can still deploy to https://clojars.org/repo/ or https://repo.clojars.org. If you (or someone you love) is negatively affected by either of these changes, please let us know by commenting on one of the above issues. Thanks! - Toby On Mon, Dec 23, 2019 at 12:50 PM Toby Crawley w

Re: Upcoming changes to Clojars

2019-12-23 Thread Toby Crawley
Thanks for asking Sean. The upload URL and process will *not* be changing. This change should have no impact for 99% of Clojars users. - Toby On Mon, Dec 23, 2019 at 4:43 PM Sean Corfield wrote: > > Will the upload URL or process be changing? > > On Mon, Dec 23, 2019 at 9:51 AM

Upcoming changes to Clojars

2019-12-23 Thread Toby Crawley
Howdy folks! We're in the process of making some changes to the Clojars infrastructure to make it more robust, reliable, and easier to maintain. One of those changes will be to provide a single canonical repository instead of serving artifacts from two locations. ## A Tale of Two Repositories Yo

Re: Officially support Vert.x

2017-12-29 Thread Toby Crawley
The short answer is no, there is no Clojure support for Vert.x 3 that I know of. The longer answer: I wrote the Clojure language module for Vert.x 2, which had a pretty low usage rate, partially because core.async was released around the same time. When Vert.x 3 was being written, the Vert.x team

Re: [ANN] Clojure 1.9.0-beta4

2017-11-03 Thread Toby Crawley
This is indeed related to CLJ-2066 - the issue is the object that data.xml is trying to reflect on is a SaxParserImpl, which comes from a non-exported module in Java 9. The object implements SaxParser, and parse() is a public method there, but Reflector is calling getClass() on the object and tryin

Re: The simplest way to publish to Clojars?

2017-06-01 Thread Toby Crawley
On Thu, Jun 1, 2017 at 12:01 AM, Sean Corfield wrote: > All the SSH keys and PGP/GPG stuff is unnecessary now, unless you want to > store your username/password credentials locally in encrypted form. There’s > no longer any signing or promotion of JARs. Jar promotion no longer exists on Clojars,

[ANN] New Clojars feature: removing users from groups

2017-03-26 Thread Toby Crawley
We've just deployed an update to Clojars that allows you to remove users from groups. Before now, doing so required having one of the Clojars administrators do it for you. It works like this: * Group membership now has an admin flag associated with it * Group admins can add members, promote membe

Clojars deployment policy change

2016-12-30 Thread Toby Crawley
Clojars now rejects deployments where the group name and artifact name match a project that is already available from Maven Central. # Why? Artifact resolution tools (used by Leiningen, Boot, Maven, etc) iterate through a list of repositories, asking each for an artifact until it is found. So if

Re: Why would I get this: FileNotFoundException: Could not locate raynes/fs__init.class

2016-12-13 Thread Toby Crawley
On Tue, Dec 13, 2016 at 12:20 PM, larry google groups wrote: > (:require >[excel-to-csv.xls :as xls] >[excel-to-csv.xlsx :as xlsx] >[excel-to-csv.temporal :as temporal] >[taoensso.timbre :as timbre] >[raynes.fs :as fs] The ns is named `me.raynes.fs`: https://github.com/Raynes/

Clojure, Java 9, and you

2016-11-22 Thread Toby Crawley
To prepare us all for Java 9 (currently scheduled to be released in July[1]), I've created a Github repo[2] to track Java 9 issues across the Clojure ecosystem. If you run into an issue, please check the issues on that repo to see if it's already a known problem. If it's not, please file one there

Re: [ANN] A CDN for Clojars (testers needed)

2016-10-05 Thread Toby Crawley
know. > > Great to hear it’s on a CDN now!! > > Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > On 10/4/16,

[ANN] A CDN for Clojars (testers needed)

2016-10-04 Thread Toby Crawley
We're now serving a copy of the Clojars repository from Fastly's CDN[1], backed by Rackspace Cloud Files[2] at https://repo.clojars.org, and are looking for users to test out this new setup. This CDN repo currently runs in parallel to the existing repo, and any new deployments to clojars.org are au

Re: Hacktoberfest labeled issues

2016-10-04 Thread Toby Crawley
Thanks for pointing this out Karim. I have tagged some Clojars issues: https://github.com/clojars/clojars-web/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest - Toby On Tue, Oct 4, 2016 at 7:26 AM, Bozhidar Batsov wrote: > CIDER is participating in this - > https://github.com/clojure-emacs/ci

Re: [ANN] beta.clojars.org: new Clojars infrastructure that needs testing

2016-09-21 Thread Toby Crawley
On Wed, Sep 21, 2016 at 2:05 PM, John Gabriele wrote: > On Tuesday, September 20, 2016 at 7:17:55 PM UTC-4, Daniel Compton wrote: >> >> Hi folks >> >> We’re moving the Clojars infrastructure from Linode to the very kind folks >> at Rackspace. {snip} > > > Thanks, sounds like a lot of work. Any par

Re: Destructure Date Object

2016-08-10 Thread Toby Crawley
clojure.core/bean (https://clojuredocs.org/clojure.core/bean) is what you want: (let [{:keys [day month year]} (bean some-date)] ...) On Wed, Aug 10, 2016 at 12:41 PM, Jacob Strength wrote: > I'm just curious if it is possible to destructure a date object in say a let > form? > For example can

Do you use any Clojars data feeds?

2016-08-04 Thread Toby Crawley
Clojars provides a few static data feeds[1]: - a list of poms in the repo (all-poms.txt.gz) - a list of all releases in the repo (all-jars.clj.gz) - an expanded list of releases, including more metadata from the poms (feed.clj.gz) We're evaluating our bandwidth usage in anticipation of moving the

Re: Notification about newer versions

2016-07-14 Thread Toby Crawley
You can use lein-ancient periodically to see if there are newer versions of your dependencies: https://github.com/xsc/lein-ancient - Toby On Thu, Jul 14, 2016 at 6:56 AM, Cecil Westerhof wrote: > In a project.clj I have: > :dependencies [[org.clojure/clojure"1.8.0"] >

Re: Use latest stable

2016-07-14 Thread Toby Crawley
On Thu, Jul 14, 2016 at 6:52 AM, Cecil Westerhof wrote: > Is there a way to signify latest stable version? Because when you use: > :dependencies [[org.clojure/clojure"LATEST"] > it wants to work with: > clojure-1.9.0-alpha10 > > I prefer to use clojure-1.8.0. There is a reason it

Re: Clojars will be partially down for maintenance at 1:00 UTC tonight

2016-06-20 Thread Toby Crawley
This maintenance is complete, successfully this time :) If you see any problems, please file an issue at https://github.com/clojars/clojars-web/issues - Toby On Mon, Jun 20, 2016 at 1:46 PM, Toby Crawley wrote: > At 2016-06-21 01:00:00 UTC[1] (approximately 7 hours from now), we'll >

Clojars will be partially down for maintenance at 1:00 UTC tonight

2016-06-20 Thread Toby Crawley
At 2016-06-21 01:00:00 UTC[1] (approximately 7 hours from now), we'll be taking down the Clojars web interface to do database maintenance and deploy some features/fixes. The biggest change in this deploy will be the introduction of sending a copy of deployed artifacts to Rackspace CloudFiles to all

Re: Clojars will be partially down for maintenance this weekend

2016-06-20 Thread Toby Crawley
Thank you all for the kind words! Concerning donations, we definitely appreciate monetary donations, but donations of time are *much* more valuable - Daniel Compton and I are both busy with other commitments, and money can't create more time for us. If folks are interested in contributing time, we

Re: Clojars will be partially down for maintenance this weekend

2016-06-12 Thread Toby Crawley
01 PM, Toby Crawley wrote: > At 2016-06-13 00:00:00 UTC[1], we'll be taking down the Clojars web > interface to do database maintenance and deploy some > features/fixes. The biggest change in this deploy will be the > introduction of sending a copy of deployed artifacts to Rac

Clojars will be partially down for maintenance this weekend

2016-06-10 Thread Toby Crawley
At 2016-06-13 00:00:00 UTC[1], we'll be taking down the Clojars web interface to do database maintenance and deploy some features/fixes. The biggest change in this deploy will be the introduction of sending a copy of deployed artifacts to Rackspace CloudFiles to allow us to serve the repository fro

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Toby Crawley
For details on deleting or deprecating jars, please see: https://github.com/clojars/clojars-web/wiki/About#how-do-i-delete-a-jar We intentionally don't allow users to delete their own jars via the interface, instead requiring an admin to do it. This is to help prevent breaking the builds for proje

Re: New Clojars feature: atomic deploys

2016-03-13 Thread Toby Crawley
On Sun, Mar 13, 2016 at 4:06 PM, Andrey Antukh wrote: > Nice work! Thanks! > > I don't know if this is a side effect of that feature but I found that > deploying snapshot seems broken. > > After deploying a snapshot, I try to use it from an other package and I get > the following error: > > Coul

New Clojars feature: atomic deploys

2016-03-08 Thread Toby Crawley
We just pushed a new release of Clojars that includes a new implementation of our internal deploy logic. The big change there is deployments are now atomic - if the deployment fails (due to a network interruption/corruption or invalid artifacts), then we no longer write it to the repository. We ve

Re: Brief Clojars outage in ~5 hours

2016-02-18 Thread Toby Crawley
This maintenance has been completed. Let us know if you see any issues: https://github.com/clojars/clojars-web/wiki/Contact On Thu, Feb 18, 2016 at 3:43 PM, Toby Crawley wrote: > In a little over five hours, we'll be rebooting the server hosting > clojars.org in order to apply the

Brief Clojars outage in ~5 hours

2016-02-18 Thread Toby Crawley
In a little over five hours, we'll be rebooting the server hosting clojars.org in order to apply the update for the glibc vulnerability that was recently announced[1]. The downtime should be no more than five minutes. The reboot will happen at 2016-02-19 02:00 UTC[2]. Let me know if you have any i

Re: Reducing the pain of a clojars outage

2016-01-04 Thread Toby Crawley
On Mon, Jan 4, 2016 at 3:31 PM, Lucas Bradstreet wrote: > Good info. Now that we've performed the initial clojars drive, which was > performed at a very fortuitous time, do you think that the problem is > primarily one of money, man poweror, or both? I realise that there's a lot > of kI'm happy to

Re: Reducing the pain of a clojars outage

2016-01-04 Thread Toby Crawley
Nando: Thanks for looking in to this. I've added your comments to the issue. - Toby On Sun, Jan 3, 2016 at 4:14 PM, Nando Breiter wrote: > I've spent some time looking into both Cloudflare and Fastly over the > weekend. Fastly seems to have a sophisticated purging mechanism which the > ticket m

Re: Reducing the pain of a clojars outage

2016-01-04 Thread Toby Crawley
On Sat, Jan 2, 2016 at 8:47 PM, Mikhail Kryshen wrote: > I would suggest also considering decentralized technologies. > IPFS (https://ipfs.io/) looks like a good fit for the task. IPFS looks interesting, but I'm not sure it's worth moving to an experimental solution, especially when there are sim

Re: Reducing the pain of a clojars outage

2016-01-03 Thread Toby Crawley
, the advantage is a very quick > initial setup. All you need to do is let them handle the DNS. > > > > > > Aria Media Sagl > Via Rompada 40 > 6987 Caslano > Switzerland > > +41 (0)91 600 9601 > +41 (0)76 303 4477 cell > skype: ariamedia > > On Sat,

Re: Reducing the pain of a clojars outage

2016-01-02 Thread Toby Crawley
On Sat, Jan 2, 2016 at 1:59 PM, Michael Gardner wrote: > Still, my personal opinion (for whatever it's worth) is that ensuring the > entire process is always cryptographically secure end-to-end should be a > higher priority than establishing mirrors. I agree, ensuring the process is cryptograph

Re: clojars down?

2016-01-02 Thread Toby Crawley
I have a mirror running now, based off of an rsync from last night. It works with lein, should work fine with maven (untested), and the boot team is working on it now. See https://github.com/clojars/clojars-web/wiki/Mirrors for details. - Toby On Sat, Jan 2, 2016 at 9:28 AM, William la Forge wro

Re: Reducing the pain of a clojars outage

2016-01-02 Thread Toby Crawley
On Sat, Jan 2, 2016 at 12:47 AM, Michael Gardner wrote: > >> On Jan 1, 2016, at 21:31, Toby Crawley wrote: >> >> But if we had a regular >>process that crawled all of the mirrors and the canonical repo to >>verify that the checksums every artifact are ide

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
On Fri, Jan 1, 2016 at 11:50 PM, Daniel Compton wrote: > IntelliJ 15 (the new version), bundles JDK8 for Mac OS X so the concern about > Java 6 will get less over time. Ah, good to know. > > It could be helpful to extend > https://github.com/clojars/clojars-web/issues/432 to support these thir

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
ldn't download from the mirrors. [1]: https://weakdh.org/sysadmin.html [2]: https://en.wikipedia.org/wiki/Server_Name_Indication On Fri, Jan 1, 2016 at 10:31 PM, Toby Crawley wrote: > Given the recent DDoS-triggered outages at linode (including the one > today that has been the worst yet, cu

Re: clojars down?

2016-01-01 Thread Toby Crawley
We currently have a plan to move the repo out to a block store (s3 or similar), and part of the fundraising campaign was to pay someone for that implementation. For a near term solution, I just started a new thread about running public clojars mirrors. - Toby On Fri, Jan 1, 2016 at 10:10 PM, Ale

Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
Given the recent DDoS-triggered outages at linode (including the one today that has been the worst yet, currently 10 hours at the time I'm writing this), I've been giving some more thought to how we can make future outages less painful for the community. I have an open issue[1] (but no code yet) t

Re: Clojars maintenance this weekend

2015-12-19 Thread Toby Crawley
The Clojars maintenance is complete, and went off without a hitch. If you see any oddness, please file an issue at https://github.com/clojars/clojars-web/issues - Toby On Wed, Dec 16, 2015 at 5:30 PM, Toby Crawley wrote: > This weekend I'll be taking clojars.org down to migrate to

Re: Clojars maintenance this weekend

2015-12-19 Thread Toby Crawley
On Sat, Dec 19, 2015 at 9:27 PM, James Elliott wrote: > I second both of those thanks. And what timing, I just happen to be catching > up on this mailing list right as the upgrade is happening, so I am perfectly > forewarned. I hope it goes smoothly! Thanks James (and Devin!), I appreciate it. -

Re: Clojure community organisation

2015-12-19 Thread Toby Crawley
I've been discussing with Tom Marble the feasibility of putting Clojars under the umbrella of the Software Freedom Conservancy, since it has an OSS codebase (which is a requirement for the SFC, and something that is lacking from the CCO proposal, since moving Clojure itself under the SFC isn't an o

Clojars maintenance this weekend

2015-12-16 Thread Toby Crawley
This weekend I'll be taking clojars.org down to migrate to a larger instance to gain more disk space. The process should take about 45 minutes, but I'm blocking out a two hour window just in case. During the migration period, the repo will be completely unavailable. The migration will start at Sun

Re: safety and reusability of clojure.lang.RT, Compiler and co. in multi-classloader environment

2015-10-02 Thread Toby Crawley
this is not > official core lib > > > On Tuesday, September 29, 2015 at 4:14:48 AM UTC+2, Toby Crawley wrote: >> >> Note that that post is out of date - the runtime isolation pieces of >> Immutant 1.x have been extracted into >> https://github.com/projectodd/shimdan

Re: safety and reusability of clojure.lang.RT, Compiler and co. in multi-classloader environment

2015-09-28 Thread Toby Crawley
Note that that post is out of date - the runtime isolation pieces of Immutant 1.x have been extracted into https://github.com/projectodd/shimdandy (which Stephen mentioned). Note that with shimdandy, shims *can't* share Clojure classes - each shim will have its own copy. This is required if you wan

Friendlier deploy rejection messages from Clojars

2015-08-12 Thread Toby Crawley
We just deployed some changes to Clojars that should make it more user-friendly when a deployment is rejected due to validation failures. Before this release, when you deployed an artifact that failed validation of its group name, artifact name, or version, or you redeployed a non-snapshot version

Re: Clojars Private/Commercial Repos

2015-06-30 Thread Toby Crawley
Clojars is pretty much a one man show right now, but it currently requires little time to maintain, and works fairly well. If it supported private repos, the maintenance and support time would go up considerably, and it would require some sort of business entity around it. Doing that has been consi

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Toby Crawley
If you are using Leiningen, try putting those dependencies in a :provided profile - see https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#default-profiles. I interpret that to mean they won't be included in the uberjar, but haven't tested to confirm. - Toby On Tue, Jun 30, 2015

[ANN] Immutant 2.0.0

2015-04-17 Thread Toby Crawley
We released Immutant 2.0.0 today, which includes many improvements over 1.x, the most notable being an application server is no longer required. For details on the release, see http://immutant.org/news/2015/04/17/announcing-2-final/. With 2.0.0, Immutant has evolved from "an application server for

Interested in building the Clojure module for Vert.x 3?

2015-04-16 Thread Toby Crawley
Vert.x v2[0] currently has Clojure support via a language module[1], but that module won't work with the upcoming Vert.x v3[2], since it is substantially different. I wrote the Clojure module for v2, but don't have time to build/maintain the module for v3. If you are a Clojure + Vert.x user and wan

Re: How to write tests fro vertx and Clojure

2015-01-02 Thread Toby Crawley
Ah, right. When embedded, you'll have to use a platform manager to deploy verticles. See http://vertx.io/mod-lang-clojure/docs/1.0.4/vertx.embed.platform.html. However, moving the code out of the veriticles for testing is probably a better idea. - Toby On Sun, Dec 28, 2014 at 1:06 PM, rogergl w

Re: How to write tests fro vertx and Clojure

2014-12-28 Thread Toby Crawley
On Sun, Dec 28, 2014 at 9:52 AM, rogergl wrote: > it seems as if there is a test package for vertx and Clojure > (vertx.testools) > > Since I would like to test my vertices I tried this simple approach: > > (tt/as-embedded (fn [] > (core/deploy-verticle "project/vertices/time.clj") > (tt/

Re: [ANN] Immutant 2.0.0-alpha2

2014-10-24 Thread Toby Crawley
Good catch, thanks! Fixed: https://github.com/immutant/immutant/commit/49b22d34105135c83f5e7b849e2acc0312006c82 - Toby Christian Romney writes: > One small nit with the documentation (web guide): like hello and howdy, hola > begins with an "h", albeit a silent one. -- You received this mess

[ANN] Immutant 2.0.0-alpha2

2014-10-23 Thread Toby Crawley
We released Immutant 2.0.0-alpha2 today, which includes support for distributed transactions, a simplified messaging API, and other changes. For full details, see http://immutant.org/news/2014/10/23/announcing-2-alpha2/. With 2.0.0, Immutant has evolved from "an application server for Clojure" to

Re: how can I print the function name as parameter?

2014-05-02 Thread Toby Crawley
A simpler version: (defmacro show [f & args] (let [f-var# (resolve f)] `(println ~f-var# (~f ~@args On Friday, May 2, 2014 8:04:30 AM UTC-4, Toby Crawley wrote: > > You could implement show as a macro that resolves the var before calling > the fn: > > (defm

Re: how can I print the function name as parameter?

2014-05-02 Thread Toby Crawley
You could implement show as a macro that resolves the var before calling the fn: (defmacro show [f & args] (let [f-var# (resolve f)] `(let [r# (~f ~@args)] (println ~f-var# r# user> (show + 1 2) #'clojure.core/+ 3 - Toby unlo...@bytopia.org writes: > You need to pass not the f

Re: How to do this correct in Clojure

2014-04-08 Thread Toby Crawley
, and instead have it print a single nil, replace 'doall' with 'dorun'. That will do the same thing, but retain none of the results. - Toby cldwester...@gmail.com writes: > 2014-04-08 20:49 GMT+02:00 Toby Crawley : > >> Does this give you the results you are lookin

Re: How to do this correct in Clojure

2014-04-08 Thread Toby Crawley
Does this give you the results you are looking for? (doall (for [i (range 1 1000) :let [val (Math/sqrt i) diff (Math/abs (- (Math/pow val 2) (* val val)))] :when (> diff 1.1755025E-38)] (println (format "Different for %d (%e)" i diff cldwester...@gmail.com

Re: OT: Enterprise Schedulers

2014-02-10 Thread Toby Crawley
fmj...@gmail.com writes: > Perhaps I should be more precise: quartz (http://quartz-scheduler.org/) > is a java-based open source scheduler, > and the link I gave earlier is to the clojure integration layer > quartzite (http://clojurequartz.info/)

[ANN] mod-lang-clojure (for Vert.x) 1.0.0.Beta1 released

2014-01-21 Thread Toby Crawley
mod-lang-clojure[0] 1.0.0.Beta1 is no available in Maven Central. With this release, the API should be complete, and we hope to get a 1.0.0.Final out in time to be included in bundled language implementation list in Vert.x 2.1.Final (due to be released in the next few weeks). So if you are intere

Re: Looking to migrate thousands of Clojure applications from 1.2 to 1.5.

2014-01-20 Thread Toby Crawley
gt; to our users on Wednesday and see what happens. > > > On Thursday, January 16, 2014 12:59:47 PM UTC-5, Toby Crawley wrote: >> >> The isolation in Immutant is achieved (in part) by ShimDandy[1], which >> can be used outside of Immutant with a bit of work. It's been

Re: Looking to migrate thousands of Clojure applications from 1.2 to 1.5.

2014-01-16 Thread Toby Crawley
The isolation in Immutant is achieved (in part) by ShimDandy[1], which can be used outside of Immutant with a bit of work. It's been on my list for a while now to provide a sample application demonstrating usage - there is a minimal example in the README. Let me know if you are interested in the S

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Toby Crawley
this group, send email to >> > clojure+u...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/clojure?hl=en >> > --- >> > You received this message because you are subscribed to the Google >> > G

Re: [ANN] mod-lang-clojure for Vert.x 0.2.0 released

2013-10-08 Thread Toby Crawley
e as a dependency in our Clojure projects? Couldn't find anything on > Clojars or Maven and the sample code uses embedded vertx. > > Kind regards, > Hans-J. > > On Wednesday, September 18, 2013 1:49:38 PM UTC+2, Toby Crawley wrote: >> >> >> Josh Kamau writes:

Re: [ANN] mod-lang-clojure for Vert.x 0.2.0 released

2013-09-18 Thread Toby Crawley
Josh Kamau writes: > Does this have the ring adapter bundled in ? > No, the ring adapter is a separate project (https://github.com/stream1984/ring-vertx-adapter), and will likely remain so. -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message b

[ANN] mod-lang-clojure for Vert.x 0.2.0 released

2013-09-17 Thread Toby Crawley
://github.com/vert-x/mod-lang-clojure/blob/master/ChangeLog.md [3]: http://vertx.io/ -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Multiple Clojure contexts in the same JVM

2013-08-20 Thread Toby Crawley
io/vertx/lang/clojure/ClojureVerticleFactory.java -- Toby Crawley http://immutant.org | http://torquebox.org -- -- 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

[ANN] mod-lang-clojure 0.1.0 for Vert.x released

2013-08-13 Thread Toby Crawley
b/0.1.0/docs/core_manual_clojure.md [5]: http://tcrawley.org/mod-lang-clojure/0.1.0/html-docs/ [6]: https://github.com/vert-x/mod-lang-clojure/tree/0.1.0/examples/ [7]: https://github.com/vert-x/mod-lang-clojure/issues/ -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You re

[ANN] Immutant 1.0.0.cr1 released

2013-07-19 Thread Toby Crawley
We just released[0] v1.0.0.cr1 of Immutant, and plan to have 1.0.0 final out in about a week. If you are an Immutant user, please upgrade as soon as you can to help us track down any remaining bugs. ## What is Immutant? Immutant[1] is an application server for Clojure. It's an integrated platform

Re: Immutant - NPE when deploying

2013-03-21 Thread Toby Crawley
roject directory worked. This is under Windows 7. -- Toby Crawley http://immutant.org | http://torquebox.org -- -- 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

Re: Immutant and ClojureScript

2013-03-20 Thread Toby Crawley
ssLoader (where the findResources method is protected). > > Changing the findResources in ImmutantClassLoader to public should fix it. > > -- -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message because you are subscribed to the Google Groups

Re: Loading in jars with dependencies at runtime into separate classloaders with independent classpaths

2013-02-19 Thread Toby Crawley
ussed for web applications, Immutant can be used as a general container for many non-web clojure applications. [1]: https://docs.jboss.org/author/display/MODULES/Introduction [2]: https://github.com/hiredman/polycosm -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received

Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Toby Crawley
Hugo Duncan writes: > > The latter is fine by me. It is about time we had another ritz release for > nrepl.el 1.6 anyway. I'll send you a PR in a few minutes. -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message because you are subscribed

Re: nrepl-ritz setup (missing dependency "dynapath")

2013-02-18 Thread Toby Crawley
tz is the only project that depends on 0.1.0. I'd prefer to do the latter, because that would be the proper fix, but don't want to burden Hugo. -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message because you are subscribed to the Google Groups

Re: Loading in jars with dependencies at runtime into separate classloaders with independent classpaths

2013-02-18 Thread Toby Crawley
unsuccessful. > > Any hints would be much appreciated, > > Thanks, > Adam > > -- -- Toby Crawley http://immutant.org | http://torquebox.org -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

Re: ANN: bouncer, validation library for clojure

2013-01-14 Thread Toby Crawley
.5.0-RC1 - I'm not sure whether this > is a regression or intended behaviour so I'll send a separate email to the > list about that. > -- Toby Crawley http://immutant.org | http://torquebox.org -- You received this message because you are subscribed to the Google Groups "

Re: Clojure 1.5.0 RC 1

2012-12-26 Thread Toby Crawley
I just pushed a new lein-swank release (1.4.5)[1] that should work with 1.5.0-RC1. Let me know if you have any issues with it. [1]: https://groups.google.com/d/topic/swank-clojure/WIrLw2NxuEs/discussion Jeff Dik writes: > On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley wrote: >> &g

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
s://github.com/technomancy/swank-clojure/commit/3446bbbe2618e5683799fe1d01e50083b3a60245 -- Toby Crawley http://immutant.org | http://torquebox.org -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
y and its signature has changed to > include column number? This has actually been fixed in swank-clojure 1.4.3, but the latest lein-swank (1.4.4) still pulls in swank-clojure 1.4.2. Maybe it's time to release a newer lein-swank - I'll chat with Phil about that. -- Toby Crawley ht

[ANN] Immutant 0.6.0 released

2012-11-12 Thread Toby Crawley
S7 that aims to reduce the incidental complexity in real-world applications. It provides support for Ring handlers, asynchronous messaging, caching, scheduled jobs, XA transactions, clustering, and daemons. Let us know if you have any questions or issues. --- Toby Crawley http://immutant.org | http:

Re: why is "get" not giving me a default value?

2012-10-18 Thread Toby Crawley
Does new-user-entry include a "username" entry that points to nil? get only uses default value if the key is not present: user=> (get {:x nil} :x :not-found) nil user=> (get {:x nil} :y :not-found) :not-found user=> (or (get {:x nil} :x) :not-found) :not-found user=> On Oct 18, 2012, at 10:11 A

[ANN] Immutant 0.5.0 released

2012-10-16 Thread Toby Crawley
estions or issues. --- Toby Crawley http://torquebox.org | http://immutant.org -- 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 - pl

Re: [ANN] Immutant 0.2.0 released

2012-07-06 Thread Toby Crawley
Murtaza: Technically it may be possible. The first naive approach that comes to mind is a classloader per dependency that would be specific to the particular version of the dependency an application needs (the version is needed because the other applications could require a different version of

  1   2   >