Re: what is the best forum for keeping up with Clojure?

2024-01-09 Thread Sean Corfield
re on Reddit – which also has a handy list of active Clojure communities online in the right hand column. Also check out this list of resources on the official website: Clojure - Community Resources<https://clojure.org/community/resources> Sean A Corfield -- (510) 862-3370 An Architect's Vi

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Sean Corfield
email to clo...@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com >>> For more options, visit this gro

Re: pre and post assertions, always in the meta data?

2022-02-15 Thread Sean Corfield
Whilst you solved your problem, you didn't get an answer about metadata. There are multiple places metadata can appear in a function definition: dev=> (defn ^{:one true} func (^{:two true} [x] {:three true} x) {:four true}) #'dev/func dev=> (meta #'func) {:one true, :arglists ([x]), :four true,

Re: how to package a project to a jar file?

2021-09-15 Thread Sean Corfield
tation of tooling and I strongly encourage everyone to look to tools.build for JAR building at this point. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesnetworks.com/ "Perfection is the enemy of the good." --

Re: [BLOG] Once Upon A Class

2021-05-24 Thread Sean Corfield
Much clearer now! Thank you! On Mon, May 24, 2021 at 4:22 PM daniel szmulewicz < daniel.szmulew...@gmail.com> wrote: > Hi Sean, > > Thank you for explaining what was confusing. With that input, I've edited > my blog post, separating the parts that apply to both REPL and

Re: [BLOG] Once Upon A Class

2021-05-24 Thread Sean Corfield
use nREPL at all so "REPL" = "Clojure REPL" as far as I'm concerned) On Mon, May 24, 2021 at 1:21 PM daniel szmulewicz < daniel.szmulew...@gmail.com> wrote: > > Hi Sean, > > Absolutely, the growing stack of context class loaders is a quirk of the &

Re: [BLOG] Once Upon A Class

2021-05-24 Thread Sean Corfield
rom this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/d7c270ef-d8e0-4935-ac2f-6fd56c9d4c3en%40googlegroups.com > <https://groups.google.com/d

Re: How get function name in body?

2021-04-29 Thread Sean Corfield
as: (:require [clojure.repl :refer [demunge]]) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesnetworks.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-188

Re: How get function name in body?

2021-04-29 Thread Sean Corfield
; Thanks, Rémi! On Thu, Apr 29, 2021 at 12:08 PM Remi Forax wrote: > > > -- > > *De: *"Sean Corfield" > *À: *"clojure" > *Envoyé: *Jeudi 29 Avril 2021 01:26:34 > *Objet: *Re: How get function name in body? > > Consider that

Re: How get function name in body?

2021-04-28 Thread Sean Corfield
what turns Clojure's generated classnames back into readable source names. The more important question is: why do you want the function's name inside the body? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesnetw

Re: Socket servers, threads, and redirecting error output.

2021-01-03 Thread Sean Corfield
> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to clojure+u...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/clojure/d084b0c0-0a1b-4db2-95a1-f38ff894bf

Re: what is currently considered a good blog engine, written in Clojure?

2020-12-12 Thread Sean Corfield
jure/3cb3a068-a916-4bd4-925f-cd71744908dcn%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/3cb3a068-a916-4bd4-925f-cd71744908dcn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Single

Re: clojure.edn/read isn't spec compliant

2020-10-20 Thread Sean Corfield
t; email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/87362bel34.fsf%40euandre.org. > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Singles Networks, LLC. -- ht

Re: Why is `binding-conveyor-fn` private?

2020-08-21 Thread Sean Corfield
t; email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/A6C14F3B-D725-4B11-9A8F-4C008DC1BB3D%40gmail.com > . > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Sing

Re: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-12 Thread Sean Corfield
obu%3DOt4-DPrmcxsHVK9f%3DsUo1p9g1shg%3DZaOuQ%40mail.gmail.com?utm_medium=email_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@g

Re: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-12 Thread Sean Corfield
ppears. >> >> > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first pos

Re: DEPRECATED: Libs must be qualified, change cljfmt => cljfmt/cljfmt (~/.clojure/deps.edn)

2020-08-07 Thread Sean Corfield
1-7cfb89e92be8o%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/88400d9e-9c68-4098-9321-7cfb89e92be8o%40googlegroups.com?utm_medium=email_source=footer> > . > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- https://corfield.org/ World Singles Networks, LLC.

Re: Inadequate behavior of agent await?

2020-06-10 Thread Sean Corfield
googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/9cf9a5c3-1dcb-4d4a-b180-a2cd6568853do%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/9cf9a5c3-1dcb-4d4a-b180-a2cd6568853do%40googlegroups.com?utm_medium=email_so

Re: [ANN] Deploy tokens for Clojars

2020-05-18 Thread Sean Corfield
obtained from clojars.org instead of their original password, that's not much of a burden at all. On Mon, May 18, 2020 at 5:38 AM Toby Crawley wrote: > Thanks for the feedback Sean. In my experience, it doesn't matter if > you give users a week, a month, or a year to switch - the majority &

Re: [ANN] Deploy tokens for Clojars

2020-05-17 Thread Sean Corfield
gt; You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit >

Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Sean Corfield
And you might look at https://github.com/EwenG/badigeon (which is listed on that tools page) since it says it will "Compile java sources" according to the readme On Thu, Apr 2, 2020 at 2:30 PM Sean Corfield wrote: > You would need to write a Clojure script with a -main functi

Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Sean Corfield
groups.google.com/d/msgid/clojure/CAN67zA3%3DxtbsaC3iGgBSjPgUjw0LwZp%2Bu6bM54ktr1svgxeESQ%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesne

Re: WebApp authentication and authorization - up-to-date information?

2020-03-22 Thread Sean Corfield
send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/7dca94f3-b20c-4073-b2ee-0dbe3619f337%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/7dca94f3-b20c-4073-b2ee-0dbe3619f337%40googleg

Re: WebApp authentication and authorization - up-to-date information?

2020-03-21 Thread Sean Corfield
ot into Java shops. > > Clojure will remain vital to some big companies regardless of whether the > cost of entry is reduced; but sadly, the comparative abomination called > JavaScript will continue to grow - eating the backend now too. It could be > Clojure/ClojureScript takin

Re: WebApp authentication and authorization - up-to-date information?

2020-03-21 Thread Sean Corfield
roup. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/6d358084-de60-42a7-8893-a118a207bdab%40googlegroups.com > &l

Re: A controversial call to bump libraries from 0.x to 1.0

2020-03-14 Thread Sean Corfield
email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/f54c13b1-7332-4ab3-a2bd-d0b6992b96fa%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/f54c13b1-7332-4ab3-a2bd-d0b6992b96fa%40googlegroups

Re: A controversial call to bump libraries from 0.x to 1.0

2020-02-18 Thread Sean Corfield
and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/53c37f03-d28a-45e3-9903-d30d0c6b163a%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/53c37

Re: ANN: jedi-time 0.2.0

2020-02-16 Thread Sean Corfield
You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://gro

RE: ANN: jedi-time 0.1.4

2020-02-10 Thread Sean Corfield
to provide the key/index   context k for Indexed/Associative/ILookup colls if possible, but not   to fabricate one e.g. for sequences (pass nil). nav returns the   value of clojure.core.protocols/nav.” Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not a

RE: ANN: jedi-time 0.1.4

2020-02-10 Thread Sean Corfield
up colls if possible, but not to fabricate one e.g. for sequences (pass nil). nav returns the value of clojure.core.protocols/nav.” Hopefully this clarifies what I was trying to express, but I’m happy to have another few goes around if we’re not both there yet  Sean Corfield -- (904) 302-SEAN An Ar

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
make sense? On Sun, Feb 9, 2020 at 1:46 PM dimitris wrote: > Hi again Sean and folks, > > I've had another stub at this, mostly by flattening the model but also by > separating navigation from query/comparing/formatting etc. Most datafied > representations are now navigable on

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
datafy/nav would be and interop with REBL -- I didn't look too deep into the _actual_ navigation you were proposing, sorry. On Sun, Feb 9, 2020 at 1:19 AM dimitris wrote: > Hi Sean, > > I'm back home and trying to understand/internalize this...Unfortunately, > this kind of (flat

Re: Stack Overflow developer survey

2020-02-05 Thread Sean Corfield
sgid/clojure/f46ba1b5-72db-4a72-be41-6f0d83cd7839%40googlegroups.com?utm_medium=email_source=footer> > . > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesnetworks.com/ "Perfection is the enemy of the

RE: Bit rot and leiningen?

2020-02-05 Thread Sean Corfield
mostly to enable the REBL integration I show in those videos): https://github.com/seancorfield/atom-chlorine-setup 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: 'Simon Bro

Re: ANN: jedi-time 0.1.4

2020-02-03 Thread Sean Corfield
o that key? Is there > any point navigating to :epoch or :second? The answer is no, right? Is > there a point in navigating to :zoned-datetime given a zone id? I would > think yes... > > On Mon, 3 Feb 2020, 04:47 Sean Corfield, wrote: > >> Think of it as a square: >> &

Re: ANN: jedi-time 0.1.4

2020-02-02 Thread Sean Corfield
c. See if this blog post helps https://corfield.org/blog/2018/12/03/datafy-nav/ On Sun, Feb 2, 2020 at 1:22 AM Dimitrios Jim Piliouras wrote: > Hi Sean, > > > > Admittedly, I’ve never used REBL, and I did struggle with the shape and > name of the `nav` arguments... > > &

Re: ANN: jedi-time 0.1.4

2020-02-01 Thread Sean Corfield
ght now. If you're on Slack, I'm happy to DM about this in more detail (when you're back from traveling). Sean On Sat, Feb 1, 2020 at 6:02 AM dimitris wrote: > Hi folks, > > The first public release of `jedi-time` should be hitting clojars any > minute now. I am traveling next we

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

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

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

Re: Upcoming changes to Clojars

2019-12-23 Thread Sean Corfield
; To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group

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

[ANN] org.clojure/core.memoize 0.8.2

2019-11-01 Thread Sean Corfield
libraries are fairly tightly coupled. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles Networks, LLC. -- https://worldsinglesnetworks.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- Yo

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

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

2019-10-30 Thread Sean Corfield
iddleware.interruptible-eval/interruptible-eval/fn/fn >> AFn.java: 22 clojure.lang.AFn/run >>session.clj: 171 >> nrepl.middleware.session/session-exec/main-loop/fn >>session.clj: 170 >> nrepl.middleware.session/se

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

2019-10-30 Thread Sean Corfield
/session-exec/main-loop > AFn.java: 22 clojure.lang.AFn/run >Thread.java: 748 java.lang.Thread/run > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send emai

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

2019-10-22 Thread Sean Corfield
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 really alive." -- Marga

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

2019-10-17 Thread Sean Corfield
p receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/8a486bd5-bb5f-41ef-bcb6-74e49ed58db4%40googlegroups.com > <https://groups.google.com/d/msgid/

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

RE: records alias with local vars

2019-08-29 Thread Sean Corfield
for 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: clojure@google

Re: records alias with local vars

2019-08-28 Thread Sean Corfield
bscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/38933dc0-1b8e-452a-ae01-feec77739623%40googlegroups.com > <https://groups.google.com/d/msgid/clojure/38933dc0-1b8e-452a-ae01-feec77739623%40googlegroups.com?utm_medium=email_so

[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 post to this group

RE: Re: [ANN] Cognitect Labs' aws-api 0.8.345

2019-07-06 Thread sean
That’s new in Clojure 1.10. I thought Cognitect AWS stuff required 1.10 from the get-go but I assume you had it working on 1.9? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEANAn Architect's View -- http://corfield.org/"If you're not annoying somebody, you're not really alive."-- Marga

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

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 Fro

RE: Java Interop on steroids?

2019-06-21 Thread Sean Corfield
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 Nathan Fisher Sent: Friday, June

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

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 of Didier Sent

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

[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 subscribed to the Goo

RE: [ANN] seancorfield/next.jdbc 1.0.0

2019-06-13 Thread Sean Corfield
_planning_ to execute SQL, it creates a “plan of execution” in terms of producing a reducible object, and it’s a little nod to “execution plan” in SQL anyway so it’s a bit punny. Naming is hard  Sean -- You received this message because you are subscribed to the Google Groups "Clojure&qu

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

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 improv

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

[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 are subscribed

RE: No "clojure --version" switch

2019-05-07 Thread sean
t;}user=> Given that, I think that a –version option on clojure would be misleading since it is not reporting the version of the clojure / clj scripts. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEANAn Architect's View -- http://corfield.org/"If you're not annoying somebody, you're not r

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

RE: results from sort-by are not sorted

2019-05-05 Thread sean
…) so you the keyfn pulls the value corresponding to :age out of the hash maps. That will produce 3 from {:age 3, :name “luo”} and 1 from {:age 1, :name “sheng”} so they will sort appropriately. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEANAn Architect's View -- http://corfield.org/"If y

[ANN] seancorfield/next.jdbc 1.0.0-alpha8

2019-04-21 Thread Sean Corfield
, on Slack, on Zulip, or via Issues on GitHub). The group/artifact ID will change at some point: and the actual namespaces will too, but I will try to make that as painless as possible when I take this out of the alpha phase. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://co

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

next.jdbc -- early access

2019-04-01 Thread Sean Corfield
. 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!_ Sean

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

RE: Developing Closure in 2019 on Windows 10 or using Windows -WSL/Linux.

2019-03-16 Thread Sean Corfield
(but 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: Saturday, March 16, 20

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

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 Kenneth Reid Bee

RE: Closure lang for newbies in 2019

2019-03-09 Thread Sean Corfield
ese 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) FOR-SEA

[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 this message b

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 y

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

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

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: 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) 302

RE: r/fold combinef and reducef init values

2019-01-25 Thread Sean Corfield
duced 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: [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

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

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

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

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

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: clojure@google

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

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

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

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

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

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

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

  1   2   3   4   5   6   7   8   9   10   >