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 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 > newcome

Re: Browserless ClojureScript

2014-12-23 Thread Raju Bitter
pile (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 wrote: > Works fine for me, I'

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 wrote: > Never looked at Node before. I've followed the instructions, but I get > this error when running: node

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 wrote: > I'm thinking Anton's persistent collections could be use

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

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@g

[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://w

[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. >

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). B

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 moder

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 pati

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.

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

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 cl

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

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 sq

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.Plain

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/rep

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 J

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 Cloju

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

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 thi

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 receiv

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

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/de

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 unsubscr

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 t

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

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@g

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 Go

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

Re: Best definition of "ClojureScript" in one sentence

2012-02-27 Thread Raju Bitter
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 : > On Mon, Feb 27, 2012 at 10:45 AM, Raju Bitter > wrote: >> >> Quotes:

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 Ja

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 cha

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 bunc

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 membe

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

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

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

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

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?

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

Re: ClojureScript One - Getting Started with ClojureScript

2012-02-21 Thread Raju Bitter
2012/2/7 Tom Chappell : > 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

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

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 Not

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

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
Thanks for your response, Brenton. 2012/1/25 Brenton : > 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 le

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.

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 -- Y

Re: Trouble embedding clojurescript in server application

2011-08-30 Thread Raju Bitter
: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 wrote: > I've experienced the same problem (long list of undeclar

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

Re: Clojure for Android

2011-08-30 Thread Raju Bitter
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/clojur

Re: Example of a real-world ClojureScript web application

2011-08-13 Thread Raju Bitter
PM, Raju Bitter > 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 certai

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 wrote: > I haven't