RE: An Error spec?

2018-11-08 Thread Sean Corfield
people find Flow in production – it’s a lot more focused and simpler than Engine (which is definitely a good thing!  ). 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." -- Marga

RE: What's the end goal for tools.deps?

2018-11-04 Thread Sean Corfield
Clojure? 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: Sunday, Novemb

RE: What's the end goal for tools.deps?

2018-11-04 Thread Sean Corfield
it, if you wish. One important caveat to consider right now is that there is no support for Windows for clj/deps.edn projects (I develop on both macOS and Windows 10 – I just use WSL with Ubuntu on the latter – and at work everything is deployed to Linux). Sean Corfield -- (970) FOR-SEAN -- (904) 302

RE: [ANN] deps-ancient - are your deps outdated?

2018-11-02 Thread Sean Corfield
Unfortunately I wasn’t aware of Depot when I wrote deps-ancient, otherwise I wouldn’t have made deps-ancient. Hard to keep track when there's so much activity around deps/CLI! As to fully resolving the deps, I think there is an issue for that  Cool! Sean Corfield -- (970) FOR-SEAN -- (904) 302

RE: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-11-01 Thread Sean Corfield
Not really, the hold-up is primarily in figuring out the build packaging parts Fair enough. I merged master and 5140fe0b510f6aeda517711bc6433bef978d6cf6 is latest sha on that branch if that helps. Not sure when it will get in. Thank you! Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

RE: [ANN] deps-ancient - are your deps outdated?

2018-11-01 Thread Sean Corfield
/Olical/depot which allows you to specify aliases and also uses the merged deps environment so it matches the actual dependencies that your project would use. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, y

RE: [ANN] tools.deps.alpha 0.5.452 and clj 1.9.0.394

2018-10-31 Thread Sean Corfield
that branch is now _way_ behind the released version and a lot of stuff I needed wasn’t in the add-lib branch ☹) 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." -- Marga

RE: An Error spec?

2018-10-26 Thread Sean Corfield
e some convenient accessors? Or just ::ok and ::error directly? 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@googlegro

RE: An Error spec?

2018-10-26 Thread Sean Corfield
you think returning s+r/f+e-i would be “better” – happy to look at several different cases!) 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: An Error spec?

2018-10-26 Thread Sean Corfield
land” as far as functions that return values that may indicate success or expected, known failure modes. 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." -- Marga

RE: An Error spec?

2018-10-26 Thread Sean Corfield
callers might occasionally not be able to ascertain a reason beyond “it failed”… 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: An Error spec?

2018-10-26 Thread Sean Corfield
-data (and now ex-message and ex-cause) provide all the hooks you need for conveying error information along with those exceptions. 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] 1.10.0-beta4

2018-10-26 Thread Sean Corfield
had a lot of other changing going to production lately that have changed the performance dynamic of three of our servers, so any performance boost from 1.10 and the 8+ bytecode would likely have been swamped by other changes). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View

RE: [ANN] 1.10.0-beta4

2018-10-25 Thread Sean Corfield
We have had this in production for all processes for about 24 hours so far. No problems found. 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." -- Marga

RE: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-11 Thread Sean Corfield
of ex-message now in our 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.com on behalf of Al

RE: [ANN] Clojure 1.10.0-beta1

2018-10-05 Thread Sean Corfield
Thank you! We’re already on Alpha 8 in production, and we upgraded to Alpha 9 in dev today. We’ll get Beta 1 onto dev and into QA on Monday and I expect we’ll take it to production early next week. Will there be more detail about prepl in a blog post or similar? Sean Corfield -- (970) FOR-SEAN

RE: SOAP server

2018-10-05 Thread Sean Corfield
Yup, as someone who has also gone down this path before, I agree that Java interop is probably the way to go these days. SOAP is very enterprise-y and I expect most Clojurians try to avoid it where possible  Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http

[ANN] HoneySQL 0.9.4

2018-10-01 Thread Sean Corfield
ias] are now checked to have exactly two elements. Fix #226. (@seancorfield) * Allow where and merge-where to be given no predicates. Fix #228 and PR #230. (@seancorfield, @arichiardi) * as alias is no longer split during quoting. Fix #221 and PR #231. (@gws) Sean Corfield -- (970) FOR-SE

RE: [ANN] tools.trace 0.7.10

2018-09-28 Thread Sean Corfield
ools.trace "0.7.10"] 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 Luc Se

RE: [ANN] org.clojure/tools.cli 0.4.1

2018-09-23 Thread Sean Corfield
) as well. 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: Sunday, September 23, 2018 1:35:42 PM T

RE: [ANN] org.clojure/tools.cli 0.4.1

2018-09-23 Thread Sean Corfield
That documentation is auto-generated behind the scenes as part of the build system (I think, or maybe some other process) so if it isn’t up-to-date, maybe Alex Miller can take a look? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If y

[ANN] org.clojure/tools.cli 0.4.1

2018-09-22 Thread Sean Corfield
that make it easier to work with non-idempotent command line options (such as incrementing/counting options) and addresses a problem raised in https://dev.clojure.org/jira/browse/TCLI-90 (poor interaction between the existing :assoc-fn and :default options). -- Sean A Corfield -- (904) 302-SEAN

RE: Release a lib w/ specs

2018-09-14 Thread Sean Corfield
Clojure releases tends to be fairly fast, because it’s so stable and so easy to upgrade (mostly!). See http://blog.cognitect.com/blog/2017/1/31/clojure-2018-results -- only about 6% of users were on 1.7 or earlier as of Q1 this year. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's

RE: [ANN] org.clojure/tools.cli 0.4.0

2018-09-13 Thread Sean Corfield
snap! 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 Matching Socks Sent

[ANN] clj-new @ 21ca1b27f46dc324be084ba839beca555aeda387

2018-09-13 Thread Sean Corfield
-line arguments are now available with clj-new). Uses org.clojure/tools.cli for command-line option parsing. 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 --

[ANN] org.clojure/tools.cli 0.4.0

2018-09-13 Thread Sean Corfield
h aliases :1.8, :1.9, and :master. 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 this message because you are subscribed to the Google G

Just shoot me...: [ANN] Clojure 1.10.0-alpha5

2018-09-06 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: Sean Corfield Sent: Saturday, July 21, 2018 8:22:21 PM To: clojure@googlegroups.com Subject: RE: [AN

RE: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Sean Corfield
Thank you! We’ve been testing against master-SNAPSHOT all along but we’ve decided we’ll try to take this to production (probably next week) to give the new ASM stuff a good run. (which is a bit slow for us – we normally take alphas to production pretty much as they appear  ) Sean Corfield

RE: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Sean Corfield
'Lee' via Clojure<mailto:clojure@googlegroups.com> said, on Thursday, August 30, 2018 9:25 AM: > I've got a super intuitive way to control parens: Type them! :-) I think this is the perfect time for http://corfield.org/articles/omg_parens.png :) Sean -- You received this message be

RE: Order of preds in clojure.spec/alt

2018-08-02 Thread Sean Corfield
what you want to happen if you aren’t matching at least one string?) 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 Fro

RE: What Happened to "java -jar clojure.jar hosehead.clj" ?

2018-08-01 Thread Sean Corfield
to that point pretty quickly, as do the (online) tutorials. You can’t, realistically, learn Clojure without an Internet connection. 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: What Happened to "java -jar clojure.jar hosehead.clj" ?

2018-07-31 Thread Sean Corfield
part of why spec was split out from Clojure itself: so that it could evolve on a separate timeline. It’s how Clojure 1.9.0 went to release without spec coming out of alpha and how Clojure 1.10.0 has continued to evolve without lock-step against clojure.spec versions. Sean Corfield -- (970) FOR-SEAN

RE: What Happened to "java -jar clojure.jar hosehead.clj" ?

2018-07-30 Thread Sean Corfield
, the clojure.jar/spec/etc issue is completely hidden (and taken care of). 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 Fro

RE: Rusts Upgrades

2018-07-28 Thread Sean Corfield
and several are tested against earlier versions too. E.g., https://build.clojure.org/job/core.cache-test-matrix/ https://build.clojure.org/job/data.priority-map-test-matrix/ https://build.clojure.org/job/java.jdbc-test-matrix/ Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View

RE: Rusts Upgrades

2018-07-28 Thread Sean Corfield
fails, presumably because Clojure master now requires Java 8? (but the Oracle JDK 7 build on Travis doesn’t fail). 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." -- Marga

RE: OK idea to replace conj and cons with "prepend" and "append" macros that have consistent behavior and return same types as args?

2018-07-23 Thread Sean Corfield
being a notable exception). And it’s worth noting that Rich has said nth is “somewhat of a mistake”: https://gist.github.com/reborg/dc8b0c96c397a56668905e2767fd697f#why-cannot-last-be-fast-on-vector (that whole answer is worth reading, in the context of this thread) Sean Corfield -- (970) FOR-SEAN

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-21 Thread Sean Corfield
probably switch to 1.10 at some point (before release) so we can test it in production and provide feedback. 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." -- Marga

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-19 Thread Sean Corfield
the build pipeline in separate “chunks” – which means less interaction between pods – each chunk always passes. So, overall, no failures from our test suite itself for any of our application components (good). Just random failures within the build tool itself ☹ Sean Corfield -- (970) FOR-SEAN

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 -- http

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, July 4, 2018 1

RE: How do I use spec and deftype together?

2018-07-04 Thread Sean Corfield
is a 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 on behalf of

RE: [ANN] Clojure 1.10.0-alpha5

2018-07-04 Thread Sean Corfield
not 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, June 28, 2018

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

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

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

2018-05-31 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 really alive." -- Margaret Atw

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 alive." -

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@googlegroups.com

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 Fro

RE: Windows Cygwin lein repl

2018-05-25 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://corfield.org

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 <clojure@goo

[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 somebody,

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." -- Marga

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

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

2018-04-17 Thread Sean Corfield
d, 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 will contain `src/f

RE: lein midje not working

2018-04-11 Thread Sean Corfield
:40:54 (sean)-(jobs:0)-(~/clojure) (! 1116)-> cd job-queue/ Wed Apr 11 16:40:57 (sean)-(jobs:0)-(~/clojure/job-queue) (! 1117)-> cat > project.clj (defproject job-queue "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME; :

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 not ann

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, you're not r

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 -- http

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

2018-03-06 Thread Sean Corfield
that will 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: 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 <clojure@googlegroups.com> on behalf

[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: Why does the `def-` not exist?

2018-02-26 Thread Sean Corfield
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 really alive." -- Marga

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 somebody, y

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

2018-02-20 Thread Sean Corfield
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 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.com <clojure@goo

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." -- Marga

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

2018-01-28 Thread Sean Corfield
, and 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: 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 alive." -

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 -- (904) 3

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 not ann

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 alive." -

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@googlegroups.co

[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 not really

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/ "If y

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.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: Transducers eduction vs sequence

2017-12-22 Thread Sean Corfield
types 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 annoying so

[ann] pusher-clj: a thin convenience wrapper around the pusher.com java lib

2017-12-21 Thread Sean Doig
This is a tiny wrapper lib around the official pusher.com java library. It's incomplete and not extensively battle-tested but may be of use to someone. Contributions to finish implementing the full feature set most welcome. Repo: https://github.com/lorddoig/pusher-clj Sean -- You received

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, December 12, 2017 4:3

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 <clojure@googlegroups.com> o

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 not really a

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, you're not r

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: 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: [core.spec] Stricter map validations?

2017-11-15 Thread Sean Corfield
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: clojure@googlegroups.co

RE: [core.spec] Stricter map validations?

2017-11-14 Thread Sean Corfield
was 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 not really

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 <clojure@googlegroups.com> on behalf of

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

2017-11-13 Thread Sean Corfield
? but that 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." -- Marga

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 View

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 y

RE: Who Uses import-vars?

2017-11-07 Thread Sean Corfield
by 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-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 <clojure@goo

[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

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 y

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 &

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 not really

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." -- Marga

RE: [core.spec] Stricter map validations?

2017-10-06 Thread Sean Corfield
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: clojure@googl

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