Re: Finding ClojureScript Libraries

2014-12-29 Thread Raju Bitter
I agree, that would be really helpful. And cool to see ClojureScript taking
off like this!
- Raju

On Mon, Dec 29, 2014 at 4:49 PM, David Nolen dnolen.li...@gmail.com wrote:

 There's been an explosion of ClojureScript libraries over the past
 year. It would be nice to begin tracking them on the wiki so that
 newcomers can more easily get their bearings:

 If you have a ClojureScript library please add it to the following growing
 list:

 https://github.com/clojure/clojurescript/wiki#useful-libraries

 If your library works with both Clojure  ClojureScript please note that.

 Thanks!
 David

 --
 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 - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Browserless ClojureScript

2014-12-23 Thread Raju Bitter
Works fine for me, I'm on Mac Yosemite, Node version v0.10.33 (installed
through brew). I'll do a test run on Ubuntu, never used Nixos.

On Tue, Dec 23, 2014 at 11:11 AM, Andrew Keedle akee...@gmail.com wrote:

 Never looked at Node before. I've followed the instructions, but I get
 this error when running: node run.js

 (I'm using nixos with node v0.11.13. Anyone got any clues?)

 [keeds@pixie:~/workspace/hello-world]$ node run.js

 /home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:69
   process.binding('evals').NodeScript.runInThisContext.call(
   ^
 Error: No such module
 at Error (native)
 at nodeGlobalRequire
 (/home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:69:11)
 at Object.anonymous
 (/home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:77:1)
 at Module._compile (module.js:449:26)
 at Object.Module._extensions..js (module.js:467:10)
 at Module.load (module.js:349:32)
 at Function.Module._load (module.js:305:12)
 at Module.require (module.js:357:17)
 at require (module.js:373:17)
 at Object.anonymous (/home/keeds/workspace/hello-world/run.js:5:1)

 --
 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 - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Browserless ClojureScript

2014-12-23 Thread Raju Bitter
Seems to be a problem with newer versions of node. I've tested on Ubuntu
14.04. Everything up to Node.js version 0.11.6 is not causing any problems,
starting with 0.11.7 I can see the same error message you reported:

Installed node using https://github.com/creationix/nvm, which allows you to
easily switch between Node.js versions.

raju@ubuntu:~/coding/cljs/hello-world$ nvm install 0.11.6

100.0%
Now using node v0.11.6
raju@ubuntu:~/coding/cljs/hello-world$ node run.js
util.print: Use console.log instead
Hello world!util.print: Use console.log instead

raju@ubuntu:~/coding/cljs/hello-world$ nvm install 0.11.7
v0.11.7 is already installed.
Now using node v0.11.7
raju@ubuntu:~/coding/cljs/hello-world$ node run.js

/home/raju/coding/cljs/hello-world/out/goog/bootstrap/nodejs.js:69
  process.binding('evals').NodeScript.runInThisContext.call(
  ^
Error: No such module
at nodeGlobalRequire
(/home/raju/coding/cljs/hello-world/out/goog/bootstrap/nodejs.js:69:11)
at Object.anonymous
(/home/raju/coding/cljs/hello-world/out/goog/bootstrap/nodejs.js:77:1)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.anonymous (/home/raju/coding/cljs/hello-world/run.js:5:1)
at Module._compile (module.js:449:26)

Probably a bug in the unstable version of node you are using. Looking at
the node.js website, the version they offer for download by defaut ist
0.10.34:
http://nodejs.org/download/

- Raju

On Tue, Dec 23, 2014 at 11:54 AM, Raju Bitter rajubit...@gmail.com wrote:

 Works fine for me, I'm on Mac Yosemite, Node version v0.10.33 (installed
 through brew). I'll do a test run on Ubuntu, never used Nixos.


 On Tue, Dec 23, 2014 at 11:11 AM, Andrew Keedle akee...@gmail.com wrote:

 Never looked at Node before. I've followed the instructions, but I get
 this error when running: node run.js

 (I'm using nixos with node v0.11.13. Anyone got any clues?)

 [keeds@pixie:~/workspace/hello-world]$ node run.js

 /home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:69
   process.binding('evals').NodeScript.runInThisContext.call(
   ^
 Error: No such module
 at Error (native)
 at nodeGlobalRequire
 (/home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:69:11)
 at Object.anonymous
 (/home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:77:1)
 at Module._compile (module.js:449:26)
 at Object.Module._extensions..js (module.js:467:10)
 at Module.load (module.js:349:32)
 at Function.Module._load (module.js:305:12)
 at Module.require (module.js:357:17)
 at require (module.js:373:17)
 at Object.anonymous (/home/keeds/workspace/hello-world/run.js:5:1)

 --
 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 - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Persistent Data Structures for Objective-C/LLVM

2014-12-19 Thread Raju Bitter
Wow, that's incredible! Who would have thought that anything written in
ClojureScript - and running inside a JS engine - could ever be so much
faster than an Objective-C implementation!


On Thu, Nov 13, 2014 at 5:17 AM, Mike Fikes mikefike...@gmail.com wrote:

 I'm thinking Anton's persistent collections could be useful on iOS.

 Out of curiosity, I made a small iOS project that compares the performance
 of Anton's map to ClojureScript's, when adding lots of key-value pairs
 (using transients): https://github.com/mfikes/persistent-objc-cljs

 Interestingly, they both run at nearly the same speed on an iOS device.
 But, when running on a Mac, the ClojureScript is currently about a factor
 of 7 times faster than the Objective-C.

 --
 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 - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Arcadia, the integration of Clojure and Unity3D

2014-10-24 Thread Raju Bitter
Thanks, Tims. I'll try it out later this week and post some feedback of my 
experiences here!

On Friday, October 17, 2014 9:10:29 PM UTC+2, tims wrote:

 Ramsey Nasser and I are excited to announce the alpha release of Arcadia, 
 the integration of Clojure 1.7 into the Unity3D http://unity3d.com/ 
 game engine and development platform.

 Based on Clojure's CLR branch https://github.com/clojure/clojure-clr, 
 Arcadia compiles to optimized bytecode, with performance suitable for 
 general game development. It includes a networked REPL that can be targeted 
 by arbitrary editors, and provides functionality for fast, bidirectional 
 conversion https://github.com/arcadia-unity/Arcadia/wiki/arcadia.hydrate 
 between Unity objects and persistent Clojure data. It has confirmed export 
 for Windows, Linux, and OSX, and aspires to export for iOS, Android, 
 PlayStation, Xbox, and the web.

 Arcadia lives at https://github.com/arcadia-unity/Arcadia. For now, the 
 best way to get started is by cloning the repo. A brief screencast on 
 getting set up is here https://www.youtube.com/watch?v=KLq9b9lDmkc.

 Arcadia's blog is here 
 http://arcadia-unity.tumblr.com/post/100257212548/arcadia-0-1a-launched. 
 The 
 mailing list is here 
 https://groups.google.com/forum/#!forum/arcadia-unity.

 Unity3D can be obtained (for free!) at http://unity3d.com/. 

 Our StrangeLoop presentation on Arcadia (then known as Clojure-Unity) is 
 here https://www.youtube.com/watch?v=tJr_TD1BtF0..

 Acknowledgements ---

 We're very grateful to the many people who helped with this project. We 
 owe special thanks to our studiomates Kovas Boguta and David Nolen, and 
 honorary studiomates Brandon Bloom and David Lansdowne, for their 
 invaluable advice and support. We're especially fortunate to have attracted 
 the attention of Joseph Parker, who has been building amazing things with 
 Arcadia since it was a sloppy hack hidden on Github. We owe the name to the 
 generous and urbane Zach Tellman, without whom this project would probably 
 be called Clunity.

 Super special thanks to David Miller and the Clojure-CLR community. David 
 has maintained a fully-loaded port of Clojure to the CLR runtime for five 
 years. His amazing work and ongoing support made Arcadia possible. We're 
 humbled by the astounding quality of a Clojure implementation with 
 relatively few users, and would be honored if integration with Unity brings 
 it more attention.

 - Tims Gardner 


-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[OT] Video showing the Symbolics Lisp Machine

2013-01-12 Thread Raju Bitter
I've heard great things about the Symbolics Lisp Machines which were used
back in the 80's and early 90's. A friend sent me the link to a
presentation with video showing Symbolics OpenGenera running virtualized,
shown at the Boston Lisp Meeting in June 2012. Fascinating OS and
technology!

http://www.loper-os.org/?p=932

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: [OT] Video showing the Symbolics Lisp Machine

2013-01-12 Thread Raju Bitter
There might even be some old Symbolics folks following this list, as I can
imagine. This might bring up some good memories of better times for Lisp.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

[OT] Khan Academy's computer science platform and Bret Victor's response

2012-10-25 Thread Raju Bitter
Bret Victor has been mentioned before on this list, here's another
interesting article he wrote:
http://worrydream.com/LearnableProgramming/

 Here's a trick question: How do we get people to understand programming?
 Khan Academy recently launched an online environment for learning to program.
 It offers a set of tutorials based on the JavaScript and Processing 
 languages, and
 features a live coding environment, where the program's output updates as 
 the
 programmer types.

 Because my work was cited as an inspiration for the Khan system, I felt I 
 should
 respond with two thoughts about learning

Bret responds to John Resig's blog post Redefining the Introduction
to Computer Science
http://ejohn.org/blog/introducing-khan-cs/

Enjoy, Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojurescript: var names with - and _ are rendered to the same internal name (?)

2012-09-24 Thread Raju Bitter
Identifiers in JavaScript cannot contain a hyphen/minus character:
https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variables,_and_literals
 A JavaScript identifier must start with a letter, underscore (_), or dollar 
 sign ($);
 subsequent characters can also be digits (0-9). Because JavaScript is case
 sensitive, letters include the characters A through Z (uppercase) and the
 characters a through z (lowercase).
 Starting with JavaScript 1.5, you can use ISO 8859-1 or Unicode letters such
  as å and ü in identifiers. You can also use the \u Unicode escape
 sequences as characters in identifiers.

ClojureScript maps all hyphens in identifiers to underscores.

This has been reported as a bug for protocols before:
http://dev.clojure.org/jira/browse/CLJS-336

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Much longer build time for Clojure on HDD vs. SSD (4 min vs 30s)

2012-07-17 Thread Raju Bitter
Thanks for all your answers. Makes me feel even better about the money
I spent for my SSD.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en



Re: Much longer build time for Clojure on HDD vs. SSD (4 min vs 30s)

2012-07-16 Thread Raju Bitter
I'm a bit concerned that it's a hard disk problem, but I've checked
the disk, tested other build processes using Ant, and don't see a
similar effect.

-- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Much longer build time for Clojure on HDD vs. SSD (4 min vs 30s)

2012-07-16 Thread Raju Bitter
I've checked out the Clojure source code, and build the JAR using the
Ant command. I'm seeing a strange effect, where the compile time on my
normal hard disk takes almost 4 min (with most the time being spent in
the compile-clojure task, and doing the same build process on my SSD
taking 30-35s.

I've never seen any similar behavior on my machine, normally build
processes take 10% more when they run on the HDD vs. the SSD. Has
anyone else experienced the same effect? How long does it take to run
the ant build on your machines?

Thanks,
Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Much longer build time for Clojure on HDD vs. SSD (4 min vs 30s)

2012-07-16 Thread Raju Bitter
Thanks a lot for your answers. That explains the behavior I'm seeing.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure Sticker

2012-06-19 Thread Raju Bitter
+1

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojure/java.jdbc: MySQL problem NoRouteToHostException Cannot assign requested address

2012-06-18 Thread Raju Bitter
Thanks, Sean, here's simplified test which shows the behavior:

Project dependencies:
  :dependencies [[org.clojure/clojure 1.3.0]
 [org.clojure/java.jdbc 0.2.2]
 [mysql/mysql-connector-java 5.1.6]

Code:
(ns jdbc-test.core
  (:require [clojure.java.jdbc :as sql])
  (:import (java.text SimpleDateFormat)
   (java.util Date)))

;; MySQL connection configuration
(def mysql-db
  {:classname com.mysql.jdbc.Driver
   :subprotocol mysql
   :user root
   :password root
   :subname //localhost/clojurejdbc})

;; Table definition

(defn add-row-to-table
  [label datetime]
  (sql/with-connection mysql-db
(sql/insert-records :inserttest
{:id 0 :label label :created datetime})))

(defn generate-entries
  [no]
  (let [date-formatter (SimpleDateFormat. -MM-dd HH:mm:ss)]
(loop [counter 1
   datetime (.format date-formatter (Date.))]
  (if (= 0 (mod counter 1000))
(println (str counter  rows added)))
  (add-row-to-table (str Line # counter) datetime)
  (if ( counter no)
(recur (inc counter) datetime)

The MySQL database and table definition:
CREATE DATABASE clojurejdbc;

USE clojurejdbc;

CREATE TABLE inserttest (
  id INT NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (id),
  label CHAR(255),
  created DATETIME
);

I call the function generate-entries like this:
(generate-entries 100)

On my machine, the program stops after 34000+ rows have been added to the table:
...
32000 rows added
33000 rows added
34000 rows added
NoRouteToHostException Cannot assign requested address
java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)

The problem is probably the high number of connections kept open to
the localhost port, but that's just a guess:
http://stackoverflow.com/questions/1572215/how-to-avoid-a-noroutetohostexception

netstat -a shows a lot of TIME_WAIT entries

tcp0  0 localhost:mysql *:* LISTEN
tcp0  0 localhost:mysql localhost:46850 TIME_WAIT
tcp0  0 localhost:mysql localhost:46737 TIME_WAIT
tcp0  0 localhost:mysql localhost:46340 TIME_WAIT
(long list continued) 

So this is not Clojure/JDBC specific, but a general problem with Java
and MySQL executing many queries to localhost. I'll investigate more
later.

Thanks,
Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojure/java.jdbc: MySQL problem NoRouteToHostException Cannot assign requested address

2012-06-18 Thread Raju Bitter
Ok, I found the problem. It's not related to the Clojure JDBC API, but
to the number of ports opened on localhost in a very short period of
time. Linux has a TIME_WAIT configuration for connections opened, and
default TIME_WAIT period is set to 60s. The maximum number of open
connections is limited on a system, and if within a minute to many
connections are made to a machine, the TIME_WAIT setting can block any
new connections to the system.

I could work around this problem by setting
net.ipv4.tcp_tw_recycle=1
in /etc/sysctl.conf, but that setting might cause TCP problems as I've read.

With that setting, inserting 100.000 items into the table just ran
through without any problems/exceptions. Here's a blog post describing
some performance tuning settings for Ubuntu, for anyone running into a
similar problem:
http://samiux.blogspot.de/2011/04/howto-performance-tuning-on-ubuntu.html

Or just use c3p0 with clojure.java.jdbc.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


clojure/java.jdbc: MySQL problem NoRouteToHostException Cannot assign requested address

2012-06-17 Thread Raju Bitter
Hi all,

I'm running into a problem with the clojure/java.jdbc wrapper. In my
program, I'm reading out a large text file and inserting around 24000
items into one table. After around 18000 items I get the following
error message:
NoRouteToHostException Cannot assign requested address
java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)

When I use c3p0 for connection pooling, I don't see the exception.
http://clojure.github.com/java.jdbc/doc/clojure/java/jdbc/ConnectionPooling.html

Seems to be a problem with socket connections failing to localhost,
where both the client and MySQL server are running. Has anyone else
experienced the same problem in the past?

OS: Mint Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
MySQL: 5.1.63-0ubuntu0.11.10.1
MySQL connector JAR: 5.1.6
Clojure: 1.3.0
Java: java version 1.6.0_31 Java(TM) SE Runtime Environment (build
1.6.0_31-b04)

Thanks,
Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread Raju Bitter
Pierre-Henry,

I think you are referring to the ClojureScript One tutorial?
http://clojurescriptone.com/getting-started.html

The commands listed there will only work with ClojureScript One, not
with the ClojureScript examples in Git. Dimitry is trying to get the
browser-connected REPL in the ClojureScript samples to work.
https://github.com/clojure/clojurescript/tree/ad0e4af1b20fe829ea3a7feb1b7067250309b1cc/samples/repl

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread Raju Bitter
Dimitry,

are you trying to evaluate the expressinon (+ 1 1) with the browser
window closed? That's not going to work!

With the browser-connected REPL, the browser JS engine is used to
evaluate the JavaScript. If you don't use the browser-connected REPL,
ClojureScript will use the embedded Rhino JS engine.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread Raju Bitter
Ok, you mean if you open the HTML page from disk, the REPL is not
working for you. I can confirm that.


There are conflicting instructions in the test.cljs file, and in the README.md
https://github.com/clojure/clojurescript/blob/master/samples/repl/src/repl/test.cljs
 ;; Open the file samples/repl/index.html

https://github.com/clojure/clojurescript/blob/master/samples/repl/README.md
Open http://localhost:9000/ in a browser. When this page is loaded it
will connect to the REPL.

Guess the commment in src/repl/test.cljs should be updated then. I'm
not sure if the browser-connected REPL should work if the HTML page is
loaded from disk. I see a JavaScript error in the browser console,
URI file:/robots.txt is invalid for field ppu

Looks like a security problem to me. Maybe someone from the
ClojureScript team knows more.

-  Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How do I set jvm options for a lein repl

2012-05-21 Thread Raju Bitter
Check the sample project.clj on Github:
https://github.com/technomancy/leiningen/blob/master/sample.project.clj

There's an entry for JVM options:

;; You can set JVM-level options here.
  :jvm-opts [-Xmx1g]

In a quick test, that worked for me when lein repl was executed.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How do I set jvm options for a lein repl

2012-05-21 Thread Raju Bitter
Oh, sorry, misunderstood your question. I found this blog post, maybe
this still works, although it's from 2010:
http://www.clojurepla.net/2010/05/increase-jvm-memory-when-using-swank.html

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How do I set jvm options for a lein repl

2012-05-21 Thread Raju Bitter
 How do I set jvm options for a lein repl initiated independently of a
 project?   In particular, I want the heap expansion that results from doing
 M-x clojure-jack-in in an emacs project.clj buffer with :jvm-opts [
 -Xms4G -Xmx4G] in its defproject form.

Larry is looking for a way to set that value across all projects, not
just for one project.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Replacement function for delete-files-recursively in java-utils

2012-05-18 Thread Raju Bitter
I noticed that the function delete-file-recursively is present in
clojure-contrib java-utils package, but it's missing in
clojure.java.io. Is there any other function for deleting a directory
recursively?
http://richhickey.github.com/clojure-contrib/java-utils-api.html#clojure.contrib.java-utils/delete-file-recursively

Thanks,
Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Replacement function for delete-files-recursively in java-utils

2012-05-18 Thread Raju Bitter
Right, that makes sense. Thanks for the clarification!

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Best way to write an InputStream to disk

2012-05-15 Thread Raju Bitter
What is the best way to write an FilterInputStream or InputStream do
disk? I'm downloading a file using the clj-http library:

(:body (client/get
http://www.openlaszlo.org/pipermail/laszlo-dev/2012-May.txt.gz; {:as
:stream})

That returns the response body as a FilteredInputStream, which I need to save.

Thanks,
Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Best way to write an InputStream to disk

2012-05-15 Thread Raju Bitter
Thanks a lot, that worked for me.

Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojurescript error

2012-05-14 Thread Raju Bitter
I've compiled your code without problems in the CLJS REPL, and embedded in
a CLJS app I'm working on. Do you get the same bug when you evaluate your
code snippet using the script/repljs?

Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Light Table - a new IDE concept

2012-04-29 Thread Raju Bitter
ArsTechnica mentions Light Table now
http://arstechnica.com/business/news/2012/04/html5-bullets-innovative-clojurescript-ide-css-filter-effects-and-more.ars

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: [ANN] cld 0.1.0 - Clojure Language Detection

2012-02-28 Thread Raju Bitter
Tested with Korean and German, and works great!

user (cld.core/detect 한국 음식중에 김치가 제일 맛있어요.)
[ko {ko 0.9998}]

cld.core= (cld.core/detect In München steht ein Hofbräuhaus.)
[de {de 0.972552285171}]

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Best definition of ClojureScript in one sentence

2012-02-27 Thread Raju Bitter
I'm working on a ClojureScript tutorial which will be published in a
German web/programming magazine next month. We had a discussion on how
ClojureScript could be best described. Is it a

a) a language or a scripting language
I'd clearly say language here.

b) dialect of Clojure (targeting the JavaScript platform)

c) JavaScript cross-compiler for Clojure

d) other ideas???

Something like ClojureScript is a dialect of Clojure, which provides
a cross-compiler for the JavaScript platform, while taking advantage
of the powerful syntax of the Clojure language. - but I don't like
that sentence.

Quotes:
ClojureScript is a dialect of Clojure that targets JavaScript as a
deployment platform.

ClojureScript allows to write code using the Clojure language and
compile it to Javascript.

ClojureScript is a new compiler for Clojure that targets JavaScript.

I'd be thankful for input/comments.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Best definition of ClojureScript in one sentence

2012-02-27 Thread Raju Bitter
Thanks, Dan, and a good point you are making.

Actually I have that information in the same paragraph, why it it is
important. The publishing company was discussing if ClojureScript is a
language, a scripting language, a compiler, etc. They had a tutorial
on CoffeeScript in the last edition, and CoffeeScript uses
CoffeeScript is a little language that compiles into JavaScript. I'm
looking for the best equivalent of that sentence for ClojureScript.

Best,
Raju

2012/2/27 Daniel Barlow d...@telent.net:
 On Mon, Feb 27, 2012 at 10:45 AM, Raju Bitter rajubit...@googlemail.com
 wrote:

 Quotes:
 ClojureScript is a dialect of Clojure that targets JavaScript as a
 deployment platform.

 ClojureScript allows to write code using the Clojure language and
 compile it to Javascript.

 ClojureScript is a new compiler for Clojure that targets JavaScript.


 All of these are (AFAIK anyway) entirely true and there's not much to choose
 between them.  The ClojureScript compiler compiles the ClojureScript
 language (a dialect of Clojure) into Javascript.

 This may not be exactly the input you're looking for, but IMO the key
 message you probably want to get across is why is this important?.  It's
 important because it allows one to create rich web user interfaces by
 writing Clojure to be executed client-side in the user's web browser, and
 you've left that entirely implicit.  Focus on the benefits, not on the
 technology.

 -dan

 --
 d...@telent.net
 http://ww.telent.net

 --
 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 - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Best definition of ClojureScript in one sentence

2012-02-27 Thread Raju Bitter
 How about ClojureScript is a little language that compiles into
 JavaScript? ;)


 Well, ClojureScript is not little the way that CoffeeScript is -
 ClojureScript comes with cljs.core.

Exactly, ClojureScript has it's own semantics instead of just being
syntactic sugar.

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Bret Victor - Inventing on Principle

2012-02-25 Thread Raju Bitter
 Didn't have the time to watch thevideo yesterday, and just watched
it. Visualizing code in such a way is amazing, could be extremely
useful when teaching how to program.

I think the browser-connected REPL in ClojureScript is already a good
step into the right direction, since it makes testing changes to the
code for visual effects A LOT easier. When I did a bit of Flex
development back in 2008 the application took 6 minutes to compile,
which meant a huge waste of time trying to improve UI effects. I've
heard of people who had compile times of up to 12-15 minutes for their
Flex apps. Imagine how much time you waste with such a workflow
(although that's more the case for very large enterpise apps, and not
a casual game).

Thanks again for the link!

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Bret Victor - Inventing on Principle

2012-02-24 Thread Raju Bitter
Thanks for posting the link. I've been following Bret Victor's blog
and the stuff he has been doing for some time.

Bret has built some very impressive UIs using OpenLaszlo, and he is a
fan of the technology and the expressiveness of the LZX language for
building UIs. OpenLaszlo was created by bunch of smart folks and
Lispers, including Oliver Steele (worked for Apple on Dylan), Max
Carlson, Tucker Withington (worked for Symbolics and Harlequin,
implemented the GC for Dylan when Apple hired Harlequin to work on the
language), and Henry Minsky (Marvin Minsky's son).
http://osteele.com/
http://pt.withy.org/

Here's an old gestural zoom/pan demo Bret built with OpenLaszlo:
http://worrydream.com/GesturalZoomAndPan/

OpenLaszlo's LZX language uses a declarative approach to building UIs
and highly interactive applications (check this video of the Laszlo
Dashboard, which was created in 2002/2003 http://vimeo.com/14206607).
LZX is a mixture of XML tags + JavaScript, which initially was
compiled into SWF bytecode. In 2007 Laszlo added cross-compilation to
JavaScript (DHTML runtime) to the platform, and in 2009
cross-compilation to ActionScript 3 (which is then compiled into SWF
using the Flex SDK).

Here's a video of the LzPix application, the first OpenLaszlo app to
cross-compile to JavaScript
http://vimeo.com/32853986

My technology dream-team for client development would be ClojureScript
combined with OpenLaszlo (has a powerful view kernel with interesting
stuff like constraints, datapath mapping using xpath, simple yet
powerful animation APIs). Instead of using XML + JavaScript, I'd
prefer to use a more Clojure/Lisp like syntax to build UIs with
OpenLaszlo in combination with ClojureScript. There's a slight chance
that we can get the OpenLaszlo Lisp folks interested in integrating
OpenLaszlo with ClojureScript (they are all working at Nest Labs now),
and I'm sure that Bret Victor would love the combination as a tool for
building some awesome prototypes.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
Looking at the project website, there doesn't seem to be any
information on the required Java or Leiningen version for
ClojureScript One.

Here's what I found on the project pages for the required software:
Clojure.org / Java 1.5
Shouldn't that be Java 6? Does Clojure 1.3 still work with Java 1.5? I
remember that I read that ClojureScript 1.3 requires Java6.
http://clojure.org/getting_started
Java 1.5 or greater is required.

ClojureScript
Haven't found a Java version listed as requirement. Since it uses
Clojure 1.3, I guess the requirement would be Java 6+.

Leiningen
I'm using Leiningen version 1.7.0, and never ran into problems on
either OS X (10.5.8), Ubuntu 11.10 or Windows 7.

And here are the Java version I've successfully tested with
ClojureScript One so far:
Ubuntu 11.10 (64bit)
  OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.1)
  Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
  OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)

OS X 10.5.8
  Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425)

Windows 7
  Java(TM) SE Runtime Environment (build 1.7.0_02-b13)

Based on my tests it means, ClojureScript One works with
  * Linux (only tested Ubuntu), OS X and Windows
  * Leiningen versions: 1.6 and 1.7 (haven't
  *  Java versions OpenJDK 6 and 7, Oracle Java 6 and 7

Maybe you'd want to add some information regarding supported Java /
Leiningen versions to the getting started section.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
One addition: The browser-connected REPL does not work in IE9, and
exiting the Clojure/ClojureScript REPL usind Ctrl-d keeps the Jetty
server running in memory.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
Thanks for the clarification, Chas.

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: [ANN] Clojure Android mailing list

2012-02-23 Thread Raju Bitter
Good idea, Daniel. I joined the group.

-  Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Browser-connected REPL works with Android 4.0

2012-02-23 Thread Raju Bitter
Here's a screenshot of the browser-connected REPL connected to an
instance of ClojureScript One running inside the Android 4.0 emulator.
That's going to be a killer feature for developing Android HTML5 apps
with ClojureScript!
http://www.flickr.com/photos/semanticmemories/6923250197/in/photostream

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Browser-connected REPL works with Android 4.0

2012-02-23 Thread Raju Bitter
If someone has an Android 4 tablet, it would be good to test if that
works with a real device as well.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojure thesis opportunity

2012-02-22 Thread Raju Bitter
This might interest you, it's not Clojure, but Lisp. Do you know the
online game Vendetta? They  have used Lisp extensively for non-player
character behavior, and have a REPL integrated into the game.
http://www.vendetta-online.com
Vendetta Online has a Lisp environment (using SBCL) which controls
much of its NPC behavior and will soon be in charge of generating
player and NPC missions. Partly in order to get around some
thread-safety issues, and partly for convenience we built an REPL into
a secret chat channel. (it only responds to developer accounts)
http://www.a1k0n.net/2005/11/04/lisp-repl-vendetta-online.html

Later they started using Erlang in combination with Lisp since they
had some problems with concurrency and garbage collection in SBCL.
http://www.vendetta-online.com/x/msgboard/1/15560#196333

 We chose common lisp primarily for its rapid-prototyping capabilities. In CL, 
 it is very easy to
 define 'mini-languages', which is what I've done for missions, objectives, 
 senses, reflexes,
 state-machines, business-models and more. All the code written in these 
 special languages
 will remain untouched, and be auto-translated (by CL code) into erlang. As I 
 develop new
 missions, reflexes, etc, I will continue to use the mini-languages; the 
 processes they describe
  will simply be running on a distributed, fault-tolerant, erlang-based 
 platform instead of the
  simplistic single-threaded one they have been running on. We had hoped for 
 the simplistic
  system to continue to serve for a while yet, so that we could focus on 
 player-visible
 features, but we always knew it would need to be made more scalable at some 
 point.
 If you know of a 'more mainstream (/debugged/tested/reliable)' 
 language/runtime than erlang that provides:

   1) *very* light-weight processes
   2) distributed, message-passing concurrency;
   3) unification/pattern-matching
   4) a soft-real-time, distributed, disk and/or ram-based relational/object 
 database usable
   with or without transactions (just a few of mnesia's features),
   5) facilities for zero-downtime code-upgrades, and other high-availability 
 features
 6) a powerful enough set of semantics (eg. closures) to make auto-translation 
 from lisp less painful than a complete rewrite

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-02-21 Thread Raju Bitter
2012/2/7 Tom Chappell tomchapp...@gmail.com:
 This problem is caused by the underlying Java library that is used to
 launch the browser, which, under linux, only launches the proper
 default browser if gnome is installed. Install enough gnome and it
 will start to work.
 -Tom

Thanks, Tom. That was the cause, and the library missing was
libgnome2-0. Installing that lib solved the problem on Ubuntu 11.10,
and the default browser will be used.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
ClojureScript One is fantastic! Great work, thanks!

I just have one question, am running it on Ubuntu Linux. How can I set
the browser when I launch inferior/lisp script/cljs-repl? On Linux, a
Java based browser window is opened, and the page is not rendered
correctly?

Thanks again,
- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
clojure.java.browse/open-url-in-swing is called a fallback method, and
then the ClojureScript app is not rendered correctly.

http://bit.ly/yPagHl

I'll see if I can create a workaround for that.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
Thanks for your response, Brenton.

2012/1/25 Brenton bashw...@gmail.com:
 With the recent update, we no longer have a script/cljs-repl.

 You would now use:

 lein repl
 (go)
That works on OS X.

On Ubuntu 11.04 - with a clean system (no Leiningen / Clojure installed), I do
1) Install Leiningen, lein works
lein -v
raju@titan:~/test$ lein -v
Leiningen 1.6.2 on Java 1.6.0_30 Java HotSpot(TM) 64-Bit Server VM

2) Checkout ClojureScript One
raju@titan:~/test$ git clone https://github.com/brentonashworth/one.git
Cloning into one...
remote: Counting objects: 1574, done.
remote: Compressing objects: 100% (658/658), done.
remote: Total 1574 (delta 738), reused 1532 (delta 696)
Receiving objects: 100% (1574/1574), 940.66 KiB | 224 KiB/s, done.
Resolving deltas: 100% (738/738), done.
raju@titan:~/test$ cd one
raju@titan:~/test/one$ lein bootstrap
Copying 36 files to /home/raju/test/one/lib
Copying 10 files to /home/raju/test/one/lib/dev
Setting up dependency for
[https://github.com/clojure/clojurescript.git
886d8dc81812962d30a741d6d05ce9d90975160f]
Running git checkout  886d8dc81812962d30a741d6d05ce9d90975160f  in
.lein-git-deps/clojurescript
Setting up dependency for  [https://github.com/levand/domina.git
8933b2d12c44832c9bfaecf457a1bc5db251a774]
Running git checkout  8933b2d12c44832c9bfaecf457a1bc5db251a774  in
.lein-git-deps/domina

3) Try to launch the repl, but that fails. Seems to be a classpath
issue, looks like Leiningen is not finding the Clojure JAR file. Any
idea what this might be?
raju@titan:~/test/one$ lein repl
Exception in thread main java.lang.RuntimeException:
java.lang.NoSuchMethodError:
clojure.lang.KeywordLookupSite.init(ILclojure/lang/Keyword;)V
at clojure.lang.Util.runtimeException(Util.java:165)
at clojure.lang.Compiler.eval(Compiler.java:6476)
at clojure.lang.Compiler.eval(Compiler.java:6431)
at clojure.core$eval.invoke(core.clj:2795)
at clojure.main$eval_opt.invoke(main.clj:296)
at clojure.main$initialize.invoke(main.clj:315)
at clojure.main$script_opt.invoke(main.clj:339)
at clojure.main$main.doInvoke(main.clj:426)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:413)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:518)
at clojure.main.main(main.java:37)
Caused by: java.lang.NoSuchMethodError:
clojure.lang.KeywordLookupSite.init(ILclojure/lang/Keyword;)V

4) Confirm that lein works correctly
raju@titan:~/test$ lein new hello-world
Created new project in: /home/raju/test/hello-world
Look over project.clj and start coding in hello_world/core.clj
raju@titan:~/test$ cd hello-world/
raju@titan:~/test/hello-world$ lein deps
Copying 1 file to /home/raju/test/hello-world/lib
raju@titan:~/test/hello-world$ lein repl
REPL started; server listening on localhost port 53851
user=

Has anyone else experienced similar problems on Ubuntu with ClojureScript One?

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
 3) Try to launch the repl, but that fails. Seems to be a classpath
 issue, looks like Leiningen is not finding the Clojure JAR file. Any
 idea what this might be?
 raju@titan:~/test/one$ lein repl
 Exception in thread main java.lang.RuntimeException:
 java.lang.NoSuchMethodError:
 clojure.lang.KeywordLookupSite.init(ILclojure/lang/Keyword;)V
That's strange, when I delete clojure-1.3.0.jar in one/lib/dev, I can
launch the repl and (go):

raju@titan:~/test/one$ rm lib/dev/clojure-1.3.0.jar
raju@titan:~/test/one$ lein repl
REPL started; server listening on localhost port 38304

Type (go) to launch the development server and setup a browser-connected REPL.
Type (dev-server) to launch only the development server.

one.sample.repl= (go)
2012-01-26 01:20:39.364:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
Type:  :cljs/quit  to quit
2012-01-26 01:20:39.365:INFO::jetty-6.1.25
2012-01-26 01:20:39.374:INFO::Started SocketConnector@0.0.0.0:8080
ClojureScript:cljs.user

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
I don't have a $CLASSPATH set, and no ~/.clojure folder, so there
shouldn't be any conflicting Clojure JAR file on the classpath.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
Thanks for your help. Should have looked into the Leiningen issues myself.

- Raju

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure for Android

2011-08-30 Thread Raju Bitter
There are 3 approaches you could take for using ClojureScript to
develop an Android app:

1) Use ClojureScript in combination with PhoneGap: the generated
JavaScript will then be run inside a webview component (headless
browser).
2) Build a normal Android app with a Java/Android based UI, accessing
a ClojureScript API. In that case the UI will be fully rendered using
Java (better performance), but you could still use a ClojureScript
library which you already have.
3) Use ClojureScript to build a WAC/W3C widget (an HTML/JavaScript
page with an XML descriptor file). Opera provides a WAC widget runtime
Android app, and a number of operators and device manufacturers have
added support for WAC/W3C widgets directly into their phones.

If you access APIs for generating apps (e.g.
https://build.phonegap.com/), you could even package an
Android/iOS/... app without the need to install a mobile app SDK on
your machine.

I've personally used approach 1) and 2), and if you are interested we
could start working on a proof-of-concept app using both approaches
this weekend. Here's a Github repository I'll be using to share code
with you:
https://github.com/raju-bitter/clojurescript-android-phonegap

Some links:
W3C Widget http://www.w3.org/TR/widgets/
Wholesale Application Community http://www.wacapps.net/
Opera releases WAC-ready widget runtime for Android
http://www.opera.com/press/releases/2010/12/22/
PhoneGap Build service: https://build.phonegap.com/

- Raju

On Wed, Aug 17, 2011 at 12:41 PM, daly d...@axiom-developer.org wrote:
 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 behind the scenes
 to get Clojure to run better for me personally on android.  Recently,
 I've been working to get ClojureScript to work well for SL4A
 (Scripting Layer for Android).

 I wanted to try to get a native Clojure package working for SL4A, but
 given that the above works pretty well, I need some sort of real
 motivation to continue the work.

 Paul // OhPauleez
 http://www.pauldee.org/blog


 On Aug 16, 7:31 am, James Swift ja...@3dengineer.com wrote:
  http://dev.clojure.org/display/design/Android+Support
 
  Issues
 
      Needs a motivated owner
 
  This topic gets a regular mention but I thought it might be worth
  asking again if it's ever likely to get the 'motivated owner' ?
 
  Given that 'reach' was a primary reason for the development of
  ClojureScript shouldn't the reach of Android encourage someone to go
  for it?
 
  I only wish I was capable of doing it myself :)
 
  James.



 --
 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 - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Trouble embedding clojurescript in server application

2011-08-30 Thread Raju Bitter
I've experienced the same problem (long list of undeclared vars) on OS
X (10.6.8), with JDK version 1.6.0.26 and 1.6.0.22, when I tried to
call the cljs.closure/build function out of a Ring/Compojure web
application.

Then I tested on Ubuntu 11.04 in VirtualBox, just trying to compile a
*.cljs file out of the REPL, everything worked for me.

Java version on Ubuntu:
java version 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

Here are the steps I followed:
1) Create a new project:
 lein new cljstest

2) Added dependencies to project.clj
(defproject cljstest 1.0.0-SNAPSHOT
:description FIXME: write description
:dependencies [[org.clojure/clojure 1.3.0-beta2]
  [cljs-compiler-jar 0.1.0-SNAPSHOT]
  [goog-jar 1.0.0]])

3) Resolve dependencies: lein deps

4) Created a simple ClojureScript test file in src/test.cljs
(defn hello-world [msg]
  (println msg))

(hello world)

5) Repl launched: lein repl

6) In the REPL, did
user= (use 'cljs.closure)
nil
user= (build src/test.cljs {:output-dir ./, :output-to
./test-compiled.js, :optimizations :simple})
nil
user=

It seems the problem is not connected to the Java/JDK version in my
case, since downgrading to 1.6.0.22 didn't solve the problem.

I'll do some more testing and keep you updated on my results.

Raju


On Wed, Aug 17, 2011 at 10:05 PM, kjeldahl
mariusauto-googlegro...@kjeldahl.net wrote:
 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
                                          :output-dir out/
                                          :output-to out/
 bootstrap.js})
  (println Hello world.))

 Running this with lein run fails as I've described earlier in this
 thread. For the hell of it, I removed all the compiled code in the
 classes dir, and simply started a java repl in the same dir, with
 the same classpath leiningen would use EXCEPT I removed the classes
 part, and then inside the repl run:

 (use 'cljstest.main)
 (-main)

 Then everything works just fine. It definitively looks like something
 is wonky in the clojurescript compiler that requires it to run in some
 kind of repl environment (or depends on some kind of sideeffect of the
 repl environment).

 Thanks,

 Marius K.

 --
 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 - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Trouble embedding clojurescript in server application

2011-08-30 Thread Raju Bitter
Found the problem: When I have a :main configuration entry in my
project.clj, I get the error messages. Here's what my project.clj
looks like:
(defproject cljsconsole 1.0.0-SNAPSHOT
  :description Web Console for ClojureScript compilation
  :repositories {clojure-releases
 http://build.clojure.org/releases}
  :dependencies [[org.clojure/clojure 1.3.0-beta2]
 [org.clojure/clojure-contrib 1.2.0]
 [cljs-compiler-jar 0.1.0-SNAPSHOT]
 [goog-jar 1.0.0]
 [compojure 0.6.4]
 [enlive 1.0.0-SNAPSHOT]]
  :dev-dependencies [[lein-ring 0.4.5]]
  :ring {:handler cljsconsole.core/app}
  :main cljsconsole.core/dev)

When I remove it, launch the REPL using lein repl, and then use to
the REPL to launch Compojure/Ring, everything works fine:

ringo:clojurescript-webconsole raju$ lein repl
REPL started; server listening on localhost port 23826
user= (use 'cljsconsole.core)
nil
user= (dev)
2011-08-31 03:05:33.553:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2011-08-31 03:05:33.554:INFO::jetty-6.1.26
2011-08-31 03:05:33.571:INFO::Started SocketConnector@0.0.0.0:8080
#Server Server@61556234
user= Aug 31, 2011 3:05:36 AM
clojure.contrib.logging$eval1129$impl_write_BANG___1132 invoke
INFO: Building app for URI /test.cljs
Aug 31, 2011 3:05:36 AM
clojure.contrib.logging$eval1129$impl_write_BANG___1132 invoke
INFO: Processing ClojureScript file: resources/public/test.cljs
Aug 31, 2011 3:05:36 AM
clojure.contrib.logging$eval1129$impl_write_BANG___1132 invoke
INFO: Target folder: resources/public/_build
Aug 31, 2011 3:05:36 AM
clojure.contrib.logging$eval1129$impl_write_BANG___1132 invoke
INFO: Target file: test1314752736109.js
Aug 31, 2011 3:05:36 AM
clojure.contrib.logging$eval1129$impl_write_BANG___1132 invoke
INFO: Using opts: {:output-dir resources/public/_build, :output-to
resources/public/_build/test1314752736109.js, :output-one-file
:true, :optimizations :simple}

I'm glad that it's working for me, but I don't understand what's
exactly going on if :main is set.

- Raju

On Wed, Aug 31, 2011 at 2:35 AM, Raju Bitter rajubit...@googlemail.com wrote:
 I've experienced the same problem (long list of undeclared vars) on OS
 X (10.6.8), with JDK version 1.6.0.26 and 1.6.0.22, when I tried to
 call the cljs.closure/build function out of a Ring/Compojure web
 application.

 Then I tested on Ubuntu 11.04 in VirtualBox, just trying to compile a
 *.cljs file out of the REPL, everything worked for me.

 Java version on Ubuntu:
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
 Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

 Here are the steps I followed:
 1) Create a new project:
 lein new cljstest

 2) Added dependencies to project.clj
 (defproject cljstest 1.0.0-SNAPSHOT
            :description FIXME: write description
            :dependencies [[org.clojure/clojure 1.3.0-beta2]
                          [cljs-compiler-jar 0.1.0-SNAPSHOT]
                          [goog-jar 1.0.0]])

 3) Resolve dependencies: lein deps

 4) Created a simple ClojureScript test file in src/test.cljs
 (defn hello-world [msg]
  (println msg))

 (hello world)

 5) Repl launched: lein repl

 6) In the REPL, did
 user= (use 'cljs.closure)
 nil
 user= (build src/test.cljs {:output-dir ./, :output-to
 ./test-compiled.js, :optimizations :simple})
 nil
 user=

 It seems the problem is not connected to the Java/JDK version in my
 case, since downgrading to 1.6.0.22 didn't solve the problem.

 I'll do some more testing and keep you updated on my results.

 Raju


 On Wed, Aug 17, 2011 at 10:05 PM, kjeldahl
 mariusauto-googlegro...@kjeldahl.net wrote:
 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
                                          :output-dir out/
                                          :output-to out/
 bootstrap.js})
  (println Hello world.))

 Running this with lein run fails as I've described earlier in this
 thread. For the hell of it, I removed all the compiled code in the
 classes dir, and simply started a java repl in the same dir, with
 the same classpath leiningen would use EXCEPT I removed the classes
 part, and then inside the repl run:

 (use 'cljstest.main)
 (-main)

 Then everything works just fine. It definitively looks like something
 is wonky in the clojurescript compiler that requires it to run in some
 kind of repl environment (or depends on some kind of sideeffect of the
 repl environment).

 Thanks,

 Marius K.

 --
 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 - please be patient with your 
 first post

Re: Example of a real-world ClojureScript web application

2011-08-13 Thread Raju Bitter
Thanks for your response, Filip. That means for such a new technology
the documentation is very good already. And the community can jump in
and improve it until the first stable release. Good to know!

Raju

On Sat, Aug 13, 2011 at 9:16 AM, Filip de Waard f...@vix.io wrote:
 On Wed, Aug 10, 2011 at 11:42 PM, Raju Bitter rajubit...@googlemail.com
 wrote:

 Thanks for sharing the code with us, Filip. I have one additional
 question: Which parts of ClojureScript were documented well enough for
 you, and where was it difficult to find enough information on how to
 implemented certain features?

 There is always some room for improvement, but in my experience the
 documentation is sufficient. If I had to come up with a suggestion it would
 be an overview of ClojureScript specific functions like (js-clj) and
 (js-obj)) and implementation details. I'm happy to see the ClojureScript
 ecosystem growing this fast and to see the increasing amount of information
 and tips from people on this list, blogs, et cetera. With a new project like
 ClojureScript there is always a certain amount of polish that still needs to
 be applied, but I can't say that a lack of documentation has hindered my
 productivity in any way.
 -fmw

 --
 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 - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Example of a real-world ClojureScript web application

2011-08-12 Thread Raju Bitter
Thanks for sharing the code with us, Filip. I have one additional
question: Which parts of ClojureScript were documented well enough for
you, and where was it difficult to find enough information on how to
implemented certain features?

Raju

On Aug 10, 11:22 pm, Scott Jaderholm jaderh...@gmail.com wrote:
 I haven't read the code yet but I have a few questions:
 Do you miss backbone.js? Are you going to use it with cljs?
 Have you shared any code between the frontend and backend? As in run the
 same functions on both sides. If so, are you duplicating the code in both
 .clj and .cljs or doing something else?
 How has the debugging/error notification experience been?

 Scott

 On Tue, Aug 9, 2011 at 8:53 PM, Filip de Waard f...@vix.io wrote:







  I'm working on Vix, which is a document repository and content
  management system written in Clojure with a CouchDB backend. After the
  announcement on July 23 I immediately got excited about ClojureScript
  and the Google Closure toolkit, so I dropped the existing Backbone.js
  and jQuery code and rewrote all client-side functionality in
  ClojureScript. Despite (or maybe because of) the fact that the
  functionality is still very minimal I wanted to share this code as an
  example of ClojureScript in the wild.

  Be warned that:
  - this is not perfect, clean example code written by a ClojureScript
  expert (in several places I've used hacks and shortcuts to make things
  work), but hopefully at least a starting point for others working on
  similar functionality,
  - you should read the installation instructions carefully (e.g. there
  is still a hardcoded path in src/vix/db.clj at the time of this
  writing, which I hope to correct in the near future),
  - I'm actively developing this application, so things will change and
  new features will be added frequently,
  - the application isn't done yet, although it has a working prototype.

  I'm concentrating on adding features that will allow users to manage
  feeds (currently blog is the default feed), add media files like
  images and to manage users. I had trouble getting unit testing to work
  properly for the ClojureScript part of the application, so I
  grudgingly wrote it using a non-TDD approach. Retrofitting unit tests
  into the ClojureScript part is a priority. The user interface is also
  lacking some bells and whistles that I had previously implemented in
  jQuery, but still have to rewrite using Google Closure. Eventually, I
  want to turn Vix into a commercial SaaS offering, with a focus on
  performance (e.g. Amazon CloudFront support), scalability and webshop
  functionality. The application itself, however, will be perpetually
  available as open source software, because I'm committed to sharing my
  code.

  Here is the GitHub page for Vix:https://github.com/fmw/vix

  This is not a launch post for Vix, because we're not ready for
  supporting typical end-users yet, but I hope that the code will be
  useful to other developers in the meantime. I'm also happy to receive
  any feedback (positive as well as negative) and answer questions. You
  can reply to this post, but if you prefer to contact me privately you
  can also find my contact information on Github (https://github.com/
  fmw).

  Sincerely,

  F.M. (Filip) de Waard / fmw

  P.S. I'd like to thank the ClojureScript developers. There are
  surprisingly few glitches considering that the project has only just
  been released. The language is incredibly well designed and a pleasure
  to use. Thanks for making client-side development more enjoyable!

  --
  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 - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en