Re: Simple things should be simple

2010-09-10 Thread cody koeninger
On Sep 10, 1:32 am, Mike Meyer wrote: > I think that Java's strength is enterprise-level, highly scalable web > servers make people assume that every problem must be a nail for that > hammer. I think that Unix's strength is small independent programs communicating over standard I/O makes you as

Re: Can I GPL my Clojure project?

2010-03-29 Thread cody koeninger
On Mar 27, 11:55 pm, Mike Meyer wrote: > But if > you're serious about this, you need to talk to a real copyright > lawyer. This is the only correct answer to the OP's question. Don't take legal advice from random people on a newsgroup. -- You received this message because you are subscribed t

Re: The % Schemer Series - are they worth the money?

2010-03-23 Thread cody koeninger
On Mar 23, 10:37 am, Sean Devlin wrote: > Hey folks, > I'm looking to add to my bookshelf.  I was wondering what this groups > experience with the Schemer series of books is? > > Sean Little, seasoned, + the little MLer are awesome, only thing that comes close in terms of pedagogical quality i

Re: Lift equivalent

2010-01-03 Thread cody koeninger
On Jan 2, 11:50 am, Mike Meyer wrote: > There are definitely some good ideas there - and I agree with most of > the goals. But Lift, like most other page-centric web frameworks, > seems to break one of the fundamental rules of good API design: Simple > things should be simple. Having implemented

Re: Clojure Scoping Rules

2009-11-21 Thread cody koeninger
http://clojure.org/lisps "All (global) Vars can be dynamically rebound without interfering with lexical local bindings. No special declarations are necessary to distinguish between dynamic and lexical bindings." Other part of that explanation is whether x in a given piece of code refers to a lexi

Re: Datatypes and Protocols - early experience program

2009-11-13 Thread cody koeninger
On Nov 13, 9:42 am, Sean Devlin wrote: > In this case, you provide the docs for each method after parameters. > Would the following be possible: > > (defprotocol AProtocol :on AnInterface >   "A doc string for AProtocol abstraction" >   (bar "bar docs" [a b] :on barMethod) >   (baz "baz docs" ([a

Re: Periodic tasks

2009-10-31 Thread cody koeninger
On Oct 31, 11:42 am, Richard Newman wrote: > VimClojure relies on Nailgun, with a bunch of people on this list   > using it with Clojure every day. My recollection from list and IRC was that (aside from random nailgun issues + the project not being updated in 4 years) there was an issue with d

Re: Periodic tasks

2009-10-31 Thread cody koeninger
On Oct 31, 5:22 am, alxtoth wrote: > Why not use the OS task scheduler? On un*x there is good old cron or > at. On windoze there is similar task scheduler. > Overhead from starting and stopping the JVM every couple of minutes would probably be unacceptable. My understanding is that solutions

Re: apply for macros?

2009-10-05 Thread cody koeninger
On Oct 4, 1:31 am, Meikel Brandmeyer wrote: > Here we have the smell! You cannot define functions with a function.   > You have to use a macro! I am not clear on what you mean by this. From a user's point of view, what is the difference between defining a function, and interning a var with a fn

Re: seeking examples/tutorials on clojure/lisp-y design (vs Java/Ruby)

2009-09-11 Thread cody koeninger
On Sep 11, 10:56 am, Michael Teter wrote: > What I would like to find now is some kind of guide or document to > help me learn to design the functional way, instead of just writing > Java in Clojure. http://htdp.org/ --~--~-~--~~~---~--~~ You received this mess

Re: I18n

2009-08-28 Thread cody koeninger
On Aug 28, 12:16 am, ngocdaothanh wrote: > Hi all, > > Is there an i18n library for Clojure? What Java i18n library should I > use in a Clojure program (it suits Clojure syntax for example)? For > Ruby and Erlang I prefer Gettext, but for Java it seems > that .properties files are in major use.

Re: clojure vs scala

2009-08-26 Thread cody koeninger
On Aug 26, 5:29 am, Christian Vest Hansen wrote: > Another Scala downer: "Scala is very powerful, some developers might > shoot themselves into the foot" - I don't see how this applies more to > Scala than Clojure. If we want to talk about foot-shooting, we could > talk about macros. There are

Durable transactions in practice?

2009-08-07 Thread cody koeninger
Assuming people aren't patching clojure ala dave griffith's external transactions patch in the group files, what are people doing in practice to durably store the state of refs? Storing within a transaction and somehow ensuring your store operation is idempotent (not to mention reversible)? Sendi

Re: Clojure as a First Language

2009-08-06 Thread cody koeninger
On Aug 6, 3:22 am, Lauri Pesonen wrote: > There was a post recently on LtU about a paper by Matthias Felleisen > et al. (of Little Schemer fame) about a functional teaching language > that they've been using in schools and freshman classes to teach kids > how to program. I'm still reading it, but

Re: Clojure as a CGI language?

2009-07-23 Thread cody koeninger
On Jul 22, 10:15 am, Chouser wrote: > Java and therefore Clojure does not play nicely in this > niche as far as I can tell.  Even if a service allows ssh > access such that you can install a JVM, Clojure, etc. it's > almost certain you will not be allowed to keep > a long-running process going

Re: Why do Enlive template functions return a seq instead of a str?

2009-07-15 Thread cody koeninger
On Jul 11, 12:31 pm, Jarkko Oranen wrote > Forcing them into a single string at the end would wasteful in case > the user intends to write the output into a stream (which can be done > a fragment at a time.) Thus, leaving the choice to the user seems like > a good decision. > > Or maybe it's just