Re: Thoughts on CUDA + Clojure

2011-09-09 Thread Andy Fingerhut
I didn't see Penumbra or Calx mentioned in this thread yet (sorry if they were and I missed it). See this thread: http://groups.google.com/group/clojure/browse_thread/thread/5703f75f2ccf0bec Penumbra: https://github.com/ztellman/penumbra Calx: https://github.com/ztellman/calx Andy On Fri,

Re: Migration to 1.3 for mortals

2011-09-09 Thread Sean Corfield
On Fri, Sep 9, 2011 at 1:09 AM, Jan Rychter wrote: > Take an example -- even in the relatively simple case of > clojure.contrib.combinatorics: note that it is NOT listed on > http://dev.clojure.org/display/doc/Clojure+Contrib, and if I follow > the github repos I'll end up in https://github.com/cl

Re: Thoughts on CUDA + Clojure

2011-09-09 Thread Timothy Baldridge
> If it is not, > then looking at Aparapi might be the better choice, and the AMD > developers have openly stated that they would like to work with > someone from the Clojure community on getting their openCL api working > with Clojure. Sadly, Aparapi is very, very limited. Here is an example: ht

Re: Thoughts on CUDA + Clojure

2011-09-09 Thread cej38
If this is true, then CUDA may be the better choice. If it is not, then looking at Aparapi might be the better choice, and the AMD developers have openly stated that they would like to work with someone from the Clojure community on getting their openCL api working with Clojure. http://groups.goo

Re: Swarming experiment at Conj?

2011-09-09 Thread Christopher Redinger
On Thursday, September 8, 2011 5:36:17 PM UTC-4, Brian Marick wrote: > > I'd be willing to do the implementation work to allow us to run this > experiment at the Conj during after-hours or other hacking time. I'd need to > know there were interested participants and someone from the Conj > organ

Re: Swarming experiment at Conj?

2011-09-09 Thread Phil Hagelberg
On Fri, Sep 9, 2011 at 6:46 AM, Meikel Brandmeyer (kotarak) wrote: > As for the code problem: modify the send-and-eval functions of your > environments to also include the source code in a meta tag. So the dev env > would basically send and eval: (defn ^{:source "(defn foo ...)"} foo [] ..) > Ins

Re: Thoughts on CUDA + Clojure

2011-09-09 Thread Timothy Baldridge
> Dissecting PyCuda might give you a headstart :) from everything I can tell, jcuda (http://www.jcuda.de/jcuda/JCuda.html) already contains everything PyCUDA does. That is, both require you to write your GPU kernels in C++. This is what I'm trying to avoid with CUDA Clojure. I want to write my GPU

Re: java interop not possible in #=(..) reader syntax?

2011-09-09 Thread Justin Kramer
On Friday, September 9, 2011 10:59:39 AM UTC-4, Chouser wrote: > > > user> (.newInstance java.util.Date) > > # > > user> #=(.newInstance java.util.Date) > > ; Evaluation aborted. > > Can't resolve .newInstance > > This is an instance method call. As I said above, I don't know if > this can be made

Re: Need help w/ VimClojure

2011-09-09 Thread Meikel Brandmeyer (kotarak)
Hi, Am Freitag, 9. September 2011 16:20:58 UTC+2 schrieb Sean Devlin: > > It worked! Also, I found this link on pathogen helpful as well: > > Glad, you could resolve your problem. Just as a note: there is also the vimclojure google group for vim

Mutable fields in ClojureScript deftype

2011-09-09 Thread Praki
Hi, Compiling the following code throws an exception as below. I looked at compiler.clj and don't understand the reason for this error. I am not sure what a "local var" is and I would think "x" would be a field which should be settable. Are mutable deftype fields not supported in ClojureScript? (

Re: What's wrong with my *print-dup* persistence?

2011-09-09 Thread Chouser
On Thu, Sep 8, 2011 at 5:16 PM, Tassilo Horn wrote: > Hi all, > > I've just read Alan Malloy's excellent clojure persistence article at > >  http://amalloy.hubpages.com/hub/Dont-use-XML-JSON-for-Clojure-only-persistence-messaging > > Then I wanted to add a feature for persisting and reloading cloj

Re: java interop not possible in #=(..) reader syntax?

2011-09-09 Thread Chouser
On Fri, Sep 9, 2011 at 7:47 AM, Tassilo Horn wrote: > Hi all, > > I wanted to create some stand-alone example that demonstrates my issue > from the other thread: Message-ID: <8762l2n391@thinkpad.tsdh.de> > > While trying to fiddle something together, I became aware that any code > inside #=(..

Re: On Lisp with Clojure

2011-09-09 Thread Chouser
On Fri, Sep 9, 2011 at 8:09 AM, Nicolas wrote: > I would rather say difficult than impossible... and maybe not that > important. Clojure uses Java method-calling conventions for all method and function invocation, for "tight integration" and best performance. > After all JVM is turring complete.

Re: Need help w/ VimClojure

2011-09-09 Thread Sean Devlin
It worked! Also, I found this link on pathogen helpful as well: http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen It looks so pretty... :) Thanks On Sep 9, 10:14 am, Dave Ray wrote: > Hey. I see that you have vimclojure in a bundles directory, but don't > see any initialization

Re: Need help w/ VimClojure

2011-09-09 Thread Dave Ray
Hey. I see that you have vimclojure in a bundles directory, but don't see any initialization for pathogen [1] in your vimrc. Do you have pathogen installed? Depending on what version you're using, you'll need to add something like this to your vimrc before vim will recognize vimclojure: call pa

Need help w/ VimClojure

2011-09-09 Thread Sean Devlin
I'm having trouble setting up VimClojure. I want to be able to simply see syntax highlighting & rainbow parens in my file. I've got everything under ~/.vim/, and my .vimrc looks like this: https://gist.github.com/1206262 Can anyone help me get this working? Thanks, Sean -- You received this

webapp using clojurescript and google closure widgets

2011-09-09 Thread cri
I used to program in Common Lisp / Symbolics Lisp many eons ago. Been making a living with Java web apps for a while. I'm really excited with the prospect of using Clojure/ClojureScript to build a wepapp. Are there any example projects anywhere that do this using Google Closure widgets? It would be

Re: Swarming experiment at Conj?

2011-09-09 Thread Meikel Brandmeyer (kotarak)
Hi, Vim uses an embedded nailgun server. As for the code problem: modify the send-and-eval functions of your environments to also include the source code in a meta tag. So the dev env would basically send and eval: (defn ^{:source "(defn foo ...)"} foo [] ..) Instead of just the defn form itse

Re: Swarming experiment at Conj?

2011-09-09 Thread Sam Aaron
On 8 Sep 2011, at 23:54, Phil Hagelberg wrote: > >> As he presented, I found myself thinking that a similar thing should be >> possible with 8 Emacs instances talking to one `lein swank` instance. > > Nah, you should do it with a single Emacs instance with 8 emacsclients > connected; that way

Re: Swarming experiment at Conj?

2011-09-09 Thread Sam Aaron
Hi Brian, This is something I'd be TOTALLY up for. Also, your setup description sounds very similar to the setup Jeff Rose and I use to jam and hack Overtone together. In fact, we went one step further and allowed both Emacs and Vim instances to communicate with the same shared JVM. All we nee

java interop not possible in #=(..) reader syntax?

2011-09-09 Thread Tassilo Horn
Hi all, I wanted to create some stand-alone example that demonstrates my issue from the other thread: Message-ID: <8762l2n391@thinkpad.tsdh.de> While trying to fiddle something together, I became aware that any code inside #=(..) that includes java interop constructs fail. --8<--

Re: On Lisp with Clojure

2011-09-09 Thread Nicolas
I would rather say difficult than impossible... and maybe not that important. After all JVM is turring complete. If scheme can do it compiling down to machine code, clojure could do it compiling down to JVM bytecode. On Sep 7, 1:54 am, Brian Goslinga wrote: > On Sep 6, 11:20 am, Michael Jaaka >

Re: What's wrong with my *print-dup* persistence?

2011-09-09 Thread Tassilo Horn
Tassilo Horn writes: Hi again, I've just debugged it a bit further and now I'm even more confused... > So my reloading function only needs to bind *serialization-bindings* > to a map from graph id to graph, and it should work. > > (defn tg-read [str & gs] > (binding [*serialization-bindings*

Re: Trivial patch for (sometimes) faster STM

2011-09-09 Thread Stefan Kamphausen
FWIW I just could run the test-suite on a quad-core VMWare which lead to 12-15% speed-up. (No detailed report available) -- 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 fro

Re: Migration to 1.3 for mortals

2011-09-09 Thread OGINO Masanori
I partly agree with Jan at: > Problem is, none of those pages help with my problem However, > there are bugs in 1.2 contrib which only get fixed in the 1.3 > version, which I won't be able to use. AFAIK new contrib is not only for 1.3 (for now). In http://dev.clojure.org/display/doc/Clojure+Co

Trivial patch for (sometimes) faster STM

2011-09-09 Thread Stefan Kamphausen
TL;DR: There is small patch which improves speed of STM Hi, in the light of the upcoming 1.3 you might be interested in a rather trivial patch which can lead to significant speedup of STM processing. 1. Background I was studying the implementation of STM for a talk at this year's SourceTalk [

Re: Migration to 1.3 for mortals

2011-09-09 Thread Jan Rychter
On Sep 8, 10:36 pm, Armando Blancas wrote: > There's this page:http://dev.clojure.org/display/doc/Clojure+Contrib > > Here's the main page for the new repos:https://github.com/clojure Problem is, none of those pages help with my problem: how do I go from a list of 1.2 clojure-contrib modules to a