Re: Problem with Greeks!

2011-08-17 Thread Rasmus Svensson
2011/8/17 cran1988 rmanolis1...@hotmail.com: My jvm is already UTF-8 however it works with clojure 1.3.0 beta1 but i have problems i get an error NoSuchMethodError clojure.lang.KeywordLookupSite.init(ILclojure/lang/ Keyword;)V clout.core/request-url (core.clj:53) The encoding problem and

Re: ClojureScript mailing list?

2011-08-17 Thread Paul Dorman
The following will work for GMail users. I expect that many mail clients have similar functionality. In Mail Settings Labels create a new Label for ClojureScript. I nested it below Clojure in my settings. In Mail Settings Filters create a new filter for ClojureScript. Set the criteria to To:

Re: Clojure for Android

2011-08-17 Thread daly
I have written several android apps so I can help with some questions. Unfortunately I am completely swamped otherwise. If you make it a project on Github that would be useful. Tim Daly On Tue, 2011-08-16 at 22:33 -0700, Paul deGrandis wrote: I'd consider taking this. I've worked a little bit

Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Stephen Compall
The . limitation is in bash vars only; they work fine as environment vars: $ clojure.load.path=whatever command Some error message I forget $ env clojure.load.path=whatever command Sets env var while running command You should already have env installed. It's pretty useful if you like working

clojure-jack-in vs. slime-connect

2011-08-17 Thread Jose A. Ortega Ruiz
Hi, I use (technomancy's) slime with clojure-mode (both elpa-installed) without any issues (via lein swank and slime-connect). While the newish clojure-jack-in works too, i prefer slime-connect (because i save the time of re-evaluating the slime code everytime i restart the REPL). So i was

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Alan D. Salewski
On Tue, Aug 16, 2011 at 01:23:23PM -0400, Ken Wesson spake thus: On Tue, Aug 16, 2011 at 1:20 AM, Alan D. Salewski salew...@att.net wrote: On Tue, Aug 16, 2011 at 12:34:39AM -0400, Ken Wesson spake thus: On Mon, Aug 15, 2011 at 11:13 AM, mrwizard82d1 mrwizard8...@gmail.com wrote: I

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread mrwizard82d1
Thanks, Stephen. Although I was aware of the env command, I had never needed it before. I believe this solution will allow me to solve my immediate problem (running Clojure-CLR with the classpath configured for a specific project as I do in Java). On Aug 17, 6:31 am, Stephen Compall

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread mrwizard82d1
Alan, Thanks for fighting for *nix folks. Although I can solve my singular problem using the solution posted by Stephen, you reminded me of another reason I wrote my question as I did. Although I'm not involved, I understand that people continue to work on the Mono project which provides the

Re: Problem with ClojureScript and Node.js

2011-08-17 Thread Mark McGranaghan
On Jul 28, 4:50 pm, Anthony Grimes disciplera...@gmail.com wrote: Oh! I apologize. I was replying via the google interface and didn't realize it wasn't quoting. Here is a link to the topic for context:https://groups.google.com/d/topic/clojure/ZyVrCxmOFTM/discussion I've also filed a bug

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Ken Wesson
On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski salew...@att.net wrote:    $ /usr/bin/env -- ALJUNK_CRAP1=junk1 ALJUNK.CRAP2=junk2 /bin/bash -c env | grep ALJU    ALJUNK.CRAP2=junk2    ALJUNK_CRAP1=junk1 You approached the question from the perspective of one just wanting to launch

ClojureQL Postgres question

2011-08-17 Thread David Jagoe
Hi All, Could someone with experience in clojureql + postgres tell me if this works: clojureql.core (- (table nil :users) (project [:id :name]) (rename {:id :idx}) to-sql) SELECT users.id,users.name FROM users AS

Stateful agents

2011-08-17 Thread Michael Jaaka
Hi! Have you tried to create stateful agents? This would be useful for implementing long running business processes. The state would be saved to db for durbality and atomicity. In case of crash, the process implemented as agent would continue to execute from the last durable state. I have

Re: Trouble embedding clojurescript in server application

2011-08-17 Thread kjeldahl
I have another data point to add to my testing regarding this problem. Defining a pretty minimal little clojure test program: (ns cljstest.main (:require [cljs.closure :as closure])) (defn -main [ m] (closure/build src/mycljs/hello.cljs {:optimizations :simple

Re: Problem with Greeks!

2011-08-17 Thread cran1988
My problem started when I was trying to pass greek in hiccup and the browser showed me this ? So i installed clojure 1.3.0 and Noir 1.1.1 (i had a little problem with dependencies but i cleaned it) and it works. However lein repl had a problem with greeks (even with the new installation) , but

Another ClojureScript app in the wild

2011-08-17 Thread Matthew Gilliard
I've been playing around writing a fun little ClojureScript project - it's a bit different, so I thought you might like to see it: http://mjg123.github.com/pacman/pacman.html As I was feeling my way quite blindly through ClojureScript and gClosure I have let the code get into a bit of a mess

Re: napalm

2011-08-17 Thread ronen
Very nice work, it sure does cures a pain point in Java land. Ronen On Aug 16, 1:20 am, Miro Bezjak bezjak.m...@gmail.com wrote: First, apologies to anyone not interested. This isn't clojure project but it helps to setup it. Windows users can skip this announcement because napalm doesn't help

Fully qualified keywords in clojurescript vs. clojure

2011-08-17 Thread Joel Boehland
I've been playing around with clojurescript and have come across some differences in how clojure and clojurescript treat fully qualified namespaces. It seems that clojurescript always places fully qualified keywords in the user namespace: (ns testns) (pr-str kw: ::kwtest ns: (namespace

Re: Another ClojureScript app in the wild

2011-08-17 Thread Kevin Lynagh
Hi Matthew, Have you tried console.log() as (.log js/console is anybody out there?) That works for me currently. When I first started in ClojureScript I had trouble calling console.log() because it was a native code function and it couldn't be called with JavaScript's .call(this, args)

lein gets error java 1.6.0_26 ???

2011-08-17 Thread jayvandal
I some how got this error. I have deleted clojure, lein, java, changed paths and I get this error What is the problem??? Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\jimlein Exception in

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Alan D. Salewski
On Wed, Aug 17, 2011 at 01:47:53PM -0400, Ken Wesson spake thus: On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski salew...@att.net wrote:    $ /usr/bin/env -- ALJUNK_CRAP1=junk1 ALJUNK.CRAP2=junk2 /bin/bash -c env | grep ALJU    ALJUNK.CRAP2=junk2    ALJUNK_CRAP1=junk1 You

Re: Clojure-CLR, CLASSPATH, clojure.load.path and Cygwin

2011-08-17 Thread Ken Wesson
On Thu, Aug 18, 2011 at 12:32 AM, Alan D. Salewski salew...@att.net wrote: On Wed, Aug 17, 2011 at 01:47:53PM -0400, Ken Wesson spake thus: On Wed, Aug 17, 2011 at 9:48 AM, Alan D. Salewski salew...@att.net wrote: I approached the question from the perspective of one wanting to invoke