Re: [ANN] Clojure 1.6.0-alpha3

2013-11-23 Thread Sean Corfield
expect to make changes to the API package and class name in the next alpha based on a discussion today so you may want to wait for RC for that! NP. I wasn't planning to rewrite cfmljure until 1.6 goes gold and we switch from 1.5.1 to 1.6 :) -- Sean A Corfield -- (904) 302-SEAN An Architect's View

Re: java.jdbc DSLs (java.jdbc.sql / java.jdbc.ddl)

2013-11-23 Thread Sean Corfield
. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google

[ANN] java.jdbc DSLs moved to jdbc-java/dsl

2013-11-23 Thread Sean Corfield
the dual API issue, likely by moving the deprecated API into a separate namespace, which will force a change in code that uses it, but will make it clear what is what in the API, as well as separating the documenting along natural lines. -- Sean A Corfield -- (904) 302-SEAN An Architect's View

Re: [ANN] SQLingvo 0.5.9 released.

2013-11-22 Thread Sean Corfield
Nice! Another SQL DSL I can point people to for use with clojure.java.jdbc if I completely remove the basic DSL from java.jdbc.sql! Sean On Fri, Nov 22, 2013 at 4:36 AM, r0man roman.sche...@burningswell.com wrote: SQLingvo is a Clojure DSL to generate SQL statements. README, source code

Re: java.jdbc DSLs (java.jdbc.sql / java.jdbc.ddl)

2013-11-22 Thread Sean Corfield
On Fri, Nov 22, 2013 at 1:04 PM, Armando Blancas abm221...@gmail.com wrote: We use select several times in one module; it wouldn't be hard to just copy and paste the function somewhere. Technically, copying it into your code means absorbing some EPL code and copyright © 2013 Sean Corfield stuff

Re: java.jdbc DSLs (java.jdbc.sql / java.jdbc.ddl)

2013-11-20 Thread Sean Corfield
the java.jdbc.sql namespace? (besides World Singles :) Sean On Wed, Nov 20, 2013 at 3:52 AM, Alice dofflt...@gmail.com wrote: I agree with Colin and had a similar experience. Even if you say it's completely optional, people will first try it because it's already included. I think honeysql is good and also

Re: [ANN]: clj.jdbc 0.1-beta1 - Alternative implementation of jdbc wrapper for clojure.

2013-11-19 Thread Sean Corfield
I would if it were just my project and not a Clojure contrib library :) Sean On Sat, Nov 16, 2013 at 9:02 AM, Michael Klishin michael.s.klis...@gmail.com wrote: 2013/11/16 Andrey Antukh n...@niwi.be - Lack of documentation. FTR, there is some documentation for java.jdbc, but it certainly

Re: [ANN]: clj.jdbc 0.1-beta1 - Alternative implementation of jdbc wrapper for clojure.

2013-11-19 Thread Sean Corfield
? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google

Re: [ANN]: clj.jdbc 0.1-beta1 - Alternative implementation of jdbc wrapper for clojure.

2013-11-19 Thread Sean Corfield
I'll address the java.jdbc.sql question in a separate thread (I've actually addressed it before so I'll search the archives and elaborate on my previous responses). Give me an hour or so... On Tue, Nov 19, 2013 at 5:03 PM, Alexander Hudek a...@diligenceengine.com wrote: Sean, for what it's worth

Re: [ANN]: clj.jdbc 0.1-beta1 - Alternative implementation of jdbc wrapper for clojure.

2013-11-19 Thread Sean Corfield
a ridiculous argument. You must respect and obey by the license of the project you take code from. Thank you Michael. Any company that uses Andrey's library at this point is immediately in a difficult position from a legal standpoint... -- Sean A Corfield -- (904) 302-SEAN An Architect's View

java.jdbc DSLs (java.jdbc.sql / java.jdbc.ddl)

2013-11-19 Thread Sean Corfield
DSL that the community may produce). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message

Re: 2013 State of Clojure ClojureScript survey results

2013-11-19 Thread Sean Corfield
/one/three user (.getPath (reduce #(File. %1 %2) [one two .. three])) one/two/../three Note that .getCanonicalFile renders the file path relative to the directory in which the REPL's JVM instance was started. Sean On Tue, Nov 19, 2013 at 7:02 PM, Cedric Greevey cgree...@gmail.com wrote: On Tue

Re: Do web apps need Clojure?

2013-11-14 Thread Sean Johnson
transparent. I hope that was helpful. Good luck convincing your team Marcus! Cheers, Sean [1] a robust set of immutable data structures, sequences and maps, and conventions about how they are used in libraries are the uniformity of the lego blocks that makes them snap together easily. With Ruby

Re: Regarding Clojure's license

2013-11-12 Thread Sean Corfield
for almost every EPL-licensed project... The differences between EPL and LGPL are more subtle but still important. Sean On Tue, Nov 12, 2013 at 7:17 AM, Kalinni Gorzkis musicdenotat...@gmail.com wrote: I will not be dual licensing with GPL or LGPL. Both licenses allow the creation of derived works under

[ANN] lein-sphinx - Generate documentation from reStructuredText using Sphinx

2013-11-12 Thread Sean Johnson
Leiningen project, and then generate docs with the 'lein sphinx' command. No more nasty shell scripts for you! No sir. Feedback, issues, and pull requests are all welcome. Cheers, Sean [1] http://sphinx-doc.org/ -- -- You received this message because you are subscribed to the Google Groups

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
Wow... That's pretty impressive for an initial alpha release! Sean On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler ryan.spang...@gmail.com wrote: Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
Funded and supported by Instrument in Portland, OR: http://weareinstrument.com/ On Tue, Nov 12, 2013 at 5:03 PM, Marcus Blankenship mar...@creoagency.com wrote: Very nice, Ryan! Is there a company that’s shepherding the product? Best, Marcus On Nov 12, 2013, at 5:02 PM, Sean Corfield

Re: newbie question: how to include external libraries from Leiningen REPL

2013-11-07 Thread Sean Corfield
) 35.12833614050059 user= Hope that helps? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message

[ANN] clojure.java.jdbc 0.3.0 beta 1 released

2013-11-04 Thread Sean Corfield
release. JDBC-70 (an enhancement to DDL) may also be included. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You

Re: Scala interop (or, aliasing imported Java classes)

2013-11-03 Thread Sean Corfield
Alias1 Clazz2 Alias2}]) Sean On Sun, Nov 3, 2013 at 4:38 AM, Marshall Bockrath-Vandegrift llas...@gmail.com wrote: Mark mjt0...@gmail.com writes: I think my preferred solution would be to allow imported Java classes to be aliased, so I could do this: (import '(org.fooinstitute.team.library.foo

Re: Scala interop (or, aliasing imported Java classes)

2013-11-03 Thread Sean Corfield
That would need quoting wouldn't it? (import '(the.java.package {Clazz1 Alias1 Clazz2 Alias2} Clazz3)) or: (import '(the.java.package Clazz1 Clazz2 Clazz3 :rename {Clazz1 Alias1 Clazz2 Alias2})) On Sun, Nov 3, 2013 at 11:22 AM, Sean Corfield seancorfi...@gmail.com wrote: Perhaps

Re: .length vs. count for string length

2013-11-01 Thread Sean Corfield
this and spurring me to make our code more idiomatic :) Sean On Fri, Nov 1, 2013 at 9:38 AM, vrak...@gmail.com wrote: On Thursday, October 31, 2013 10:37:33 PM UTC-5, Mikera wrote: OTOH, count is much more generic since it can handle arbitrary sequences etc. Also count doesn't require type hints. You

Re: [ANN] Clojure 1.6.0-alpha1 release

2013-11-01 Thread Sean Corfield
Thanx Alex. Are these release notes kept somewhere in the Github repo? I looked at changes.md but that's still 1.5.1 and couldn't see any obvious new document for 1.6 Alpha 1...? Sean On Fri, Nov 1, 2013 at 11:14 AM, Alex Miller a...@puredanger.com wrote: Clojure 1.6.0-alpha1 is now available

Re: [ANN] Clojure 1.6.0-alpha1 release

2013-11-01 Thread Sean Corfield
1, 2013 5:38:49 PM UTC-5, Sean Corfield wrote: Thanx Alex. Are these release notes kept somewhere in the Github repo? I looked at changes.md but that's still 1.5.1 and couldn't see any obvious new document for 1.6 Alpha 1...? Sean On Fri, Nov 1, 2013 at 11:14 AM, Alex Miller al

Re: road map for clojure?

2013-10-30 Thread Sean Corfield
to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert

Re: What non-deprecated Clojure Web libraries to use?

2013-10-27 Thread Sean Corfield
I'm using FW/1 (but then it's my framework, ported from CFML :) which is based on Ring and uses Enlive and Selmer for templating. It uses conventions rather than configuration (although you can specify routes if you want to override configuration). https://github.com/framework-one/fw1-clj Sean

Re: Rolling back transactions with clojure.java.jdbc

2013-10-25 Thread Sean Corfield
Remove :transaction? true from the delete! call. You're telling delete! to run inside its own transaction - you don't want that: that's why your deletes do not rollback. Sean On Thu, Oct 24, 2013 at 2:03 PM, Mark mjt0...@gmail.com wrote: I've been working on a small utility script to clean up

Re: problems with state-t monad transformer

2013-10-22 Thread Sean Corfield
and define m-plus in terms of that? Sean On Tue, Oct 22, 2013 at 4:23 AM, Mark Fisher mark.j.fis...@gmail.com wrote: I originally posted this in Stack Overflow, but realised I might get more response from the google group. Apologies for duplication. I'm seeing some issues using a parser monad created

Re: Dependency management

2013-10-17 Thread Sean Corfield
(but more powerful?). Sean On Thu, Oct 17, 2013 at 9:04 AM, Jozef Wagner jozef.wag...@gmail.com wrote: We are using apache archiva. Access through https, custom certificate and username/password, all work flawlessly in lein. JW On Thu, Oct 17, 2013 at 5:56 PM, Ben Mabey b...@benmabey.com wrote

Re: is PG's imperative outside-in advice any good?

2013-10-15 Thread Sean Corfield
come up with a good name for it :) Sean On Tue, Oct 15, 2013 at 9:00 AM, Alex Baranosky alexander.barano...@gmail.com wrote: I and some of my coworkers do tend to avoid `let` unless in this particular case you especially want to emphasize the name of something unobvious. OFten I'd prefer to pull

Re: is PG's imperative outside-in advice any good?

2013-10-15 Thread Sean Corfield
conditional [x condition consequent alternative] (if (condition x) (consequent x) (alternative x (conditional (some-expression) p f g) Am 15.10.2013 19:02, schrieb Sean Corfield: Yeah, I found when I first got started with Clojure I tended to use let for intermediate named

Re: is PG's imperative outside-in advice any good?

2013-10-15 Thread Sean Corfield
feel that it should be codified somehow... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message

Re: is PG's imperative outside-in advice any good?

2013-10-15 Thread Sean Corfield
instead of boolean expressions and threaded the expression thru those (just to wander further off-topic)... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert

Re: reflection warning with threading macro

2013-10-15 Thread Sean Corfield
://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message

Re: monger read reference

2013-10-11 Thread Sean Corfield
emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy

Re: with-open

2013-10-11 Thread Sean Corfield
Perhaps you want something like: (with-backend [b (select-the-backend)] (do-something b)) and have with-backend call the appropriate init / finish methods? Sean On Fri, Oct 11, 2013 at 2:33 PM, Brian Craft craft.br...@gmail.com wrote: I'm working on module that may use a number of different

Re: Teaching Clojure to students (how ?)

2013-10-09 Thread Sean Corfield
delights the night) and you're off to the races without even needing a project created or worrying about editing dependencies. Sean On Mon, Oct 7, 2013 at 8:12 PM, John Gabriele jmg3...@gmail.com wrote: On Monday, October 7, 2013 4:28:57 AM UTC-4, Phillip Lord wrote: Lee Spector lspe...@hampshire.edu

Re: (Clojure-related book) Seven Concurrency Models in Seven Weeks

2013-10-03 Thread Sean Johnson
According to page 11 of this: http://media.pragprog.com/titles/pb7con/intro.pdf They are: 1. Threads Locks (old school) 2. Actors (Erlang and its clones) 3. Functional Programming (no mutable state) 4. Separate State and Identity (Clojure) 5. Data Parallelism (something about GPU's) 6. Lambda

Re: *db* binding with jetty

2013-09-23 Thread Sean Corfield
Take a look at http://clojure-doc.org/articles/ecosystem/java_jdbc/connection_pooling.html You would want to set up a connection pool and pass that into your app as part of its context. Does that help? Sean On Mon, Sep 23, 2013 at 11:25 AM, Brian Craft craft.br...@gmail.com wrote: Trying

[ANN] clojure.java.jdbc 0.3.0-alpha5 available on Maven Central

2013-09-17 Thread Sean Corfield
:) Everything else on the table will be considered for a later release. 0.3.0 deprecates nearly all of the old API. Input welcome on how long y'all think we need to keep the deprecated API around. It'll definitely go away before 1.0.0 :) -- Sean A Corfield -- (904) 302-SEAN An Architect's View

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-1885 (Source maps!)

2013-09-16 Thread Sean Grove
for a while now, and here it is, alive and working! Just ran some demo code and it looks amazing! Thanks Sean Grove and thanks David Nolen. I'll let you know about any bugs I find. On Sunday, September 15, 2013 2:48:46 PM UTC-4, David Nolen wrote: ClojureScript, the Clojure compiler

Re: The Eclipse Public License is not a good license

2013-09-14 Thread Sean Corfield
understand why software intended for use by corporations would not want to include anonymous contributions (for legal reasons)? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave

Re: clojure.java.jdbc connection pool example

2013-09-13 Thread Sean Corfield
where only folks with a signed CA can submit enhancements... Sean On Fri, Sep 13, 2013 at 3:22 AM, Josh Kamau joshnet2...@gmail.com wrote: Hello there ; I am in desparate need of a clojure.jdbc with a connection pool example. I have googled and the link to github example is broken. Please

Re: finding retained head

2013-09-12 Thread Sean Corfield
the open tickets and updated the changes doc etc. Sean On Thu, Sep 12, 2013 at 11:37 AM, Brian Craft craft.br...@gmail.com wrote: After patching both transaction and with-connection (which is also used by korma.db/transaction, and also creates a closure), I can pass in the seq w/o leaking

Re: The Eclipse Public License is not a good license

2013-09-11 Thread Sean Corfield
turned up some _long_ threads about this where it would have been clear that the license is not going to change - as well as explaining why it is the way it is. For example: https://groups.google.com/forum/#!topic/clojure/bpnKr88rvt8 (from 2008) Sean On Wed, Sep 11, 2013 at 6:41 AM, Kalinni Gorzkis

Re: finding retained head

2013-09-11 Thread Sean Corfield
because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN

Re: finding retained head

2013-09-10 Thread Sean Corfield
the two to behave identically. I also suspected the closure over the matrix argument as being the root cause but was puzzled when using doseq instead made the problem go away... Sean On Tue, Sep 10, 2013 at 7:34 PM, Armando Blancas abm221...@gmail.com wrote: Can anyone explain to me what's happening

Re: how to use clojure.java.jdbc.sql

2013-09-09 Thread Sean Corfield
, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received

Re: ANN: ClojureScript 0.0-1877 (Breaking change)

2013-09-09 Thread Sean Grove
, Sean On Mon, Sep 9, 2013 at 7:15 AM, David Nolen dnolen.li...@gmail.com wrote: Are you trying that with an existing project that may have a stale target directory lying around? If you can reproduce this issue after a `lein cljsbuild clean` then yes please open a ticket with a minimal project

Re: Putting in alts! - haven't seen it used

2013-09-08 Thread Sean Corfield
. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http

Re: Putting in alts! - haven't seen it used

2013-09-08 Thread Sean Corfield
them used either, I'm sure there's a use case, I haven't found it yet though. Timothy On Sun, Sep 8, 2013 at 9:35 PM, Sean Corfield seancorfi...@gmail.com wrote: We're using alts! to take a value or timeout, as part of machinery to detect whether a popup opens or is blocked. On Sun, Sep 8

Re: Clojure in the Large style JDBC library

2013-09-07 Thread Sean Corfield
? argument to a function-based :transaction-fn argument instead so more general transaction logic can be used. I also want to support a little more in the DDL area before 0.3.0 goes out. Thanx, Sean On Sat, Sep 7, 2013 at 12:07 AM, Alexandr Kurilin a...@kurilin.net wrote: I've been using

Re: Handling name collisions with clojure.core

2013-09-05 Thread Sean Corfield
are resolved. Or I can explicitly decide to ignore the warnings. But the warnings _should_ happen. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist

Re: Handling name collisions with clojure.core

2013-09-04 Thread Sean Corfield
to rename colliding names however you want * exclude the colliding symbols via refer-clojure and require them from core.matrix as referred symbols That's seems right to me: it is explicit and provides no surprises; it gives the user control over how to manage things. Sean On Wed, Sep 4, 2013 at 6:22

Re: core.async and referential transparency

2013-09-03 Thread Sean Corfield
. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google

Re: clojure.java.jdbc: suggestion to name mapping

2013-08-27 Thread Sean Corfield
an issue - it's easy enough to wrap calls where name mapping is really needed - and mostly it isn't. Can you explain your use case where you have a problem with the current setup? Sean On Mon, Aug 26, 2013 at 8:23 PM, Alice dofflt...@gmail.com wrote: Then, how about making them global so that they can

Re: clojure.java.jdbc: suggestion to name mapping

2013-08-26 Thread Sean Corfield
because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN

Re: too circular?

2013-08-26 Thread Sean Corfield
...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821

Re: How to send GET http request with range header, using clj-http or http-kit?

2013-08-24 Thread Sean Corfield
. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880

Re: Two Way DOM binding in clojurescript

2013-08-22 Thread Sean Corfield
and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection

Re: Two Way DOM binding in clojurescript

2013-08-22 Thread Sean Corfield
. I've seen flapjax mentioned several times on various lists and on Twitter but the staleness of the site and source code made me wary of investing time in it... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
to that latter problem, then this should already be fixed and shouldn't be a problem with future upgrades - I just wanted to try to get confirmation of that before opening a new issue. Sean On Tue, Aug 20, 2013 at 11:31 PM, Shantanu Kumar kumar.shant...@gmail.com wrote: Hi Sean, Lein 2.3.2 fixed

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
Does that work to upgrade an already installed version of Leiningen? On Wed, Aug 21, 2013 at 9:50 AM, David Powell djpow...@djpowell.net wrote: Have you tried http://leiningen-win-installer.djpowell.net/ - it should work... -- Dave On Wed, Aug 21, 2013 at 6:13 AM, Sean Corfield seancorfi

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
the HTTP_CLIENT bug Phil mentioned was indeed fixed in 2.3.2. Good to know that your installer packages an appropriate ca file. If my future upgrades don't go more smoothly, I'll switch to your installer. Sean On Wed, Aug 21, 2013 at 10:23 AM, David Powell djpow...@djpowell.net wrote: On Wed, Aug 21

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
be interested to see what lein upgrade does next time on Windows, now that I'm running the latest .bat file. If it suggests editing the file, I'll open an issue :) Sean On Wed, Aug 21, 2013 at 10:46 AM, Sean Corfield seancorfi...@gmail.com wrote: I have a working Leiningen. I have wget

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
I went back to my Windows 8 laptop and updated lein.bat to the version on leiningen.org and then tested the up/down-grades and they worked perfectly - great to see the latest Windows batch file working so well! Sean On Wed, Aug 21, 2013 at 3:21 PM, Sean Corfield seancorfi...@gmail.com wrote

Re: [ANN] Immutant 1.0.0 released

2013-08-20 Thread Sean Corfield
Nice! Thanx. More stuff for me to read / play with in my copious free time :) Sean On Tue, Aug 20, 2013 at 9:48 AM, Jim Crossley jcrossl...@gmail.com wrote: Here you go, Sean: http://immutant.org/news/2013/08/20/openshift-clustering/ Feedback appreciated! Jim On Thursday, August 1, 2013

Re: Multiple Clojure contexts in the same JVM

2013-08-20 Thread Sean Corfield
-var ).deref(); // access my.namespace/my-var directly // same as (deref #'my.namespace/my-var) I haven't pushed too much at the boundaries of classloaders tho' so there may well be dragons there, but the above works for me for embedding Clojure in an existing JVM-based web application. Sean

Re: send agent inside doseq

2013-08-20 Thread Sean Corfield
the agent operations need to have finished before the second println. Kuba, as a separate issue, why are you trying to intern all those symbols? It's not very idiomatic. Sean On Tue, Aug 20, 2013 at 4:49 PM, juan.facorro juan.faco...@gmail.com wrote: If on the println you don't see the value

Re: as- macro enhancement request?

2013-08-20 Thread Sean Corfield
position. That's why it's (as- expr name forms) with the expression in the first argument position. Sean On Tue, Aug 20, 2013 at 6:52 PM, Ken Restivo k...@restivo.org wrote: I like the as- macro, mostly because it'd theoretically obviate the need to include the Swiss Arrows library anymore

Re: [ANN] Leiningen 2.3.2 released

2013-08-20 Thread Sean Corfield
to wget --no-check-certificate -O as a global environment variable. Is this just a problem upgrading from 2.1.3 that is - finally - going to be a thing of the past from now on, or is there still work to do? Sean On Tue, Aug 20, 2013 at 3:11 PM, Phil Hagelberg p...@hagelb.org wrote: Hello

Re: send agent inside doseq

2013-08-20 Thread Sean Corfield
agents (used to provide measured asynchronous DB updates for a couple of very specific situations) and 27 atoms, which are nearly all just caches - only half a dozen of those are really mutable state (and we're consolidating that). Welcome to Clojure! -- Sean A Corfield -- (904) 302-SEAN

[ANN] FW/1 0.2.1 for Clojure released

2013-08-19 Thread Sean Corfield
was originally created in 2009 and became one of the most popular MVC frameworks for CFML so I ported it to Clojure in 2011 but I haven't promoted it much yet. With Selmer support, FW/1 becomes much easier to use so I'm hoping it can become a popular option for Clojure! -- Sean A Corfield -- (904) 302

Re: Current state of the art in Web deployment?

2013-08-18 Thread Sean Corfield
/init.d to create service files so our processes launch at server startup, and we can stop/start them as needed around deploys. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good

[ANN] clj-time 0.6.0 released - some API deprecations

2013-08-18 Thread Sean Corfield
your code. Thanx: https://github.com/michaelklishin/ https://github.com/bitemyapp/ aka callen on #clojure freenode -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good

Re: What's your preference, partial or closures?

2013-08-18 Thread Sean Corfield
You're crazy :) On Sun, Aug 18, 2013 at 9:04 PM, Chris Allen callen.2...@gmail.com wrote: Am I crazy or does this scream macro? On Saturday, August 17, 2013 6:02:03 PM UTC-7, Sean Corfield wrote: On Sat, Aug 17, 2013 at 5:43 PM, yair yair...@gmail.com wrote: What do you mean by currying

Re: vec to map with consolidated vals

2013-08-17 Thread Sean Corfield
Ah, I misunderstood your requirements, but I'm glad it led you in the right direction! On Fri, Aug 16, 2013 at 10:40 PM, David Chelimsky dchelim...@gmail.com wrote: Thanks for the suggestions Sean and Ben. I learned new functions from both of you! Sean, your suggestion yields the following

Re: function creation, partial or #()

2013-08-17 Thread Sean Corfield
Gosh darn... yes, that is what I want. That must be the only combination of things I didn't try! Thank you. On Sat, Aug 17, 2013 at 4:18 AM, Jay Fields j...@jayfields.com wrote: Sean, it sounds like you want (swap! some-a update-in [:k1 :k2] (fnil conj []) id) But that's based on some pretty

Re: What's your preference, partial or closures?

2013-08-17 Thread Sean Corfield
a b c))) ([b c] (some-func a b c) (some-func 1 2 3) ((some-func 1 2) 3) (((some-func 1) 2) 3) ((some-func 1) 2 3) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy

Generating a Java bean via Clojure?

2013-08-16 Thread Sean Corfield
if that is already out there somewhere? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you

Re: What's your preference, partial or closures?

2013-08-16 Thread Sean Corfield
I went down the partial path for a long time but have moved more and more toward currying and closures lately as it seems to produce cleaner code - and this also seems to be the way Clojure/core have moved with the reducers library and other places...? Sean On Fri, Aug 16, 2013 at 3:00 PM, Alan

Re: function creation, partial or #()

2013-08-16 Thread Sean Corfield
(fnil (fn [v] (conj v id)) []) doesn't seem any clearer - but suggestions for nicer code are always welcome. It's part of (swap! some-atom update-in [:path :to :item] ...) if that helps :) Sean -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: vec to map with consolidated vals

2013-08-16 Thread Sean Corfield
this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http

Re: clojure.java.jdbc, idiomatic way to use a connection

2013-08-14 Thread Sean Corfield
is to define a pool datasource connection and use that as the db-spec (which _is_ documented at that URL for both c3p0 and BoneCP). Sean On Wed, Aug 14, 2013 at 8:02 PM, Kyle Cordes kyle.cor...@gmail.com wrote: Hello. I've coded quite a lot of JDBC usage in Java, and enough Clojure to know my way

Re: [ANN] Leiningen 2.3.1 released

2013-08-13 Thread Sean Corfield
Thank you! I've upgraded our team to 2.3.1, as well as our QA system. So far, no problems. Sean On Tue, Aug 13, 2013 at 10:37 AM, Phil Hagelberg p...@hagelb.org wrote: Hello folks. With some help from Nelson Morris I've pushed out the 2.3.1 release of Leiningen. This fixes the self-install

Re: calling java static member using string?

2013-08-13 Thread Sean Corfield
)) ;; true (for me in California since (time/now) is UTC) (p/monday? (local/local-now)) ;; false (p/tuesday? (local/local-now)) ;; true (for me) (p/wednesday? (local/local-now)) ;; false (not yet in California) Sean On Tue, Aug 13, 2013 at 3:14 PM, Daniel Meneses Báez dap...@gmail.com wrote: Hi

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Sean Corfield
. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed

Re: Leiningen 2.3.0 and uberjar

2013-08-12 Thread Sean Corfield
to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Sean Corfield
and a general UNIX-y mindset... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because

Re: IDE feature

2013-08-09 Thread Sean Corfield
On Fri, Aug 9, 2013 at 6:58 AM, Laurent PETIT laurent.pe...@gmail.com wrote: What does it do? (first time I encounter it) DrRacket? It's the standard IDE for the Racket language (and all of its teaching subsets etc). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Sean Corfield
(that I no longer remember but I did post notes about them here a while back). I was just hoping to see if those problems were fixed in 2.3.0. I'll search the archives and see if I can find my post (and then I'll look at the 2.3.0 release notes). -- Sean A Corfield -- (904) 302-SEAN An Architect's

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Sean Corfield
Gmail search is defeating my efforts to locate what my problems with 2.2.0 were so I'll just wait until I can download 2.3.0 and re-run all our tests anyway. Sigh. On Fri, Aug 9, 2013 at 8:12 AM, Sean Corfield seancorfi...@gmail.com wrote: On Fri, Aug 9, 2013 at 12:14 AM, Phillip Lord phillip.l

Re: IDE feature

2013-08-09 Thread Sean Corfield
Ah, yes... it turns this ( | represents the cursor ): (f a b (g c d |e f)) into this: (g c d (f a b e f)) I find I use it most often when moving `let` forms around, but also for other constructs occasionally. Sean On Fri, Aug 9, 2013 at 8:15 AM, Ambrose Bonnaire-Sergeant abonnaireserge

Re: IDE feature

2013-08-09 Thread Sean Corfield
by a forward barf C-} after moving the cursor down two lines - convolute leaves it in front of (if ...). Sean On Fri, Aug 9, 2013 at 8:49 AM, Laurent PETIT laurent.pe...@gmail.com wrote: Le vendredi 9 août 2013, Sean Corfield a écrit : Ah, yes... it turns this ( | represents the cursor ): (f a b (g c

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Sean Corfield
put Leiningen JARs on Clojars instead of this flaky custom location? Sean On Fri, Aug 9, 2013 at 6:32 PM, John Jacobsen eigenhom...@gmail.com wrote: Hi Phil, all, I'm still seeing the error which (I think) others have been reporting here: vagrant@precise32:/tmp$ lein upgrade Downloading

Re: IDE feature

2013-08-08 Thread Sean Corfield
-sexpr to help reorganize code - I'm almost at the point of binding it to a key sequence!). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Sean Corfield
261 0 --:--:-- --:--:-- --:--:-- 336 100 11353 100 113530 0 11459 0 --:--:-- --:--:-- --:--:-- 101k Manual self-install is deprecated; it will run automatically when necessary. Downloading Leiningen to /Users/sean/.lein/self-installs/leiningen-2.3.0-standalone.jar now

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Sean Corfield
. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Sean Corfield
be supported - ugh!). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed

Re: core.async: throwing an exception into the channel

2013-08-01 Thread Sean Corfield
? but I quickly realized this was the exact same problem!) Sean On Thu, Aug 1, 2013 at 3:19 AM, Alice dofflt...@gmail.com wrote: throw! is an explicit operation, and there's no special channel states involved. It's passing an exception like other data that just automatically throws it when taken

<    4   5   6   7   8   9   10   11   12   13   >