inconsistency in (keyword…) constructor

2012-03-01 Thread Frank Siebenlist
The keyword constructor has two signatures: [name] and [ns name] The keyword doc reads: "Returns a Keyword with the given namespace and name. Do not use : in the keyword strings, it will be added automatically." Looking at the implementation and testing in the repl, for [name] the following

Is it possible to extend a parameterized type using gen-class?

2012-03-01 Thread sim
Hi all, This has me stumped and I found another message: https://groups.google.com/forum/?fromgroups#!searchin/clojure/parameterised$20type/clojure/8YxzIYXH49c/xCxkMaGXBzUJ that says it isn't possible, but that was back in 2009, is it still not possible? Any work arounds apart from doing som

Re: Clojurescript One and Websockets

2012-03-01 Thread George Oliver
On Mar 1, 7:51 pm, Brian Rowe wrote: > Hi, > > I'm thinking about using clojurescript one a starting point for a web > game.  I would like to use websockets as the primary communication > mechanism between the browser and the server.  As far as I know Zack > Tellman's Aleph is the only clojure w

Re: Strings, Symbols, Keywords, Vars, NS, Type/Class…

2012-03-01 Thread Frank Siebenlist
That clojureatlas is not only useful/interesting, but also very cool!!! Thanks for the pointer, and I hope you will find time to finish the 1.3 ontology "soon". Wonder if you could enhance your ontology with enough info to generate a graph similar to mine automagically… that could be a nice add

Clojurescript One and Websockets

2012-03-01 Thread Brian Rowe
Hi, I'm thinking about using clojurescript one a starting point for a web game. I would like to use websockets as the primary communication mechanism between the browser and the server. As far as I know Zack Tellman's Aleph is the only clojure web server that supports websockets. Is this tr

Re: Strings, Symbols, Keywords, Vars, NS, Type/Class…

2012-03-01 Thread Chas Emerick
This looks good. I can sympathize with the concern, and with the process of developing a way to visualize these relationships. I created this last year, an experimental interactive visualization of Clojure and its standard library: http://www.clojureatlas.com Here's a direct guest link focuse

Re: Bret Victor's live editable game in ClojureScript

2012-03-01 Thread Rostislav Svoboda
Hi Chris, While trying to modify the src/coding/client/editor.cljs I realised you put the resources/public/cljs/coding/client/*.js to the repository. It's just 2 hours ago I saw the ClojureScript for first time, but to me these files look like generated... (cljsc/build "src/coding/cli

defmulti and defmethods in separate namespaces without circular references?

2012-03-01 Thread Cymen Vig
I attempted to do something like this: (ns parent) (defmulti my-method (fn [x] (:method x)) (ns child1) (defmethod my-method :zzz ...) (ns child2) (defmethod my-method :aaa ...) However the problem is the children need to use the parent namespace in order to have the method definition and

Re: Strings, Symbols, Keywords, Vars, NS, Type/Class…

2012-03-01 Thread pmbauer
Github page embeds your pdf as an image, browser sad. https://github.com/franks42/kitjensink/raw/master/extras/ClojureVarsNamespaceType6.pdf On Thursday, March 1, 2012 5:14:19 PM UTC-7, FrankS wrote: > > It is my experience that the way how these fundamental Clojure entities, > like Strings, Sym

Strings, Symbols, Keywords, Vars, NS, Type/Class…

2012-03-01 Thread Frank Siebenlist
It is my experience that the way how these fundamental Clojure entities, like Strings, Symbols, Keywords, Vars, NS, and Type/Class, are related, is not so easy to figure out. This is not so much about programming Clojure, but more about getting a better feel how the language is held together one

Re: cld 0.1.0 - Clojure Language Detection

2012-03-01 Thread Ulises
Apologies for hijacking this thread, but this is probably the most relevant place to point you to a simple web-frontend to cld I cooked up in a couple of hours: http://detector-de-idioma.herokuapp.com/index.html Additionally, you can call it as a service like $ url 'http://detector-de-idioma.he

Re: Google Summer of Code 2012 - any mentors?

2012-03-01 Thread Alexander Yakushev
Here's one more idea but I'm not quite sure how to implement it so if anyone can confirm that it is doable then it would be nice to have this idea on the GSoC list. Clojure already has a set of benchmarks to test its performance but the data is not so easy to get for an common Clojure user (you

Re: Cake with TextMate & RVM

2012-03-01 Thread JuanManuel Gimeno Illa
Don't know why the URL that appears in the message is not the right one. Here it is: http://kyleisom.net/blog/2012/02/02/setting-up-aquamacs-for-clojure/ Juan Manuel El jueves 1 de marzo de 2012 18:57:43 UTC+1, James escribió: > > Thanks, I'll try to make it work! > > / James > > On Mar 1, 4:

Re: Cake with TextMate & RVM

2012-03-01 Thread James
Thanks, I'll try to make it work! / James On Mar 1, 4:07 pm, JuanManuel Gimeno Illa wrote: > El jueves 1 de marzo de 2012 15:44:26 UTC+1, James escribió: > > > > > I was using the same branches. > > Another piece of the puzzle. My global .cake/project.clj is: > > (defproject global "0.0.0" >   :

[ANN] clojure.java.jdbc 0.1.3 available

2012-03-01 Thread Sean Corfield
TL;DR: Adds support for SQLite and improves support for MS SQL Server. https://github.com/clojure/java.jdbc Changes in 0.1.3: * Fix JDBC-26 (fully) by adding transaction/generated keys support for SQLite3 (based on patch from Nelson Morris) Changes in 0.1.2: * Fix JDBC-23 by handling prepared

Re: Cake with TextMate & RVM

2012-03-01 Thread JuanManuel Gimeno Illa
El jueves 1 de marzo de 2012 15:44:26 UTC+1, James escribió: > > I was using the same branches. Another piece of the puzzle. My global .cake/project.clj is: (defproject global "0.0.0" :description "Don't rename this project, but you can change the version if you want." :dependencies [[cloj

Re: Cake with TextMate & RVM

2012-03-01 Thread James
I was using the same branches. I've considered going with Emacs as well, once I've figured out the customization. Seems to be a popular setup with Clojure devs. / James On Mar 1, 3:17 pm, JuanManuel Gimeno Illa wrote: > The version of cake I'm using is the master branch from: > > https://github.

Re: Cake with TextMate & RVM

2012-03-01 Thread JuanManuel Gimeno Illa
The version of cake I'm using is the master branch from: https://github.com/ninjudd/cake and the version of clojure-textmate is the master branch from https://github.com/swannodette/textmate-clojure It seems that cake and leiningen will unify so I don't know if the new versions of cake are sti

Re: Bret Victor's live editable game in ClojureScript

2012-03-01 Thread Jeff Heon
On Feb 28, 11:13 am, Bost wrote: > Great work Chris but I think you missed exactly the most important > point of Victor's talk. > It's about being modeless! Indeed, Chris work is pretty slick. Although I would say the most important point of the talk is that you can, if you choose to, find your

Re: Cake with TextMate & RVM

2012-03-01 Thread James
Hi Juan Manuel - thanks for the tip. I've just added /Users/ abbottjam/.rvm/gems/ruby-1.9.3-p0/bin/cake to the start of my PATH in Shell Variables - but am getting the same error! When I press cmd+R a pop-up window says "Cake started" - it's the ctrl +X command that's not working. Thanks, James

Re: [clojurescript one] Where does Clojurescript One come from?

2012-03-01 Thread Denis Labaye
Hi, > The rationale for Clojurescript is available here: https://github.com/clojure/clojurescript/wiki/Rationale Actually, I was talking Clojurescript ONE, http://clojurescriptone.com/. Cheers, Denis On Wed, Feb 29, 2012 at 1:11 AM, Linus Ericsson < oscarlinuserics...@gmail.com> wrote: > The

Re: Clojure in Python

2012-03-01 Thread David Jagoe
Hi Timothy, > Well first of all, the real main drive, is that I don't know Java libs > nearly as well as Python libs. Yes please!!! I'd love to be able to use Python libs from a Clojure. Great work - I'll be following this with interest and would love to get involved. I've done a lot of advanced