Re: Is there any medium scale opensource project implemented using clojure-clr?

2013-01-24 Thread James Xu
https://github.com/nathanmarz/storm 发自我的 iPhone 在 2013-1-25,14:19,"李振" 写道: Hi there, I am quite a freshman on clojure. Materials I've found are about the clojure syntax with no runable project to have a glance. Since I'm a .Net coder I prefer to use clojure-clr and need samples to have a be

Is there any medium scale opensource project implemented using clojure-clr?

2013-01-24 Thread 李振
Hi there, I am quite a freshman on clojure. Materials I've found are about the clojure syntax with no runable project to have a glance. Since I'm a .Net coder I prefer to use clojure-clr and need samples to have a better understanding. Please share me some experiences and best practices. Tha

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-24 Thread Mark Hamstra
Okay, that begins to make more sense. For a Clojure coder, Cascalog is definitely a more attractive means to express workflows at a high level than is Cascading. And like I said before, I can get behind an effort to produce a higher-level syntax to express Spark workflows. Shark is nice as f

Re: Natively Compiled Clojure

2013-01-24 Thread Mikera
A natively compiled Clojure would be very very interesting (perhaps targeting LLVM?) However it would also be very hard to implement. Clojure depends on a lot of features provided by the JVM (JIT compilation, interop with Java libraries, garbage collection being the most significant ones). It w

Re: Clojure on heroku throws exception today

2013-01-24 Thread AtKaaZ
I wonder how the double posting happens (I've seen others do it), and I've sent that from gmail. (I'll assume something causes the send email to happen twice) On Fri, Jan 25, 2013 at 6:08 AM, AtKaaZ wrote: > looks like you denied outgoing for java.exe in your firewall > the java.exe that's in y

Re: Clojure on heroku throws exception today

2013-01-24 Thread AtKaaZ
looks like you denied outgoing for java.exe in your firewall the java.exe that's in your path(or in JAVA_HOME if set) in my case: ie. cmd.exe C:\Users\user>java -version java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02,

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-24 Thread Marc Limotte
I'm interested in the Cascading layer because that would enable Cascalog queries. I like the declarative (logic programming) form of Cascalog over the more imperative Spark style. SQL style is good for some uses cases also, but I believe Cascalog is more com posable than SQL. Cascading uses a [p

Re: Clojure on heroku throws exception today

2013-01-24 Thread Jonathon McKitrick
I just tried again, with and without trampoline, and now I'm getting this: ... Retrieving net/cgrand/parsley/0.9.1/parsley-0.9.1.jar from clojars ConnectException Connection refused java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2) java.net.AbstractPlainSocketImpl.doConnect (Abstr

Re: What people want from Clojure error messages

2013-01-24 Thread Brian Marick
I've also noticed that the messages that come from botched macroexpansions are often not useful in that they contain no clues about the original source, and sometimes not even a useful reference to the original namespace. I have a similar problem in Midje. When a macroexpansion blows up, I catch

Re: Installing Clojure on Windows 7

2013-01-24 Thread Mikera
On Friday, 25 January 2013 01:56:59 UTC+8, sampso...@googlemail.com wrote: > Apparently installing a development environment for Clojure on Windows 7 > is very difficult. What is the best way, that has a chance that it might > work? > A fresh install of Eclipse with the Counterclockwise plugin

Re: What people want from Clojure error messages

2013-01-24 Thread Brian Marick
A typo in an identifier should not lead to the following. Although I understand that `lein repl` trims stack traces, that should be the default, rather than having every substantial user-facing program trim `clojure.lang.Compiler` (etc.) messages for the sake of its users. > Exception in threa

Re: What people want from Clojure error messages

2013-01-24 Thread brad bowman
On Friday, January 25, 2013 6:27:48 AM UTC+11, Michael Klishin wrote: [..] > Because poor error messages primarily trip newcomers to the language, > I am a bit surprised to see this issue discussed on the closed > mailing list said beginners cannot join [quickly or at all]. > > So, if you have so

Re: Installing Clojure on Windows 7

2013-01-24 Thread Brent Millare
I regularly develop clojure on emacs on windows. I wrote up a guide for myself, you can read it and adapt it to your needs. https://github.com/bmillare/dj/wiki/Emacs-Setup https://github.com/bmillare/dj/wiki/Installation-Walkthrough On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@goo

Re: Installing Clojure on Windows 7

2013-01-24 Thread sampson . john7
I wonder how many people do not have the hours to spare to wrestle with dependency columns. Any alteration to any component - reorganisation, new version etc. causes the whole thing to collapse. Any advice on the Web goes out of date. It would be better if Clojure had a complete official program

Re: What people want from Clojure error messages

2013-01-24 Thread AtKaaZ
Here are some more: (which I'm getting from my old gist from here https://gist.github.com/3895312 after I recheck those and tell you only the ones relevant to this subject) 1. This one has to do with namespace expected format for :import https://groups.google.com/d/msg/clojure/JCwpbqbrHUE/m1Fx13Ye

Re: What people want from Clojure error messages

2013-01-24 Thread vemv
repl-y (Lein's default repl) only shows the first line of the stack trace rather than the whole thing. nrepl.el can optionally behave the same. It's a good default - as I see it, it relieves 90% of the pain associated to errors in clojure. As for the contents of those first-lines - it often is

Re: What people want from Clojure error messages

2013-01-24 Thread Rich Morin
On Jan 24, 2013, at 11:27, Michael Klishin wrote: > So, if you have something specific to say on the topic, say it here. Well, these comments more general in nature; hope that's OK... I find Clojure's default error messages to be noisy, ugly, and hard to decipher. What I'd like is a short, clear

Re: Installing Clojure on Windows 7

2013-01-24 Thread David Powell
I don't think there should are any problems with Clojure on Windows 7. "lein trampoline cljsbuild repl-rhino" didn't work for me on old versions of leiningen, but on the release version of lein 2 it works perfectly. I use a mix of IntelliJ+LaClojure & Emacs+clojure-mode and they also work perfect

Re: What people want from Clojure error messages

2013-01-24 Thread AtKaaZ
Hi. There are a bunch of calls to Util.runtimeException("msgHere") which can be replaced with Util.runtimeException("msgHere", e); where e is the exception just caught (aka the cause), for example here: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L4570 and her

Re: Installing Clojure on Windows 7

2013-01-24 Thread Sean Corfield
On Thu, Jan 24, 2013 at 11:05 AM, George Oliver wrote: > Sean, have you been using lein trampoline successfully on Windows? The last > time I tried there was a persistent bug that hadn't been tracked down. I have not needed lein trampoline - I gather the bug is to do with the temp file it writes?

Re: Installing Clojure on Windows 7

2013-01-24 Thread George Oliver
On Thursday, January 24, 2013 10:22:41 AM UTC-8, Sean Corfield wrote: > > Having now setup an Emacs-bsaed dev environment on XP and multiple > Windows 8 machines, I no longer think it's as difficult as some people > make it out to be. > Sean, have you been using lein trampoline successfully

Re: Installing Clojure on Windows 7

2013-01-24 Thread Sean Corfield
Having now setup an Emacs-bsaed dev environment on XP and multiple Windows 8 machines, I no longer think it's as difficult as some people make it out to be. Leiningen 2 has a reasonably well-maintained Windows batch file so that problem is solved. The initial install is: * lein.bat (a single downlo

Re: Installing Clojure on Windows 7

2013-01-24 Thread Aaron Cohen
On Thu, Jan 24, 2013 at 12:56 PM, wrote: > Apparently installing a development environment for Clojure on Windows 7 > is very difficult. What is the best way, that has a chance that it might > work? > > I'm curious if you have any more specific reasons for this statement? -- -- You received th

Re: Installing Clojure on Windows 7

2013-01-24 Thread Laurent PETIT
2013/1/24 : > Apparently installing a development environment for Clojure on Windows 7 is > very difficult. What is the best way, that has a chance that it might work? Installing Counterclockwise for Eclipse should be as easy as it can be : http://dev.clojure.org/display/doc/Getting+Started+with

Re: iOS and Windows RT support?

2013-01-24 Thread Víctor M . V .
>From what I can read, what one can't install is a JVM, an arbitrary code interpreter, etc. A program compiled to ARM objcode would be legal. So would be an interpreter iff it only executes the bundled code with it. On Thu, Jan 24, 2013 at 4:39 PM, Jack Moffitt wrote: > > Relatively succesfull e

Installing Clojure on Windows 7

2013-01-24 Thread sampson . john7
Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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: iOS and Windows RT support?

2013-01-24 Thread Jack Moffitt
> Relatively succesfull efforts have been made to compile Clojure to ObjC, but > they aren't legally usable in practice. Why wouldn't a cross compiler be legal? There are tons of apps in the App Store that were originally written in C# and Lua (lots of game frameworks compile down from higher leve

Re: iOS and Windows RT support?

2013-01-24 Thread vemv
The issue is more like, Apple forbids using development tools other than those they foster. Relatively succesfull efforts have been made to compile Clojure to ObjC, but they aren't legally usable in practice. On Tuesday, January 22, 2013 8:27:51 PM UTC+1, JSchmitt wrote: > > On Tue, Jan 22, 201

Re: Call for volunteers to help moderate a ClojureScript Google group

2013-01-24 Thread Wolodja Wentland
On Thu, Jan 24, 2013 at 01:50 -0500, Wes Freeman wrote: > This is great. Can you guys put [ClojureScript] in the email subject like most > google groups do? Wouldn't mind if they put [Clojure] in the clojure emails, > either. Just curious: But why would you want that? I would happily live without

Clojure runtime fails to initialize in some contexts

2013-01-24 Thread Francesco Bellomi
(I repost this message because the original post I made yesterday seems to have been rejected by googlegroups -- I have not received it and it is not available online. Sorry if this will result in a double post for some users.) Hi all, I'm writing a Scala library (currently alpha) to simplify t

Re: emacs - how to wean me off the family of Java IDEs

2013-01-24 Thread Phillip Lord
make-local-hook has been deprecated for a while now and has now been removed. In general, you can just ignore it and everything will work correctly. So: (defalias 'make-local-hook 'ignore) before you load anything should solve this problem. Whether any other problems remain, I don't know. K

ANN Neocons 1.1.0-beta2

2013-01-24 Thread Michael Klishin
Neocons (http://clojureneo4j.info) is a feature rich idiomatic Clojure client for the Neo4J REST API. `1.1.0-beta2` is second preview the `1.1.0` release that is *100% backwards-compatible* with `1.0.x` and includes updated dependencies and several new features. Release notes: * http://blog.cloju

ANN Neocons 1.0.3

2013-01-24 Thread Michael Klishin
Neocons (http://clojureneo4j.info) is a feature rich idiomatic Clojure client for the Neo4J REST API. 1.0.3 is a 100% backwards-compatible bug fix release. Release notes: http://blog.clojurewerkz.org/blog/2013/01/24/neocons-1-dot-0-3-is-released/ -- MK http://github.com/michaelklishin http://tw