[ANN] clojure.java.jdbc 0.7.0 Beta 2

2017-06-30 Thread Sean Corfield
on Slack around CollReduce, IReduce, IReduceInit, and the contract of reduce. And also everyone who completed the survey! Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert,

Clojure versions used by java.jdbc users

2017-07-03 Thread Sean Corfield
more 1.7 responses – and I was not expecting 35% already on Clojure 1.9 alpha builds! If you use java.jdbc and haven’t already taken the survey and want your voice heard:     https://www.surveymonkey.com/r/MR2HRFD Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect&#

RE: [ANN] clojure.java.jdbc 0.7.0 Beta 1

2017-07-04 Thread Sean Corfield
From: Ralf Schmitt Sent: Tuesday, July 4, 2017 5:54 AM To: Clojure Mailing List; Sean Corfield Cc: Java.JDBC Mailing List Subject: Re: [ANN] clojure.java.jdbc 0.7.0 Beta 1 Sean Corfield writes: > A new function, reducible-query, has been added that accepts a db-spec > and a SQL/parameters

RE: [ANN] clojure.java.jdbc 0.7.0 Beta 1

2017-07-04 Thread Sean Corfield
u have found a bug! The options passed to reducible-query are passed to the reducible result set but they are not passed to db-query-with-result-set which is where the :fetch-size option should be passed down into prepare-statement. Ugh. I’ll fix that and put out a new release. Sean Corfield -

[ANN] clojure.java.jdbc 0.7.0 Beta 4

2017-07-04 Thread Sean Corfield
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 From: Sean Corfield<mailto:s...@corfield.org> Sent: Tuesday, July 4, 2017 7:27 PM To: Cloj

JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta 1

2017-07-05 Thread Sean Corfield
/jira/browse/JDBC-153 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 From: Ralf Schmitt Sent: Wednesday, July 5, 2017 5:42 AM To: Sean Corfield; Clo

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-05 Thread Sean Corfield
sql – with the latter being the Impossibl driver and the other two being the regular PostgreSQL driver. 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 At

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-05 Thread Sean Corfield
on for every operation! The :auto-commit? option is supported in 0.7.0-beta5 which should hit Maven Central by tomorrow (or maybe late tonight). Please let me know if it solves the streaming problem. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-05 Thread Sean Corfield
sql, and pgsql – with the latter being the Impossibl driver and the other two being the regular PostgreSQL driver. 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." --

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Sean Corfield
option into the call that would create the connection. Also, can you confirm that reducible-query also works like this for you? 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

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Sean Corfield
] (take 2) (jdbc/query db query {:fetch-size 500 :auto-commit? false})) 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 From: Ralf Schmitt Sent: T

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-07 Thread Sean Corfield
ns don’t “randomly” change their behavior half way through a with-db-connection block because a _query_ (something that should be an inherently read-only operation!) happened to _mutate_ the surrounding state. That could produce very surprising behavior and be very hard to debug. Sean Corfield --

RE: Monitoring Clojure applications in production

2017-07-10 Thread Sean Corfield
end-to-end process) 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 From: Łukasz Korecki<mailto:lukaszkore...@gmail.com> Sent: Monday, Ju

RE: I can only get the first item of a lazyseq via a Manifold stream, and I can't get/find an Exception

2017-07-11 Thread Sean Corfield
What is the ‘fetch’ function here? 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 From: lawrence.krub...@gmail.com<mailto:lawrence.krub...@gm

RE: lein autodoc failed in clojure.java.jdbc

2017-07-12 Thread Sean Corfield
concerned. 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 From: Xiangtao Zhou<mailto:tao...@gmail.com> Sent: Wednesday, July 12, 2017 6:5

RE: I can only get the first item of a lazyseq via a Manifold stream, and I can't get/find an Exception

2017-07-12 Thread Sean Corfield
= cw.company_profile_id WHERE p.name is not null and p.name != '' "]) (catch Object o (errors/error o "" " query to database had a problem " On Wednesday, July 12, 2017 at 2:09:32 AM UTC-4, Sean Corfield wrote: What is the ‘fetch’ function here? Se

RE: lein autodoc failed in clojure.java.jdbc

2017-07-13 Thread Sean Corfield
seemed so out of date!). 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 From: Xiangtao Zhou Sent: Thursday, July 13, 2017 7:43 PM To: Clojure

RE: survey says: web dev

2017-07-15 Thread Sean Corfield
JS 7. No idea, that’s a front end team concern 8. No idea, that’s a front end team concern So I’m not sure what value you’d get from those answers (or those questions)… Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you'

RE: What is juxt really doing?

2017-07-15 Thread Sean Corfield
n 2} missing) ;; where missing is {:who 4 :what 99} => missing, i.e., {:who 4 :what 99} (:when {:who 1 :when 2} missing) ;; where missing is {:who 4 :what 99} => 2 Does that help? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

[ANN] org.clojure/java.jdbc 0.7.0

2017-07-17 Thread Sean Corfield
: https://seancorfield.github.io/blog/2017/07/17/clojure-java-jdbc-0-7-0/ 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 -- You received thi

RE: Migrating nREPL out of Clojure Contrib

2017-07-19 Thread Sean Corfield
transition and nREPL might flourish in ways none of us could possibly have imagined so far…) 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

RE: [ANN] inspectable 0.1.0 Improve your repl experience when usingclojure.spec

2017-07-25 Thread Sean Corfield
This looks very cool! A response to Stu’s recent talk about REPL-Driven Development and pluggable inspectors etc? 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."

RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
-Porg.clojure/clojure=/Users/me/code/clojure/target/classes Based on the previous example’s :dev classpath-overrides? Question: is the thinking that tools like Boot and Leiningen could (should?) switch over to using this, instead of their own, home-grown Aether-based stack? Sean Corfield

RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
Looks much better, thank you! 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 From: Alex Miller Sent: Tuesday, July 25, 2017 2:32 PM To: clojure

RE: [ANN] tools.deps.alpha

2017-07-25 Thread Sean Corfield
The primary use case for clj initially will be new users or existing users that want to build a repl-focused project without any real intent to deploy artifacts Fair enough. Not convinced clj is very beginner-friendly (compared to Boot – it’s certainly more friendly than Leiningen) but I suspect

RE: Unnamed Types - What Am I Doing Wrong?

2017-07-26 Thread Sean Corfield
This is awesome… made me laugh out loud! 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 From: James Gatannah<mailto:james.gatan...@gmail.c

RE: Converting json to work with clojure.spec

2017-08-11 Thread Sean Corfield
defn fields [k] (keyword (str my-ns) k)) (fields “name”) ;;=> :chtst.core/name 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 From: Peter H

RE: is s/and different inside an s/fdef?

2017-08-11 Thread Sean Corfield
that do very different things. 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 From: scott stackelhouse Sent: Friday, August 11, 2017 1:06

RE: Is Clojure victim of Spec ?

2017-08-18 Thread Sean Corfield
a lesser extent). 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 From: Gary Trakhman Sent: Friday, August 18, 2017 10:22 AM To: clojure@googleg

RE: Did something change in future

2017-08-19 Thread Sean Corfield
the code does. My guess is you’ll see an exception. 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 From: Cecil Westerhof Sent: Saturday, August 19,

RE: Did something change in future

2017-08-19 Thread Sean Corfield
And, yes, definitely, you should pick up Clojure again!! 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 From: Cecil Westerhof Sent: Saturday, A

RE: Sum types in Clojure? Better to represent as tagged records or asvariant vectors?

2017-08-22 Thread Sean Corfield
core.match with variants – because that’s what we had then. I’m fairly sure that if Eric (and Jeanine) were writing their material today, we’d see `clojure.spec` front and center and regular hash maps being used. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfiel

RE: [ANN] Clojure 1.9.0-alpha18

2017-08-23 Thread Sean Corfield
: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/test.clj#L124-L138 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

RE: [ANN] Clojure 1.9.0-alpha20

2017-09-07 Thread Sean Corfield
Likewise. I expect we’ll put this in production early next week. 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 From: Jeaye Sent: Thursday, Sep

RE: Ring, redirect with flash

2017-09-13 Thread Sean Corfield
Do you have the wrap-flash middleware in place? 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 From: Luis Medina Sent: Wednesday, September 13,

RE: [ANN] Clojure 1.9.0-alpha20

2017-09-13 Thread Sean Corfield
We put it in production on Monday. So far, so good. 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 From: Sean Corfield Sent: Thursday, Sep

RE: Has the (left recursive blowing) concat function been fixed?

2017-09-15 Thread Sean Corfield
making X slower for everyone, in order to make X deal “better” with cases it wasn’t designed for. It’s why, for example, many things simply blow up with a ClassCastException rather than adding conditional checks – and slowing everyone down – just to produce a “better” error message. Sean Corfield

RE: Is it wrong that I'm thinking about this?

2017-09-20 Thread Sean Corfield
’d be very wary of any claim that the performance overhead of “keeping instrumentation on fully” is “small” in the general case. 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 a

RE: Help ship Clojure 1.9!

2017-10-02 Thread Sean Corfield
I would perhaps prevail on those library maintainers to clarify such statements…? 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.

RE: [core.spec] Stricter map validations?

2017-10-06 Thread Sean Corfield
ering functions to allow you to optionally check values. 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 From: clo

RE: Can slingshot/try+ and then catch Object really catch any error?

2017-10-09 Thread Sean Corfield
Timbre has a logged-future macro that you can use instead of future so that exceptions are automatically logged. 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.

RE: mysql and clojure

2017-10-19 Thread Sean Corfield
://clojurians.net/ and read/post messages from https://clojurians.slack.com/ or use a desktop client), there’s a #sql channel for all things JDBC-related. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

Re: Don't Laugh - How to Get the Name of an Anonymous Function

2017-10-24 Thread Sean Corfield
No need to import the compiler. Use clojure.repl/demunge 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) _ From: Ravindra Jaju ma

RE: [ANN] Clojure 1.9.0-beta3

2017-10-25 Thread Sean Corfield
FWIW, we put 1.9.0-beta2 in production on Monday. No issues so far. We’ll probably put beta3 in production next Monday – we’re not seeing any regressions so far in testing today. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

[ANN] Expectations 2.2.0-rc3

2017-10-26 Thread Sean Corfield
expectations are now available in expectations.clojure.test so you should switch to using only the latter namespace, not both! (and, yeah, this is going to break the World Singles test suite when I update our code to use RC 3 so I will share your pain!) Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An

RE: [ANN] Clojure 1.9.0-beta4

2017-11-01 Thread Sean Corfield
? always seemed like the anomaly. 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 From: clojure@googlegroups.com

RE: Who Uses import-vars?

2017-11-07 Thread Sean Corfield
hand (expectations.clojure.test currently does that to expose much of the old expectations API as-is while I’m transitioning how the library works). I consider it very much an interim/transition solution, that should be avoided in normal production code. Sean Corfield -- (970) FOR-SEAN -- (904

RE: [ANN] Clojure 1.9.0-RC1

2017-11-09 Thread Sean Corfield
We have three processes running RC1 in production as of today. Looks good so far. We’ve had everything else up and running on Beta 4 in production since Monday, also looking good. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

RE: [ANN] tools.deps.alpha 0.2.167 and cli updates

2017-11-12 Thread Sean Corfield
environment (so it ultimately relies on Boot’s artifact handling and class loading). It currently leverages a couple of private functions to mimic the -R and -C alias handling (Alex, I’ll talk to you via DM some time about this). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's

RE: Something that has a spec is said to be ???

2017-11-13 Thread Sean Corfield
only checks that the argument is a “spec object”, i.e., instance? clojure.spec.alpha.Spec 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.

RE: Map Keywords are functions, why not vector elements?

2017-11-13 Thread Sean Corfield
… 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 From: clojure@googlegroups.com on behalf of Stephen Feyrer

RE: [core.spec] Stricter map validations?

2017-11-14 Thread Sean Corfield
passing a field we didn’t care about and we later decided that was an optional field but couldn’t be an empty string and it broke that client) Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

RE: [core.spec] Stricter map validations?

2017-11-15 Thread Sean Corfield
suming the API would always ignore any additional keys. 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 From: clo

RE: Using libraries without Lein

2017-11-28 Thread Sean Corfield
(anywhere) with the clj-http library loaded. Boot also has a call task that accepts Clojure code via the command-line: boot -d clj-http call -p -e “(require ‘[clj-http.client :as http])” -e ‘(http/get “http://google.com”)’ The -p option tells call to print the result of each expression. Sean

RE: Clojure for beginners

2017-12-06 Thread Sean Corfield
If you haven’t already, join the Clojurians Slack – sign up at http://clojurians.net/ -- and join the #beginners channel where folks will be happy to answer any questions and help you learn. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/

RE: [ANN] Clojure 1.9.0 is now available!

2017-12-09 Thread Sean Corfield
some/thing repl That loads the latest version of some/thing (as if you’d specified [some/thing “RELEASE”] as a dependency) and then starts a REPL. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, yo

RE: Terminating 'clj' REPL session

2017-12-09 Thread Sean Corfield
all, both Leiningen and Boot give ctl-d as the first option for exiting a REPL: Exit: Control+D … Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

RE: Immutable names of things?

2017-12-11 Thread Sean Corfield
of approach… 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 From: clojure@googlegroups.com on behalf of Er

RE: Loading deps.edn Dynamically in Clojure 1.9

2017-12-12 Thread Sean Corfield
Yes, if you use Boot. 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 From: Asim Jalis<mailto:asimja...@gmail.com> Sent: Tuesday, Decemb

RE: Transducers eduction vs sequence

2017-12-22 Thread Sean Corfield
s that clojure.core.Eduction has behind it. If you wrap your eduction call in a seq call, I expect it will work: (type (seq (eduction identity [1 2 3]))) => clojure.lang.LazySeq Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoy

RE: 1.8 vs 1.9 performance

2017-12-24 Thread Sean Corfield
We’ve been running 1.9 prerelease builds in production from the first alpha. We did not notice any performance changes from 1.8. We’ve run prerelease builds of Clojure in production since the 1.3 days. It’s always been stable enough to do that. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

RE: Adding http header to SOAP request

2017-12-29 Thread Sean Corfield
Which clj-soap are you talking about? There are several unmaintained forks of the original project lying around. This seems to be the only one that’s been getting any love: https://github.com/Zeto-Ltd/clj-soap -- I don’t see any obvious support for passing additional headers there. Sean

RE: 1.9 is close to 2.0...

2017-12-29 Thread Sean Corfield
At the moment I expect 1.10 to be next (that’s the current snapshot version). We updated our test suite to multi-version test against 1.9.0 and 1.10.0-master-SNAPSHOT over a week ago 😊 Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "

[ANN] org.clojure/java.jdbc 0.7.5

2017-12-29 Thread Sean Corfield
suggestions are always welcome. The best place to catch me for support with clojure.java.jdbc is the #sql channel on the Clojurians Slack. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

RE: Adding http header to SOAP request

2017-12-29 Thread Sean Corfield
overhead than a generic library like clj-soap. 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 From: clojure@googl

RE: Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Sean Corfield
*))) (the clojure.main/main function binds the command line arguments to that var) This works on OS X – I haven’t tried it on Linux. 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

RE: Russ olsen's Clojure Book

2018-01-16 Thread Sean Corfield
https://pragprog.com/book/roclojure/getting-clojure -- “This title will be available on or about 2018-08-10.” I’m a bit surprised it wasn’t available under their Beta program… Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you'

RE: numeric-tower versus clojure 1.9

2018-01-19 Thread Sean Corfield
tps://repo1.maven.org/maven2/ (1k) Retrieving math.numeric-tower-0.0.4.jar from https://repo1.maven.org/maven2/ (5k) … boot.user=> (clojure-version) "1.9.0" boot.user=> (require '[clojure.math.numeric-tower :as math]) nil boot.user=> Sean Corfield -- (970) FOR-SEAN -- (9

RE: Russ olsen's Clojure Book

2018-01-25 Thread Sean Corfield
I’m already enjoying my copy! I like the structure of the sections, especially the “keeping out of trouble” and “in the wild”. 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

[ANN] boot-tools-deps 0.2.0 (based around tools.deps.alpha 0.5.342)

2018-01-28 Thread Sean Corfield
then updates Boot’s resource and source paths, and Boot’s classpath. Optionally updates Boot’s dependencies too (for use by other tasks such as uber). Supports Git and local dependencies (adds them to the source paths after tools.deps has processed them). Sean Corfield -- (970) FOR-SEAN -- (904

RE: [ANN] clojure tools 1.9.0.315, tools.deps.alpha 0.5.342

2018-01-29 Thread Sean Corfield
It’s on the 1.9.0 branch: https://github.com/clojure/brew-install/blob/1.9.0/src/main/resources/clojure#L32 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.

RE: `lein run` VS `lein uberjar` behaviour

2018-02-18 Thread Sean Corfield
Show us some of your code. 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 From: clojure@googlegroups.c

RE: s/valid? does not tell me if the data is valid as supplied

2018-02-20 Thread Sean Corfield
can be coerced to the target type). Then we use the appropriate spec at the appropriate “level” in our application. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're no

RE: s/valid? does not tell me if the data is valid as supplied

2018-02-21 Thread Sean Corfield
/conformer, I’m not sure where that recommendation should live. Alex, any thoughts on this, since you seem to be the one most often making the recommendation? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying s

RE: Why does the `def-` not exist?

2018-02-26 Thread Sean Corfield
those will happen so I just try to make it muscle-memory to always type ^:private after I type def! 😊 Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not rea

[ANN] org.clojure/core.cache & org.clojure/core.memoize 0.7.1 released!

2018-03-02 Thread Sean Corfield
tch documentation and comply with core.memoize's world view * Cleanup/improve/fix tests * Add multi-version testing locally via Leiningen * Jump to 0.7.0 to match core.cache since these two libraries are so closely in sync * Drop support for Clojure 1.3/1.4/1.5 Sean Corfield

RE: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Sean Corfield
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 From: clojure@googlegroups.com on behalf of Didier Sent: Friday, Ma

RE: [ANN] clj-memory meter – measure the memory used by arbitrary objects

2018-03-06 Thread Sean Corfield
help us help you debug this. Also, what version of Java are you using? (java -version) 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

RE: Best Book for Clojure

2018-03-13 Thread Sean Corfield
The answer depends on many things: how much programming experience do you have and in which languages? How much Clojure have you done so far? Do you like a reference-style book or one that is more conversational? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View --

RE: Best Book for Clojure

2018-03-14 Thread Sean Corfield
habits that make learning FP harder. Then, for more on the “Why?” of Clojure: * https://www.manning.com/books/the-joy-of-clojure-second-edition Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, yo

RE: Calling functions from within maps

2018-03-20 Thread Sean Corfield
As Erik said, you’re missing a paren: (map #(assoc % :sites (SITES-NAMES (:f_username %)) my-rows) Should be: (map #(assoc % :sites (SITES-NAMES (:f_username %))) my-rows) Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you'

RE: lein midje not working

2018-04-11 Thread Sean Corfield
-(~/clojure/job-queue) (! 1119)-> cat > test/job_queue/core_test.clj (ns job-queue.core-test (:require [job-queue.core :refer :all] [midje.sweet :refer :all])) (fact [1 3 5 8] => (contains even?)) ^D Wed Apr 11 16:41:43 (sean)-(jobs:0)-(~/clojure/job-queue) (! 1120)-> lein midje ni

[ANN] clj-new -- creating new Clojure projects using the clj CLI

2018-04-17 Thread Sean Corfield
x27;s domain reversed, e.g., `com.acme`, and the second part is the "local" name for your project (and is used as the name of the folder in which the project is created). For a multi-segment project name, such as `foo.bar`, the folder that will be created would be called `foo.bar` and

RE: [ANN] clj-new -- creating new Clojure projects using the clj CLI

2018-04-18 Thread Sean Corfield
(since it is basically a fork of boot/new without any of the Boot dependencies): clj -A:new simple-yada-template simple.yada (that will cause boot/new 0.5.2 to be downloaded, but only as a transitive dependency of simple-yada-template/boot-template). Sean Corfield -- (970

RE: [ANN] clj-new -- creating new Clojure projects using the clj CLI

2018-04-19 Thread Sean Corfield
I had the one-liner in an earlier version of the README but decided it was unreadable (a single long line is hard to read when it scrolls so much). Maybe I’ll put it back somewhere in there… Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/

RE: [ANN] clj-new -- creating new Clojure projects using the clj CLI

2018-04-20 Thread Sean Corfield
Alright, added command-line usage back into the README! Talk about “peer pressure” 😊 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.

[ANN] org.clojure/java.jdbc 0.7.6

2018-04-25 Thread Sean Corfield
resent. * Switched local test infrastructure over to CLI and deps.edn (from Leiningen) as an example of multi-version testing without a "build tool". Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying

RE: doall

2018-05-16 Thread Sean Corfield
(zipmap inviteds (repeat 1)) 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 From: clojure@googlegroups.com on

RE: Windows Cygwin lein repl

2018-05-24 Thread Sean Corfield
If you’re on Windows 10, I highly recommend trying Windows Subsystem for Linux and Ubuntu (or one of the other distros in the Microsoft Store). I do all of my Clojure development on Windows that way. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfiel

RE: Clojure Spec question with and/or composition

2018-05-28 Thread Sean Corfield
/conformer second) ::testcc) (s/and (s/nonconforming ::test) ::testcc) 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 _

RE: Validate XSD 1.1

2018-05-28 Thread Sean Corfield
a namespace and refer in that symbol…? 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 From: clojure@googl

RE: Validate XSD 1.1

2018-05-29 Thread Sean Corfield
But you were calling it from the user namespace – likely without requiring/referring that function into the user namespace. 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

RE: [ANN] org.clojure/java.jdbc 0.7.6

2018-05-30 Thread Sean Corfield
:sha "f71bf4ec9c71d4c7931282c0a18639f1a4389487"}}}' (you’ll need to provide a JDBC driver as well, of course) Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not reall

RE: detecting running as script

2018-06-12 Thread Sean Corfield
ClojureScript support (starting in 2013) * I took over as maintainer for the 0.3.2 release (starting in 2015) and I’m happy to look at any enhancement requests or features offered by any other command line argument parsing library that folks make me aware of! Sean Corfield -- (970) FOR-SEAN -- (904

[ANN] org.clojure/java.jdbc 0.7.7

2018-06-23 Thread Sean Corfield
sets that contain generated keys. In addition get-connection tries to provide better error messages when a java.sql.Connection is accidentally passed to a function that expects a db-spec. As always, I’m interested in feedback on how to make JDBC easier and better for you! Sean Corfield -- (970

RE: [ANN] Clojure 1.10.0-alpha5

2018-06-28 Thread Sean Corfield
Anyone using taoensso/nippy will encounter a compilation exception on Clojure 1.10.0 Alpha 5. See https://dev.clojure.org/jira/browse/CLJ-2367 for details (an unexpected – and probably unintended – change in the new ASM GeneratorAdapter breaks casts from short or byte to int). Sean Corfield

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-04 Thread Sean Corfield
yet include this fix. 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 ____ From: Sean Corfield Sent: Thursday, Ju

RE: How do I use spec and deftype together?

2018-07-04 Thread Sean Corfield
fair bit of boilerplate/work. 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 From: clojure@googlegroups.com

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-18 Thread Sean Corfield
outside of our build pipeline. 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 ____ From: Sean Corfield Sent: Wednesday,

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-19 Thread Sean Corfield
Yes, which allowed us to actually _try_ to run our build pipeline – so the problems we’re seeing are fallout from the big changes in Alpha 5… I just haven’t nailed them down yet 😊 Everything works fine on Alpha 4. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View --

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