Long post with some questions about getting started...

2010-03-19 Thread Nick
I want to learn Clojure and the first idea for a "simple" app that popped into my head was some sort of roguelike (because I'm a gamer and this is what I like to do...) I could go on making hello world apps and tiny test apps that serve little purpose, but the way I learn is by setting an end goal

Operations inside associative structures

2011-03-18 Thread Nick
I'm looking to do some operations upon the data in an associative structure. What do you think about this method of hijacking the definition of assoc-in? Is there some better way to do what I'm doing here? user> (defn op-in [op m [k & ks] v] (if ks (assoc m k (op-in o

Re: Operations inside associative structures

2011-03-18 Thread Nick
Dude...that's awesome. I don't know how I completely missed that. I must have gotten lazy by the time I got to the end of the API page. On Mar 18, 8:12 pm, Ken Wesson wrote: > On Fri, Mar 18, 2011 at 9:04 PM, Nick wrote: > > I'm looking to do some operations upon th

Re: Testing functions that access a database

2011-05-08 Thread Nick
On 08/05/11 04:54, Ken Wesson wrote: > Have you considered using a mock object in place of the db? I'm curious to know if there are any good examples of SQL mock-object libraries out there - in any language? The kind of thing which deserves to be emulated. I don't get the impression that there ar

Argh - was Re: Re: Re: Re: Re: Re: The Last Programming Language

2011-07-22 Thread Nick
On 22/07/11 05:30, daly wrote: > On Thu, 2011-07-21 at 23:03 -0400, Jeff Dik wrote: >> On Tue, Jul 19, 2011 at 9:04 PM, daly wrote: >>> On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote: On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt wrote: What's this awk-a-mel he speaks of

Matrix transform

2011-02-04 Thread Nick
I've got a matrix transformation that I'm doing which is really slow. I'm looking for ways to speed it up. source is a NxD matrix (seqs of seqs of values). I will set and read this matrix. dest is a NxN transformation of f in which indices are mapped to specific indices of f. I will only read th

Trouble with type hints

2011-02-15 Thread Nick
I'm having a bit of trouble getting type hinting to work. I've got these equal sized seqs that I'm mapping into a function. I'm running the function twice in a row in an inner loop that is seriously dragging down performance. (let [ newv1 (time (doall (map (fn [v u I] (+ ^java.lang.Double v (*

Re: Trouble with type hints

2011-02-17 Thread Nick
Is there something besides type-hinting that I'm missing? -- 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

Re: Trouble with type hints

2011-02-18 Thread Nick
I've actually tried with and without type hinting and end up with similar performance numbers. I haven't tried type hinting the second execution. On Feb 18, 7:49 am, Ken Wesson wrote: > On Fri, Feb 18, 2011 at 7:03 AM, Daniel Werner > > > > wrote: > > On Feb 16,

Re: Trouble with type hints

2011-02-22 Thread Nick
After looking at it more, it appears that I was executing something intense and lazy immediately prior to this function which then included a doall upon the result of the previous calculation. When I modified the previous function to remove its laziness, the time required for this calculation drop

Re: REPL prints a ISeq as a list

2009-01-09 Thread Nick Vogel
I guess I'm having trouble understanding what you're getting it, the way I'm interpreting it is that you want to have seqs represented differently from lists when outputted at the REPL. Also, I'm not sure if this is a point of confusion, but lazy sequences are different from sequence. Basically,

Re: non recursive impl in presence of persistence?

2009-01-10 Thread Nick Vogel
Ok, first of all, here's how I translated that python code: (defn msort [myList] (if (> (count myList) 1) (let [l1 (first myList) l2 (second myList)] (recur (concat (drop 2 myList) (my-merge l1 l2 (first myList))) The main thing that might need explaining is the recur, which b

Re: non recursive impl in presence of persistence?

2009-01-10 Thread Nick Vogel
By the way just to clarify, the use of recur is iterative, it's just written in clojure in its recursive form. On Jan 11, 1:32 am, "Nick Vogel" wrote: > Ok, first of all, here's how I translated that python code: > > (defn msort [myList] >   (if (> (count myLi

Re: Utilities for clojure.contrib?

2009-01-13 Thread Nick Vogel
seq returns nil when a collection has no items. According to the documentation for empty?, empty? is the same as (not (seq coll)) so you should use seq for expressing the opposite of empty? On Tue, Jan 13, 2009 at 3:12 AM, GS wrote: > > On Jan 13, 2:59 pm, Chouser wrote: > > > > It raises a qu

Re: By Example - another Clojure introduction wiki page

2009-01-13 Thread Nick Vogel
It is, that article is part of the wiki linked to directly from clojure.org. On Tue, Jan 13, 2009 at 11:12 PM, e wrote: > i know that will be awesome for me. I just wish clojure.org was the only > place I had to go to get stuff like that. Why not wikify it all there? > > > On Tue, Jan 13, 2009

Re: By Example - another Clojure introduction wiki page

2009-01-13 Thread Nick Vogel
uot;getting started", then "wiki" . . .and then . . >>> . hm no link so search what? . .. I dunno, go back to this thread . . >>> .read read . . .ah yes, here it is, "By Example". So I can search on By >>> Example, or I can find this thre

Re: why (into [] [1 2 3]) works, but not (into [] (1 2 3))?

2009-01-18 Thread Nick Vogel
You need to do (into [] '(1 2 3)) otherwise it will be read as calling the function 1 with arguments 2 and 3. On Sun, Jan 18, 2009 at 3:56 PM, wubbie wrote: > > Hi, > > Why into does not work for second argument of list? > > user=> (into [] (1 2 3)) > java.lang.ClassCastException: java.lang.Inte

Re: Any way we can get this in clojure-contrib?

2009-01-22 Thread Nick Vogel
That sounds interesting; you might take a look at Joda Time. Although I've never used it myself, from what I've heard it's the Java library that people actually use for dates/times (I do know that Google uses it). Doing a quick search, it looks like Mark McGranag

Re: Clojure articles and blogs

2009-01-28 Thread Nick Vogel
Personally I search for clojure on google blogsearch and then subscribe to that feed to see whenever someone posts something about clojure. On Wed, Jan 28, 2009 at 12:38 PM, Mark Volkmann wrote: > > Are there web pages that provide links to articles and blogs about Clojure? > It would be nice if

Re: Clojure, Android and Emacs on Ubuntu tutorials

2009-04-06 Thread Nick Levine
essage from the emulator: "The application TestProject (process us.riddell) has stopped unexpectedly. Please try again." I have no idea where to hit this to get it to be nicer to me. I'm running on Windows, jdk version 1.6.0_13, in case that matter

clojure + android

2009-04-06 Thread Nick Levine
ne. When I try the hello-world example in the clojure_android tutorial I get a message from the Emulator telling me that the application has stopped unexpectedly (and it doesn't say hello). Does anyone know how to debug this? (Other than Eclipse.) Or even: what might c

Re: clojure + android

2009-04-07 Thread Nick Levine
his by commenting out under in the application's build.xml and changing the last line of android's tools/dx.bin to "call java - Djava.ext.dirs=%frameworkdir% -Xmx512M -jar %jarpath% %*". This'll do for me but if anyone wants to suggest a tidier solution then go right ahead

Re: Unexpected behavior of 'if' with Boolean objects

2009-05-03 Thread Nick Vogel
In Java, you're supposed to use Boolean.valueOf whenever converting a string to a Boolean. The constructors are useless unless you for some reason need separate identities for Boolean objects. On Sun, May 3, 2009 at 11:56 AM, Janico Greifenberg wrote: > > Hi, > > I encountered unexpected behavi

Problem using shell-out in Windows command prompt

2009-10-01 Thread Nick Day
t find the file specified (NO_SOURCE_FILE:16) However, if I issue the same command in Cygwin the files are listed as expected. Has anyone else come up against this problem? cheers, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

defstruct-extend

2009-10-17 Thread Nick Wagner
th all the keys of the existing structure" [name parent & newkeys] `(def ~name (apply create-struct (into (keys (struct ~parent)) '~newkeys --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Topological sort

2009-11-11 Thread Nick Day
27;c' doesn't depend on anything. I've been trying to write something that returns a collection of the dependencies in order (c, b, a) but so far I've only been able to do it using a ref to store intermediate output of the sorting. I was wondering if anyone has already done

Re: Topological sort

2009-11-16 Thread Nick Day
brilliant, this has been very helpful - thanks to both for taking the time to answer! On Nov 12, 6:06 am, John Harrop wrote: > On Wed, Nov 11, 2009 at 2:04 PM, Nick Day wrote: > > Hi, > > > I've been trying to implement a topological sort and have been > > stru

AOT Compilation Class Hierarchy

2010-04-02 Thread Nick Dimiduk
espaces in the leiningen project declaration? 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 w

Re: AOT Compilation Class Hierarchy

2010-04-05 Thread Nick Dimiduk
mport ...) (:gen-interface :methods ...)) --- src/proj/Foo.clj --- (ns proj.Foo (:require proj.IFoo) (:import ...) (:gen-class :implements [proj.IFoo] ...)) Thanks, -Nick On Fri, Apr 2, 2010 at 6:35 AM, Chas Emerick wrote: > Compilation is driven by namespace load-order, so just ensure

Re: Suggested 'server' for hosting clojure web app

2013-06-29 Thread Nick Gonzalez
I'm a big fan of http-kit. Lightweight, easy to use, and responsive. -- -- 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

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Nick Jones
I'd pay a $100 for a good Intellij plugin. I'm using Emacs now but I'd rather use IDEA. On Sunday, 28 July 2013 12:29:40 UTC+12, Colin Fleming wrote: > > Shhh - despite my own prejudices, no flame wars please :-) > > > On 28 July 2013 12:21, Cedric Greevey >wrote: > >> On Sat, Jul 27, 2013 at 7:5

Re: Is Korma still a good current choice for DB backend?

2014-07-22 Thread Nick Jones
Agreed, any lib that just lets me use raw sql for queries gets the + 1. -- 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 wi

multiple file upload

2014-08-03 Thread Nick Macia
Hello all, sorry that this is a basic question. I've recently migrated over to clojure from php and some features of the language still remain obscure to me. I have been following "Web Development with Clojure" (solid intro) and have run into a wall with file uploads. The book provides the follo

[ANN] Clojure-powered Dance Double Bill (London, November 8th)

2014-10-22 Thread nick rothwell
Blog entry with details here: http://www.cassiel.com/2014/10/18/networked-bodies-watermans/ One of the pieces is audio-responsive with HD visuals in Quil; the other is running in Field (Java->Jython->Clojure), live coded by myself on stage in London and Kate (the choreographer) in Light Table,

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

Codox output missing namespace documentation

2014-12-16 Thread Nick Gonzalez
I'm using codox to generate api documentation for a fairly large Cojure project, and it is ignoring namespace doc strings for all but some of my namespaces. i have moved the :aot directives into the uberjar profile, so the :apt option should not be the problem. but who knows. 1. Has anyone

Re: Codox output missing namespace documentation

2014-12-17 Thread Nick Gonzalez
ried clearing your target directory? If there are some > AOT-compiled class files in there, they lack the metadata that Codox needs > to generate the docs. > > - James > > On 16 December 2014 at 17:02, Nick Gonzalez > wrote: > >> I'm using codox to generate api documentatio

Disconnecting from a remote repl?

2014-12-29 Thread Nick Gonzalez
If I execute a time consuming function in clojure while remotely connected via the REPL, and I get disconnected - will the function continue to run? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

SourceDebugExtension Class Attribute in clojure-1.8.0.jar

2017-10-11 Thread Nick Mudge
Recently I needed to run pack200 on the clojure-1.8.0.jar When I did this I got an error that SourceDebugExtension is an unknown class attribute. I got around this problem by removing all the SourceDebugExtension class attributes from clojure-1.8.0.jar. Here are my questions: What is clojure

Don't Laugh - How to Get the Name of an Anonymous Function

2017-10-23 Thread Nick Mudge
Let's say I have this anonymous function: (fn cool [] (println "hi")) How can I extract the name from it? Obviously the name of the function is stored with the function. How can I get to it? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Curious About Interfaces In IFn.java

2017-11-02 Thread Nick Mudge
I noticed the interface definitions in IFn.java that start out like this: static public interface L{long invokePrim();} static public interface D{double invokePrim();} static public interface OL{long invokePrim(Object arg0);} static public interface OD{double invokePrim(Object arg0);} Obviously t

Who Uses import-vars?

2017-11-07 Thread Nick Mudge
I am interested to know if people/you use import-vars to decouple the structure of code from its API. import-vars is from the potemkin library: https://github.com/ztellman/potemkin If you don't use import-vars how do you structure your code and provide an API? -- You received this message b

Re: Who Uses import-vars?

2017-11-07 Thread Nick Mudge
#x27;t convey >> properly (AFAIK), so if you using bindings on one var, the changes won't be >> seen in the other var. Remember: import-vars doesn't actually import >> anything, it simply creates a new var in the current namespace and links >> the two via a two-way

Re: Who Uses import-vars?

2017-11-07 Thread Nick Mudge
;s quite the hack, imo. > > So I have to agree with Potemkin's tagline on github: it's an idea that's > "almost good". > > Timothy > > On Tue, Nov 7, 2017 at 11:13 AM, Nick Mudge > wrote: > >> I am interested to know if people/you use

Re: Who Uses import-vars?

2017-11-07 Thread Nick Mudge
cros in a single namespace > `tupelo.impl`, but then expose an API in "user-visible" namespaces like: > >- tupelo.core >- tupelo.char >- tupelo.test >- etc > > Perhaps I've been doing it wrong and should switch to `import-vars`.? > Ala

Re: Migrating nREPL out of Clojure Contrib

2017-11-07 Thread Nick Mudge
I am new to the clojure community. What does it mean to "reboot" the project? On Friday, July 21, 2017 at 5:15:49 AM UTC-7, Herwig Hochleitner wrote: > > 2017-07-18 14:48 GMT+02:00 Chas Emerick > >: > > I would like to hear here (no more private mails, please! :-) from any > nREPL users, contr

Dynamically Reify Interfaces

2017-11-07 Thread Nick Mudge
I need to dynamically reify some java interfaces based on data from a map. One way I can see to do this is to generate the reify code with a function using syntax quotes, quotes and unquote and unquote splice. And then evaluate it using eval. I hesitate using eval, but is eval the right tool

How to Programmatically Create Unqualified Keywords?

2018-03-21 Thread Nick Mudge
I want to programmatically create some keywords without namespaces? Or are we not supposed to do that? I can't use the "keyword" function because that only creates keywords with a namespace. For example doing this: (keyword (str "something" "-empty")) Creates this: ::something-empty But I

Re: How to Programmatically Create Unqualified Keywords?

2018-03-21 Thread Nick Mudge
syntax for :user/something-empty btw > (where user is your current namespace), so it's not even possible to > "create" a keyword like ::something-empty. > > On Wednesday, March 21, 2018 at 8:15:43 AM UTC-5, Nick Mudge wrote: >> >> I want to programmatically cre

Re: How to Programmatically Create Unqualified Keywords?

2018-03-21 Thread Nick Mudge
this case. > > ::something-empty is really a reader syntax for :user/something-empty btw > (where user is your current namespace), so it's not even possible to > "create" a keyword like ::something-empty. > > On Wednesday, March 21, 2018 at 8:15:43 AM UTC-5, Nick Mud

Trying to understand Clojure/Java concurrency performance?

2015-10-06 Thread Nick Pavlica
hanks! --Nick ### Discussion from the Immutant Google group ## All, I'm a new Clojure developer, and I'm looking for a webserver that can handle a large number of concurrent websocket connections. I understand that this question is a little/very vague, and

Re: Trying to understand Clojure/Java concurrency performance?

2015-10-07 Thread Nick Pavlica
not please help me clarify it. Thanks Again -- 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

Re: Trying to understand Clojure/Java concurrency performance?

2015-10-07 Thread Nick Pavlica
n 1.9, but I don't know if it will help out. Thanks! -- Nick On Tuesday, October 6, 2015 at 9:57:45 PM UTC-6, Nick Pavlica wrote: > > Dear Clojure/Java Experts, > Earlier today I posted a question to the Immutant google group asking > them a question about large numbers of

Re: Trying to understand Clojure/Java concurrency performance?

2015-10-07 Thread Nick Pavlica
alize that http-kit made a claim of 600K connections in 2013. But I can't find any other supporting evidence that it can do that reliably. It also seems to have stagnated a bit as a project which is unfortunate. Thanks Again for your input and guidance! -- Nick On Tuesda

ClojureScript ord-of-char?

2016-02-09 Thread nick rothwell
Dumb question: should I be able to get the ordinal value of a character in ClojureScript via something like (int \A) ? This does exactly what I'd expect in Clojure. In ClojureScript it seems to compile to "A" | 0 which evaluates to 0. (I'm now doing (.charCodeAt \A) which works fine.) [org.

Re: ClojureScript ord-of-char?

2016-02-09 Thread nick rothwell
r type in > ClojureScript only strings. > > David > > On Tue, Feb 9, 2016 at 1:01 PM, nick rothwell > wrote: > >> Dumb question: should I be able to get the ordinal value of a character >> in ClojureScript via something like >> >> (int \A) >&

Command Interpreter in Clojure?

2016-02-16 Thread Nick Vargish
ojure? 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

Re: Accumulate results without state?

2014-03-04 Thread Nick Gonzalez
It depends on what you want to do. If you really want to reduce the collection to an error count, then this will do it. (let [count-if (comp count filter)] (count-if #(re-matches pattern %) (line-seq rdr))) On Tuesday, March 4, 2014 4:21:47 PM UTC-5, Dean Laskin wrote: > > I'm comparing two l

No doseq inside finally?

2013-01-30 Thread nick rothwell
Is there a reason why this isn't allowed? user> (try nil (finally (doseq [x (range 10)] (println x CompilerException java.lang.UnsupportedOperationException: Cannot recur from catch/finally, compiling:(NO_SOURCE_PATH:1) Is this some JVM restriction? -- -- You received this message becaus

Namespaced symbols, and errors

2013-03-08 Thread nick rothwell
Typing the following at a REPL: (str ::junk/junk) (where there's no alias for junk) gives me: RuntimeException Invalid token: ::junk/junk clojure.lang.Util.runtimeException (Util.java:219) RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:219) A couple of

Re: Namespaced symbols, and errors

2013-03-09 Thread nick rothwell
hemselves (they are literals that evaluate to themselves), they are > not aliases for something else. > > [1] http://clojure.org/reader > > On 8 March 2013 16:56, nick rothwell > > wrote: > > Typing the following at a REPL: > > > > (str ::junk/junk

Re: how can I count lines of code?

2013-03-27 Thread Nick Ward
Not sure if this is the correct place to be asking this, but sed '/^\s*$/d;/^\s*;/d' path/to/your/file | wc -l On Wed, Mar 27, 2013 at 7:36 PM, larry google groups wrote: > I am curious, is there a simple command line script I could use to count > lines of code? Or is there some trick in ema

How Do I Tell Clojure Which Classloader to Use?

2010-07-04 Thread Nick Mudge
I am writing a 3rd party module in Clojure for a Java Web Start application written in Java. I am using Clojure 1.1. I think that my clojure program and clojure.jar are on the classpath and are being loaded because when clojure.jar is not seen on the class path this error results: java.lang.Class

Re: How Do I Tell Clojure Which Classloader to Use?

2010-07-05 Thread Nick Mudge
Also I should note that all my clojure code is compiled to classes and the classes are jarred and sent to the Java Web Start program along with clojure.jar. On Jul 4, 3:53 am, Nick Mudge wrote: > I am writing a 3rd party module in Clojure for a Java Web Start > application written i

Re: Online Clojure for beginners course starting july 19th

2010-07-05 Thread Nick Mudge
Cool. Signed up. Mudge On Jul 4, 10:47 am, Arie van Wingerden wrote: > Hi, > > at Rubylearning.org a course on Clojure will be taught soon. See the details > here ... >    http://rubylearning.com/blog/2010/07/04/new-course-clojure-for-beginn... > > The course starts july 19th and lasts for a week

Re: How Do I Tell Clojure Which Classloader to Use?

2010-07-05 Thread Nick Mudge
rolled by the value of   > *use-context-classloader*, which is true by default. > > I don't have any java web start experience, so I'm afraid I can't   > provide any further advice.  Anyone else here that does? > > - Chas > > On Jul 4, 2010, at 6:53 AM, Nick Mud

Re: Online Clojure for beginners course starting july 19th

2010-07-05 Thread Nick Mudge
Cool. Signed up. On Jul 4, 10:47 am, Arie van Wingerden wrote: > Hi, > > at Rubylearning.org a course on Clojure will be taught soon. See the details > here ... >    http://rubylearning.com/blog/2010/07/04/new-course-clojure-for-beginn... > > The course starts july 19th and lasts for a week. > >

Re: How Do I Tell Clojure Which Classloader to Use?

2010-07-06 Thread Nick Mudge
t; > I don't have any java web start experience, so I'm afraid I can't   > provide any further advice.  Anyone else here that does? > > - Chas > > On Jul 4, 2010, at 6:53 AM, Nick Mudge wrote: > > > I am writing a 3rd party module in Clojure for a Java

Getting Clojure into the workplace, how do you do it?

2010-07-06 Thread Nick Mudge
One of the things I like about Clojure is it is a way to get lisp and functional programming into workaday programming work; into the many places and businesses that use Java. I'd be very interested to hear stories or experiences of getting Clojure into the workplace and how it was done. That is,

Re: inconsistent behaviour when resolving java classes

2010-07-07 Thread Nick Mudge
What about (use 'clojure.test.user) ? On Jul 6, 6:37 pm, Pedro Teixeira wrote: > Hi, > > The following seems like it was not intended, please let me know if it > is intended. > > user> (use 'clojure.test) > user> (testing (defrecord R []) (new R) ) > > [exception: Unable to resolve classname: R]

Re: clojure-conj registration is now open!

2010-09-03 Thread Nick Brown
Yeah, I'm in the same boat. A conference I want to attend right in my backyard and its the same weekend as my high school class reunion... On Sep 3, 4:27 pm, Sean Corfield wrote: > Dang! Wish I could be there but it clashes with a previous commitment > in Albuquerque (a cat show - seriously!). >

Re: Clojure meetup group listing

2010-09-20 Thread Nick Brown
We've got one in the Raleigh area that, while not specific to Clojure, it is a common topic (along with other JVM based languages such as Scala and Groovy): http://www.meetup.com/TriJVM/ Though a Clojure specific meetup would be nice, I know for a fact there are other Clojure users here. On Sep 20

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

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: 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
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: 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: 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: 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: 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: 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: 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: 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: Logos -> core.logic

2011-04-28 Thread Nick Zbinden
send somebody a link of a video expmlaing a little bit about it (in clojure). Nick On Apr 28, 5:59 pm, David Nolen wrote: > Logos has been accepted into Clojure > contrib:https://github.com/clojure/core.logic. > > There's a considerable amount of work still to do but I'm ex

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: 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-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: 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: 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: hammock driven development...

2011-06-11 Thread Nick Brown
esult in fewer mosquito bites, especially in North Carolina summers). I think my notes from that talk read something like this: Bring hammock to work. :) Go to sleep sober. :( Nick Brown http://standardout.wordpress.com/ On Jun 9, 1:09 pm, Brian Marick wrote: > On Jun 9, 2011, at 3:27 PM, Jul

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: Clojure for large programs, was Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-02 Thread Nick Brown
"Many managers, understandably, go with a technology with heavy library support and lots of developers. The common critique that Lisp isn't practical in industry, comes from that position. But Clojure, sitting atop the JVM, doesn't have that problem. " The library part, ok, sure (but if I'm writin

Re: Anyone on Google+ yet?

2011-07-14 Thread Nick Brown
It looks to me like it will have decent potential once all Google's services get integrated it in. So you can post stories from Google News and Google Reader, share Google Docs with a circle, create a circle based on a Google Group and all its members automatically get added... Oh well, until then

First Clojure Conj Rich Hickey Talk Not About Hammock

2011-07-17 Thread Nick Mudge
I heard that Rich Hickey gave another talk about Clojure at the first Clojure Conj besides the Hammock one. In it he talked about dynamic vars. Does anyone know if this was videoed or if there are any notes about this? I am interested in knowing more about dynamic vars. Does anyone know of any det

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

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

  1   2   >