Re: [JOB] Clojure Developer at World Singles (remote)

2017-03-21 Thread 'Andy Chambers' via Clojure
> globally diverse team > Please note we will not be able to consider your application unless you are authorized to work in the United States. US only counts as globally diverse these days? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: JDBC Rollbacks and Exceptions

2015-11-12 Thread Andy Chambers
On Friday, October 30, 2015 at 5:22:40 PM UTC-7, Sean Corfield wrote: > > 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. > Hi Sean, I threw up an example repo demonstrating the type of test I'd l

JDBC Rollbacks and Exceptions

2015-10-30 Thread Andy Chambers
Hey All, Has anyone found a way to "reset" a connection after a rollback? It seems like after an exception is triggered, the connection cannot be used again, even if you just want to rollback and continue with the next insert. This is a problem if you want to both clean the database state by r

Re: ANN: s3-wagon-private 1.2.0

2015-09-14 Thread Andy Chambers
Hi Daniel, Thanks for taking over this project. And thanks for getting rid of the noisy logs. On Tuesday, August 25, 2015 at 6:07:41 AM UTC-7, Daniel Compton wrote: > > Hi folks > > s3-wagon-private is a > Leiningen plugin which lets you use a p

Manifold streams/deferreds raising errors downstream of a sink

2015-08-09 Thread Andy Chambers
Hey All, I'm trying to build a library that exposes manifold streams for data producing applications. The intention would be for these apps to s/put! to a sink stream returned by the producer function. However, I need to take the value that is put in and pipe it into some other function before I

Re: Education on Dynamic Binding

2015-06-01 Thread andy . chambers
There's this one from uswitch http://oobaloo.co.uk/dynamic-error-capture-with-clojure but it doesn't really have a motivating example to highlight why that particular approach is better. Or this one which hints at monads: http://adambard.com/blog/acceptable-error-handling-in-clojure/ I also f

Re: Managing database schema

2015-05-26 Thread andy . chambers
One problem we found with ragtime is that if multiple developers are working on a schema simultaneously, it's quite easy to get into a state where `lein ragtime migrate` will complain about finding a migration it doesn't expect. I think you can work around this by rolling back to the nearest co

Education on Dynamic Binding

2015-05-26 Thread andy . chambers
This page on Jira says that dynamic binding should be documented as "The Clojure Way" to do error handling. Was this ever done? I managed to find a few blog posts discussing approach but nothing official. http://dev.clojure.org/display/design/Error+Handling Cheers, Andy -- You received this m

Minimum Viable Database Component

2015-04-29 Thread Andy Chambers
Hi All, I'm trying to follow the "component" architecture for an app I'm working on and wondered if I was missing something. In the "Just enough structure" talk, one of the examples Stuart presents is a DB component that contains just a small selection of DB related functions (i.e. insert, and

Re: [ANN] Sweet Liberty: Set Your Data Free with Clojure and REST

2015-02-21 Thread Andy Chambers
On Tuesday, February 17, 2015 at 11:24:48 AM UTC-5, Bill Piel wrote: > > Blog post: > https://blog.rjmetrics.com/2015/02/15/sweet-liberty-set-your-data-free-with-clojure-and-rest/ > > > Sweet-Liberty is a library for building database-backed RESTful services > using Clojure. You can think of it

Performant string concatenation (of many, large strings)

2015-02-13 Thread Andy Chambers
Is there a reason you're collecting the result into a string rather than just writing out to a file? -- 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 mo

Re: Question about test.check, and knossos

2014-10-23 Thread Andy Chambers
On Thursday, October 23, 2014 10:04:52 AM UTC-4, Jan Stępień wrote: I've begun to work on such a tool not long ago. Thomas Arts, who gave a > talk at > our local FP user group meetup [mλ], inspired me to try out the approach > you're > describing in Clojure. After some experiments I got the libr

Re: Question about test.check, and knossos

2014-10-23 Thread Andy Chambers
On Thursday, October 23, 2014 11:21:44 PM UTC-4, Andy Chambers wrote: > > On Thursday, October 23, 2014 9:23:36 PM UTC-4, tcrayford wrote: >> >> Hi Andy, All, >> >> I wrote a tool like this: https://github.com/tcrayford/laundromat >> >> it's super ha

Re: Question about test.check, and knossos

2014-10-23 Thread Andy Chambers
On Thursday, October 23, 2014 9:23:36 PM UTC-4, tcrayford wrote: > > Hi Andy, All, > > I wrote a tool like this: https://github.com/tcrayford/laundromat > > it's super hacky, and the api is definitely in beta. I asked some folk > about reviewing this api, got little feedback, and figured it wasn't

Question about test.check, and knossos

2014-10-22 Thread Andy Chambers
Hi All, Lately I've been exploring the world introduced to me by watching the John Hughes' quickcheck video from clojure west. Awesome stuff! Eventually I found the "testing for fun and profit"[1] paper which left me wanting to test my apps using a model based system like the paper describes. I

combining methods

2009-08-07 Thread Andy Chambers
Hey All, Does clojure have an equivalent of either CLOS's `call-next-method' or java's super? For example, given the multi-method, and the interfaces ICDISCElement and IODMDef, where IODMDef extends ICDISCElement (defmulti validate class) (defmethod validate ICDISCElement [elem] ;;generi

Re: The Application Context Pattern

2009-02-27 Thread Andy Chambers
2009/2/27 Marko Kocić : > > Interesting approach, nice explained. > > Does anyone have similar example using one of the cells > implementations? > What would be pros/cons between this and cells approach? The cells implementations I've seen posted to this list (in fact pretty much all cells reimpl