Re: Suggested 'server' for hosting clojure web app

2013-06-29 Thread Daniel Pittman
he handler fn at runtime, transparently.) Given either of those solutions you can then use jetty, netty, http-kit, or anything else. Personally, though, if you really want automated deployment and zero-downtime upgrades, I would totally look to a full blown - and heavy - stack. :) -- Daniel Pit

Re: End user applications

2013-06-13 Thread Daniel Pittman
> because PuppetDB is self-contained. That has a fair bit of "air-play" in the wild, and has been trouble-free the whole time. I can probably dig out some numbers from our marketing department about how widely used it is, if y'all are interested. -- Daniel Pittman ♲ Made with

Re: New web-like protocol

2012-12-08 Thread Daniel Pittman
flow of the tool. -- Daniel Pittman ♲ Made with 100 percent post-consumer electrons -- 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 -

Re: edn

2012-09-07 Thread Daniel Pittman
On Fri, Sep 7, 2012 at 3:45 AM, Rich Hickey wrote: > On Sep 7, 2012, at 12:33 AM, Daniel Pittman wrote: >> On Thu, Sep 6, 2012 at 6:01 PM, Rich Hickey wrote: >> >>> I've started to document a subset of Clojure's data format in an effort to >>> get it

Re: edn

2012-09-06 Thread Daniel Pittman
needed - and hopefully something better than "base64 into the string". -- Daniel Pittman ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@

Re: Storing clojure lists and maps in Redis

2012-01-03 Thread Daniel Pittman
On Tue, Jan 3, 2012 at 22:30, Shoeb Bhinderwala wrote: > I am trying to use Redis as a data structure cache for my clojure > application. Does anybody have experience/code/ideas that can write/ > read a clojure complex data structure to the Redis cache. […] > How can I store the above to Redis an

Re: Distributed transactions

2011-12-31 Thread Daniel Pittman
Well, I can't speak for Michael, but we want them because we need to update the database *and* send events notifying other parts of the distributed system about the change. We really don't want to do only one *or* the other, because that requires that we get into the fun world where distributed to

Re: Colliding hashes

2011-12-31 Thread Daniel Pittman
http://www.kb.cert.org/vuls/id/903934 should give you pointers to understand the problems, and http://www.ocert.org/advisories/ocert-2011-003.html has details about what is vulnerable from an HTTP request processing point of view. Fixing the underlying map / hash tools would be awesome, of course,

Re: Another newbie question

2011-11-06 Thread Daniel Pittman
On Sun, Nov 6, 2011 at 03:56, pron wrote: > Hi. I'm new to Clojure, and enjoy using it very much. It's been years since > I learned Scheme back in college, and it's a pleasure going back to lisp. > I do, however, have a question regarding real-world Clojure use in large > teams. While I clearly u

Re: ANN: Korma - a SQL DSL for Clojure

2011-11-02 Thread Daniel Pittman
On Wed, Nov 2, 2011 at 12:49, Chris Granger wrote: > I'm officially releasing Korma 0.2.0 today with a wonderful new > project site: http://sqlkorma.com ;) That looks pretty awesome. I do have one question: arrays. Specifically, do you have any plans to support SQL ARRAY columns as part of this

Re: ANN: core.match 0.2.0-alpha5

2011-10-10 Thread Daniel Pittman
On Mon, Oct 10, 2011 at 06:57, David Nolen wrote: > On Sun, Oct 9, 2011 at 11:19 PM, Ambrose Bonnaire-Sergeant > wrote: >> On Mon, Oct 10, 2011 at 3:31 AM, David Nolen wrote: >>> >>> - return nil instead of throwing if no match found to mirror the behavior >>> of cond >> >> I don't like this. >

Re: ANN: core.match 0.2.0-alpha5

2011-10-09 Thread Daniel Pittman
On Sun, Oct 9, 2011 at 12:31, David Nolen wrote: > I've removed some fairly big bugs in the algorithm. This will probably the > be the last alpha release before I cut a beta. Would love to hear any and > all feedback. > In particular if people have strong opinions about the remaining issues, let

Re: Thoughts on a polyglot app server?

2011-09-30 Thread Daniel Pittman
On Thu, Sep 29, 2011 at 13:48, Jim wrote: > > The TorqueBox[1] team is toying with the idea of exposing to Clojure > the abstractions we currently expose to Ruby. We're looking for > feedback from you guys to see what you use now to solve these > problems, what you'd like to see in a possible Cloj

Re: Idiomatically returning one or two values from a function.

2011-09-30 Thread Daniel Pittman
On Wed, Sep 28, 2011 at 12:15, Daniel Solano Gomez wrote: > On Wed Sep 28 18:52 2011, Daniel Pittman wrote: >> >> I have problem that I have been thrashing back and forth over the best >> design of for a week now, and I can't work out the nicest way to >> ha

Idiomatically returning one or two values from a function.

2011-09-28 Thread Daniel Pittman
G'day. I have problem that I have been thrashing back and forth over the best design of for a week now, and I can't work out the nicest way to handle it. Specifically, I have a collection of functions that return a primary result, and might also return a secondary "annotation" about that result.

Clojure sort: is it specified to be stable for all targets?

2011-09-11 Thread Daniel Pittman
G'day. The API documentation for clojure doesn't specify if the sort method is stable, unstable, or "implementation defined". Java defines sort to be stable, but Clojure also has two other targets, and I can't tell if I am safe making the assumption that the stable behaviour will carry over to th

Re: Clojure in Emacs Seemingly Impossible

2011-09-11 Thread Daniel Pittman
On Sat, Sep 10, 2011 at 10:29, Curran wrote: > I would greatly appreciate any guidance on where to find a working and > complete set of instructions for how to set up Emacs with swank- > clojure. I am in Ubuntu. > > I have followed exactly every step of the instructions on this page > http://dev.

Re: ANN: Clojure Cookbook

2010-09-27 Thread Daniel Pittman
nd tell me what is available for meeting my current need. The second biggest is the lack of a CPAN-alike central service on the web that would allow me to do the same, plus review the documentation for candidate libraries. So, um, that would be nice. :) Daniel -- ✣ Daniel Pittman