Managing database schema

2015-05-14 Thread Brett Morgan
I use clj-liquibase, https://github.com/kumarshantanu/clj-liquibase. It's a clojure wrapper for Liquibase. There is a function to load schema changes (changeset) from a file, along with many other functions to create changesets for your schema. -- You received this message because you are su

Re: Clojure Async/State Machine/Workflow Libraries?

2015-05-01 Thread Brett Morgan
> > but one would need option to stop the execution in some point of "go" > block, persist it, and continue it later. > Why would you need to stop execution? You could just have a chan, put what you need to persist on it, then then have different go block persist it. Main processing continu

Re: Newbie

2015-05-01 Thread Brett Morgan
I second, http://www.braveclojure.com. It's a great tutorial. I've switch from using Emacs as IDE to Cursive, an Intellij plugin. https://cursiveclojure.com On Thursday, April 30, 2015 at 4:03:47 PM UTC-4, Jeff Heon wrote: > > I quite like these two resources for total beginners. > > (Starts

Re: [ANN] emacs-clojure-vagrant: a sane development virtual environment

2011-06-27 Thread Brett Morgan
Thanks Phil, I added a bit of context to the bug report and I am tracking it. brett On Tue, Jun 28, 2011 at 12:46 AM, Phil Hagelberg wrote: > Brett Morgan writes: > > > I just tried out your vagrant script, and it appears to be dying on an > > unmet dependency: > > &g

Re: [ANN] emacs-clojure-vagrant: a sane development virtual environment

2011-06-27 Thread Brett Morgan
Hi Justin, I just tried out your vagrant script, and it appears to be dying on an unmet dependency: [default] --2011-06-27 06:33:42-- https://github.com/downloads/icylisper/jark/jark-0.3 [default] 207.97.227.239 [default] [default] connected. [default] 404 Not Found [default] 2011-06-27 06:33:44

Re: Jesus, how the heck to do anything?

2011-03-23 Thread Brett Morgan
There is this genre of coming of age films that shows the hero getting beaten up by a bully, then a montage scene, then glorious victory. You are transitioning from the being beaten up by the bully scene to the montage scene. Time for lots of study =) On Wed, Mar 23, 2011 at 7:20 AM, ultranewb w

Re: Not quite getting for (newb question)

2011-03-20 Thread Brett Morgan
] [x y]) will terminate as > soon as (< x y) is false. Since (< 0 0) is the first expr to evaluate, > evaluation stops right there. > > What you want is > (for [x (range 10) y (range 10) :when (< x y)] [x y]) > > Cheers > Andreas > > what you want is for ... :w

Not quite getting for (newb question)

2011-03-20 Thread Brett Morgan
Hey all, I'm not understanding why the following examples don't line up. In my mind they should be identical. What am i not getting? (user=> (filter (fn [[x y]] (< x y)) (for [x (range 10) y (range 10)] [x y])) ([0 1] [0 2] [0 3] [0 4] [0 5] [0 6] [0 7] [0 8] [0 9] [1 2] [1 3] [1 4] [1 5] [1 6] [

Re: Clojure in "Computing in Science and Engineering"

2009-06-19 Thread Brett Morgan
ri, Jun 19, 2009 at 5:15 PM, Konrad Hinsen wrote: > > On 19.06.2009, at 00:07, Brett Morgan wrote: > > > Silly question of the week, clojure+terracotta be used to do > > scientific cluster computing? > > The big question is what the performance impact of terracotta is, &g

Re: Clojure in "Computing in Science and Engineering"

2009-06-18 Thread Brett Morgan
mory SMP may become fashionable > again even for number crunching. > > Anyway, if anyone has a scientific (in the widest possible sense) > application that exploits Clojure's currency, contact me if you want > to write about it! > > Konrad. > > > > > --

Clojure as a Java lib documentation / examples?

2009-05-21 Thread Brett Morgan
erver. So where do I start reading? =) -- Brett Morgan http://brett.morgan.googlepages.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure

Re: Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-24 Thread Brett Morgan
On Fri, Oct 24, 2008 at 5:16 PM, Adam Jones <[EMAIL PROTECTED]> wrote: > > > > On Oct 22, 6:17 am, Chouser <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 22, 2008 at 4:30 AM, Brett Morgan <[EMAIL PROTECTED]> > wrote: > > > > > I understand the

Re: Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-22 Thread Brett Morgan
ing from the server back to the client > as well? > > Bill > > > > -- Brett Morgan http://brett.morgan.googlepages.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure"

Re: Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-22 Thread Brett Morgan
On Wed, Oct 22, 2008 at 9:54 PM, Parth Malwankar <[EMAIL PROTECTED]>wrote: > > > > On Oct 22, 3:42 pm, Parth Malwankar <[EMAIL PROTECTED]> wrote: > > On Oct 22, 1:30 pm, "Brett Morgan" <[EMAIL PROTECTED]> wrote: > > > > - Recently the #=

Re: Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-22 Thread Brett Morgan
own tight. Then after sanitizing the output (which should > be raw data), and you're done. > > That's what I think, at least. > > [1]: http://java.sun.com/javase/6/docs/api/java/lang/SecurityManager.html > > On Wed, Oct 22, 2008 at 10:30 AM, Brett Morgan <[EMAIL

Reader + Macros on untrusted S Expressions: Security considerations?

2008-10-22 Thread Brett Morgan
o about error recovery and reporting on bad input? Thanks in advance. -- Brett Morgan http://brett.morgan.googlepages.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

Re: offtopic - where are you come from? (poll)

2008-10-17 Thread Brett Morgan
Sydney, Australia On Sat, Oct 18, 2008 at 3:58 PM, Ande Turner <[EMAIL PROTECTED]> wrote: > Dunedin, Otago, NEW ZEALAND > > 2008/10/18 Craig McDaniel <[EMAIL PROTECTED]> >> >> also from Atlanta, Georgia >> >> > > > > &

Re: Clojure at Boston Lisp Meeting videos

2008-10-02 Thread Brett Morgan
uot;. >> >> Rich > > Interesting, > > Going to the top level url (from the screencasts link on the clojure > home page) doesn't offer that pulldown -- it just starts showing the > latest movie (in flash format); same thing after choosing any movie > from the list

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Wed, Sep 10, 2008 at 4:38 PM, ntupel <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-09-09 at 23:57 +1000, Brett Morgan wrote: >> On Tue, Sep 9, 2008 at 10:31 PM, [EMAIL PROTECTED] >> <[EMAIL PROTECTED]> wrote: >> > >> > On Sep 9, 11:26 am, "

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Tue, Sep 9, 2008 at 11:58 PM, Randall R Schulz <[EMAIL PROTECTED]> wrote: > > On Tuesday 09 September 2008 01:51, Brett Morgan wrote: >> ... >> >> Would you kindly educate me in how you believe that Clojure would go >> about trapping your error and gi

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Tue, Sep 9, 2008 at 10:31 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sep 9, 11:26 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote: >> For C, protection against circular dependencies is on the head of the >> programmer, in the form of #ifd

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Tue, Sep 9, 2008 at 10:20 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sep 9, 11:28 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 9, 2008 at 8:20 PM, Mike Hinchey <[EMAIL PROTECTED]> wrote: >> >> > It doesn'

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
es, but > you'd have to load the files manually, not with (ns). > > Unless I'm missing something, this is probably something people will > expect to work, so a friendly error message would be good. > > -Mike > > On Sep 9, 1:29 am, "[EMAIL PROTECTED]"

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Tue, Sep 9, 2008 at 8:12 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sep 9, 10:51 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote: >> Would you kindly educate me in how you believe that Clojure would go >> about trapping your error and giving yo

Re: Bug: self require -> stack overflow

2008-09-09 Thread Brett Morgan
On Tue, Sep 9, 2008 at 7:29 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Sep 9, 8:48 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote: >> You seem to be asking for the >> compiler to be able to prove that your computation finishes, and if it >>

Re: Bug: self require -> stack overflow

2008-09-08 Thread Brett Morgan
to be asking for the compiler to be able to prove that your computation finishes, and if it doesn't then give you a sane response. Gödel, Escher, Bach by Douglas Hofstadter is a good starting point. http://en.wikipedia.org/wiki/Gödel,_Escher,_Bach -- Brett Morgan http://brett.morgan.goog