Re: How do I run a script? This has me stumped.

2010-05-15 Thread Anniepoo
Any reason why you're using -server flag? Sort of assuming you've checked that the jars you reference are where you say they are (println "Howdy I'm working") would be reasonable file contents. the batch file might be swallowing your output. -- You received this message because you are subsc

Re: API for posting multipart/form-data

2010-05-09 Thread Anniepoo
If you're using ring (and you should be!) there's a middleware layer that handles it http://mmcgrana.github.com/ring/middleware.multipart-params-api.html -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: Restricted eval

2010-05-06 Thread Anniepoo
Mibu - I've kind of gone around this track as well. My first reaction to the 'whitelist' was that it was kind of kludgy, and fought it for a long time, but after a lot of looking for other ways, I'm with Licenser, it's the best way to do it. And yes, you have to disable java interop not because yo

Re: Communication: How to model it?

2010-04-14 Thread Anniepoo
what you want is just a stream in each direction. Bob: So, how do you feel about the Smith contract? Fred: It's not a good deal for us Fred: Do you think we'll have 4 engineers working on it? Bob: Turn left here Bob: No, more like 5 Fred: at the light? Bob: Yes I'd make a wrapper around a sock

Re: concurrency and rand-int

2010-03-25 Thread Anniepoo
As for the problems debugging code that calls nextInt, call setSeed with an arbitrary number at startup. After setting setSeed the sequence of ints returned will be the same every run. You may have trouble if you don't have any synchronization between threads. It could still have race conditions f

Re: Logic programming in Clojure

2010-03-23 Thread Anniepoo
As well as optimizing compilers, there are many knowledge bases available for prolog. Most people with a practical application that needs an expert system are probably far more invested in that knowledge base (the prolog code is a 'knowledge base') than in anything else. -- You received this mess

Re: Why I have chosen not to employ clojure

2010-03-21 Thread Anniepoo
It certainly does seem strange coming from the Java world, where ear files and deployment descriptors can be intimidating. The idea that adding a couple jar files and the source tree to the classpath is 'too hard' makes me wonder what language he was coming from. I was asked to give a simple 'hand

Re: clj-peg v0.6 released

2010-01-04 Thread Anniepoo
Sweet! Wish I'd had this a few days ago, I just spent the last few days writing parsers. -- 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: Parenthesis Inference

2009-12-18 Thread Anniepoo
I read this and think of Roedy Green's essay on source code in database, http://mindprod.com/project/scid.html and on Knuth's 'literate programming' - the idea that source code is inherently not it's representation (it's the reader output that's homoiconic, not the file representation on disk) a

Re: Atomic reloads and snapshots of namespaces

2009-11-26 Thread Anniepoo
I would appreciate, in a similar vein, an amplification of the "Use with caution" advice in the api docs for remove-ns. I'd like to use remove-ns but am reluctant to architect a system around a function marked 'use with caution' (remove-ns sym) Removes the namespace named by the symbol. Use with

Re: roll call of production use?

2009-11-24 Thread Anniepoo
At my workplace (University of Houston, dept. of Health and Human Performance) Clojure is our primary language for interacting with our virtual world presence in Second Life. We have an automated lesson path building system currently in production, and several other projects in various states. aut

http-agent

2009-08-12 Thread Anniepoo
using http-agent threw (#) notice the spelling error in 'setFixedLenghtSttreamingMode' (Lenght) this from the HEAD of trunk as of Aug 11 about 11pm PDT --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" gr

with-out-str assumes Unix line ends

2009-08-06 Thread Anniepoo
Sorry for the confusion - I read this list on an email feed. Turns out replying to a message from there and changing the subject isn't sufficient to start a new thread. Apparently it renames the thread. (suboptimal). original question: (use 'clojure.contrib.duck-streams) (spit "C:\\test.txt"