Re: ANN: jedi-time 0.1.4

2020-02-03 Thread Sean Corfield
ing? Is there any point navigating to 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: > >

RE: Bit rot and leiningen?

2020-02-05 Thread Sean Corfield
tup (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 Atwo

Re: Stack Overflow developer survey

2020-02-05 Thread Sean Corfield
I've been encouraging folks to take the survey and write in Clojure. Representation matters! On Wed, Feb 5, 2020 at 5:45 PM Matching Socks wrote: > Today, I noticed an invitation to complete the Stack Overflow developer > survey. > > (Clojure was not on the menu.) > > -- > You received this mess

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
datetime, :local-datetime, :instant > > That is pretty much it in terms of `nav`... > > Does that make (more) sense? > > > Many thanks in advance... > > Dimitris > > ps: Sean I can be on slack but with my work email > > > On 04/02/2020 05:18, Sean Corfield

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
gt; As things stand (with my current nested representation), only LocalDate, >> LocalDateTime, OffsetDateTime & ZonedDateTime can have useful navigations: >> >> - LocalDate => :week-day , :year-month >> >> - LocalDateTime => :local-date, :local-time >> &

RE: ANN: jedi-time 0.1.4

2020-02-10 Thread Sean Corfield
/ILookup 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-

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: ANN: jedi-time 0.2.0

2020-02-16 Thread Sean Corfield
Just had a play with this in REBL and it feels much more intuitive now, thank you! I'll be adding this to my dev setup for work on Monday :) On Sun, Feb 16, 2020 at 7:57 AM dimitris wrote: > Hi folks, > > Following the recent discussion/feedback I got, I am pleased to announce > the second relea

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

2020-02-18 Thread Sean Corfield
That ship done sailed already today... many Contrib libs hit 1.0.0 (or 1.0.x) and most of the rest will follow suit in the next several days I expect! I certainly plan to bump tools.cli and, with Fogus' help, core.cache and core.memoize to 1.0.0. java.jdbc will likely remain at 0.7.11 since its "1

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

2020-03-14 Thread Sean Corfield
I don't think the doc generator runs automatically at the moment -- and, for a while, it was having problems processing several Contrib repos (java.jdbc still shows 0.7.10-SNAPSHOT in the generated docs, but 0.7.11 was released a while back). On Sat, Mar 14, 2020 at 10:21 AM Matching Socks wrote:

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

2020-03-21 Thread Sean Corfield
> some form of database interface (definitely need not be ORM; just a demonstrated pattern) I'm curious as to what you feel is missing beyond clojure.java.jdbc / next.jdbc? SQL is the lingua franca for relational databases and those libraries provide the interface between Clojure data -- hash maps

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

2020-03-21 Thread Sean Corfield
ing useful and relevant to show the company. That's how Java got > into C++ shops and how Ruby got 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 > JavaScrip

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

2020-03-22 Thread Sean Corfield
Authentication is a serious business. Posting code examples for beginners to follow is likely to either be too complex to be a good example or too simple to be a good authentication process. Also, I think a lot of "the experienced users" are building real-world apps that are proprietary in nature,

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

2020-04-02 Thread Sean Corfield
You would need to write a Clojure script with a -main function that would (somehow) compile Java source code according to whatever rules you wanted and then invoke it from the CLI (as an initial step to get the compiled class files onto the classpath that a subsequent CLI invocation could use). It

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: [ANN] Deploy tokens for Clojars

2020-05-17 Thread Sean Corfield
Here's a project that is documented to use the Clojars password and is fairly widely used: https://github.com/slipset/deps-deploy -- all projects created by clj-new rely on this and all of them will have the same documentation to use the Clojars password. Forcing everyone to change their deploymen

Re: [ANN] Deploy tokens for Clojars

2020-05-18 Thread Sean Corfield
please file an issue at > https://github.com/clojars/clojars-web/issues/new?template=issue.md > and we can chat there. > > It looks like Erik has already updated the deps-deploy documentation > (thanks Erik!). > > - Toby > > On Mon, May 18, 2020 at 12:25 AM Sean Corfiel

clj-soap (was: Beginner question

2015-07-30 Thread Sean Corfield
On Jul 29, 2015, at 7:47 PM, Mike wrote: > I have done some searching, and there is an old clj-soap library which Sean > Corfield has mostly abandoned. Just to clarify: I too had started down the path of trying to find a way to do SOAP via Clojure and came across the old and already aba

Re: 0.1.0 core.async release?

2015-08-07 Thread Sean Corfield
in sync). 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: on behalf of Daniel Compton Reply-To: Date: Friday, August 7, 2015 at 3:50 PM To: Cl

Re: 0.1.0 core.async release?

2015-08-08 Thread Sean Corfield
easier to work with than Maven (since I don’t run Eclipse or IntelliJ). 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: on behalf of Laurent PETIT Reply-To:

Re: 0.1.0 core.async release?

2015-08-08 Thread Sean Corfield
- test-all: isn't there an existing support for launching tests in clojure-maven-plugin-maven-plugins ? Naive question: in your current workflow, you relaunch the Lein executable each time via an emacs command? Or is it via an nrepl client session connected to the same repl that emacs uses for y

Re: 0.1.0 core.async release?

2015-08-08 Thread Sean Corfield
to clarify this: https://github.com/clojure/java.jdbc/blob/master/project.clj#L1-L3 And: https://github.com/clojure/java.jdbc/blob/master/project.clj#L15-L19 Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you'

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-12 Thread Sean Corfield
next production build was based on alpha4 and we have not seen that same memory curve (in a slightly longer period). I looked over the alpha3 / alpha4 change logs and didn’t see anything specific about memory leaks (that would be new in alpha2 compared to 1.7.0 final). Sean Corfield -- (904) 302

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-17 Thread Sean Corfield
can isolate the leak as coming from our code vs "your" code), we’ll put one server back on 1.8.0 Alpha 4 and see if we can identify what is actually leaking. Sean Corfield -- (904) 302-SEAN World Singles -- http://worldsingles.com/ -- You received this message because you are subscri

Re: Unable to write GPL software with clojure?

2015-08-18 Thread Sean Corfield
;viral" license and why many companies will not use GPL software: it "taints" everything it touches and requires "the whole thing" to be GPL. Proponents of GPL will argue a different position (so, be careful, this is almost a religious issue on both sides). Sean Corfield -- (9

Re: Unable to write GPL software with clojure?

2015-08-18 Thread Sean Corfield
at large, so it can spread into more companies. (caveat: IANAL but I’ve been through OSS license audits at companies that are large enough to care deeply about this sort of stuff — unfortunately) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you'

Re: Unable to write GPL software with clojure?

2015-08-20 Thread Sean Corfield
include the GitHub repos of any/all Clojure libraries used? [I believe it’s reasonable to say this — I just wanted to check this was your intent] Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert,

[ANN] clojure.tools.cli 0.3.3

2015-08-24 Thread Sean Corfield
-L136 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 the Google Groups "Clojure" gro

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-24 Thread Sean Corfield
Just to keep everyone informed, we’ve now had enough time back on Clojure 1.7.0 to rule out 1.8.0 as the source of our very slow memory leak. Now we have the fun task of figuring out exactly what has introduced it :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfiel

Re: Why (memoize (fn [_#] (gensym "node")) in rhizome?

2015-09-11 Thread Sean Corfield
(memoize (fn [_#] (gensym "node")) How is that different than (gensym "node") The latter returns a string, e.g., "node18051", the former returns a function that, when called, returns a string. Wrapping it in memoize just ensures that if you call it multiple times with the same argument, you g

[ANN] clojure.java.jdbc 0.4.2 released

2015-09-16 Thread Sean Corfield
clarify docstrings to improve debugging driver-specific restrictions on SQL. 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

Re: can I use varargs in a multimethod?

2015-09-30 Thread Sean Corfield
ot; user> (intent this-users-conversation "Opportunity" "Name") "I got nil plus ({} \"Opportunity\" \"Name\")" user> (intent {:intent "do-something"} "Opportunity" "Name") "WAT? ({:intent \"do-some

Re: cond->: Using of threading expression in tests?

2015-10-02 Thread Sean Corfield
pstep (partition 2 clauses)))] ~g))) So (condp-> {:x 1} #(= (:x %) 1) (assoc :x 2)) produces {:x 2} as desired. We have a condp->> version as well. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you&#

Re: cond->: Using of threading expression in tests?

2015-10-04 Thread Sean Corfield
So am I! Sean, can you share code for condp->> too, please. Oh, sorry, I thought it was obvious from condp-> since the only difference is that it uses ->> instead of -> in one place: (defmacro condp->> "Takes an expression and a set of predicate/form pairs. Threads expr (via ->>) through eac

Re: Clojure Dev Environment

2015-10-05 Thread Sean Corfield
Miguel Ping wrote on Monday, October 5, 2015 at 3:00 AM: - do you code functions in the repl and copy them to respective files? I use Emacs/CIDER and code functions in a file, then use C-M-x to evaluate each one into the running REPL. I usually keep the REPL in the user namespace and require in

Re: How to do functional programming

2015-10-08 Thread Sean Corfield
On 10/8/15, 12:45 PM, "Raoul Duke" wrote: >i did this one a while back as a refresher on my university stuff :-) >https://www.coursera.org/course/progfun I’ll second this as a great recommendation. I first took the course several years ago and I’ve taken it twice since as a Community TA — that

Re: How to do functional programming

2015-10-08 Thread Sean Corfield
hen it moves on to Racket to teach you about dynamically typed FP, then it wraps up with Ruby to look at how dynamically typed OOP contrasts with the two FP approaches. Sean > >> On 8 Oct 2015, at 21:00, Sean Corfield wrote: >> >> On 10/8/15, 12:45 PM, "Raoul Duke&

Re: How to do functional programming

2015-10-09 Thread Sean Corfield
On 10/9/15, 2:13 AM, "Colin Yates" wrote: >Coming from many years of ‘Java Enterprise Applications’ (e.g. Spring, >Hibernate and if you were feeling adventurous maybe free marker instead of JSP >- h.) this was a wonderful breath of fresh air for me. Thank you for starting my Friday off wi

Re: is there a community "best practice" for including your co-workers libraries?

2015-10-16 Thread Sean Corfield
We use Apache Archiva to run a Maven-like repo on an internal server for this sort of scenario (then you specify that repo endpoint in project.clj for Leiningen to see). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying someb

Re: JDBC Rollbacks and Exceptions

2015-10-30 Thread Sean Corfield
Could you provide a bit more context? We’re using clojure.java.jdbc very heavily in production and we don’t see any problems with exceptions. Sean Andy Chambers wrote on Friday, October 30, 2015 at 3:52 PM: Has anyone found a way to "reset" a connection after a rollback? It seems like after an

Re: Right behavior of core/bean

2015-11-02 Thread Sean Corfield
user> (bean "test") {:bytes #object["[B" 0x546fe214 "[B@546fe214"], :class java.lang.String, :empty false} user> (into [] (bean "test")) [[:bytes #object[clojure.core$bean$fn__5742$fn__5743 0x4cdc53ad "clojure.core$bean$fn__5742$fn__5743@4cdc53ad"]] [:class #object[clojure.core$bean$fn__5742

Re: is there a community "best practice" for including your co-workers libraries?

2015-11-02 Thread Sean Corfield
Dave Tenny wrote on Monday, November 2, 2015 at 3:59 PM: I'm slightly confused, is there some reason Clojars doesn't work for sharing libraries in this context? Because it’s public and sharing your companies libraries with the world might be frowned upon…? Sean -- You received this message

Re: [ANN][Book] Clojure for the Brave and True published, web site updated

2015-11-03 Thread Sean Corfield
So, when using commute the update function is ALWAYS run TWICE! Holey Bovine, Batman! The docs for commute say: clojure.core/commute ([ref fun & args]) Must be called in a transaction. Sets the in-transaction-value of ref to: (apply fun in-transaction-value-of-ref args) and re

Re: clojure.java.jdbc prepared select statement

2015-11-09 Thread Sean Corfield
Niels van Klaveren wrote on Monday, November 9, 2015 at 7:20 AM: OK, so after some more experimentation I found out I needed to do the get-connection in the prepare-statement instead of the with-db-connection binding. A bit counter-intuitive, and I hope it will still work when a connection pool

Re: clojure.java.jdbc prepared select statement

2015-11-09 Thread Sean Corfield
In no way did I want to criticize your awesome library None taken! I'll see if I can expand on the documentation. Thank you! I’m not great at documentation, never have been (one of my first jobs, they hired a technical writer to turn my attempt at documentation into something usable…), so I’m

Re: [ANN] Clojure 1.8.0-RC1 is now available

2015-11-12 Thread Sean Corfield
Nicola Mometto wrote on Thursday, November 12, 2015 at 11:52 AM: *mostly* works, and since 1.8 only. The issue pre 1.8 is that since metadata on arglist is not evaluated, the type hint wasn't a fully qualified classname, forcing the user namespaces to import that Class. Scenarios like this would

Re: JDBC Rollbacks and Exceptions

2015-11-13 Thread Sean Corfield
Andy Chambers wrote on Thursday, November 12, 2015 at 10:49 PM: I threw up an example repo demonstrating the type of test I'd like to be able to write somehow. Maybe I'm just trying to test something that should be tested in other ways. https://github.com/cddr/jdbc-demo As Andrey indicates, what

Re: Largest Clojure codebases?

2015-11-23 Thread Sean Corfield
retty comfortable asserting that a) you do not need objects to make large-scale codebases legible and maintainable and b) an object-based codebase is likely to be larger than the equivalent functional codebase (and a smaller codebase is more legible and maintainable anyway). Sean Corfiel

Re: San Francisco Meetup at Climate Corp still active?

2015-11-29 Thread Sean Corfield
On 11/29/15, 4:28 PM, "Ken Restivo" wrote: >I get notices about Zach's office hours event at Factual, but I'm not sure if >it's the same thing renamed, or what. The Factual Office Hours are a different thing — per the meetup info: "This is a meetup for anyone who is working on a Clojure proje

Re: Practical ways to deal with 'bag-of-properties' syndrome, AKA dynamic typing?

2015-11-30 Thread Sean Corfield
Gary Trakhman wrote on Monday, November 30, 2015 at 2:26 PM: I'd like to try haskell, but I'm not sure types in general would provide enough benefit to be worth it for small projects and well-written/tested large ones. There’s always https://github.com/Frege/frege-lein-plugin and https://github.

Re: [ANN] Clojure 1.8.0-RC3

2015-12-07 Thread Sean Corfield
used the default setting regards direct linking (so, just clojure.core). Sean Corfield -- (904) 302-SEAN World Singles -- http://worldsingles.com/ From: on behalf of Alex Miller Reply-To: Date: Monday, December 7, 2015 at 1:36 PM To: Clojure Subject: Re: [ANN] Clojure 1.8.0-RC3 Just a

Re: [ANN] Clojure 1.8.0-RC3

2015-12-10 Thread Sean Corfield
I said: We’ve had it in QA since 12/2 but it hasn’t had much of a work out yet due to various staff vacations etc. This build is our first with direct linking enabled for our whole code base. I don’t know when we’ll get it into production. We’ve decided to do no new production builds until after

Re: [ANN] Boot 2.5

2015-12-18 Thread Sean Corfield
helpful the community is (in the #boot channel on the Clojurians Slack), and how (relatively) easy it is to extend Boot to perform new tasks! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "Perfection is the enemy of the good." -- Gustave Flaubert,

[ANN] boot-expectations: run Expectations tests via Boot

2015-12-18 Thread Sean Corfield
pectations with Boot was a prerequisite and a first step! 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 subscr

Re: [ANN] boot-expectations: run Expectations tests via Boot

2015-12-18 Thread Sean Corfield
boot-expectations 1.0.0 is available! What? A Boot task to run Expectations tests. Where? https://github.com/seancorfield/boot-expectations Thanks to: Alan Dipert and Micha Niskin for their help and patience as I learned enough of Boot 2.5 to write this! What’s next? Task options to filter / e

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 seem

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

[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

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

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

2016-01-12 Thread Sean Corfield
els deep 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

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:

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

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 on behalf of Alex Miller Reply-To: C

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 mod

[ANN] Boot new -- templates for Boot

2016-01-19 Thread Sean Corfield
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: Clojure beyond Java 6 ?

2016-01-21 Thread Sean Corfield
asons 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

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 are subscribed to the Google Groups "Clojure" group. To post to

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 itself to produce bytecode that fails the verifier is… co

Re: Clojure beyond Java 6 ?

2016-01-23 Thread Sean Corfield
deal 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://corf

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: 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 () (intera

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

2016-01-29 Thread Sean Corfield
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,

[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 Date: Friday, January 29, 2016 at 7:3

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 don’t

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: 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: Does Leiningen read Env Vars such as JAVA_OPTS?

2016-02-09 Thread Sean Corfield
https://github.com/technomancy/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

Re: “compiling” stacktrace error

2016-02-11 Thread Sean Corfield
l code above) 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 -- Yo

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 ar

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

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

2016-02-28 Thread Sean Corfield
boot-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

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

2016-03-09 Thread Sean Corfield
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 on behalf of

Re: [ANN] Elements of Clojure

2016-03-19 Thread Sean Corfield
On 3/17/16, 10:47 AM, "Zach Tellman" wrote: > I'm writing a book about Clojure, aimed at people who already know the core > concepts, and want to use them more effectively. Loved the free chapter. Buying a copy for everyone on my team, for updates and the other chap

[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: Cross platform date/time libarary

2016-04-03 Thread Sean Corfield
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 subscribed to the Google Groups "Clojure"

Re: Cross platform date/time libarary

2016-04-04 Thread Sean Corfield
On 4/3/16, 11:41 PM, "JvJ" 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 feasible. Sean Corfield -- (904) 302-SEAN An Architect's View -- h

Re: Downloading Clojure + Contrib Source

2016-04-04 Thread Sean Corfield
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://corfield.org/ "Perfection is the enemy of the good.&

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 An

Re: Upgrading to Clojure 1.8 (direct linking)

2016-04-07 Thread Sean Corfield
d 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 you're not annoying somebody, you're not really alive." --

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

[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

Re: .length vs. count for string length

2016-04-10 Thread Sean Corfield
On 4/10/16, 2:53 AM, "mattias w" 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 Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ &q

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

2016-04-10 Thread Sean Corfield
red` -- 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 is the enemy of the good." -- Gustave Flaubert, Frenc

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

2016-04-13 Thread Sean Corfield
rolled 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, Frenc

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

2016-04-13 Thread Sean Corfield
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

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

2016-04-13 Thread Sean Corfield
PI 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) 302-SEAN An Architect's View -- http://corfield.org/ "

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,

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

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&index=14&list=PLZdCLR02grLq4e8-1P2JNHBKUOLFTX3kb (I don’t remember exactly what he said was the workaround) Sean Corfield -- (904) 302-SEAN An Architec

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

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