Re: Deref Nil

2016-09-09 Thread Sean Corfield
the code to use Component more extensively). 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 On 9/9/16, 1:10 AM, "Deon Moolman" <clojure@goo

clojure.java.jdbc - upcoming (small) breaking change

2016-09-01 Thread Sean Corfield
) that there is a dedicated clojure-java-jdbc Google Group if you want to discuss JDBC-specific stuff. Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880)

Re: Connecting to nREPL on Intel Edison (via Cider) - why so slow?

2016-08-31 Thread Sean Corfield
for that. 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 On 8/31/16, 10:28 AM, "Gregg Reynolds" <clojure@googlegroups.com on behalf of d...@mobil

[ANN] clojure.java.jdbc 0.6.2 Alpha 3

2016-08-25 Thread Sean Corfield
for several others) Roadmap? 0.6.2 introduces (optional) clojure.spec coverage for clojure.java.jdbc; currently a work-in-progress Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustav

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-23 Thread Sean Corfield
On 8/23/16, 7:45 AM, "Alex Miller" wrote: > I'm absolutely not talking about making something hard on purpose > and I'm not saying that making things easy to learn is bad. I'm > stating an ordering of priorities. …and this is why I

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-20 Thread Sean Corfield
Or keep the stricter compiler and: 1. People who want to port to clojurescript will incur exactly the same cost as they do now. **2. People who don’t want to port to clojurescript and don’t want to move to Clojure 1.9 will incur no additional cost. 3. Clojurescript maintainers will incur no

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-20 Thread Sean Corfield
On 8/20/16, 7:13 PM, "Colin Fleming" wrote: > in this case it seems like the change breaks a lot of existing code I disagree. Compared to the vast amount of Clojure code out there, I would contend that this breaks very little

Re: I've found a constellation of related bugs in primitive function support when type-hinting *return types*.

2016-08-09 Thread Sean Corfield
I can’t reproduce any of this on Clojure 1.9.0 Alpha 10 – it all works exactly as expected. On 8/9/16, 2:50 PM, "Fluid Dynamics" wrote: => (defn foo [x] (doto (double-array 1) (aset 0 x))) => [(foo 3.0) (type (foo 3.0))] [[3.0]

Re: can clojure java.jdbc function 'result-set-seq' add option tosupportcustom 'result-set-read-column' ?

2016-08-09 Thread Sean Corfield
I’m not clear what you’re suggesting those should do…? 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 On 8/8/16, 11:28 PM, "Isaac Zeng" <c

Re: wondering why spec.test/instrument doesn't check :ret

2016-08-06 Thread Sean Corfield
ked by performing generative testing. See this thread for some of the discussion around this (and Rich has also discussed in on Slack quite a bit): https://groups.google.com/d/topic/clojure/RLQBFJ0vGG4/discussion Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- h

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Sean Corfield
also programmatically create symbols that are illegal as far as the reader is 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 On 8/3/16, 4:37

Re: meaning of spec/and ?

2016-07-21 Thread Sean Corfield
And deleting a post from the Google Groups interface still leaves everyone else’s replies – and in this case Steve’s first reply to your included your original post anyway… https://groups.google.com/forum/?hl=en#!topic/clojure/MxJOgQJPGN8 Sean Corfield -- (970) FOR-SEAN -- (904) 302

Re: [Bug?] Spec: spec/? not working?

2016-07-20 Thread Sean Corfield
Your code works for me as expected on 1.9.0 Alpha 10. What version are you using? 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 On 7/20/16, 2:59 PM

Re: Thoughts on clojure.spec

2016-07-18 Thread Sean Corfield
Rich has given a pretty good explanation of why this was removed elsewhere. And in this thread, a week ago, he explained again why gen-testing :ret and :fn specs was the better approach. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If y

Re: Clojure 1.9.0-alpha10: Semantic mismatch: any? vs not-any?

2016-07-15 Thread Sean Corfield
’d have to use (constantly true) but that could accidentally be called with any number of arguments – any? is specifically a one-argument predicate so it’s much more clear to use that. Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect's View -- http://corfield.org/ "Perfection i

Re: Error when upgrading yesql from 0.4.2 to 0.5.0

2016-07-14 Thread Sean Corfield
Google has the Migration Guide cached, if that helps: https://webcache.googleusercontent.com/search?q=cache:zvoaA9nrTaUJ:https://github.com/krisajenkins/yesql/wiki/Migration+=1=en=clnk=us=safari And, yes, a LOT of API changes… Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

Re: Error when upgrading yesql from 0.4.2 to 0.5.0

2016-07-14 Thread Sean Corfield
The yesql.named-parameters namespace was removed between 0.4.2 and 0.5.0. You can see all the changes made between 0.4.2 and 0.5.0 here: https://github.com/krisajenkins/yesql/compare/v0.4.2...0.5.0 It looks like 0.5.0 was a pretty major rewrite with a lot of API changes. Sean

Re: Use latest stable

2016-07-14 Thread Sean Corfield
with Leiningen profiles or Boot pods (and tasks like boot-expectations allow you to specify which version of Clojure to use, so multi-version testing is pretty much trivial!). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not ann

Re: [ANN] Nightcode 2: Total Rewrite

2016-07-13 Thread Sean Corfield
I see a Boot tab in the REPL area but looking at the source code, detecting build.boot is disabled (and, indeed, I can’t get NC to recognize any of my Boot-only projects). Can you speak to where you are on Boot support? Thanks, Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

[ANN] clojure.java.jdbc 0.6.2-alpha1

2016-07-05 Thread Sean Corfield
qualifier (string) to be used when constructing keywords from SQL column names JDBC-133. Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880)

Re: clojure.spec - s/and interferes with regular expressions

2016-06-29 Thread Sean Corfield
c predicate provided.     boot.user=> (f 2 :even 4 :o 5) nil 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 On 6/29/16, 5:07 PM, "Alex Mille

Re: [ANN] clojure-future-spec, a backport of clojure.spec for 1.8

2016-06-29 Thread Sean Corfield
able to back port spec beyond 1.8… 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

Re: [ANN] clojure-future-spec, a backport of clojure.spec for 1.8

2016-06-29 Thread Sean Corfield
in libraries due to new predicates being added to core, and only one of those caused an actual breakage – and those libraries all got updated very quickly (big thanks mostly to Peter Taoussanis for the fast responses). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http

Re: Why we cannot do this now?

2016-06-22 Thread Sean Corfield
ng any problems we run into in production!). 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 subscribed to the Google Groups "Clojure"

Re: clojure.string unexpected behaviors

2016-06-21 Thread Sean Corfield
understand why it is the way it is (I just don’t like it ☺).   > blank? follows the rules of clojure.string you stated above (other than it's > stated extension to also cover nil). Good point. Yes, I’m persuaded. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ &q

Re: clojure.string unexpected behaviors

2016-06-21 Thread Sean Corfield
nce in the “correct” use cases ☹ As for blank? Yes, that seems like the docstring needs correcting since it returns “True if s is falsey (nil or false), empty, or contains only whitespace.” Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody

Re: tips on writing modern idiomatic code

2016-06-21 Thread Sean Corfield
clojure.spec usage • Wholesale adoption of core.async I hope that’s helpful? 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 a

Re: Why we cannot do this now?

2016-06-20 Thread Sean Corfield
probably only start up a REPL two or three times a week. The rest of the time, I’m just eval’ing into an existing REPL process. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (

Re: clojure.spec regression bug for 1.9.0-alpha6

2016-06-16 Thread Sean Corfield
ests just passes println in and calls (prn ret) on the result of check-var so we have no control over that output. 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 On 6/16

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-15 Thread Sean Corfield
Hopefully you can also provide an answer around my question (in that thread) about losing the “nice” exceptions and instead getting “just” a data structure from things like check-var? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not ann

Re: clojure.spec regression bug for 1.9.0-alpha6

2016-06-15 Thread Sean Corfield
tart -1, :end 1}, :ret -2}, :via [], :in []}}, :failed-on :fn}, :smallest [(-1 1)]}} Are there plans to provide an “explain” equivalent for this? Sean Corfield -- (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.9.0-alpha5

2016-06-09 Thread Sean Corfield
ght be the case? …I’m going to add more exclusions to just get rid of all my conflicts at this point, since I can’t be _certain_ that a transitive dependency doesn’t bring in AOT code. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying so

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Sean Corfield
. 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 On 6/8/16, 3:13 PM, "Rangel Spasov" <clojure@googlegroups.com on behalf of raspa...@gmail.com> wro

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Sean Corfield
of an anomaly. 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 On 6/8/16, 2:59 PM, "Josh Tilles" <clojure@googlegroups.com on behalf of j...@signafire.com> w

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-07 Thread Sean Corfield
Whilst updating our code, I noticed there’s bigdec? to test for java.math.BigDecimal but not bigint? or biginteger? Is there a specific reason for that omission or were those just missed? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not ann

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-07 Thread Sean Corfield
of a do). I’ll keep digging into that and report back with my findings – clearly it’s not an issue with Alpha 5 per se and doesn’t appear to be an issue with Encore directly, so it’s some weird interaction in our dependencies or toolchain somewhere… Sean Corfield -- (904) 302-SEAN

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-07 Thread Sean Corfield
it breaks taoensso.nippy’s use of encore). 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 On 6/7/16, 12:01 PM, "Alex Miller" <clojure@goo

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-07 Thread Sean Corfield
/seqable? 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 On 6/7/16, 10:38 AM, "Alex Miller" <clojure@googlegroups.com on behalf of a...@puredanger.com> wrote

Re: Vars named **

2016-06-06 Thread Sean Corfield
Since hardly anyone uses Clooj, I doubt Arthur has had much incentive to keep maintaining it. The last commit to the entire project was almost exactly two years ago… Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, y

[ANN] clj-time 0.12.0

2016-06-06 Thread Sean Corfield
access to formatters     More JDBC date/time type coercions     New functions: min-date, max-date, nth-day-of-the-month, etc Full details: https://github.com/clj-time/clj-time/blob/master/ChangeLog.md Sean Corfield -- (904) 302-SEAN An Architect's View -- http

Re: [ANN] Clojure 1.9.0-alpha1

2016-05-26 Thread Sean Corfield
blow up? I would expect to be able to keep the specs in a separate namespace. I plan to try this with clojure.java.jdbc as an exercise “soon”. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." --

Re: Avoiding nested ifs...

2016-05-26 Thread Sean Corfield
: (defn guarded-process [data] (some-> data first-guard second-guard (another-guard :with “parameters”) (process-the-data 1 2 3 4))) That works well for a process that operates on non-nil data and then you write the guards to return the data if it’s valid o

Re: [ANN] Clojure 1.9.0-alpha1

2016-05-25 Thread Sean Corfield
machinery). 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 On 5/24/16, 11:12 PM, "Mark Engelberg" <mark.engelb...@gmail.com> wrote: On Tue, May 24, 2016 at 11

Re: [ANN] Clojure 1.9.0-alpha1

2016-05-24 Thread Sean Corfield
clojure.spec or not? I ask because I’m thinking about adding an optional namespace to clojure.java.jdbc that would provide fn-specs for that library – my assumption is that folks not yet using a 1.9.0 build would simply not require that spec namespace… Sean Corfield -- (904) 302-SEAN

Re: clojure.spec

2016-05-23 Thread Sean Corfield
On 5/23/16, 3:45 PM, "Rich Hickey" wrote: >That one’s already fixed if you grab the latest. Confirmed! Thank you! Sean -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: clojure.spec

2016-05-23 Thread Sean Corfield
On 5/23/16, 2:29 PM, "Rich Hickey" wrote: >fdef will not add doc metadata (see rationale re: not putting more stuff in >the namespaces/vars), but specs will be present when you call ‘doc’. That doc >enhancement was in a push later in

Re: clojure.spec

2016-05-23 Thread Sean Corfield
Awesome! I know one company that’s going to jump straight on 1.9.0-alpha1! ☺ Heck, we may even start today with 1.9.0-master-SNAPSHOT since clojure.spec was committed a couple of hours ago ☺ Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not ann

Re: reader conditional not handling defmacro?

2016-05-20 Thread Sean Corfield
” recommended way to deal with reader conditionals in macros used from ClojureScript? 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 On 5/20/16, 10:34 AM, "hiskenn

Re: clj-time/do-at not workin as expected

2016-05-19 Thread Sean Corfield
))) Hi! #object[org.joda.time.DateTime 0x169f53b5 2016-05-20T03:20:53.021Z] nil boot.user=> (t/now) #object[org.joda.time.DateTime 0x11798c1b "2016-05-20T03:19:54.145Z"] See how the time printed is a minute in the future of the actual time? Sean Corfield -- (904) 302-SEA

[ANN] org.clojure/java.jdbc 0.6.1 -- important bug fix / PostgreSQL support

2016-05-13 Thread Sean Corfield
as SQLite, Apache Derby, HSQLDB, H2, MySQL, MS SQL Server (both MS Type 4 driver and jTDS driver). JDBC-127 and JDBC-129. 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 On 5/11/1

[ANN] org.clojure/java.jdbc 0.6.0 "gold" release -- BREAKING CHANGES

2016-05-11 Thread Sean Corfield
oved - The java.jdbc.deprecated namespace has been removed 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) -- You received this message because you

[ANN] clojure.java.jdbc 0.6.0 RC 2

2016-05-08 Thread Sean Corfield
pha2 / alpha1 below for more details. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts fr

Re: [ANN] Release 0.34.0 of Counterclockwise

2016-05-06 Thread Sean Corfield
On 5/6/16, 2:49 PM, "Fluid Dynamics" wrote: > That's hours and hundreds of megabytes of downloading, The latest Eclipse for Java Developers is 166MB which I believe is the edition most Clojure developers would need, to use CCW? For

Re: [ANN] Release 0.34.0 of Counterclockwise

2016-05-06 Thread Sean Corfield
with other projects that offered both a bundled Eclipse install and a plugin install: at some point the bundled install just breaks due to Eclipse updates – using a plugin is nearly always a safer option, in my experience) Sean Corfield -- (904) 302-SEAN An Architect's View -- http

[ANN] clojure.java.jdbc 0.6.0-rc1 -- and an API question

2016-05-04 Thread Sean Corfield
example-map {:order-by [:foo :asc :bar :desc]}) Sean Corfield -- (904) 302-SEAN World Singles -- http://worldsingles.com/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

[ANN] boot-new 0.4.3 -- now supports Luminus template

2016-05-04 Thread Sean Corfield
variable that the lein shell script sets and if that isn’t present, it reads the version from pom.properties as a resource. Let me know if you find any Leiningen templates that don’t work with boot-new and I’ll see what I can do to make things more compatible. Sean Corfield -- (904) 302-SEAN

Re: How to forward-declare deftypes

2016-04-21 Thread Sean Corfield
Pretty sure Michal Marczyk mentioned this in his Clojure/West talk last week: https://www.youtube.com/watch?v=vZtkqDIicqI=14=PLZdCLR02grLq4e8-1P2JNHBKUOLFTX3kb (I don’t remember exactly what he said was the workaround) Sean Corfield -- (904) 302-SEAN An Architect's View -- http

[ANN] clojure.java.jdbc 0.6.0 Alpha 2

2016-04-19 Thread Sean Corfield
deprecated API calls on which your code relies! • db-transaction (deprecated in version 0.3.0) has been removed • The java.jdbc.deprecated namespace has been removed Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, y

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Sean Corfield
I assume this is the one that should not be there: https://clojars.org/repl-from-java 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 On 4/17/16, 9:58 AM, "

Re: [ANN] clojure.java.jdbc 0.5.8 + what's coming in 0.6.0

2016-04-13 Thread Sean Corfield
ed it to a different namespace, breaking code), introduced new API 0.3.7 -> 0.4.0 — dropped Clojure 1.2 support 0.4.2 -> 0.5.0 — dropped Clojure 1.3 support 0.5.0 -> 0.5.5 — deprecated variadic aspects of the API 0.5.8 -> 0.6.0 — removed deprecated features Sean Corfield -- (904

[ANN] clojure.java.jdbc 0.6.0-alpha1 - breaking changes

2016-04-13 Thread Sean Corfield
with relatively minor changes. Happy to discuss issues here, in person (at Clojure/West this week!), or over on the java.jdbc mailing list: https://groups.google.com/forum/#!forum/clojure-java-jdbc Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the

[ANN] clojure.java.jdbc 0.5.8 + what's coming in 0.6.0

2016-04-13 Thread Sean Corfield
The unrolled keyword argument forms of call are deprecated -- and print a "DEPRECATED" message to the console! -- and will go away in 0.6.0. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, French rea

Re: [ANN] clojure.java.jdbc 0.5.6 -- important deprecations!

2016-04-10 Thread Sean Corfield
ow?) that cleans up `db-do-commands` and `db-do-prepared` -- they’re the last two variadic functions left in the library and now that I have everything else cleaned up, they’re bugging me! ☺ Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection

Re: .length vs. count for string length

2016-04-10 Thread Sean Corfield
On 4/10/16, 2:53 AM, "mattias w" <clojure@googlegroups.com on behalf of matti...@gmail.com> wrote: > With clojure 1.8, we got many of these functions, but not str/length and > str/substring. Because we already have `count` and `subs` in clojure.core Sean Corf

[ANN] clojure.java.jdbc 0.5.6 -- important deprecations!

2016-04-10 Thread Sean Corfield
-transaction` which was deprecated in favor of `with-db-transaction` back in version 0.3.0). Plans? Version 0.6.0 will remove all deprecated functionality (including the old API which continued in java.jdbc.deprecated for several versions). Sean Corfield -- (904) 302-SEAN An Architect's View

[ANN] clojure.java.jdbc 0.5.5

2016-04-09 Thread Sean Corfield
map, these now expect an `:options` argument followed by the actual options map. I am considering introducing new functions with better argument lists in 0.5.6 to clean this up. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the

Re: Upgrading to Clojure 1.8 (direct linking)

2016-04-07 Thread Sean Corfield
itially we used direct-linking on all tiers (dev/ci/qa/prod) but we backed off on dev as it was interfering with our REPL-based workflow and it got in the way of a few of our tests that mocked functions. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If y

Re: Cross platform date/time libarary

2016-04-06 Thread Sean Corfield
Michael Klishin and I discussed this and didn’t think it was going to be worth it due to the high level of Java interop in the Clojure version. If someone believes they can do it without producing a maintenance nightmare, Pull Requests are always welcome! Sean Corfield -- (904) 302-SEAN

Re: Downloading Clojure + Contrib Source

2016-04-04 Thread Sean Corfield
ated, what you’ll find via the Clojure Toolbox and on Clojars (which will link to myriad GitHub repos) will probably be more educational in terms of reading “stuff built in Clojure”. Good luck, and welcome to the community! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corf

Re: Cross platform date/time libarary

2016-04-04 Thread Sean Corfield
On 4/3/16, 11:41 PM, "JvJ" <clojure@googlegroups.com on behalf of kfjwhee...@gmail.com> wrote: > OK.  As long as a single import in a cljc will suffice. Nope. The Clojure time libraries all lean very heavily on Java interop so a single source solution really is not feasi

Re: Cross platform date/time libarary

2016-04-03 Thread Sean Corfield
me https://github.com/andrewmcveigh/cljs-time Same API, different implementations. 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

[ANN] clojure.java.jdbc 0.5.0 available

2016-03-27 Thread Sean Corfield
ring, bringing it in line with several other APIs in the library. This allows more control over how keys are returned (since you can now call prepare-statement and pass a vector of key column names, and then pass that to the db-do-* function instead of relying on its defaults). Sean Corfield --

Re: [ANN] Elements of Clojure

2016-03-19 Thread Sean Corfield
or everyone on my team, for updates and the other chapters! Sean Corfield -- (904) 302-SEAN World Singles -- http://worldsingles.com/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Re: Understanding init (the zero arity function) for transducers.

2016-03-09 Thread Sean Corfield
, that the zero-arity version is ever called… so why would we define it? 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 Mailing List <clojure@googlegroups.c

Re: [ANN] boot-new 0.4.0 -- Templates AND Generators for Boot!

2016-02-28 Thread Sean Corfield
new itself and its templates and generators) to knock off any rough edges. 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 subscribed

[ANN] boot-new 0.4.0 -- Templates AND Generators for Boot!

2016-02-13 Thread Sean Corfield
function with: boot new –g defn=foo.bar.quux/my-func 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) -- You received this message because you are subscribed to

Re: “compiling” stacktrace error

2016-02-12 Thread Sean Corfield
e full stack when needed. Excellent! Welcome to the Clojure community BTW. 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 subscribed

Re: “compiling” stacktrace error

2016-02-11 Thread Sean Corfield
ve) but in the cause we see the same sequence of line numbers as with Boot above. Does that help? 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 b

Re: Does Leiningen read Env Vars such as JAVA_OPTS?

2016-02-09 Thread Sean Corfield
echnomancy/leiningen/blob/792750b7a1bdf0499081c72b197df41cee5ef648/doc/TUTORIAL.md#setting-jvm-options 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

Re: How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-01 Thread Sean Corfield
a value class by removing the setters, that’s a lot of code obscuring a simple data structure. And with the data structure, you can use any Clojure sequence function or hash map function, whereas with a Person type, you’re stuck with the API presented. Sean Corfield -- (904) 302-SEAN An Arc

Re: Migrating from Java/Spring to Clojure

2016-01-31 Thread Sean Corfield
John Krasnay wrote on Sunday, January 31, 2016 at 10:11 AM: Instead of this, I'm considering an approach where my functions instead return a data structure containing a description of the side-effects to be performed (e.g. "insert these rows into this table", "send this email", ...), and having

Re: [ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-31 Thread Sean Corfield
William la Forge wrote on Sunday, January 31, 2016 at 3:53 PM: >Ah, but my understanding is that the hoplon template itself does not work. >Micha made a fix some time back to the handler wrapper order--it was backwards >in the template, but can not himself release it to clojars. No idea. I

[ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-30 Thread Sean Corfield
for testing Boot new with more Leiningen templates! 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: Sean Corfield <s...@corfield.org> Date: Friday, January 29,

[ANN] boot-new 0.3.0 -- Templates for Boot!

2016-01-29 Thread Sean Corfield
-in Boot templates (app, default, task, template) generate Boot projects. Coming Soon? Generators: quickly add new pieces of code to existing projects! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert, Fren

Re: emacs Expectations Mode - can't make it work

2016-01-25 Thread Sean Corfield
Yuri Steinschreiber wrote on Monday, January 25, 2016 at 1:17 AM: Sadly, Expectations Mode seems to be abandoned. Leaving an FYI to the community. We stopped using expectations-mode a long time ago, instead adding this to our Emacs config: ;; run expectations (defun run-expectations ()

Re: lein: managing versions of common deps / soliciting assistance on PR review

2016-01-24 Thread Sean Corfield
hat invoke code based on them (including building JARs etc). Inside each EDN file, we indicate the fake versions like this: [[org.clojure/clojure "x.y.z"] [org.clojure/core.cache "x.y.z"] [org.clojure/core.memoize "x.y.z"] [org.clojure/data.codec "x.y.z"

Re: Clojure beyond Java 6 ?

2016-01-23 Thread Sean Corfield
with post-Java 6 language/JVM features — and that’s always been one of Clojure’s strengths: the core can run "anywhere" and the ecosystem/community provides libraries to fulfill everyone’s individual needs. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
why older versions of the JVM continue to be used. Just because you are not affected by JVM issues doesn’t mean that other people’s reasons for supporting older versions are invalid! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying s

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
On 1/21/16, 12:57 PM, "Mark Derricutt" wrote: >I suspect it's pushing the type inferencer and lambda/method-handle code to >the edges of edgey edge cases "as far as standard java is concerned". Yes, true, although for the Java compiler

Re: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
On 1/21/16, 11:55 AM, "Nicola Mometto" wrote: >Do you have a link where we can read about those issues? https://groups.google.com/d/msg/frege-programming-language/MQgmSduKb4M/yW9HvmBRAQAJ -- You received this message because you

Re: [ANN] Clojure 1.8.0 is now available

2016-01-19 Thread Sean Corfield
Awesome news! Is this identical to RC5? 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 Mailing List <clojure@googlegroups.com> on behal

Re: [ANN] Clojure 1.8.0 is now available

2016-01-19 Thread Sean Corfield
Is this identical to RC5? Answered my own question by looking at the commits on GitHub: yes. Sean -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: Clojure beyond Java 6 ?

2016-01-19 Thread Sean Corfield
re is also a lot of software that only supports current plus one version back). Bear in mind that there are many companies still running Windows XP because upgrading is such an expensive business (in time and effort, as well as any actual costs)! Sean Corfield -- (904) 302-SEAN An Archit

[ANN] Boot new -- templates for Boot

2016-01-19 Thread Sean Corfield
that add pieces to existing projects and whatever else the Boot community wants! Thanks? Huge thanks to the Leiningen team who agreed to me borrowing leiningen.new / leiningen.new.templates. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org -- You received

Re: [ANN] New clojure.org!

2016-01-14 Thread Sean Corfield
Very nice! Also good to see a number of Pull Requests already and some discussion in Issues as well! 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 Mailing Lis

Re: Why do map/get and similar return nil if not found?

2016-01-12 Thread Sean Corfield
eep in your call chain and then you still need :no-check annotations (or, worse, have to refactor perfectly idiomatic code to something that satisfies the type checker). **That 10,000 lines also includes a lot of code that tests our REST APIs which are built with a mix of Clojure and non-Clojur

Boot running on Windows (was: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-31 Thread Sean Corfield
know that’s a common sticking point with some tooling on Windows). I do not have a Windows 7 VM to test things on. And, yes, I am a bit of a masochist for having an Emacs / Leiningen / Clojure environment on Windows XP :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org

[ANN] CongoMongo 0.4.7 released

2015-12-28 Thread Sean Corfield
What? A Clojure wrapper for MongoDB Where? https://github.com/aboekhoff/congomongo/ Why? Version 0.4.7 – updates Java driver to 2.14.0; tested against MongoDB 3.0 (for the first time). This is intended to help folks migrate to the 3.0 database. We’re still evaluating the 3.0 driver. Sean

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-27 Thread Sean Corfield
, Leiningen also treated Windows as a bit of a second-class citizen (the packaged installer made it much better, since you no longer need a third-party curl/wget installed just to use the Leiningen .bat script). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If y

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-25 Thread Sean Corfield
Sven Richter wrote on Wednesday, December 23, 2015 at 11:33 PM: While I appreciate everyones work and also like boots approach to building clojure libs I want to remind you that boot still does not work on windows. I’ve been using Boot extensively on Windows 10 for the last few weeks and it

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