Re: Feedback Request

2011-04-18 Thread Rayne
I haven't had a chance to look over more than the README, but I was actually considering writing something like this myself. Before I progress any further, I must say: thank you so much for doing this so that I don't have to. On Apr 18, 5:57 pm, Dave Ray dave...@gmail.com wrote: Hi, For the

Re: fixing web docs

2011-03-29 Thread Rayne
It is a hosting problem. Heinz (Licenser) currently hosts the domain and the site as well. It is not really under my control. I had no idea that the site was down. I think emailing me or telling me on IRC or twitter or one of the other easily found and plentiful ways to get a hold of me is much

Re: Jesus, how the heck to do anything?

2011-03-23 Thread Rayne
I wrote this post: http://blog.raynes.me/?p=48 for the precise purpose of showing newbies how to do what you want to do. One could make things a lot easier by writing an 'official' guide, assuming mine didn't meet that particular cut, along the lines of what I was aiming for and link it on

Re: Hosted REPL, suggestions?

2011-02-04 Thread Rayne
Exciting. Keep me updated. On Feb 4, 1:39 pm, Mark Fredrickson mark.m.fredrick...@gmail.com wrote: Thanks to one and all for the replies. For the moment, I'm going to concentrate on the DSL itself and start puttering with a Clojure parser for CodeMirror (http://codemirror.net/), a JavaScript

Re: Hosted REPL, suggestions?

2011-02-03 Thread Rayne
First and foremost, hosted repls are a pain in the ass given that you have to sandbox them. I like your idea though. I think it is something that would make a very nice addition to tryclojure itself (specialized repls and a real text editors). If you give it more thought, shoot me an email or

Re: Getting started with Counterclockwise

2011-01-20 Thread Rayne
Hi Mr. Bell, allow me to introduce you to Mr. Sarcasm. :p On Jan 20, 9:32 am, Peter Bell pe...@pbell.com wrote: On Jan 20, 2011, at 9:34 AM, Laurent PETIT wrote: 2011/1/20 Aaron Bedra aaron.be...@gmail.com Clojure/core http://clojure.comcl  the url of the website below your title does

Re: [ANN] fs - file system utilities for Clojure

2011-01-19 Thread Rayne
It isn't nearly as big a deal as you think it is. I'm guessing you have a single file called 'fs.clj' with the namespace 'fs', right? mkdir src/fs/ mv src/fs.clj src/fs/core.clj and then edit the file and change the namespace to fs.core. Why is that such a big deal? I understand that you're

Re: Getting started with Counterclockwise

2011-01-19 Thread Rayne
Aren't you a developer? I am. I think everybody else here is as well. If a code.google link is the top of google results, that's what I'm going to click and check out first. code.google is a project hosting site, not just a place to throw up code and developer discussion. It offers wiki services,

Let's see how fast we can make this

2010-12-22 Thread Rayne
I have a piece of code, and I'd like to see how fast it can be. (defn count-num-chars [^String s] (loop [s s acc 0] (if (seq s) (recur (rest s) (if (= (first s) \space) acc (inc acc))) acc))) This is the fastest I've been able to get it. The function is very simple. It takes a

Re: Let's see how fast we can make this

2010-12-22 Thread Rayne
) space (int 32)] (loop [i (int 0), c (int 0)] (if ( i len) (recur (inc i) (if (== (.codePointAt s i) space) c (unchecked-inc c))) c On Dec 22, 11:52 am, Rayne disciplera...@gmail.com wrote: I have a piece of code, and I'd

Re: Let's see how fast we can make this

2010-12-22 Thread Rayne
))) c On Dec 22, 12:19 pm, Rayne disciplera...@gmail.com wrote: chouser wrote a solution earlier. I and a buddy modified it (a very little) bit and managed to get it pretty blazing: ra...@ubuntu:~$ cake run ~/challenge.clj Chars outputted: 460 Time (in nanoseconds): 5768.677 Here

Re: Let's see how fast we can make this

2010-12-22 Thread Rayne
c))) c Also, any version of Clojure is fine. On Dec 22, 12:29 pm, Rayne disciplera...@gmail.com wrote: I actually pasted the wrong code here: (defn count-num-chars [^String s]   (let [len (.length s)         space (int 32)]     (loop [i (int 0), c (int 0)]       (if ( i len

Re: Let's see how fast we can make this

2010-12-22 Thread Rayne
On my machine, your reduce example (I actually wrote that myself as my first try) runs marginally slower than my loop example. I don't know why you're getting such weird numbers. Your areduce example is worst of all at 74072 on my machine. On Dec 22, 12:39 pm, David Powell djpow...@djpowell.net

Re: Let's see how fast we can make this

2010-12-22 Thread Rayne
4366.293 On Dec 22, 1:43 pm, David Nolen dnolen.li...@gmail.com wrote: On Wed, Dec 22, 2010 at 12:52 PM, Rayne disciplera...@gmail.com wrote: Running it gives me around 137343.295 nanoseconds. I've seen some Java algorithms that could run at just under 3000 nanoseconds. What do the Java

Re: Apache ws-xmlrpc

2010-12-06 Thread Rayne
Clojure's Java interop is extremely impressive and straightforward -- to someone who is somewhat familiar with Java. I don't know Java, but I've learned to work with it pretty well just by using Clojure. When I started out, it was extremely difficult, because I couldn't read javadocs and didn't

Re: more idiomatic clojure

2010-12-03 Thread Rayne
Here is what I came up with. (let [d [#{#{1 2} #{3 4}} #{#{5 6} #{7 8}}]] (reduce (fn [mp nd] (apply merge (for [nd-pair nd face nd-pair] (update-in mp [face] #(conj % nd) {} d)) On Dec 3, 3:42 am, Sunil S Nandihalli sunil.nandiha...@gmail.com wrote: Hello everybody,  

Re: Autodoc dependencies broken?

2010-11-27 Thread Rayne
If it's helpful, I have a snapshot of autodoc 0.8.0 on clojars that I'm using in cake-autodoc: http://clojars.org/org.clojars.rayne/autodoc On Nov 26, 9:21 pm, James Reeves jree...@weavejester.com wrote: I've investigated this a little further, and it looks like I was misinterpreting the

Re: lein compile for clj-time problem..

2010-11-25 Thread Rayne
If you're using leiningen, you can create a new project with 'lein new'. In that project, you'll find a file called 'project.clj'. Open that file, and under :dependencies, add this to the vector: [clj-time 0.2.0-SNAPSHOT] Save the file and then run 'lein deps'. After that, running lein repl/

Tryclojure - A Call To Action

2010-11-04 Thread Rayne
http://blog.acidrayne.net/?p=25 I wrote this blog post in the hopes that I can motivate people to contribute to tryclojure. http://try-clojure.org is a relatively important website that is unfortunately subpar. I hope that with the community's help, we can turn it into something spectacular. --

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
if the site would focus more on examples. On Nov 4, 5:49 pm, Rayne disciplera...@gmail.com wrote: http://blog.acidrayne.net/?p=25 I wrote this blog post in the hopes that I can motivate people to contribute to tryclojure.http://try-clojure.orgisa relatively important website

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
, these are the customizations you made to jquery-console that I will need to watch out for:      https://github.com/Raynes/tryclojure/commits/master/resources/public/... On Thu, Nov 4, 2010 at 5:49 PM, Rayne disciplera...@gmail.com wrote: http://blog.acidrayne.net/?p=25 I wrote this blog

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
(after the upgrade). However, if we start making changes like this, it might be a good idea to fork the jquery- console repository for our version. On Nov 4, 8:03 pm, Ken Wesson kwess...@gmail.com wrote: On Thu, Nov 4, 2010 at 8:58 PM, Rayne disciplera...@gmail.com wrote: That would be great. Any

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
I'd like to remind you guys that if you plan to work on something, please create an issue for it on Github and let me know, so that I can assign your name to it with a tag and we can avoid duplicating work. -- You received this message because you are subscribed to the Google Groups Clojure

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
or so.  Could be a good dogfooding example in itself. -Pete - I wouldn't be opposed to a try[ruby|haskell]ish design. The designs are very pretty. If anybody wants to go that route, I'd love to see the results. : On Nov 4, 9:43 pm, Vilson Vieira vil...@void.cc wrote: 2010/11/4 Rayne disciplera

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
Not to discourage discussion here, but in case anybody missed it in the blog post, we have a google group now if anybody wants to discuss what they're doing, considering doing, or any ideas. http://groups.google.com/group/tryclojure -- You received this message because you are subscribed to the

Re: ANN: Clojure Cookbook

2010-09-28 Thread Rayne
Indeed. Similar functionality will be implemented in cake very soon. On Sep 27, 8:54 pm, Scott Jaderholm jaderh...@gmail.com wrote: Daniel, If you install lein-search (http://clojars.org/lein-searchorhttp://github.com/Licenser/lein-search) you can do searches like that. lein search mail

Requesting my assembla membership bumped

2010-09-28 Thread Rayne
Following the excellent instructions here: http://clojure.org/patches My assembla login is AnthonySimpson. :) -- 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

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-11 Thread Rayne
As it turns out, this wasn't a memory leak at all. I decided to see if I could max sexpbot's memory out by reloading. I got it to rise around 20-30 megs and then it stabilized and eventually jumped down 10 megs and didn't rise again (gave up 10 reloads later). I don't know how this stuff works,

Re: A Clojure Scholarship: Let's send Raynes to the Conj!

2010-09-10 Thread Rayne
, at 2:55 PM, Alan wrote: Did we really get this done in an hour? I haven't been part of the community for long, but Rayne has been helpful to me already on #clojure so I was going to donate a bit. Did I already miss my chance? On Sep 10, 10:39 am, Chas Emerick cemer...@snowtide.com wrote

Re: A Clojure Scholarship: Let's send Raynes to the Conj!

2010-09-10 Thread Rayne
Just told that the site went down: not sure why, but I'll work on it later. Sorry. 3 On Sep 10, 2:21 pm, Rayne disciplera...@gmail.com wrote: I wrote a brief thank you post on my blog (actually the first post on this new blog. :)http://blog.acidrayne.net/thank-you-for-sending-me-to-the-conj

Re: A Clojure Scholarship: Let's send Raynes to the Conj!

2010-09-10 Thread Rayne
http://blog.acidrayne.net/?p=4 I threw up a wordpress site and posted this there. Maybe it'll last through a couple requests. :p On Sep 10, 2:57 pm, Rayne disciplera...@gmail.com wrote: Just told that the site went down: not sure why, but I'll work on it later. Sorry. 3 On Sep 10, 2:21 pm

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-04 Thread Rayne
interested to see what you get out of this. Like I said, this stuff is greek to me. http://acidrayne.net/files/snapshots.tar.gz -Rayne On Sep 3, 2:04 pm, Chouser chou...@gmail.com wrote: On Fri, Sep 3, 2010 at 6:05 AM, Rayne disciplera...@gmail.com wrote: Indeed, that I did. I ran it through

Re: clojure-conj registration is now open!

2010-09-04 Thread Rayne
Unfortunately, I'll not be able to attend. The price of admission + the price of gas = too much green for my poor soul to handle. -- 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

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-04 Thread Rayne
before require. -S On Sep 2, 7:47 pm, Rayne disciplera...@gmail.com wrote: I've got a curious little bit of a memory leak of sorts that I'm trying to narrow down. I have an application (betcha can guess what it is if you know me from IRC :) that, in order to reload plugins, requires

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-03 Thread Rayne
some implicit weirdness with reload. On Sep 2, 8:29 pm, Chouser chou...@gmail.com wrote: On Thu, Sep 2, 2010 at 7:47 PM, Rayne disciplera...@gmail.com wrote: I've got a curious little bit of a memory leak of sorts that I'm trying to narrow down. I have an application (betcha can guess what

Does 'require' with the :reload option have a tendency to build up memory?

2010-09-02 Thread Rayne
I've got a curious little bit of a memory leak of sorts that I'm trying to narrow down. I have an application (betcha can guess what it is if you know me from IRC :) that, in order to reload plugins, requires each of them with the :reload option whenever you ask them to be reloaded. Each of

Re: API for ClojureDocs.org

2010-09-02 Thread Rayne
Awesome! It doesn't have to be much. Searching for examples and docs is the most important thing, obviously. I'd request that if you're going to have any single format, JSON would make me the happiest. Clojure data structures would be cool, but that's kind of limited to Clojure. My vote is on

Re: Clojure 1.2 Release

2010-08-19 Thread Rayne
Congratulations! Thanks to everybody who worked on this masterpiece. Best. Language. Ever. On Aug 19, 10:25 am, Rich Hickey richhic...@gmail.com wrote: I'm pleased to announce today the release of Clojure 1.2. http://clojure.org/downloads For maven/leiningen users, your settings to get the

Re: What is the reason Lisp code is not written with closing parenthesis on new lines?

2010-08-18 Thread Rayne
It isn't helpful at all to me. My eyes bleed when I see code written like that. It may be helpful to some people, but I don't see the point when I have an editor that can match parens for me without any real work on my part. The parens aren't something I feel I need to maintain, because between

Re: async http client in clojure

2010-08-17 Thread Rayne
Rather than just say they all suck, why not speak to the authors or submit issues/bug reports and explain why they suck. There is actually a clj-apache-http library that wraps Apache HTTP. On Aug 16, 7:36 pm, zahardzhan zahardz...@gmail.com wrote: I try to use 4 http clients for Clojure. They

clojure-contrib 1.2.0-master-SNAPSHOT is still in the maven metadata on build.clojure.org/snapshots

2010-07-20 Thread Rayne
For some reason http://build.clojure.org/snapshots/org/clojure/clojure-contrib/maven-metadata.xml includes 1.2.0-master-SNAPSHOT. This version doesn't exist anymore, so if you try to do an open-ended version range on contrib, it blows up in your face. -- You received this message because you

Re: Haskell?

2010-07-19 Thread Rayne
Because monads make me cry, and I like the JVM. On Jul 19, 6:34 pm, Jared tri...@gmail.com wrote: I am curious; for the people with Haskell experience why did you decide to use Clojure? I am asking this because Haskell and Clojure seem to solve similar types of problems. When would you want to

Re: : Google Chrome extension for TryClojure (try-clojure.org)

2010-06-03 Thread Rayne
TryClojure is powered by jquery-console, which also powers TryHaskell. jquery-console doesn't support paste functionality. While I imagine I could somehow hook pasting (and might end up doing so), I have to agree with Chris and the guys at TryRuby about pasting: copy/paste is generally bad for

Re: : Google Chrome extension for TryClojure (try-clojure.org)

2010-06-03 Thread Rayne
Indeed. When I first started tryclojure, the idea wasn't really for it to be much of a tutorial sort of thing as it was to just be a REPL-in-the- browser sort of thing for general usage when you didn't have access to an REPL. Eventually the tutorial got added, and I've been stuck between

Re: : Google Chrome extension for TryClojure (try-clojure.org)

2010-06-01 Thread Rayne
This is freakin' amazin!!! Thank you so much. With your permission, I'd love to link to this extension on the front page. This is really great. :) On May 31, 5:04 am, sergey-miryanov sergey.mirya...@gmail.com wrote: Hi all,  I made a little extension for google chrome. It allows to start try-

Re: ANN: try clojure

2010-05-18 Thread Rayne
17, 11:09 am, Rayne disciplera...@gmail.com wrote: Thanks for reporting that. I'll fix that in the next version. As soon as I finish at least a few pages of the tutorial, I'll have Heinz deploy it on his server. On May 17, 7:51 am, Daniel Werner daniel.d.wer...@googlemail.com wrote

Re: ANN: try clojure

2010-05-16 Thread Rayne
Pretty enough for you now, David? You can thank Lau Jensen for tons of help making it pretty. Since I didn't know Heinz had already decided to throw my stuff out to the world, I'll go ahead and point out my plans now, since it still isn't finished. Right now, I'm working on making it a bit of a

Re: Restricted eval

2010-05-06 Thread Rayne
Disabling it is definitely unnecessary. As you said before, we go as far as replacing the '.' special form with our own special safe dot that makes Java interop safe. As a side note, clojurebot doesn't actually use clj-sandbox (yet, hint hiredman, hint), but sexpbot does. _ato hasn't broken

Re: Choosing a Clojure build tool

2010-03-26 Thread Rayne
I'll have to agree with Brain here. As of now, all I need is Leiningen. It does what I want. Lein is a new project, and I'm fairly certain that it will be much more useful in the future. I don't think I've ever seen a language in which part of the community shunned build tools written in the

Re: clj-sandbox

2010-03-19 Thread Rayne
I'm ecstatic about this. I've been writing a Clojure IRC bot over the last week or so, and this will really help me get sandboxed Clojure evaluation working. Thanks. On Mar 15, 5:22 am, Heinz Nikolaus Gies he...@licenser.net wrote: My brain is a sive, I forgot the github link

Re: Many foolish questions

2010-01-15 Thread Rayne
Ignore this. ;) deftype and reify and all of that good stuff are now in the Clojure master branch. Rich pulled new into master a few days ago. On Jan 15, 4:09 am, Michael Wood esiot...@gmail.com wrote: 2010/1/15 Simon Brooke still...@googlemail.com: OK, I'm trying to get seriously stuck

I'm running a poll to see what most Clojure users use for Clojure development.

2009-10-31 Thread Rayne
Obviously Emacs is, and will likely continue to be in the lead. However, it will be very interesting to see how many people vote for the other choices. If you want to vote, the poll is located here. I'll post the outcome on my blog in about a month and probably link it on the Clojure reddit.

Re: Newcomer's question about Clojure's compatibility with common lisp

2009-10-30 Thread Rayne
No, I didn't. On Oct 30, 8:28 am, Tassilo Horn tass...@member.fsf.org wrote: Daniel Simms daniel.si...@gmail.com writes: On Thu, Oct 29, 2009 at 4:34 PM, Rayne disciplera...@gmail.com wrote: but I would highly recommend that you just pull it from the github repository. Especially

Re: Newcomer's question about Clojure's compatibility with common lisp

2009-10-29 Thread Rayne
You can't use Clojure to run Common Lisp programs on the JVM. Clojure is it's own Lisp, and has nothing to do with Common Lisp. There are some implementations of Common Lisp on the JVM, the most popular of which I believe is ABCL. I believe there are some experimental Ubuntu packages available,

Re: How about write clojure code like python mode?

2009-08-25 Thread Rayne
It might sound good to someone new to Clojure, and Lisp as a whole, but you could ask almost any experienced Lisper, and he'll gladly tell you that he believes the parentheses only serve to make the code more readable. It looks weird coming from another language, but once you've used the

Re: Newbish question. Does anyone have any example code for playing a wav sound file?

2009-07-28 Thread Rayne
I appreciate all the help guys! You've given me lots of examples to ponder. :) Thank you. --~--~-~--~~~---~--~~ 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

Newbish question. Does anyone have any example code for playing a wav sound file?

2009-07-27 Thread Rayne
I've googled around, and found several ways to do this in Java, but I've not been successful in translating the less-complex examples. I'm wondering, how would an experienced Clojurian go about doing this in Clojure? All I'm trying to do is play a simple .wav sound file once. I'll appreciate

Re: Clojure emacs formatting of letfn

2009-07-15 Thread Rayne
It seems that if you put the argument list on the /next/ line, indentation is correct. I can understand how this might not be your desired style, but if you're desperate and don't want to correct indentation yourself it will do. (defn tfunc [] (letfn [(function1 [] (println test))

Re: Compilation troubles...

2009-07-13 Thread Rayne
I suggest writing a short ant build file to automate building your project, that way you don't have to type all that stuff! I wrote a little build.xml file for a project I'm working on. You should be able to extend it to fit your project. I also suggest looking at Clojure and Clojure-contrib's

Re: Compilation troubles...

2009-07-13 Thread Rayne
Hrm, I've never found it all that hard to type ant when I want my code compiled. :p I will admit, when I first used ant, I was scared to death because of stuff I had heard about it. I actually had fun using it. On Jul 13, 2:11 pm, Morgan Allen alfred.morgan.al...@gmail.com wrote: OK, cool.

Re: Questions / guidelines for adopting Clojure

2009-07-08 Thread Rayne
On Jul 7, 7:08 am, Roman Roelofsen roman.roelof...@googlemail.com wrote: Hi all! I've been playing around with Clojure in the last couple of days. Very interesting! However, I have never used a non-OO, lispy, pure functional language before and several questions popped up while snip

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-23 Thread Rayne
I vote Corona. --~--~-~--~~~---~--~~ 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: Clojure 1.0

2009-05-04 Thread Rayne
Congratulations Rich! I'm happy to be a part of the Clojure community. On May 4, 7:58 am, Rich Hickey richhic...@gmail.com wrote: After a sustained period of API stability and minimal bugs reports, I'm happy to announce the release of Clojure 1.0!

Re: Clojure on Wikipedia

2009-05-04 Thread Rayne
I second this notion. On May 4, 9:21 am, Mibu mibu.cloj...@gmail.com wrote: Congratulations Rich and everyone for 1.0! Clojure really is remarkable, and people start to notice. Today, when people want to know something new they first go to Wikipedia before they even visit the homepage.

Re: clojure-contrib build error

2009-04-30 Thread Rayne
It's not really all that hard. They make it insanely easy to build. However, Clojure is still in the new stage. I'm pretty sure that soon enough we are going to need a new way to manage libraries instead of Clojure-contrib. On Apr 30, 5:08 am, Hubert Iwaniuk neo...@kungfoo.pl wrote: Hi All,

Re: Book for Programming Clojure

2009-04-30 Thread Rayne
http://ociweb.com/jnb/jnbMar2009.html On Apr 30, 4:49 am, anderspe anders.u.pers...@gmail.com wrote: First the Programming Clojure by   Stuart Halloway was sad to come April 2009, now i read Juni, so the loong wait have been longer. i know there is a PDF version, but i like to have a

Re: Git with Google Code

2009-04-30 Thread Rayne
)) On Apr 28, 1:36 pm, Rayne disciplera...@gmail.com wrote: Git still sucks on windows :\ On Apr 28, 11:04 am, Stuart Sierra the.stuart.sie...@gmail.com wrote: FYI, for those interested in using Git for Clojure sources, here's Google's advice on how to use Git with Google Code

Re: Git with Google Code

2009-04-28 Thread Rayne
Git still sucks on windows :\ On Apr 28, 11:04 am, Stuart Sierra the.stuart.sie...@gmail.com wrote: FYI, for those interested in using Git for Clojure sources, here's Google's advice on how to use Git with Google Code: http://google-opensource.blogspot.com/2008/05/develop-with-git-on-goo...

Re: On Stuart's Book

2009-04-19 Thread Rayne
Oh, I apologize. I didn't realize that Rich wrote that for Stu's book. I paid more attention to the insides of the book than the foreward :p. On Apr 19, 1:44 am, George Jahad andr...@blackbirdsystems.net wrote: On Apr 18, 3:38 pm, Rayne disciplera...@gmail.com wrote: So you want him to write

Re: On Stuart's Book

2009-04-18 Thread Rayne
So you want him to write something that Rich hasn't said on his website to market his book? :\ If not you're going to clarify a bit. I wish Stuart would have open sourced the book, like Real World Haskell did. Would have done all kinds of good for the language. But each to his own and Stuart

Re: Is Clojure production ready?

2009-04-16 Thread Rayne
The risk of breaking changes gets smaller all the time. There is always a small chance that something might need to be changed that would break your code. It's certainly production ready. It's a full featured language for sure. Personally I would use it, but at the moment the risk of breaking

Re: Has anyone on this group ever tried Forth?

2009-04-10 Thread Rayne
Factor is a positively amazing language that I've checked out in the past. It has virtually no step-by-step tutorial-like information to teach you the language so you are forced to read source code and raw documentation. While it's documented thoroughly I can't bring myself to try to learn it to

Re: Has anyone on this group ever tried Forth?

2009-04-10 Thread Rayne
It has libraries for freakin' everything. On Apr 10, 1:47 pm, CuppoJava patrickli_2...@hotmail.com wrote: Factor sounds very interesting. But I'm concerned about Slava's decision to run it off his own VM and write his own set of standard libraries. Have you guys ever run into any problems

Re: Full Clojure, Right Now! (tm)

2009-04-02 Thread Rayne
Every one of those IDE's work with adding stuff like Clojure-contrib to the classpath. In La Clojure, it's as simple as going to File - Project Structure - Libraries - Attach Classes and finding the correct directory of Clojure-contrib. In Enclojure, it's as simple as right clicking Libraries in

Re: Find the function you need

2009-04-02 Thread Rayne
I already have this function. It's called channel #Clojure on freenode :p. All I got to do is wave my magic wand at hiredman and CLABANGO!. On Apr 1, 8:17 pm, Mitch mitchell.kot...@gmail.com wrote: While still learning clojure, I often times need a function and am not sure if it already exists

Re: Java interoperability and Clojure

2009-04-02 Thread Rayne
As far as I know, there is no limit. On Apr 2, 11:22 am, Geoff Wozniak geoff.wozn...@gmail.com wrote: What are the limitations of Clojure and Java interoperability? Are they clearly stated somewhere? I have been experimenting with using Clojure to test some existing Java code (being able to

Re: - vs. comp

2009-04-01 Thread Rayne
comp seems more appropriate here. On Mar 31, 11:52 pm, kkw kevin.k@gmail.com wrote: Hi folks,     I have some code where I wanted to: - take a list of stuff (which includes another list inside) - use 'seq-utils/flatten' to flatten the list - use 'interpose' to add comma-delimiting

Re: Scala vs Clojure

2009-03-31 Thread Rayne
Unless they slowed down, the pace in which Enclojure was improving would put me dead on. I personally use IntelliJ IDEA. But who says I paid for it? On Mar 31, 5:45 pm, Antony Blakey antony.bla...@gmail.com wrote: On 28/03/2009, at 5:21 PM, Rayne wrote: I'd say Enclojure is close

Re: Does anyone have a simple example of making a JPopupMenu in Clojure?

2009-03-30 Thread Rayne
but if it's /that/ bad practice I'll put an end to it. On Mar 30, 2:18 am, Timothy Pratley timothyprat...@gmail.com wrote: I made you one:http://groups.google.com/group/clojure/web/popupmenu.clj On Mar 30, 1:01 pm, Rayne disciplera...@gmail.com wrote: I'm one of the ones who /didn't/ come from

Re: Does anyone have a simple example of making a JPopupMenu in Clojure?

2009-03-30 Thread Rayne
a lot for the help, I appreciate it! On Mar 30, 6:55 am, Timothy Pratley timothyprat...@gmail.com wrote: Hi Rayne, As I see it there are three reasons why using AbstractAction is nice: [a] they can be (re)used for buttons/toolbars/menus (including icon and tooltip). [b] they can be disabled

Re: Request for improved error reporting

2009-03-29 Thread Rayne
The long list of stuff you get is called a Stack Trace. It will save your life someday. --~--~-~--~~~---~--~~ 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 To

Does anyone have a simple example of making a JPopupMenu in Clojure?

2009-03-29 Thread Rayne
I'm one of the ones who /didn't/ come from Java to Clojure. I can only get myself so far looking at Java examples. I need to make a context menu that will pop up when I right click inside of a JEditorPane. I'd appreciate it if anyone could whip me up a simple example of doing something like that

Re: file io

2009-03-25 Thread Rayne
I wrote a simple, small configuration file parser and reader that uses the duck-streams library. You might find some of the examples interesting. http://paste.pocoo.org/show/109498/ On Mar 24, 11:20 am, e evier...@gmail.com wrote: is there something as simple as this in clojure? whole python

Re: What makes Clojure an easier Lisp?

2009-03-23 Thread Rayne
Clojure is not a pure functional programming language. It allows side- effects everywhere. On Mar 22, 3:26 pm, Joshua Fox joshuat...@gmail.com wrote: I dove into Lisp and Scheme several times in the past, but only with Clojure did Lisp  really catch? 1. Clojure abandons the 1950's cruft, with

Re: March 20th 2009 Rich Hickey Appreciation Day!

2009-03-21 Thread Rayne
You absolutely deserve it. On Mar 21, 8:02 pm, Rich Hickey richhic...@gmail.com wrote: Appreciation appreciated! Thanks all, Rich --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this

March 20th 2009 Rich Hickey Appreciation Day!

2009-03-20 Thread Rayne
in Clojure and I will be here watching it evolve with you! If you would like to thank Rich Hickey for all he has done for us, you can post in this thread, or tell him yourself in the #Clojure IRC channel. :) March 20th 2009 Rich Hickey Appreciation Day -Rayne

Clojure desktop wallpaper request/discussion

2009-03-01 Thread Rayne
guess would be to enlarge the Clojure icon and go from there. I really don't care how it looks, I just suck at image editing and would love to have a Clojure wallpaper. Anyone got any ideas? -Rayne --~--~-~--~~~---~--~~ You received this message because you

Re: new Clojure article

2009-02-28 Thread Rayne
Thank you. Now I have something to link friends too when they ask about Clojure. Mark Volkmann wrote: I've written an article on Clojure. See http://ociweb.com/jnb/jnbMar2009.html. The goal of this article is to provide a fairly comprehensive introduction to the Clojure programming language.

Re: 6 + 7 = 13

2009-02-24 Thread Rayne
Let me guess, your first time trying acid? Marko wrote: Hi, just reporting an error on the following page: http://clojure.org/dynamic 6 + 7 should really be 13, and not 42. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: alternate syntax

2009-02-23 Thread Rayne
On Feb 23, 12:01 pm, Laurent PETIT laurent.pe...@gmail.com wrote: I know also of gorilla (vim plugin), and certainly emacs (not sure about enclojure, though) that offer parens colorizing (also named rainbow parens). Enclojure doesn't, yet at least.

Re: Road to Clojure on c.l.l

2009-02-22 Thread Rayne
The reason I picked Clojure is because in order to distribute software you need people to download and install the CL you pick. That's like asking a doorknob to turn for you without touching it. --~--~-~--~~~---~--~~ You received this message because you are

Re: simple I/O issue

2009-02-21 Thread Rayne
It's due to a type hint Rich put in a couple revisions ago to reduce reflection in clojure.core. I've filed an issue for it, it will be worked out in time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

Re: clojure.core.read-line broken - can we please fix it?

2009-02-20 Thread Rayne
I filed it as an issue a few days ago, until then I wrote my own read- line from the old read-line. On Feb 20, 4:32 pm, Stephen C. Gilardi squee...@mac.com wrote: On Feb 20, 2009, at 12:58 PM, Perry Trolard wrote: Hope I didn't imply by the above that I was suggesting a name change. I

Re: how to learn clojure ?

2009-02-19 Thread Rayne
Telling someone to read a book that isn't even focused on the language he's trying to learn isn't a great way to help them. Tell him to read Programming Clojure or something, anything but Common Lisp and Scheme books, he isn't learning those languages he's learning Clojure. There is enough

Re: Clojure on CLR/DLR

2009-02-17 Thread Rayne
Haha. I just noticed my typo in the previous post. Disregard that. :| On Feb 17, 3:22 am, Laurent PETIT laurent.pe...@gmail.com wrote: Clonure (n for dot *n*et), as in : Clonure, a dot net clone of Clojure (ok, sorry ;-) 2009/2/17 Lucio Fulci luciofulc...@gmail.com I can see a minor

Re: Clojure Off-topic IRC channel

2009-02-17 Thread Rayne
I have now acquired 4 regulars who agree with me! We need more! Join people join! :p --~--~-~--~~~---~--~~ 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 To

Re: Clojure Off-topic IRC channel

2009-02-17 Thread Rayne
, 2009, at 8:23 AM, Rayne wrote: A week or 2 ago, Lau_Of_DK asked me very nicely to stop talking so   off- topic in #Clojure. I mentioned that we should have an Off-topic channel for people who would just like to talk, because just about every other language's channel on freenode has

Re: Clojure on CLR/DLR

2009-02-16 Thread Rayne
Anything buy IronClojure. On Feb 16, 7:30 pm, Rich Hickey richhic...@gmail.com wrote: On Feb 16, 2009, at 7:17 PM, dmiller wrote: On Feb 16, 5:33 pm, Chouser chou...@gmail.com wrote: On Mon, Feb 16, 2009 at 5:43 PM, dmiller dmiller2...@gmail.com   wrote: I don't know if you've

Re: Is it possible to have Eclipse build an executable .jar with Clojure-dev

2009-02-10 Thread Rayne
a little ant file in the root of your java project would solve the problem. I could consider adding such a file (if written in a generic enough way) to every newly created clojure project. This could be interesting. HTH, -- Laurent 2009/2/10 Rayne disciplera...@gmail.com I'm

Re: Logical And

2009-02-10 Thread Rayne
I literally asked this same question yesterday in #Clojure. The answer is and user/ (doc and) - clojure.core/and ([] [x] [x rest]) Macro Evaluates exprs one at a time, from left to right. If a form returns logical false (nil or false), and returns that value and

  1   2   >