Re: Clojure as a CGI language?

2009-07-21 Thread Niels Mayer
On Mon, Jul 20, 2009 at 2:01 PM, robert.e.hick...@googlemail.com < robert.e.hick...@googlemail.com> wrote: I was wondering what the best way of using clojure as a language for writing CGI web applications would be. I know that it can be used for web programming using java web servers, however I wa

Re: Clojure as a CGI language?

2009-07-22 Thread Niels Mayer
On Wed, Jul 22, 2009 at 8:58 AM, Mike Hinchey wrote: > As Daniel mentioned, Google App Engine can host java. It's very easy, just > upload a war with your clj AOT-compiled. > > See http://elhumidor.blogspot.com/2009/04/clojure-on-google-appengine.html Very interesting! It also looks like the

Re: Clojure as a CGI language?

2009-07-22 Thread Niels Mayer
On Wed, Jul 22, 2009 at 12:36 AM, robert hickman < robert.e.hick...@googlemail.com> wrote: > > Trying to use CGI sounds like a bad idea. It's always full of > security issues > > I have read trough the page that you linked to and the issues listed > ain't any different from the issues as

easy way to get Closure doing serious web apps?

2009-07-26 Thread Niels Mayer
(assuming you agree that xwiki-backed sites like http://www.idiva.com , http://www.curriki.org or http://www.bestventes.com constitute "serious web apps"...) On the Xwiki devs list, I inquired: http://lists.xwiki.org/pipermail/devs/2009-July/013763.html about using Clojure as a scripting language

Re: easy way to get Closure doing serious web apps?

2009-07-28 Thread Niels Mayer
> easy way to get Closure doing serious web apps? Ooops. That's supposed to read "Clojure" in the title. Sorry about that. By the way, I previously wrote: >* It could be very useful to employ massive parallelism via such Clojure* >* scripts, which could achieve a xwiki-based web portal performanc

Re: Java based DocDB

2009-07-29 Thread Niels Mayer
On Mon, Jul 27, 2009 at 7:46 AM, Sean Devlin wrote: > > Howdy everyone, > I've got a project that needs a Doc DB. It will need to run on > windows (and probably OS X), so I am looking for something that works > with Java. I thought I'd ask for some help here before I re-invent > the wheel. > >

Re: Parallel garbage collection worthwhile?

2009-07-29 Thread Niels Mayer
mance/size/mem-locality? *Date:* Feb 17, 2009; 05:13pm *Author:* Niels Mayer *XWiki- Dev* (http://n2.nabble.com/XWiki--Dev-f475773.html) I usually have found that the garbage collector is the hardest-working thing in a java-web app (unfortunately) so when I noticed this new GC option in *Java HotS

Re: JSR 223

2009-07-31 Thread Niels Mayer
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M2On Fri, Jul 31, 2009 at 9:04 AM, Mike wrote: > > Are there plans for Clojure to work in JSR-223 (Java Scripting > Framework)? I see a lot of languages up there already. In fact, the > only major JVM languages missing are Sca

Re: binding and bundles of variables

2009-08-10 Thread Niels Mayer
On Thu, Aug 6, 2009 at 10:12 PM, samppi wrote: > > I have about six variables that are often rebound together using > binding; these variables are used to access and set data in a state > object (whose type is of the user's choice). These variables' values > (the accessors and setters) are often

Re: Parallel garbage collection worthwhile?

2009-08-15 Thread Niels Mayer
Although the "Garbage-First garbage collector" would be quite useful for Clojure, here I confirming that the new "G1" garbabe collector is "still in beta" at least for a "comparative use case" (using velocity/groovy/jPython in Xwiki, but not Clojure). Is anybody having success with theis GC in Cloj

Is there something special about haskell, or could "verifiability announcements" happen for purely functional Clojure programs too?

2009-08-15 Thread Niels Mayer
Executive summary: seems like big announcements of "provably correct software" would be easier to achieve in Java+Clojure than for C/Haskell used in the current "big news" regarding a provably secure kernel. However, give

Re: Image scaling libraries. Request for recommendations

2009-12-14 Thread Niels Mayer
In my experience, the "headless" suggestion works fine when running Tomcat6 where apps make use underlying graphics functionality and end up accidentally creating an X display. You have to make sure java gets the option before it attempts to open any displays -- which might happen well before the c

Re: Call for masters thesis ideas (possibly related to Clojure)

2009-12-18 Thread Niels Mayer
(0) Create a toolkit to run multiple parallel, tightly communicating clojure apps on google-app engine, simulating a single, long-running, multithreaded JVM instance that does not appear, to the user, to be limited by the constraints of GAE's java implementation (e.g. single threading, shared refs

Re: Call for masters thesis ideas (possibly related to Clojure)

2009-12-18 Thread Niels Mayer
> > *Re: > Update: One of the developers of PNUTS > commented > on > this post, pointing out that PNUTS performance is much better in practice > (1-10ms/request) when ca