load-file & namespace

2013-10-19 Thread Ramesh
Hi All, I'm calling load-file to load a user-specified file inside -main. And, the loaded file has its own namespace, and I'm able to see that using (ns-publics) as well. However, when I try to call a function inside the loaded file, from -main, I'm getting a "no such namespace" exception. ;; Lei

Re: Compulsive over-optimization

2013-10-19 Thread Softaddicts
I read your post three times and now I need to get a couple of fuses replaced :) Holy smoke, it's Saturday man ! Most of us are probably trying to recover from the work week, give us a chance :))) Luc P. > The question in the second paragraph depends on the belief that someone > could engage i

Re: Compulsive over-optimization

2013-10-19 Thread Kendall Shaw
The question in the second paragraph depends on the belief that someone could engage in pointless refactoring. There is an implied assertion that clojure's design provides more opportunities for someone to engage in pointless refactoring. Disproving that someone could engage in pointless acti

Re: ANN: core.match 0.2.0

2013-10-19 Thread David Nolen
If there's something specific you would like to see based on what is already present I'm listening. David On Fri, Oct 18, 2013 at 11:49 AM, François De Serres < francois.de.ser...@gmail.com> wrote: > Hi David, > > any chance to see core.match expose its compiler in the near future? > The abilit

Re: No such namespace warning with Clojurescript repl

2013-10-19 Thread David Nolen
You can no longer use foo/bar to access properties, a slash now always indicates a namespace with CLJS 1933 and up. On Sat, Oct 19, 2013 at 12:47 PM, Greg Chapman wrote: > I've been working through the Clojurescript tutorial here: > https://github.com/magomimmo/modern-cljs > > When compiling ste

Re: No such namespace warning with Clojurescript repl

2013-10-19 Thread Mimmo Cosenza
which tutorial are you referencing? Anyway, what CLJS release are you using? Have you tried with [org.clojure/clojurescript "0.0-1947" dependencies? mimmo On Oct 19, 2013, at 6:47 PM, Greg Chapman wrote: > I've been working through the Clojurescript tutorial here: > https://github.com/mago

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-19 Thread John Mastro
> John, thanks. Not a stupid question at all. When learning a new language, a > new environment, and using an unfamiliar OS, there are so many moving parts > that it is sometimes hard to know where to begin when tracking stuff down. My > old and favorite line here is that "signposts are generall

No such namespace warning with Clojurescript repl

2013-10-19 Thread Greg Chapman
I've been working through the Clojurescript tutorial here: https://github.com/magomimmo/modern-cljs When compiling step 2, which adds a file requiring clojure.browser.repl, I get a "WARNING: No such namespace: e at line 71" (in repl.cljs). The code in repl.cljs is: (event/listen connecti

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-19 Thread Phil Hagelberg
xavi writes: > Does this mean that the problem was not completely solved in Ring 1.2? > Argh! I'll try to take a look to Ring's code and see if I can find the > problem and fix it. I took another look, and it looks like it was fixed by the commit I linked to previously, but then broken again a

[ANN] lein-fruit, native iOS apps in Clojure.

2013-10-19 Thread Zach Oakes
https://github.com/oakes/lein-fruit This is the first release of lein-fruit, the iOS equivalent of lein-droid, allowing you to build native iOS apps in Clojure and/or Java. It is also included in the latest release of Nightcode . It is really just a thin wrapper around

Re: How to reflect on super class fields?

2013-10-19 Thread dennis zhuang
There is an option :ancestors for reflect: (reflect 3 :ancestors true) Options: :ancestors in addition to the keys described above, also include an :ancestors key with the entire set of ancestors, and add all ancestor members to

Re: [ANN] JUST CREATED GOOGLE + CLOJURE COMMUNITY FOR TUNISIA

2013-10-19 Thread Plínio Balduino
Congratulations IMHO, local communities are the best way to make the language more popular and even to create a job market for Clojure. Wish you all the success Plínio On Oct 19, 2013 12:11 PM, "Rafik NACCACHE" wrote: > Dear All, > > It is my pleasure to announce that we just created a Tunisia

[ANN] JUST CREATED GOOGLE + CLOJURE COMMUNITY FOR TUNISIA

2013-10-19 Thread Rafik NACCACHE
Dear All, It is my pleasure to announce that we just created a Tunisial Local HUB for Clojure advocacy, teaching and technical exchange : https://plus.google.com/u/1/communities/106805143209555111634 Awareness about clojure in Tunisia is quite low, though this is a country that accounts for a

Re: Strange exception intializing clojure.core using Spring-Hadoop

2013-10-19 Thread sudheer babu
It was nice article it was very useful for me as well as useful for http://123trainings.com/it-hadoop-bigdata-online-training.html";>online Hadoop training learners.thanks for providing this valuable information.123trainings provides best https://www.youtube.com/watch?v=PqbYn5LXzRw";>Hadoop onlin

How to reflect on super class fields?

2013-10-19 Thread binita
Hi everyone, I have this class hierarchy: class Foo extends Bar On using clojure.reflect/reflect on instance of Bar (bar-instance), I get the fields of Bar only. But, I need all the fields of the super classes too. I tried casting bar-instance to Foo, and then doing a reflect on the result. It

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-19 Thread Christopher Bird
John, thanks. Not a stupid question at all. When learning a new language, a new environment, and using an unfamiliar OS, there are so many moving parts that it is sometimes hard to know where to begin when tracking stuff down. My old and favorite line here is that "signposts are generally made b

Re: Clojure, floats, ints and OpenGL

2013-10-19 Thread Chris Gill
... as well core.matrix supports normalise, which I just reali*z*ed since I am American English. haha On Saturday, October 19, 2013 8:05:47 AM UTC-4, Chris Gill wrote: > > I am in this boat as well, clojure + opengl, currently using lwjgl for > bindings and management. I am curious why you need

Re: Clojure, floats, ints and OpenGL

2013-10-19 Thread Chris Gill
I am in this boat as well, clojure + opengl, currently using lwjgl for bindings and management. I am curious why you need float support actually, what specific methods are you hoping to utilize this with? Currently I create float-arrays from the loaded mesh and build the VBOs and push that all

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-19 Thread dm3
As I was the one who caused this by fixing `lein uberjar` :), I've submitted a pull request to ring which should fix improper `resource-response` behaviour: https://github.com/ring-clojure/ring/pull/97 2013 m. spalis 19 d., šeštadienis 04:02:06 UTC+3, xavi rašė: > > It seems it's this problem t

Re: Compulsive over-optimization

2013-10-19 Thread Laurent PETIT
Can you give a concrete example? Le samedi 19 octobre 2013, Kendall Shaw a écrit : > With clojure in particular, I am having trouble not rearranging my code to > be what I think is more optimal in ways that seem probably not practical. > I've noticed myself doing that when I'm newish to languages