Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Sean Corfield
unified syntax - esp. since it would have to support the legacy syntax for several releases alongside (and then you'd have to consider whether mixed syntax should be supported - ugh!). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http:

Re: IDE feature

2013-08-08 Thread Sean Corfield
w many times I use paredit-convolute-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 t

Re: IDE feature

2013-08-08 Thread Sean Corfield
where the additional productivity comes from. Assuming you can get past paredit not allowing you to type ill-formed code, of course :) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Sean Corfield
0 0261 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

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Sean Corfield
; --- > You received this message 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/grou

Re: IDE feature

2013-08-09 Thread Sean Corfield
On Fri, Aug 9, 2013 at 6:58 AM, Laurent PETIT 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://corf

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Sean Corfield
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 View

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 wrote: > On Fri, Aug 9, 2013 at 12:14 AM, Phillip Lord > wrote: >&

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 wrote: > I

Re: IDE feature

2013-08-09 Thread Sean Corfield
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 wrote: > > > Le vendredi 9 août 2013, Sean Corfield a écrit : >> >> Ah, yes... it turns this ( | represents the cursor ): >&g

Re: [ANN] Leiningen 2.3.0 released

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

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Sean Corfield
orms too, but I'll defer to you regarding the non-Windows experience. > You can always back out of an upgrade by running `lein upgrade 2.1.3` or > whatever; the upgrade command doesn't care which direction it's going. Good to know that you can downgrade automatically without e

Re: Leiningen 2.3.0 and uberjar

2013-08-12 Thread Sean Corfield
quot; 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 An Architect's View -- http://co

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Sean Corfield
help much. See above. Those instructions assume curl or wget 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,

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 wrote: > > Hello folks. > > With some help from Nelson Morris I've pushed out the 2.3.1 release of > Leiningen. This fixes t

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 wrote: > Hi :) > > I re

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

2013-08-14 Thread Sean Corfield
gles 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 wrote: > Hello. I've coded quite a lot of JDBC usage in Java, and enough Clojure to > know my way ar

Generating a "Java bean" via Clojure?

2013-08-16 Thread Sean Corfield
nt to reinvent the wheel 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 (182

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
il (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 "Clojur

Re: vec to map with consolidated vals

2013-08-16 Thread Sean Corfield
s group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message 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...@google

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 wrote: > Thanks for the suggestions Sean and Ben. I learned new functions from both > of you! > > Sean, your suggestion yields the f

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 wrote: > Sean, it sounds like you want > > (swap! some-a update-in [:k1 :k2] (fnil conj []) id) > > But that's bas

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 of the g

Re: Current state of the art in Web deployment?

2013-08-18 Thread Sean Corfield
x27; commands, and we just symlink it into /etc/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://worlds

[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 o

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 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 wrote: >> > What do you mean by cu

[ANN] FW/1 0.2.1 for Clojure released

2013-08-19 Thread Sean Corfield
History: FW/1 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! -

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 wrote: > Here you go, Sean: http://immutant.org/news/2013/08/20/openshift-clustering/ > > Feedback appreciated! > > Jim > > > On T

Re: Multiple Clojure contexts in the same JVM

2013-08-20 Thread Sean Corfield
the above works for me for embedding Clojure in an existing JVM-based web application. Sean On Tue, Aug 20, 2013 at 1:35 PM, David Pollak wrote: > Howdy, > > I have an application where I need multiple independent Clojure contexts > running in the same JVM. > > I've playe

Re: send agent inside doseq

2013-08-20 Thread Sean Corfield
no reason 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 wrote: > If on the println you don't see the value

Re: as-> macro enhancement request?

2013-08-20 Thread Sean Corfield
isn't in the first or last argument 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 wrote: > I like the as-> macro, mostly because it'd theoretically obv

Re: [ANN] Leiningen 2.3.2 released

2013-08-20 Thread Sean Corfield
Upgrading on Mac/Linux was painless as usual - and everything here seems to run fine with 2.3.2 - but Windows continues to be a pain in the rear... You can't lein upgrade so I updated the version string in lein.bat and tried lein self-install: C:\Users\Sean>lein self-install Dow

Re: send agent inside doseq

2013-08-20 Thread Sean Corfield
lines of Clojure with just two 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 Cloju

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
I'm seeing is related 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 wrote: > Hi Sean, &

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 wrote: > Have you tried http://leiningen-win-installer.djpowell.net/ - it should > work... > > -- > Dave > > > > On Wed, Aug 21, 2013 at 6:13

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
hether 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 wrote: > > On We

Re: [ANN] Leiningen 2.3.2 released

2013-08-21 Thread Sean Corfield
I'll 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 wrote: > I have a working Leiningen. I have wget an

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 wrote: > As I told Phil on

Re: Two Way DOM binding in clojurescript

2013-08-22 Thread Sean Corfield
d 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

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/

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

2013-08-24 Thread Sean Corfield
uot; 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 An Architect's View -- http://corfield.org/ Wor

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

2013-08-26 Thread Sean Corfield
le.com/group/clojure?hl=en > --- > You received this message 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 opti

Re: too circular?

2013-08-26 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 Singl

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

2013-08-26 Thread Sean Corfield
;t been 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 wrote: > Then, how about making them global so that t

Re: core.async and referential transparency

2013-09-03 Thread Sean Corfield
ore options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message 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 cloju

Re: Handling name collisions with clojure.core

2013-09-04 Thread Sean Corfield
choices: * require core.matrix with an alias, or choose 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 contro

Re: Handling name collisions with clojure.core

2013-09-05 Thread Sean Corfield
be able to control how those collisions 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 ene

Re: "Clojure in the Large" style JDBC library

2013-09-07 Thread Sean Corfield
an :transaction? 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 wrote: > I've been using

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

2013-09-08 Thread Sean Corfield
ceived this message 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_o

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

2013-09-08 Thread Sean Corfield
't seen 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 > wrote: >> >> We're using alts! to take a value or timeout, as part of machinery to >&

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

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/ Worl

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

2013-09-09 Thread Sean Grove
confusing late night debugging sessions. Best, Sean On Mon, Sep 9, 2013 at 7:15 AM, David Nolen 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

Re: finding retained head

2013-09-10 Thread Sean Corfield
pected 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 wrote: >> Can anyone explain to me what's happ

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
ed this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group,

Re: finding retained head

2013-09-12 Thread Sean Corfield
e reviewed the open tickets and updated the changes doc etc. Sean On Thu, Sep 12, 2013 at 11:37 AM, Brian Craft 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 >

Re: clojure.java.jdbc connection pool example

2013-09-13 Thread Sean Corfield
.jdbc repo where only folks with a signed CA can submit enhancements... Sean On Fri, Sep 13, 2013 at 3:22 AM, Josh Kamau 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 i

Re: The Eclipse Public License is not a good license

2013-09-14 Thread Sean Corfield
an 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 th

Re: AOT Compilation Error on Clojure 1.7.0-alpha5

2015-01-14 Thread Sean Corfield
browse/CLJ-1639 <http://dev.clojure.org/jira/browse/CLJ-1639> which documents my debugging trail. Sean On Jan 14, 2015, at 3:17 PM, Sam Ritchie wrote: > I'm trying to bump my project to the latest alpha (5), and my AOT compilation > test now throws > this error when comp

Re: Dynamically creating defrecord

2015-01-17 Thread Sean Corfield
erflow.com/questions/4288360/clojures-macro-define-a-binding-whose-name-is-composed-from-an-argument/4288738#4288738 Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-20 Thread Sean Corfield
Just FYI, we took 1.7.0-alpha5 into production today. We’ll let you know if we run into any issues. Other than tripping over the AOT/JIT thing with core.typed, it’s been smooth sailing on dev/QA… …and we actually have a transducer in production now! Sean On Jan 10, 2015, at 7:36 AM, Alex

Re: Help sought on issue with AOT, hadoop, classloaders, and consistency of Clojure fn classes

2015-01-29 Thread Sean Corfield
vior of loading both AOT and JIT versions of the same code now has a defined behavior (preferring AOT) - and you get this exception. Sean On Jan 28, 2015, at 11:39 PM, Jason Wolfe wrote: > First off, I apologize in advance for not having a reduced test case, and > express my sincere gra

Re: lein discovery issues

2015-01-30 Thread Sean Corfield
ou should probably avoid it. Do you have a specific example that seems like it should be better documented? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880)

Re: maven error : "Could not find metadata XXX/maven-metadata.xml in local"

2015-02-04 Thread Sean Corfield
t, here's what I get in the mies-om folder in my local repo - looks like you need to rename the XML file - and maybe need some other files? (! 582)-> ls -lR mies-om total 0 drwxr-xr-x 6 sean staff 204 Feb 4 15:52 lein-template mies-om/lein-template: total 24 drwxr-xr-x 7 sean st

[ANN] Frege compiler plugin for Leiningen (Clojure's build tool)

2015-02-08 Thread Sean Corfield
ng as you have Leiningen installed: https://github.com/seancorfield/lein-fregec/tree/master/example Leiningen is available from http://leiningen.org Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaube

Re: OO Programmer trying to move to Clojure: Namespace Organization

2015-02-08 Thread Sean Corfield
payment.braintree, worldsingles.payment.sbw, worldsingles.transparensee - search engine, worldsingles.data - our general persistence layer). Our average namespace is about 200 lines long (we have just over 100 namespaces in our main app - they range from 16 lines to 1,266). Sean Corfield -- (904) 302-SEAN An Architect

Re: No such var during runtime

2015-02-20 Thread Sean Corfield
Could it perhaps be this bug at work? http://dev.clojure.org/jira/browse/CLJ-1604 <http://dev.clojure.org/jira/browse/CLJ-1604> Sean On Feb 20, 2015, at 1:31 PM, Sven Richter wrote: > A user reported an error for closp which I cannot make sense of: > java.lang.RuntimeException:

Re: Current best-of-breed JDBC libraries?

2015-02-24 Thread Sean Corfield
eys) that encapsulates the identifier/entity mappings and the DB connections we use, but we’re slowly moving away from that toward raw clojure.java.jdbc and leveraging the :row-fn and :result-set-fn keys more. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfect

Re: Current best-of-breed JDBC libraries?

2015-02-24 Thread Sean Corfield
I understand it. We're either building SQL from a map of key/value pairs or from composable pieces using HoneySQL (for our complex reports that are all driven by data as well). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of

Re: Border cases for doseq

2015-02-25 Thread Sean Corfield
Cecil, Have you looked at the community documentation for java.jdbc? It has some examples of DDL and metadata: http://clojure-doc.org/articles/ecosystem/java_jdbc/using_ddl.html <http://clojure-doc.org/articles/ecosystem/java_jdbc/using_ddl.html> Sean On Feb 25, 2015, at 10:35 AM,

Re: How do I depend on clojure 1.7.0-master-SNAPSHOT?

2015-02-26 Thread Sean Corfield
hots";]] The only difference between my project.clj (which works) and yours is the trailing / on the repository address: :dependencies [[org.clojure/clojure "1.7.0-master-SNAPSHOT"]] :repositories [["snapshots" "https://oss.sonatype.org/content/repositori

Re: Is it possible to determine that I did a 'lein repl'

2015-02-27 Thread Sean Corfield
file.repl=true"] might be sufficient for you. Then in our code we test: (System/getProperty "lein.profile.repl") This will be true if you’re in a REPL and nil otherwise. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the

Re: Is it possible to determine that I did a 'lein repl'

2015-02-27 Thread Sean Corfield
default JVM options — we do different things on different platforms — it returns a vector of JVM options. So :jvm-opts ["-Dlein.profile.repl=true"] might be sufficient for you." Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the ene

Re: How do I depend on clojure 1.7.0-master-SNAPSHOT?

2015-02-27 Thread Sean Corfield
On Feb 27, 2015, at 3:30 PM, Michael Griffiths wrote: > Sean, thanks - but does it still work for you if you remove ~/.m2/ (or just > remove 1.7.0-master-SNAPSHOT from here)? I've tried with the trailing slash > and am still having no luck (both locally and on Travis CI). Yes —

Re: Breaking out of a sequence

2015-03-02 Thread Sean Corfield
equence of adjustments ends or the processing function evaluates to a reduced value. Sean On Mar 1, 2015, at 2:52 AM, Cecil Westerhof wrote: > 2015-03-01 11:33 GMT+01:00 Colin Yates <mailto:colin.ya...@gmail.com>>: > I would replace it with loop/recur or a while, with both checking a >

Re: Deterministic macro expansion for Clojure?

2015-03-23 Thread Sean Corfield
system itself, not your own code. Surely in a unit test you’d want to test the _behavior_ of the code instead? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880

Idiomatic stage refreshes

2015-03-24 Thread Sean Inglis
I'm trying to get to grips with requesting and caching progressively more detailed information from a data source, and I'd appreciate some pointers on idiomatic ways to achieve this in Clojure. The current implementation is in Angular, and the actual implementation would be in ClojureScript, bu

[GSoC] Typed Transient Proposal

2015-03-25 Thread Sean Laguna
data stuctures that may benefit from transience? Thanks! Hope to hear back soon (and sorry for the late correspondence about this)! Sean Laguna -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojur

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
ge! Again, I'd love to hear comments on my proposal, and let me know if there's anything else I can do in the meantime. Best, Sean On Wednesday, March 25, 2015 at 5:05:44 PM UTC-5, Ambrose Bonnaire-Sergeant wrote: > > Hi Sean, > > Sounds like you have greater ambitions th

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
Hi, I did get the melange submission in on time, it just points to the gist. Presumably that means I'm technically on time? Best, Sean On Mar 27, 2015 3:28 PM, "Ambrose Bonnaire-Sergeant" < abonnaireserge...@gmail.com> wrote: > Hi Sean, > > I'm afraid stude

Re: [GSoC] Typed Transient Proposal

2015-03-27 Thread Sean Laguna
hen we're all good! >> >> On Fri, Mar 27, 2015 at 4:52 PM, Sean Laguna > > wrote: >> >>> Hi, >>> >>> I did get the melange submission in on time, it just points to the gist. >>> Presumably that means I'm technically on time

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-03-31 Thread Sean Corfield
wild... Sean On Mar 31, 2015, at 9:50 AM, Alex Miller wrote: > Clojure 1.7.0-alpha6 is now available. > > Try it via > - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-alpha6/ > <https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-alpha6/> > -

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-03-31 Thread Sean Corfield
Java code that implements Clojure and it struck me as odd that these pieces were clearly designed to be called from Clojure yet otherwise seemed to be "internal" so I'd definitely be curious as to the thinking there. Sean Corfield -- (904) 302-SEAN An Architect's View -- http

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-03-31 Thread Sean Corfield
On Mar 31, 2015, at 4:00 PM, Mark Engelberg wrote: > I can push a new version of instaparse incorporating Michael Blume's pull > request by the end of the day. That would be great, Mark! Thank you! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ &q

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-03-31 Thread Sean Corfield
later today or tomorrow in preparation for our next production build (we’re running alpha5 in production right now). Sean On Mar 31, 2015, at 3:21 PM, Sean Corfield wrote: > Looks like a great set of updates! > > Unfortunately, as several of us found out today, the change to the >

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-01 Thread Sean Corfield
d have it behave "appropriately" (i.e., you can verify that a given section of code does the right thing for a given environment)? I guess we’ll have to see how various IDEs deal with this to know what’s really needed… Sean > On Wednesday, April 1, 2015 at 11:56:12 AM UTC-5, Alex

Re: sp mm training in hyderabada

2015-04-13 Thread Sean Corfield
hing? > It's spam. The poster should be banned (if the moderators haven't already done so). I moderate a number of groups on LinkedIn and this sort of annoying stuff gets posted all the time :( -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ W

Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-16 Thread Sean Corfield
We deployed beta1 to production this morning. I’ll report back if we encounter any problems (generally we’ve found Clojure pre-release builds to be very stable). We were previously running alpha5 in production. Sean On Apr 10, 2015, at 12:25 PM, Alex Miller wrote: > Clojure 1.7.0-beta1 is

Re: flip in clojure

2015-04-30 Thread Sean Corfield
I wonder how many code bases out there have their own variant of `flip`? Here’s ours: (defn flip "Like partial except you supply everything but the first argument." ([f b] (fn [a] (f a b))) ([f b c] (fn [a] (f a b c))) ([f b c d & more] (fn [a] (apply f a b c d more

Re: ANN: Gamma, GLSL shaders made simple

2015-05-01 Thread Sean Grove
I was literally just looking over this right before you sent the announcement, and it looks fantastic. Really looking forward to playing with it over the next few weeks. On Fri, May 1, 2015 at 12:39 PM, kovas boguta wrote: > Gamma is a substrate for graphics software, such as games and data > vi

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Sean Corfield
se on libraries meant that I only needed to write 400 lines of code and leverage Ring, and Selmer, to get it up and running. I haven't promoted it in the Clojure community yet because I'm not yet using it in production but I think it's a good solution -- but it's definitely n

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Sean Corfield
e the solution for low-value problems... -- 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 t

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Sean Corfield
lex stuff as well. > Perfection is the enemy of the good (Gustave Flaubert). Sean -- 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

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Sean Johnson
n whole ebooks in some cases) to walk developers through the changes. Cheers, Sean -- 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 - p

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Sean Johnson
ars ago that continue to grow in usage and features. I can also add that the benefits that came along with each release (Rails 2, 3 and 4) have been critical in being able to add new features and modernize the app. Building features today with the tech we had in Ruby/Rails in 2009 would be

Re: [ANN, GSoC] A Common Clojure Source Metadata Model

2015-05-04 Thread Sean Grove
I've been hoping someone would rebuild Codeq , now that tools.analyzer (and friends) is out and ClojureScript has made so much progress. Not only would it be useful for diving into a new codebase (I've needed it several times when working with a large, unfamiliar c

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Sean Corfield
Not sure what you mean by "one flash value" — I’d expect you to have a map of "flash" scope data and that’s the way my FW/1 behaves: you assoc values into the "flash scope" and they’re restored on the next request. On May 4, 2015, at 8:39 AM, Josh Kamau wrote: > I am currently trying to "redir

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Sean Corfield
On May 4, 2015, at 10:53 AM, Josh Kamau wrote: > Thanks Sean. that makes sense. I didnt want that map to be stored as one > cookie because it could potentially be big... (there is a 4kb limit per > cookie right?) . I will dig into it and check. If that works for me, then all &g

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Sean Corfield
On May 4, 2015, at 11:08 AM, Josh Kamau wrote: > @Sean, i wanted totally stateless backend. Without a database? :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist n

<    2   3   4   5   6   7   8   9   10   11   >