RE: [ANN] Clojure 1.10.0-alpha5

2018-07-19 Thread Sean Corfield
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-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.

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

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

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

2018-07-30 Thread Sean Corfield
those, 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 ___

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

2018-07-30 Thread Sean Corfield
.alpha. That’s 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 --

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

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

2018-08-30 Thread Sean Corfield
'Lee' via Clojure 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 because you

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

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 S

[ANN] org.clojure/tools.cli 0.4.0

2018-09-13 Thread Sean Corfield
e with 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 subscribe

[ANN] clj-new @ 21ca1b27f46dc324be084ba839beca555aeda387

2018-09-13 Thread Sean Corfield
ot-new command-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.&

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

2018-09-13 Thread Sean Corfield
absolute 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 Matchi

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

[ANN] org.clojure/tools.cli 0.4.1

2018-09-22 Thread Sean Corfield
Tools for working with command line arguments. https://github.com/clojure/tools.cli clj -Sdeps '{:deps {org.clojure/tools.cli {:mvn/version "0.4.1"}}}' Boot/Leiningen: [org.clojure/tools.cli "0.4.1"] This is a minor update that introduces new options :update-fn and :default-fn that make it easier 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

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

2018-09-23 Thread Sean Corfield
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, 20

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 beh

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

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

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.

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

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

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

RE: An Error spec?

2018-10-26 Thread Sean Corfield
where 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 Atwoo

RE: An Error spec?

2018-10-26 Thread Sean Corfield
be 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 Fro

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.

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 s

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 An

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

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

2018-11-04 Thread Sean Corfield
t, 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

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:

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.

RE: An Error spec?

2018-11-08 Thread Sean Corfield
Alex, I’m curious, should this https://github.com/dawcs/flow/blob/master/src/dawcs/flow.clj#L53 use *exception-base-class* rather than Throwable directly? It looks very interesting and elegant – I’ll probably give this a test drive next week! Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

RE: An Error spec?

2018-11-09 Thread Sean Corfield
Ah, that makes much more sense. Got it! 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@googlegrou

Re: [ANN] 1.10.0-beta6

2018-11-16 Thread Sean Corfield
CLJ-2432 - Added clojure.core/requiring-resolve which is like `resolve` but will `require` the symbol's namespace if needed. This is not listed in the change log, just FYI. On Friday, November 16, 2018 at 12:04:00 PM UTC-8, Alex Miller wrote: >

RE: [ANN] 1.10.0-beta6

2018-11-16 Thread Sean Corfield
All our tests pass at World Singles Networks with Beta 6 – and we’re already started using `symbol` on keywords and the new `requiring-resolve` (thank you for that!). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not an

RE: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Sean Corfield
This doesn’t answer your question but I’m wondering why you’re using refs at all? In production Clojure code I think they are extremely rare (we have about 85K lines of Clojure and no refs at all). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfiel

RE: [ANN] Clojure 1.10.0-beta7

2018-11-20 Thread Sean Corfield
Given how small the delta is from Beta 6 to Beta 7, it should surprise no one that all our tests pass on Beta 7 at World Singles Networks 😊 Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

RE: [ANN] Clojure 1.10.0-beta8

2018-11-21 Thread Sean Corfield
This makes me smile… My first reaction to the name was the same as Alexander’s and then my second reaction cut in: “No, they’ll have thought about the name and won’t entertain changes” 😊 It’s for safely doing requires in asynchronous (multi-threaded) code. Sean Corfield -- (970) FOR-SEAN

RE: [ANN] Clojure 1.10.0-beta8

2018-11-22 Thread Sean Corfield
In news that should surprise no one: our full test suite passes on Beta 8 (I meant to post that yesterday afternoon but got distracted). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

Re: [ANN] Clojure 1.10.0-RC3

2018-12-03 Thread Sean Corfield
Our full test suite passes with 1.10 RC 3 at World Singles Networks. This will go into our next production build, some time this week (possibly tomorrow). On Monday, December 3, 2018 at 8:19:25 AM UTC-8, Alex Miller wrote: > > 1.10.0-RC3 is now available. > > You can try it with clj using: > > c

RE: [ANN] Clojure 1.10.0-RC3

2018-12-04 Thread Sean Corfield
We have 1.10 RC 3 in production. 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: clo

Re: [ANN] Clojure 1.10.0-RC4

2018-12-07 Thread Sean Corfield
All tests pass here at World Singles Networks! Looking forward to the "gold" release. On Friday, December 7, 2018 at 6:45:36 AM UTC-8, Alex Miller wrote: > > 1.10.0-RC4 is now available. Please note that 1.10 release is imminent - > this is likely your last opportunity to provide feedback before

Re: [ANN] Clojure 1.10.0-RC5

2018-12-11 Thread Sean Corfield
And as you can no doubt imagine, we are already testing it at World Singles Networks (albeit on OpenJDK 8). Sean On Tuesday, December 11, 2018 at 1:37:42 PM UTC-8, Alex Miller wrote: > > 1.10.0-RC5 is now available. Please test, particularly if your > library/application uses interop calls and

RE: [ANN] Clojure 1.10 has been released!

2018-12-17 Thread Sean Corfield
I'm not touching it until Sean Corfield has it running in production ;) We have a mix of RC3 and RC4 in production right now. Clojure 1.10 “gold” is already on QA so it’ll go to production in the next few days 😊 And, yeah, this was the first release of Clojure itself that I got a patch

RE: Exception: clojure.lang.ExceptionInfo thrown from the UncaughtExceptionHandler in thread "main"

2018-12-24 Thread Sean Corfield
offer suggestions. 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 l

Re: State of Clojure 2019 Survey!

2019-01-11 Thread Sean Corfield
I'm only seeing this in the web version of Google Groups. This did not get delivered via email -- so I'm replying to ensure more people see it. Alex, pretty much none of your posts to the group seem to come through in email, although your _replies_ do (as do other people's replies to your posts

Re: [ANN] tools.deps.alpha 0.6.474 and clj 1.10.0.408

2019-01-11 Thread Sean Corfield
This didn't come through in email... On Wednesday, January 2, 2019 at 1:30:01 PM UTC-8, Alex Miller wrote: > > tools.deps.alpha 0.6.474 and clj 1.10.0.408 are now available. > > Changes: > > * TDEPS-79 , TDEPS-109 >

Re: [ANN] tools.deps.alpha 0.6.480 and clj 1.10.0.411 are now available.

2019-01-11 Thread Sean Corfield
...and nor did this. On Friday, January 4, 2019 at 12:21:55 PM UTC-8, Alex Miller wrote: > > Just a small additional bug fix over the release a couple days ago related > to classifiers. > > Changes: > >- TDEPS-112 >- Exclusions don't exclud

RE: r/fold combinef and reducef init values

2019-01-25 Thread Sean Corfield
with combinef (default reducef). combinef must be associative, and, when called with no arguments, (combinef) must produce its identity element. These operations may be performed in parallel, but the results will preserve order." Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Archit

RE: Issue when moving to Clojure 1.10

2019-01-26 Thread Sean Corfield
require/resolve in the AOT-compiled functions to get at the larger body of Clojure code. And, of course, to try to avoid gen-class as much as possible too 😊 The transitive AOT compilation thing is a giant pain but there are ways around it with tooling. Sean Corfield -- (970) FOR-SEAN -- (904

RE: Noob question on the --> macro implementation

2019-01-26 Thread Sean Corfield
I suspect it’s done for consistency with the source of -> (which has to use first/next because it threads the expression between them) – using first/next/x in ->> is therefore a closer parallel to using first/x/next in -> so it’s easier to see the similarity (and correctness) of the

RE: r/fold combinef and reducef init values

2019-01-26 Thread Sean Corfield
Ah, yes… So this line… The reducef function will be called with no arguments to produce an identity value in each partition. …needs updating/removing. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying someb

Re: [ANN] tools.deps.alpha 0.6.488 and clj 1.10.0.414

2019-02-13 Thread Sean Corfield
Does it take some time for the brew repo to update? I'm getting this: (! 520)-> brew upgrade clojure Error: clojure 1.10.0.411 already installed And brew update says everything is up to date. Sean On Wednesday, February 13, 2019 at 12:19:03 PM UTC-8, Alex Miller wrote: > > tools.deps.alpha 0.6

RE: dynamically defining specs

2019-02-19 Thread Sean Corfield
Is there a way to programmatically create a spec from data? There will be in Spec2 (which is a work-in-progress – see Alex’s Inside Clojure Journal posts for the state of that work). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

[ANN] org.clojure/java.jdbc 0.7.9

2019-02-21 Thread Sean Corfield
http://corfield.org/blog/2018/12/03/datafy-nav/ while I was at Clojure/conj. 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: Closure lang for newbies in 2019

2019-03-09 Thread Sean Corfield
of these have active communities who will be happy to help beginners getting up to speed. Slack is by far the larger community but Zulip has a fully searchable archive (which Slack lacks on the free plans – and most of the channels from Slack are mirrored to Zulip now). Sean Corfield -- (970) FO

RE: Noob: Getting (re)started with Clojure on OS X

2019-03-13 Thread Sean Corfield
, perhaps?). 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 Ke

RE: Noob: Getting (re)started with Clojure on OS X

2019-03-14 Thread Sean Corfield
or dependency in there and months later it conflicts with some new project they’re working on in weird ways. 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: Developing Closure in 2019 on Windows 10 or using Windows -WSL/Linux.

2019-03-16 Thread Sean Corfield
with REBL!), and develop on Windows – the same way I did on macOS. 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: Matching Socks Sent: Saturda

Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Sean Corfield
Everything seems to be running fine on 1.10.1-beta1 here at World Singles Networks. We were not experiencing the user.clj loading problem so I can't speak to how it addresses that, nor are we looking at Java 12 yet :) The only piece of feedback I'll offer here -- and Alex already knows because

next.jdbc -- early access

2019-03-31 Thread Sean Corfield
point. Feedback here, or via issues, or via DM is all fine. The code is substantially shorter and simpler than `clojure.java.jdbc` and the performance is substantially better. _I have not yet decided whether this will live in Contrib or not, at this point so feedback on that is also useful!_

RE: next.jdbc -- early access

2019-04-01 Thread Sean Corfield
I maintain four Contrib libraries: core.cache, core.memoize, java.jdbc, and tools.cli – most of the libraries are complete and stable. You can see the full list here: https://clojure.org/community/contrib_libs Only about half a dozen are considered inactive at this point. Sean Corfield

[ANN] seancorfield/next.jdbc 1.0.0-alpha8

2019-04-21 Thread Sean Corfield
I've talked about this in a few groups -- it's been a long time coming. This is the "next generation" of clojure.java.jdbc -- a modern wrapper for JDBC, that focuses on reduce/transducers, qualified-keywords, and datafy/nav support (so, yes, it requires Clojure 1.10). https://cljdoc.org/d/seancorf

RE: results from sort-by are not sorted

2019-05-07 Thread Sean Corfield
Good catch, thank you! And that was my _second_ edit (my first draft was also wrong in a different way). Lesson: just try this stuff in the REPL to see what _really_ happens! 😊 Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying s

[ANN] seancorfield/next.jdbc "1.0.0-beta1" (stable)

2019-05-25 Thread Sean Corfield
it. Only accretive and fixative changes will be made from this point on. Sean Corfield -- (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

RE: congomongo 0.5.2 comptable with MongoDB 3.6 version

2019-06-05 Thread Sean Corfield
/releases In particular, note the potential breaking changes around authentication that happened in the 1.0.0 release due to upgrading to the 3.x series of the driver. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

Re: [ANN] Clojure 1.10.1

2019-06-06 Thread Sean Corfield
Thanks for all the work on this! Can you confirm that this is the same as 1.10.1-RC1? Sean On Thursday, June 6, 2019 at 8:28:17 AM UTC-7, Alex Miller wrote: > > Clojure 1.10.1 is a small release focusing on two issues: working around a > Java performance regression and improving error reporting

[ANN] seancorfield/next.jdbc 1.0.0

2019-06-12 Thread Sean Corfield
journey to 1.0.0 will come at some point. We are using next.jdbc in production at World Singles Networks (of course!) so I hope you will feel comfortable doing the same! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, yo

RE: [ANN] seancorfield/next.jdbc 1.0.0

2019-06-13 Thread Sean Corfield
From: Oleksandr Shulgin > After a month of alpha builds being available for testing, the first beta > build was released on June 24th, 2019. /me looks at his pocket clock distrustfully ;) Good catch! A PR to fix that has already been merged https://github.c

[ANN] org.clojure/core.memoize 0.7.2

2019-06-13 Thread Sean Corfield
bug fix). https://github.com/clojure/core.memoize#change-log Sean Corfield -- (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 subscr

RE: Java Interop on steroids?

2019-06-21 Thread Sean Corfield
You might be interested in how we provide type-based annotations on Clojure functions so that tooling (in our case New Relic) sees those annotations: https://corfield.org/blog/2013/05/01/instrumenting-clojure-for-new-relic-monitoring/ I agree that this could be a lot easier. Sean Corfield

RE: Calling Java from Clojure

2019-06-21 Thread Sean Corfield
“here be dragons” aspect of AOT, IMO. Sean Corfield -- (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 o

RE: Java Interop on steroids?

2019-06-21 Thread Sean Corfield
class level stuff 3. We’ve since dropped the New Relic tracing stuff from our code (because we got the data we needed and moved on) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive.

RE: Java Interop on steroids?

2019-06-21 Thread Sean Corfield
lojure in order to contribute. Sean Corfield -- (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 Natha

RE: Calling Java from Clojure

2019-06-21 Thread Sean Corfield
Oh, you know me: I avoid AOT and gen-class at all costs _if I don’t have to use them_ 😊 Sean Corfield -- (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] clj 1.10.1.458 and tools.deps.alpha 0.7.516

2019-06-29 Thread Sean Corfield
Thanks Alex. I'm updating clj-new to use default-deps and will release a new version later today. On Saturday, June 29, 2019 at 11:44:31 AM UTC-7, Alex Miller wrote: > > A new version of clj and tools.deps.alpha are now available. > > - Mac - `brew upgrade clojure` > - Linux - see scripts at htt

[ANN] org.clojure/core.cache 0.8.1

2019-08-24 Thread Sean Corfield
ore-cache Sean Corfield -- (904) 302-SEANAn 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 Groups "Clojure" group. To pos

Re: records alias with local vars

2019-08-28 Thread Sean Corfield
What version of Clojure/Script are you using? This works fine for me on Clojure 1.10.1. On Wed, Aug 28, 2019 at 4:08 PM Brian Craft wrote: > In this example > > (defrecord x [y]) > > (defn b [x] (.getBytes ^String x)) > > > The compiler fails to resolve .getBytes. It emits reflection code, sayin

RE: records alias with local vars

2019-08-29 Thread Sean Corfield
arguments/locals so they would never normally conflict…? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood From: Andy Fingerhut Sent: Wednesday, August 28, 2019 7:06 PM To:

[ANN] seancorfield/next.jdbc 1.0.8

2019-10-02 Thread Sean Corfield
eld/next.jdbc/CURRENT/doc/migration-from-clojure-java-jdbc to see what’s involved in migrating to next.jdbc (it is not a drop-in replacement). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really ali

Re: How can I do something like (= (class ds) next.jdbc.connection) ??

2019-10-17 Thread Sean Corfield
You should :require the namespaces, not try to :import things. (ns your.namespace (:require [next.jdbc :as jdbc])) I suggest you start off by working through https://cljdoc.org/d/seancorfield/next.jdbc/1.0.9/doc/getting-started The ds binding that you have will satisfy this check (instance? ja

RE: How can I do something like (= (class ds) next.jdbc.connection)??

2019-10-22 Thread Sean Corfield
ng at your code. The mailing list is just too slow a medium for the sort of conversations I think you need to have at this stage in your Clojure journey. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not rea

Re: [?] Spec error: please tell me the reason.

2019-10-30 Thread Sean Corfield
s/fdef's :args should be a sequence of the arguments to the function. In this case it should be :args (s/cat :fontspecs ::fontspecs) which indicates it is a sequence with one element, named :fontspecs, whose spec is ::fontspecs On Wed, Oct 30, 2019 at 7:45 PM Philos Kim wrote: > I don't know why

Re: [?] Spec error: please tell me the reason.

2019-10-30 Thread Sean Corfield
(s/def ::fontspecs (s/coll-of ::fontspec)) Sorry, I missed that error first time around. s/* is a regex spec but your argument should be a collection of ::fontspec On Wed, Oct 30, 2019 at 9:02 PM Philos Kim wrote: > Thanks for your answer! > > I corrected the code like the following according t

Re: [?] Spec error: please tell me the reason.

2019-10-30 Thread Sean Corfield
"HHGoD", :color "J47ZX935"}} spec-test=> On Wed, Oct 30, 2019 at 9:51 PM Sean Corfield wrote: > (s/def ::fontspecs (s/coll-of ::fontspec)) > > Sorry, I missed that error first time around. s/* is a regex spec but your > argument should be a collection of ::fontsp

[ANN] org.clojure/core.memoize 0.8.2

2019-11-01 Thread Sean Corfield
Pluggable memoization based on org.clojure/core.cache https://github.com/clojure/core.memoize New in 0.8.2: - updates core.cache dependency to 0.8.2 - fixes a bug in the seed implementation for PluggableMemoization - adds memoizer as an easier way to build memoization on top of custom caches - de

[ANN] seancorfield/next.jdbc 1.0.10

2019-11-14 Thread Sean Corfield
Address #74 by making several small changes to satisfy Eastwood. • Update org.clojure/java.data to "0.1.4" (0.1.2 fixes a number of reflection warnings). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you&

Re: Upcoming changes to Clojars

2019-12-23 Thread Sean Corfield
Will the upload URL or process be changing? On Mon, Dec 23, 2019 at 9:51 AM Toby Crawley wrote: > Howdy folks! We're in the process of making some changes to the > Clojars infrastructure to make it more robust, reliable, and easier to > maintain. One of those changes will be to provide a single

RE: Feedback on datafy/nav project

2020-01-30 Thread Sean Corfield
Is there a reason you’ve mirrored those protocols/implementations rather than just use Clojure’s built-in versions? As it stands, your library wouldn’t work with other tooling that builds on Clojure’s datafy/nav (REBL, for example). Sean Corfield -- (904) 302-SEAN An Architect's View --

RE: Feedback on datafy/nav project

2020-01-30 Thread Sean Corfield
A, B, C that extend datafy/nav to java.time types and then other libraries X, Y, Z start pulling in those extenders, consumers of X, Y, Z can be in trouble. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

RE: Feedback on datafy/nav project

2020-01-31 Thread Sean Corfield
Dimitris, As a follow-up to Alex’s comments: if you change your lib to extend the clojure.datafy version, I’ll almost certainly use your library 😊 Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

Re: ANN: jedi-time 0.1.4

2020-02-01 Thread Sean Corfield
This is very cool but I would strongly recommend you try using this with REBL so you can figure out how to make the `nav` part work in a more natural way. nav is intended to work with a key and value (from the datafied structure), but your nav expects special values so it doesn't work with REBL.

Re: ANN: jedi-time 0.1.4

2020-02-02 Thread Sean Corfield
ted to be a key already present > in the map, then I really don’t understand what is the point of `nav`. > > > > kind regards, > > Dimitris > > > > > > *From: *Sean Corfield > *Sent: *02 February 2020 07:36 > *To: *Clojure Mailing List > *Subject: *Re: A

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