License question

2010-08-15 Thread Krukow
This post

http://groups.google.com/group/clojure-dev/browse_thread/thread/3e317c58d1f021ba/dc81c5a54eb2b63e

has gone unanswered on the dev mailing list. Rich, can you answer this
one? (I can't ask there since I am not on the list).

This of interest to many since the data structures are getting adopted
by other languages (Scala, Erjang, Seph) and projects which may be
incompatible with the EPL license. Personally, I am interested in
releasing clj-ds [1] as MIT licensed, but only if acceptable by Rich.

Thanks.
/Karl

http://github.com/krukow/clj-ds

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread Meikel Brandmeyer
Hi,

On 15 Aug., 21:41, sebastien  wrote:

> Unfortunetly it doesn't work, pointing to h.hello() and saying "cannot
> find symbol".
>
> Any suggestions?

First the method is called sayhello. Not just hello. Then you have to
declare the method in the gen-class clause.

(ns semantic.hello
  (:gen-class
:methods [[sayHello [] void]]))

More on http://clojure.org/compilation and in the docs for gen-class
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/gen-class.

Hope this helps.

Sincerely
Meikel

-- 
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: Flex as a Clojure Frontend

2010-08-15 Thread Vagif Verdi
Yes, I have a flex app, talking to compojure backend via JSON.

On Aug 14, 12:40 pm, nchubrich  wrote:
> I'm wondering if anyone has any experience developing Clojure
> applications with a Flex interface, and if so, what is the best way of
> going about it.
>
> I also wonder if anyone has used Las3rI'm a little reluctant to
> use it because the Flash Builder programming environment is so
> effective.
>
> Thanks,
>
> Nick.

-- 
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: What is reference?

2010-08-15 Thread Wilson MacGyver
It's clojure's STM(Software Transaction Memory). More info at 
http://clojure.org/concurrent_programming

On Aug 15, 2010, at 11:26 PM, HB  wrote:

> Hey,
> I don't understand what "references" are.
> (ref #{})
> This creates a reference to an empty set but what is "reference" any
> way?
> Thanks for help and time.

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


What is reference?

2010-08-15 Thread HB
Hey,
I don't understand what "references" are.
(ref #{})
This creates a reference to an empty set but what is "reference" any
way?
Thanks for help and time.

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


FSM

2010-08-15 Thread ngocdaothanh
I have used Erlang's gen_fsm and like it very much:
http://erlang.org/doc/design_principles/fsm.html

I want to write a game in Clojure and I need a FSM library (best if it
supports timeout event). I would like to ask if there is any Java (or
Clojure?) FSM library that works well with Clojure.

Thanks.

-- 
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: Game development in Clojure

2010-08-15 Thread Mark Engelberg
On Sun, Aug 15, 2010 at 7:45 AM, Brian Hurt  wrote:
> Circular dependencies are then the canary in the coal mine, warning you that
> your code is trending (hard) towards unmaintainability, You ignore the
> warning at your peril.

Avoiding circular dependencies can result in either:
a) Everything ends up in one file.
b) Everything ends up in zillions of small files with very complex
dependency structures (and every time you move a function from one
namespace to another to avoid a circular dependency, you have to
locate every file that uses the relocated function and change the
references to that function, all without the help of IDEs that do this
kind of refactoring for you -- it can be a lot of work).

Both of these scenarios result in their own significant
maintainability problems.  I think it's much more ideal to be able to
divide modules of functions into the appropriate granularity for the
task at hand.  I have found that for some tasks, circular dependencies
arise very naturally at the desired level of granularity, and I don't
like having to rework everything into something that avoids circular
dependencies.  This problem seems to be especially acute in rapidly
evolving systems, because you're forced to constantly think about
conforming to an acyclic structure at a time when you're focusing on
something other than overall structure.  I'd rather get things to
work, and *then* when the code base becomes stable, figure out a more
optimal organization.

-- 
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: For David Miller: ClojureCLR binary distribution?

2010-08-15 Thread Mike K
> I thought it better to just get caught up with all the changes going
> into 1.2 before dealing with packaging a set of DLLs, but I could do a
> quick zip tonight rather than waiting if that is preferred.

No need.  It's great to hear you're getting close!

   Mike

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


Argument order / Documentation Mismatch

2010-08-15 Thread Timothy Washington
Hope I'm not missing something here, but the documentation for the split
function (
http://clojure.github.com/clojure/clojure.string-api.html#clojure.string/split)
on
'clojure/contrib/string' says that the input args are:

*Usage: (split s re)*
*   (split s re limit)*

But I took a look at the source and they are the reverse of that (
clojure-contrib-1.2.0-RC3/src/main/clojure/clojure/contrib/string.clj ):

(defn split
  "Splits string on a regular expression.  Optional argument limit is
  the maximum number of splits."
  {:deprecated "1.2"}
*  ([^Pattern re ^String s] (seq (.split re s)))*
*  ([^Pattern re limit ^String s] (seq (.split re s limit*

The documentation might need to be updated.

Tim

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread sebastien
I tried to compile hello.clj with "lein compile" and with "(compile
'semantic.hello)", and also with old versions of clojure.jar and
clojure.contrib.jar (current one is 1.2-beta1), but it all gave the
same result.

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread sebastien

> Can you run:
> javap  YourClass.class

> and give us the result?

Here it is:

public class semantic.hello extends java.lang.Object {
 public static {};
 public semantic.hello();
 public java.lang.Object clone();
 public int hashCode();
 public java.lang.String toString();
 public boolean equals(java.lang.Object);
 public static void main(java.lang.String[]);
}

It seems like compiled class has no methods, though they are compiled
as an inner classes (I can see them in classes directory).
I also added several methods:

(defn -sayhello [] (println "Hello from clojure!"))

(defn sayhello2 [] (println "Hello from clojure!"))

(defn -sayhello-with-args [args] (println (str "Hello" args "!")))

(defn -sayhello-with-args2 [args] (println (str "Hello" args "!")))

But none of them apperead in an output of javap.

-- 
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: For David Miller: ClojureCLR binary distribution?

2010-08-15 Thread dmiller
I have two things left to do to bring ClojureCLR mostly up to 1.2RC3:
implement gvec and one other commit on map/record equality.  The
latter is 20 minutes.  The former, gvec, is mostly done, but I ran
into a little compiler glitch I have to fix.

At the moment, I run all relevant clojure-test tests.  I have exactly
23 fails, alll in pprint, and almost all related to an extra space
occurring before a newline in pprint.  I haven't had time to track
that down yet.

I thought it better to just get caught up with all the changes going
into 1.2 before dealing with packaging a set of DLLs, but I could do a
quick zip tonight rather than waiting if that is preferred.

-David


On Aug 15, 4:24 pm, Mike K  wrote:
> Hi David,
>
> I saw some comments recently about a potential binary distribution of
> ClojureCLR.  Do you have any idea as to when you might be targeting
> this or what level of functionality it might contain?
>
> Thanks for all your hard work on this project!  I'm very eager to try
> it out.
>
>    Mike

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread Daniel Gagnon
>
>
> Any suggestions?
>
>
Can you run:
javap  YourClass.class

and give us the result?

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

For David Miller: ClojureCLR binary distribution?

2010-08-15 Thread Mike K
Hi David,

I saw some comments recently about a potential binary distribution of
ClojureCLR.  Do you have any idea as to when you might be targeting
this or what level of functionality it might contain?

Thanks for all your hard work on this project!  I'm very eager to try
it out.

   Mike

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread sebastien
Hi Meikel,

Unfortunetly it doesn't work, pointing to h.hello() and saying "cannot
find symbol".
   ^
Same with my Eclipse, which says that import "semantic" cannot be
resolved, though both package and class are in the bin (classes)
directory.

Any suggestions?

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Steve Purcell
On 15 Aug 2010, at 10:13, Michał Marczyk wrote:

> On the other hand, I'm having mixed luck with fuzzy completion...
> slime-fuzzy-complete-symbol offers 'with-bindings and 'with-bindings*
> as completions for 'wi-bi, but so far I haven't been able to provoke
> ac + ac-slime to do the same (with (lambda () (set-up-slime-ac t)) in
> my slime-mode-hook and slime-repl-mode-hook).
> 
>> And also, I haven't managed to bind it to TAB in the REPL yet...)
> 
> (add-hook 'slime-connected-hook
>  (lambda ()
>(define-key slime-mode-map (kbd "TAB") 'auto-complete)
>(define-key slime-repl-mode-map (kbd "TAB") 'auto-complete)))
> 
> I also put (lambda () (auto-complete-mode t)) in the hooks for
> slime-mode and slime-repl-mode.


Ah, yes, that would work. Using 'slime-connected-hook was the bit I was missing.

Thanks!

-Steve

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Steve Purcell
On 15 Aug 2010, at 10:43, sponge bob wrote:

> 
> On 14 авг, 14:19, Steve Purcell  wrote:
>> 
>> A while ago I hooked Slime's completion and documentation features into the 
>> popular Emacs auto-completion framework "auto-complete" 
>> (http://www.emacswiki.org/emacs/AutoComplete).
>> 
>> Since it may be of interest to others, I've released the completion plugin 
>> on github:http://github.com/purcell/ac-slime
>> 
>> Here's a screenshot of the plugin in action in a clojure-mode buffer, 
>> showing the (very handy) pop-up documentation:
> 
> Could you share your nice color theme, please?


Sure:

http://github.com/purcell/emacs.d/blob/master/site-lisp/color-theme-sanityinc/color-theme-sanityinc.el

There are light and dark versions, and I switch between them with "M-x light" 
and "M-x dark" depending on how my eyes feel: 
http://github.com/purcell/emacs.d/blob/master/init-themes.el

I'll willingly split the theme out into a separate git repo if it makes a 
difference to anyone.

-Steve

-- 
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: Flex as a Clojure Frontend

2010-08-15 Thread Richard Lyman
On Sat, Aug 14, 2010 at 1:40 PM, nchubrich  wrote:
> I'm wondering if anyone has any experience developing Clojure
> applications with a Flex interface, and if so, what is the best way of
> going about it.
>

I have quite a bit of experience. I've been writing an internal
implementation of the non-media parts of RTMP, so that your backend
can be anything that runs on the JVM (Java, Clojure, Scala, Groovy,
JRuby, etc.) and your frontend can be pure ActionScript.

The 'best way' probably depends on how you'll be deploying your
application. Are you going with some J2EE container, are you packaging
everything into a standalone app? (Or maybe something between the
two...)

> I also wonder if anyone has used Las3rI'm a little reluctant to
> use it because the Flash Builder programming environment is so
> effective.
>
> Thanks,
>
> Nick.

I don't have experience with Las3r - but it says it's a port of
Clojure (parts of) to run on the AVM2. That's pretty different than
the standard method of communication between a Flex frontend and a JVM
backend. If I were you I'd look at getting Jetty or Tomcat (JBoss if
you're very brave or previously-enterprise-skilled) to work with
BlazeDS - then you can write your Clojure code compiled to JARs and
expose the methods as AMF messagebrokers to a RemoteObject running
from Flex.

-Rich

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


Bug of instance? when called in deftype

2010-08-15 Thread Nicolas Oury
Dear all,

I spotted something than I thought was unusual in 1.2-RC2 (haven't try RC3 yet)


(defprotocol Test (test [x]))


(deftype Foo [] Test (test [x] (instance? Foo x)))


(test (Foo.)) => false

(instance? Foo (Foo.)) => true


Should I submit or I am missing something obvious?

It is never a show-stopper because you can write (declare foo?) before
(deftype Foo...

But it is sure surprising when you are relying on = to work.

Best,

Nicolas.

-- 
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: Swank Break Issues.

2010-08-15 Thread George Jahad
try using clojure 1.2.

On Aug 14, 11:56 am, Ivan Willig  wrote:
> Hi list,
> I am trying to use swank.core/break while bugging. The break point gets
> thrown but none of my local variables up  in the stack trace.  I am using
> swank-clojure and leiningen
> This is my project.clj file .
> Has anyone run into this issue before. Are there any fixes? Being able to
> set break points while debugging would be a big plus.
> Thanks
>
> -Ivan

-- 
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: AOT compilation and calling Clojure from Java

2010-08-15 Thread Meikel Brandmeyer
Hi,

Am 15.08.2010 um 18:04 schrieb sebastien:

> I understand that after AOT compilation Clojure namespaces and
> functions became completely normal Java classes and can be called from
> any Java code, is it correct? If so, how will look like this call? For
> example, I have clojure module:
> 
> (ns semantic.hello
>  (:gen-class))
> 
> (defn -sayhello [] (println "Hello from clojure!"))
> 
> (defn -main [] (-sayhello))
> 
> and I want to call function -sayhello from Java program:

import semantic.hello;

> class Test {
> 
>public static void main(String[] args) {
semantic.hello h = new semantic.hello();

h.sayhello();
>}
> 
> }
> 
> What should I write instead of ??? signs?
> 
> I know that the answer is easy, but it seems like I'm missing
> something all the time.

Sincerely
Meikel

-- 
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: RFC: New Clojure launcher

2010-08-15 Thread mac
On Aug 15, 6:02 pm, Wilson MacGyver  wrote:
> This still requires JDK installed right? On the OSX version, does it
> create DMG file?
> Since for an end user OSX app, that's what people expect.
>
It requires JRE installed, not JDK. It comes with the OS on everything
but windows but should be easy to bundle with the user program in an
installer.
Re: .dmg files and installers, I haven't gotten to that yet. I plan on
making .dmg files for OS X and a script for the excellent Inno setup
(http://www.jrsoftware.org/isinfo.php ) for Windows.

> On turning jars into .exe on windows, have you looked at 
> jsmooth?http://jsmooth.sourceforge.net/index.php
>
Not that one specifically. But I have googled for similar solutions
many times and always been disappointed in some way (too many
features, too hard to use etc. ) so I just decided to make my own
launcher.
I hope mine is maybe a little easier to use with clojure via the
carnival.clj start script. Making clojure apps easier to run is the
intent after all ;)

/Markus

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


AOT compilation and calling Clojure from Java

2010-08-15 Thread sebastien
I understand that after AOT compilation Clojure namespaces and
functions became completely normal Java classes and can be called from
any Java code, is it correct? If so, how will look like this call? For
example, I have clojure module:

(ns semantic.hello
  (:gen-class))

(defn -sayhello [] (println "Hello from clojure!"))

(defn -main [] (-sayhello))

and I want to call function -sayhello from Java program:

import ???

class Test {

public static void main(String[] args) {
 ???
}

}

What should I write instead of ??? signs?

I know that the answer is easy, but it seems like I'm missing
something all the time.

-- 
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: RFC: New Clojure launcher

2010-08-15 Thread Wilson MacGyver
This still requires JDK installed right? On the OSX version, does it
create DMG file?
Since for an end user OSX app, that's what people expect.

On turning jars into .exe on windows, have you looked at jsmooth?
http://jsmooth.sourceforge.net/index.php

On Sun, Aug 15, 2010 at 11:51 AM, mac  wrote:
> Hello all.
> I have started work on a new Clojure launcher with the intent of
> making something that is nicely integrated with operating systems so
> that apps feel more native and are easier to start.
> This is probably mostly relevant for desktop apps but might be usable
> for server apps as well.
> The readme and code is over here:
> http://github.com/bagucode/Carnival

-- 
Omnem crede diem tibi diluxisse supremum.

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


RFC: New Clojure launcher

2010-08-15 Thread mac
Hello all.
I have started work on a new Clojure launcher with the intent of
making something that is nicely integrated with operating systems so
that apps feel more native and are easier to start.
This is probably mostly relevant for desktop apps but might be usable
for server apps as well.
The readme and code is over here:
http://github.com/bagucode/Carnival

If you don't want to compile C++ or can't get the projects working (I
may have used some machine-specific paths) I have made some prebuilt
binaries for your testing pleasure.

Mac OS X version requires jre 1.6, Windows version should work with
1.6 server or later but has only been tested with 1.6u18 64 bit
server.
The windows versions probably require some sort of visual C++ runtime
as well, I didn't include that in the zip archives, they can be
downloaded from here:
i386 (x86): 
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84
x64: 
http://www.microsoft.com/downloads/details.aspx?familyid=BD512D9E-43C8-4655-81BF-9350143D5867&displaylang=en

Carnival binaries:

Mac OS X 10.5+ (sorry, no ppc binaries)
Debug i386: 
http://dl.dropbox.com/u/734671/Carnival/Builds/macosx/Debug%20i386.zip
Debug x64: http://dl.dropbox.com/u/734671/Carnival/Builds/macosx/Debug%20x64.zip
Release i386: 
http://dl.dropbox.com/u/734671/Carnival/Builds/macosx/Release%20i386.zip
Release x64: 
http://dl.dropbox.com/u/734671/Carnival/Builds/macosx/Release%20x64.zip

Windows (only tested on Windows 7 x64)
Debug i386: 
http://dl.dropbox.com/u/734671/Carnival/Builds/windows/Debug%20i386.zip
Debug x64: 
http://dl.dropbox.com/u/734671/Carnival/Builds/windows/Debug%20x64.zip
Release i386: 
http://dl.dropbox.com/u/734671/Carnival/Builds/windows/Release%20i386.zip
Release x64: 
http://dl.dropbox.com/u/734671/Carnival/Builds/windows/Release%20x64.zip

So is this a terrible idea or is it worth continued work?
Please give me your opinions!

/Markus

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread sponge bob

On 14 авг, 14:19, Steve Purcell  wrote:
>
> A while ago I hooked Slime's completion and documentation features into the 
> popular Emacs auto-completion framework "auto-complete" 
> (http://www.emacswiki.org/emacs/AutoComplete).
>
> Since it may be of interest to others, I've released the completion plugin on 
> github:http://github.com/purcell/ac-slime
>
> Here's a screenshot of the plugin in action in a clojure-mode buffer, showing 
> the (very handy) pop-up documentation:

Could you share your nice color theme, please?

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Matthias Schneider
Really usefull, nice work! And a perfect time to finally update my old
auto-complete installation to version 1.3.

On Aug 14, 12:19 pm, Steve Purcell  wrote:
> Hi all,
>
> A while ago I hooked Slime's completion and documentation features into the 
> popular Emacs auto-completion framework "auto-complete" 
> (http://www.emacswiki.org/emacs/AutoComplete).
>
> Since it may be of interest to others, I've released the completion plugin on 
> github:http://github.com/purcell/ac-slime
> -Steve

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


Flex as a Clojure Frontend

2010-08-15 Thread nchubrich
I'm wondering if anyone has any experience developing Clojure
applications with a Flex interface, and if so, what is the best way of
going about it.

I also wonder if anyone has used Las3rI'm a little reluctant to
use it because the Flash Builder programming environment is so
effective.

Thanks,

Nick.

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


Swank Break Issues.

2010-08-15 Thread Ivan Willig
Hi list,
I am trying to use swank.core/break while bugging. The break point gets
thrown but none of my local variables up  in the stack trace.  I am using
swank-clojure and leiningen
This is my project.clj file .
Has anyone run into this issue before. Are there any fixes? Being able to
set break points while debugging would be a big plus.
Thanks

-Ivan

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread pmh
Great work, thank you for sharing.

- Patrik

On Aug 14, 12:19 pm, Steve Purcell  wrote:
> Hi all,
>
> A while ago I hooked Slime's completion and documentation features into the 
> popular Emacs auto-completion framework "auto-complete" 
> (http://www.emacswiki.org/emacs/AutoComplete).
>
> Since it may be of interest to others, I've released the completion plugin on 
> github:http://github.com/purcell/ac-slime
>
> Here's a screenshot of the plugin in action in a clojure-mode buffer, showing 
> the (very handy) pop-up documentation:
>
>  Screen shot 2010-08-14 at 09.50.40.png
> 44KViewDownload
>
>
>
> -Steve

-- 
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: Game development in Clojure

2010-08-15 Thread Brian Hurt
Sorry, hit send too soon.

On Sun, Aug 15, 2010 at 10:43 AM, Brian Hurt  wrote:

>
>
> On Sat, Aug 14, 2010 at 10:33 AM, Eric Lavigne wrote:
>
>>
>> I originally wanted to include the contents of the units file in the
>> physics file, but then there would be a circular dependency between
>> physics and io.
>
>
> So what was the problem with splitting units out into it's own name space?
>
> Circular dependencies between modules is a major code smell.  Code where
> everything depends upon everything, or even close to that, is
> unmaintainable.
>

Circular dependencies are then the canary in the coal mine, warning you that
your code is trending (hard) towards unmaintainability, You ignore the
warning at your peril.

Brian

-- 
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: Game development in Clojure

2010-08-15 Thread Brian Hurt
On Sat, Aug 14, 2010 at 10:33 AM, Eric Lavigne wrote:

>
> I originally wanted to include the contents of the units file in the
> physics file, but then there would be a circular dependency between
> physics and io.


So what was the problem with splitting units out into it's own name space?

Circular dependencies between modules is a major code smell.  Code where
everything depends upon everything, or even close to that, is
unmaintainable.

Brian

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Michał Marczyk
On 15 August 2010 09:57, Steve Purcell  wrote:
> Excellent - so if there are any quirks with this plugin, at least there'll be 
> a couple more users to help fix it up now!

Definitely. :-)

> (For instance, it doesn't work perfectly if you type "some-namespace/" and 
> then try to start completion, but that might be something related to my slime 
> completion settings.

It seems to work for me. I'd gist the relevant part of my config for
you, except I'm not sure which is the relevant part... I'll have to
look closer.

On the other hand, I'm having mixed luck with fuzzy completion...
slime-fuzzy-complete-symbol offers 'with-bindings and 'with-bindings*
as completions for 'wi-bi, but so far I haven't been able to provoke
ac + ac-slime to do the same (with (lambda () (set-up-slime-ac t)) in
my slime-mode-hook and slime-repl-mode-hook).

> And also, I haven't managed to bind it to TAB in the REPL yet...)

(add-hook 'slime-connected-hook
  (lambda ()
(define-key slime-mode-map (kbd "TAB") 'auto-complete)
(define-key slime-repl-mode-map (kbd "TAB") 'auto-complete)))

I also put (lambda () (auto-complete-mode t)) in the hooks for
slime-mode and slime-repl-mode.

> Incidentally, I've also got a hippie-expand source for SLIME somewhere in my 
> emacs config: http://github.com/purcell/emacs.d

Cool! I'll look around. :-)

Sincerely,
Michał

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Heinz N. Gies
Steve,
this is awesome!

Regards,
Heinz

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Steve Purcell
On 15 Aug 2010, at 08:45, Michał Marczyk wrote:

> This is absolutely awesome! I notice it also works perfectly with
> Common Lisp... I'm in a state of blissful exaltation. :-)


Excellent - so if there are any quirks with this plugin, at least there'll be a 
couple more users to help fix it up now!

(For instance, it doesn't work perfectly if you type "some-namespace/" and then 
try to start completion, but that might be something related to my slime 
completion settings. And also, I haven't managed to bind it to TAB in the REPL 
yet...)

Incidentally, I've also got a hippie-expand source for SLIME somewhere in my 
emacs config: http://github.com/purcell/emacs.d

-Steve

-- 
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: Emacs auto-complete plugin for slime users

2010-08-15 Thread Michał Marczyk
This is absolutely awesome! I notice it also works perfectly with
Common Lisp... I'm in a state of blissful exaltation. :-)

Sincerely,
Michał

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