Re: tools.analyzer.jvm clojure.lang.Var$Unbound cannot be cast to clojure.lang.DynamicClassLoader

2014-10-28 Thread Nick Zbinden
Thank you. This is great. I was using not using 0.6.2, I was using 0.6.0. Am Montag, 27. Oktober 2014 16:00:34 UTC+1 schrieb Nick Zbinden: > > Hallo, > > Im trying to use tools.analyzer to analyse some clojure code and compile > it. I have used '(ana/analyze+eval form

tools.analyzer.jvm clojure.lang.Var$Unbound cannot be cast to clojure.lang.DynamicClassLoader

2014-10-27 Thread Nick Zbinden
Hallo, Im trying to use tools.analyzer to analyse some clojure code and compile it. I have used '(ana/analyze+eval form)' and it has worked nicely. Now I always called my compile function either directly inside of the code, or I would call it like this 'lein run test.clj'. Now I tried to use '

Re: core.logic vs datomic

2012-12-09 Thread Nick Zbinden
icular aspect is required? > What would need to be implemented to get it to work on datomic? > > On Sunday, December 9, 2012 5:48:55 AM UTC-5, Nick Zbinden wrote: >> >> You have a misunderstanding. >> >> core.logic and datomic datalog are not the same thing.

Re: core.logic vs datomic

2012-12-09 Thread Nick Zbinden
You have a misunderstanding. core.logic and datomic datalog are not the same thing. core.logic is a turing complet logic engine, datomic datalog is only a querying subpart of this. You can not solve the zebra problem with datomic datalog, its impossible. Think of datomic datalog as if it would

Re: ANN: Zürich Clojure User Group

2012-10-22 Thread Nick Zbinden
Hi, If im in Switzerland then I will defentily come. There was a lisp usergroupe for a time but the company that hosted it kind of stopped. Am Montag, 22. Oktober 2012 10:37:40 UTC+2 schrieb Thomas G. Kristensen: > > Hi all, > > I'm happy to announce the Zürich Clojure User Group! > > http://ww

Re: Clojure on PyPy

2011-11-21 Thread Nick Zbinden
I was thinking about this too. I don't really need Clojure-on-pypy but I want to learn and understand the pypy project. I think that pypy is an extreamly cool project and I want to learn more about it and it would be fun to implment Clojure (and I would finally learn python). The problem Timothy m

Re: defrecord == premature optimization?

2011-09-07 Thread Nick Zbinden
There are some simple things you have to understand when you want to know why you cant have: (defrecord Person [foo bar]) ((Person. "1" "2") :foo) In Clojure something after a "(" gets called as a function. A function is something that can be "applied" (not the "apply" function. "applied" is now i

Re: JVM 7 support (invokedynamic)

2011-08-25 Thread Nick Zbinden
@Aaron: Could you go into why this is the case? What does jruby do that it needs it so much and clojure does not. @Tal Liron: You seem to differ in your opinion with Aaron (pretty sure you would not be investing your time otherwise). What exactlly are you attempting to speed up and how does invoke

Re: protocols and records -- use when?

2011-07-28 Thread Nick Zbinden
> I'm puzzled when we say that Clojure is not particularly OO, but using > protocols and datatypes feel OO to me, > except that the namespace of the protocol method implementations is > decoupled from the namespace of the type. > > Perhaps my definition of OO is too loose and I should think of > pr

Re: ClojureScript Memory Requirements

2011-07-26 Thread Nick Zbinden
Not sure why that is there I just deleted that the 2G params, seams to be working fine. -- 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 - plea

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-25 Thread Nick Zbinden
> Oracle announced/talked about Nashorn at the recent JVM Languages summit, > this is an Invoke Dynamic based Javascript runtime which is (aiming) for > inclusion in JDK8. > > I do so hope however that someone manages to pull that out for a "lets run > this NOW on Java 7" as that would be a grea

Re: ClojureScript Questions

2011-07-25 Thread Nick Zbinden
On Jul 25, 7:51 am, cljneo wrote: > Hi, > I have started reading about ClojureScript and Closure and had some > questions which I am sure will eventually be answered as I move along. > But I am too eager to know now so I thought of asking instead of > waiting. > - On page 2 of the Closure book,

Re: The Last Programming Language

2011-07-20 Thread Nick Zbinden
Maybe the PLOT language is intressting to people here. It has syntax and a very powerful macro system. http://users.rcn.com/david-moon/PLOT/ -- 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

Where to place Arguments

2011-06-14 Thread Nick Zbinden
Hallo all, I just watched the talk Radical Simplicity (bit.ly/lsub9h) by Stuart Halloway. Very Intressting but one little thing he says I wanted to threw in the groupe because its kind of a half know thing and it should really move into the Clojure Coding Standard. Stu said: Objects should be th

Re: last and nth are "bad"?

2011-06-10 Thread Nick Zbinden
Shouldn't these funkitons take the most effective implementation iternaly? We allready have a internal reduce-protocoll why not have one for other functions like last? The seq library should only drop to first/rest if there is no better implementation. -- You received this message because you are

Re: New to Clojure

2011-06-08 Thread Nick Zbinden
While we talk about Functional thinking. The IBM has a series. They use Java (and Groovy) but it may help you since you allready know java. http://www.ibm.com/developerworks/java/library/j-ft1/index.html http://www.ibm.com/developerworks/java/library/j-ft2/?ca=drs- -- You received this message b

Re: Clojure stack

2011-05-19 Thread Nick Zbinden
I think there are a few things most people agree about: - The people in the comunity are genaraly very nice and help noobs (stackoverflow, irc. mailinglist ...) - Clojure.org has very cool content. - Clojure.org is not a good place for noob So i propose some things that I think would make a bette

Re: Clojure stack

2011-05-16 Thread Nick Zbinden
Coming up with a clojure stack is not really clojury. I think clojure does not really lack far behind scala/akka and its much simpler. I don't really know about IDEs I can see how that could be a problem. -- You received this message because you are subscribed to the Google Groups "Clojure" grou

Re: Clojure stack

2011-05-16 Thread Nick Zbinden
I thing the java guys are late :) http://clojure.com/ On May 16, 9:42 am, László Török wrote: > I've just come across this: > > http://typesafe.com/company > > I believe Clojure will have to take a similar path in order to achieve > broader (enterprise) acceptance. > > I'm sure Rich and the core

Re: Logos -> core.logic

2011-04-28 Thread Nick Zbinden
Hallo David, Very cool that this is moving to contrib. I saw that you gave a presentation at NYC Clojure User Groupe. Was that tapped? If not I think it would be very cool if you could do a screencast with simular content. The videos of rich showing of clojure a reason why some of use are here (i

Re: Meta

2011-04-21 Thread Nick Zbinden
>What are meta data used for? Its a open system it can be used for anything. If you have data about your data that does not effect equality. Examples: The docstrings you can write in clojure are metadata. (defn my-func "my-func does XY" [] "whatever") This will be expanded to metadata l

Re: Clojure interest in Zurich

2011-04-14 Thread Nick Zbinden
Hi im not from zurich but I life near enough. There is no clojure user group (sadly). I acctualy don't know of anybody else using clojure in Switzerland. There is however a new "Lisp and Stuff"-Meeting more or less every month. It get hosted by a Startup that uses CL. The first to Meetings were qu

Re: fixing web docs

2011-03-30 Thread Nick Zbinden
> Dare I mention the idea of an official (or semi-official) Clojure > documentation project that ties together the disparate sources that currently > exist? What say you, community? I was thinking about something. This is just an idea spil I didn't do anything jet. Kind of like a learning assis

Re: fixing web docs

2011-03-29 Thread Nick Zbinden
One more thing people should do is update there blogs. I know its stupid work but I should be done. Its extremly confusing when google for something. Update your blog with a little notice or update it that it is correct again. -- You received this message because you are subscribed to the Google

Re: question re: quote

2011-03-28 Thread Nick Zbinden
> Incorrect. Thx, for clearing it up. -- 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 unsubscri

Re: question re: quote

2011-03-28 Thread Nick Zbinden
Yes, I think thats a naming restriction by the JVM. On Mar 28, 11:57 am, Fred Concklin wrote: > in common lisp:> (setf x '((1st element) 2 (element 3) ((4)) 5)) > > ((1ST ELEMENT) 2 (ELEMENT 3) ((4)) 5) > > in clojure: > user> (def x '((1st element) 2 (element 3) ((4)) 5)) > java.lang.NumberForma

Re: Jesus, how the heck to do anything?

2011-03-23 Thread Nick Zbinden
MMhh it would be to hard to design a little guid for this. There are peole who don't know java and if you don't know what a jar file is you can understand java -jar. Somethink like that should be on the clojure website. Something like "A Letter to a new Clojure Developer". Posting stuff like thi

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
I have to give some more background on this. Me and a friend are doing this for school we never did anything like it so we just make up as we go. My task is to write (at this point I changed to objective to improving the existing programm) the programm. His task was to do all the mesurements. I jus

Re: Strange Loop 2011 - St. Louis - Sept 18-20

2011-03-15 Thread Nick Zbinden
Man that look awesome not a single thing I would wanne miss. On Mar 15, 9:16 pm, Alex Miller wrote: > I just put up a blog entry with some updated info on Strange Loop > 2011:http://thestrangeloop.com/blog/11/03/15/strange-loop-2011-update > > Lots more to come, but perhaps of interest to this gr

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
gt; to finish, and get to a memory utilization of nearly 512 MB. > > Andy > > On Mar 15, 2011, at 9:54 AM, Nick Zbinden wrote: > > > Hi, > > > I did not mention that earlier but the benchmark sais no change in > > heapsize. > > > See here: > >

Re: clojure not using CPU on binarytree benchmark

2011-03-15 Thread Nick Zbinden
ugh, and your > program is causing the JVM to invoke garbage collection repeatedly. > > I'd recommend using a -Xmx512m argument on the command line, or maybe a bit > more, and see if things speed up. > > Andy > > On Mar 14, 2011, at 6:25 PM, Nick Zbinden wrote: > &

clojure not using CPU on binarytree benchmark

2011-03-14 Thread Nick Zbinden
Hi, I'm working with binarytree benchmark from the Language Shotout. http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=clojure&id=5 Its basiclly a port from the java version. http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=java&id=2 The Problem with

Re: DDJ for Clojure/Lisp/FP

2011-03-14 Thread Nick Zbinden
This sounds very good. It would have to be start up with one topic (lisp or FP) and if the system worked you could add more topics. The length could be like steve yeggy blogposts or like the ibm ähh articals (http://www.ibm.com/developerworks/java/library/j-clojure- protocols/). On Mar 14, 11:12 

Re: binarytrees benchmark 1.3

2011-03-13 Thread Nick Zbinden
it compiles > without errors or warnings. > > Andy > > On Mar 13, 2011, at 10:36 AM, Nick Zbinden wrote: > > > Hallo all, > > > I have been looking at the binary-trees in the language shotout. > >http://shootout.alioth.debian.org/u64q/program.php?test=bina

binarytrees benchmark 1.3

2011-03-13 Thread Nick Zbinden
Hallo all, I have been looking at the binary-trees in the language shotout. http://shootout.alioth.debian.org/u64q/program.php?test=binarytrees&lang=clojure&id=5 I want to make it work with the primitiv support in clojure 1.3 but I cant get it to work. Maybe its my misunderstanding in the new pri

Re: Struct vs. Record: Now and Future

2011-01-27 Thread Nick Zbinden
Structs are nicer to work with. We should get all the nice stuff you can do with structs to records then we can mark structs as dublicated. On Jan 27, 2:43 pm, OGINO Masanori wrote: > Hello. > > I have two questions: > > 1. Is there any reason why we should use struct rather than record in > new

Re: What is the difference between a tail-recursive function and a recursive function using recur?

2011-01-27 Thread Nick Zbinden
Maybe this is intressting for you: http://stackoverflow.com/questions/4304468/clojure-jvm-7-8-improvements/4306950#4306950 It should answer your question and give some more information. On Jan 26, 4:04 pm, Harrison Maseko wrote: > Hi all, > I need some help in understanding some basic concept. T

Re: anon func syntax confusion

2011-01-24 Thread Nick Zbinden
That a problem people find often. The thing is #(%) not the same as (fn [x] x) its more like (fn [x] (x)). So if you write #([x]) is (fn [x] ([x])) witch throws an error. You would have to write #(vec %). On Jan 24, 1:59 pm, László Török wrote: > Hi, > > just a quick one: > > (mapcat #([% 1]) [

Re: Clojure/JVM languages internal presentation

2011-01-18 Thread Nick Zbinden
> I can't speak for the original poster, but it seems like a fair > assessment to me.  Scala is, as you point out, more complicated in > many ways than Clojure.  But there is a subset of Scala that looks and > behaves very similarly to Java.  It is possible for a Java programmer > to make the tran

Re: distributeted computing newby, clojure ...

2011-01-11 Thread Nick Zbinden
> I have a simple library that mimics newLISP's net-eval command, which > will allow you to evaluate expressions in parallel on remote network > nodes, > > http://nakkaya.com/net-eval.html > > Regards... Very Nice. I looked at it and its what I need. I tested it sucessfully and I am using it with

distributeted computing newby, clojure ...

2011-01-07 Thread Nick Zbinden
Hallo, I would like to talk about two things. General: I have a small project that has really easy to paralyzable problem so I think that a good place to start with parallel programming. Doning it on one pc is simple in clojure. So I tought to myself: You can distribute that. I have never done a