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 wrote: > Hi, > > For the last few weeks, I

Re: Clojure Conj 2011 Call For Speakers Now Open

2011-04-05 Thread Rayne
I'm in the same boat as Sam. Only one thing in particular that I'd care to talk about. I understand the desire for variety, but I'm not sure the whole multiple abstract requirement thing makes much sense. You're getting a variety of talks from the people who have two things to talk about but it cou

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 bet

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 http://c

Re: Hosted REPL, suggestions?

2011-02-04 Thread Rayne
Exciting. Keep me updated. On Feb 4, 1:39 pm, Mark Fredrickson 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 text > editor, which should

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 somet

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 wrote: > On Jan 20, 2011, at 9:34 AM, Laurent PETIT wrote: > > > 2011/1/20 Aaron Bedra > > > Clojure/core > >http://clojure.comcl > > >  the url of the website below your "title" does not work. > > http://cl

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, d

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 c

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

2010-12-22 Thread Rayne
en. It runs around 4366.293 On Dec 22, 1:43 pm, David Nolen wrote: > On Wed, Dec 22, 2010 at 12:52 PM, Rayne 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 im

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 wrote: > Hi, > > > I ha

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

2010-12-22 Thread Rayne
inc c))) c Also, any version of Clojure is fine. On Dec 22, 12:29 pm, Rayne 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 (&

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

2010-12-22 Thread Rayne
c c))) c On Dec 22, 12:19 pm, Rayne 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 >

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 wrote: > I have a piece of code, and I'd like to see

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 s

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 und

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 wrote: > Hello everybody, >  I would like to know as

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 wrote: > I've investigated this a little further, and it looks like I was > misinterpreting the dependency error messages. >

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/ swa

ANN: Clojail -- A new sandboxing library for Clojure

2010-11-11 Thread Rayne
Not totally satisfied with clj-sandbox, I've took the liberty of writing a new sandboxing library. It takes ideas from clj-sandbox and tries to implement them in a cleaner and saner way. My focuses for this project are on ease of use, simplicity, and documentation. The github page for this project

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 G

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
past week 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 wrote: > 2010/1

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" gro

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
ry-console (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 wrote: > On Thu, Nov 4, 2010 at 8:58 PM, Rayne wrote: > > That would be great. Any sort of problems w

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
to take on. > > For my own reference, 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 wrote: > &g

Re: Tryclojure - A Call To Action

2010-11-04 Thread Rayne
> the site would focus more on examples. > > On Nov 4, 5:49 pm, Rayne 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 &

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: Requesting my assembla membership bumped

2010-09-28 Thread Rayne
Oops! Damn Chrome and it's URL autocomplete! This was meant to be on clojure-dev. I'll cross-post. Sorry for the spam. :\ On Sep 28, 6:16 pm, Rayne wrote: > Following the excellent instructions here:http://clojure.org/patches > > My assembla login is AnthonySimpson. :) --

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 membe

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 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 > > If you pu

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, but

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 wrote: > Just told that the site went down: not sure why, but I'll work on it > later. Sorry. <3 > > On Sep

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

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

2010-09-10 Thread Rayne
all! > > - Chas > > On Sep 10, 2010, 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

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

2010-09-04 Thread Rayne
uot;remove-ns" > before "require". > > -S > > On Sep 2, 7:47 pm, Rayne 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 w

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 p

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

2010-09-04 Thread Rayne
. I'm very 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 wrote: > On Fri, Sep 3, 2010 at 6:05 AM, Rayne wrote: > > Indeed, that I did. I ran it through jvisu

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

2010-09-03 Thread Rayne
that it may have possibly been some implicit weirdness with reload. On Sep 2, 8:29 pm, Chouser wrote: > On Thu, Sep 2, 2010 at 7:47 PM, Rayne wrote: > > I've got a curious little bit of a memory leak of sorts that I'm > > trying to narrow down. > > > I have

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 JSON

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 thes

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 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 beta from > build

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 wrote: > I try to use 4 http clients for Clojure. They are all suck. Use > At

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 are

Re: Haskell?

2010-07-19 Thread Rayne
Because monads make me cry, and I like the JVM. On Jul 19, 6:34 pm, Jared 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 use > Haskell

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 orienting

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 lear

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 wrote: > Hi all, > >  I made a little extension for google chrome. It allows to start try- > clojure REPL via clic

Re: ANN: try clojure

2010-05-18 Thread Rayne
Enjoy. On May 17, 11:09 am, Rayne 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 > wrote: > > &g

Re: ANN: try clojure

2010-05-17 Thread Rayne
ly for newcomers. Thanks Rayne/Heinz/etc.! > > Already found a small bug: HTML entities are apparently quoted twice > and appear in the output. > > Clojure> "blah" > "blah" > Clojure> filter > #<core$filter__5084 clojure.core$filter__5...@1ef553d&

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 C

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 sexpbo

Re: Choosing a Clojure build tool

2010-03-25 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 langu

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 wrote: > My brain is a sive, I forgot the github link > o.Ohttp://github.com/Licenser/clj-

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 wrote: > 2010/1/15 Simon Brooke : > > > > > OK, I'm trying to get seriously stuck in, and the first thing I'm > > trying

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. htt

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 wrote: > Daniel Simms writes: > > On Thu, Oct 29, 2009 at 4:34 PM, Rayne wrote: > >> but I would highly recommend that you just pull it from the github > >> repository. > > > Especially if you're go

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, b

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 parenthes

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 any

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
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 wrote: > > OK, cool. That is another benefit of A

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 own

Re: Questions / guidelines for adopting Clojure

2009-07-08 Thread Rayne
On Jul 7, 7:08 am, Roman Roelofsen 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 Clojure is /not/ a pure funct

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 on Wikipedia

2009-05-04 Thread Rayne
I second this notion. On May 4, 9:21 am, Mibu 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. There will be a lot

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 wrote: > After a sustained period of API stability and minimal bugs reports, > I'm happy to announce the release of Clojure 1.0! > > http://clojure.googlecode.com/files/clojure_1.0.0.zip > > Num

Re: Git with Google Code

2009-04-30 Thread Rayne
%s sucks on windows!" x)) > > On Apr 28, 1:36 pm, Rayne wrote: > > > Git still sucks on windows :\ > > > On Apr 28, 11:04 am, Stuart Sierra > > wrote: > > > > FYI, for those interested in using Git for Clojure sources, here's > > > Goo

Re: Book for Programming Clojure

2009-04-30 Thread Rayne
http://ociweb.com/jnb/jnbMar2009.html On Apr 30, 4:49 am, anderspe 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 > book. > > I am new to

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 wrote: > Hi All, > > I'm newcomer t

Re: how do I create a runnable clojure program

2009-04-29 Thread Rayne
Not really, he just needs decent instructions. :p I don't know a line of Java. I figured it out. :) On Apr 29, 9:15 am, Stuart Sierra wrote: > Hi Santanu, > Unfortunately, this is not a well-documented area, but it is > possible.  Here's the high-level view, but don't expect these > instructions

Re: Git with Google Code

2009-04-28 Thread Rayne
Git still sucks on windows :\ On Apr 28, 11:04 am, Stuart Sierra 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... > > -SS --~--~-~

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 wrote: > On Apr 18, 3:38 pm, Rayne wrote: > > > So you want him to write something that R

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 rock

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 chan

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 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 with the lack of > librarie

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 a

Re: Java 6 dependency in clojure-contrib ok?

2009-04-09 Thread Rayne
Our God has spoken. On Apr 8, 7:31 pm, Rich Hickey wrote: > On Apr 8, 7:52 pm, Stuart Halloway wrote: > > > Perry's proposed props functions > > (http://groups.google.com/group/clojure/browse_thread/thread/c8ec751b8... > > ) uses some Java 6 methods. > > > Is it ok for me to add such things to

Re: Every function is a thread in Clojure?

2009-04-04 Thread Rayne
Never be sorry about being curious. On Apr 3, 10:06 am, Berlin Brown wrote: > On Apr 3, 10:09 am, Stuart Halloway wrote: > > > > > No threads: > > > (ancestors (class (fn[]))) > > -> #{java.lang.Runnable java.io.Serializable clojure.lang.AFn > > clojure.lang.Obj java.lang.Object clojure.lang.Fn

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 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 do so makes a conv

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 wrote: > While still learning clojure, I often times need a function and am not > sure if it already exists or where to look for it

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 i

Re: -> vs. comp

2009-04-01 Thread Rayne
comp seems more appropriate here. On Mar 31, 11:52 pm, kkw 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 strings between the

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 wrote: > On 28/03/2009, at 5:21 PM, Rayne wrote: > > > I'd say Enclojure is close to >

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

2009-03-30 Thread Rayne
nks a lot for the help, I appreciate it! On Mar 30, 6:55 am, Timothy Pratley 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 disabl

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

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

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 i

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

Re: Scala vs Clojure

2009-03-27 Thread Rayne
I sure hope this topic doesn't start a flamewar. I've used both languages, with Clojure being used more. Scala is more mature than Clojure, so you really have to put that in perspective when comparing the languages. Scala's IDE support is superior to Clojure's but not for long as all three major

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 wrote: > is there something as simple as this in clojure? > > whole python program: > >  

Re: What makes Clojure an easier Lisp?

2009-03-22 Thread Rayne
Clojure is not a pure functional programming language. It allows side- effects everywhere. On Mar 22, 3:26 pm, Joshua Fox 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 all-caps and ab

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 wrote: > Appreciation appreciated! > > Thanks all, > > Rich --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send ema

March 20th 2009 Rich Hickey Appreciation Day!

2009-03-20 Thread Rayne
hanges, I believe 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 Appr

Clojure desktop wallpaper request/discussion

2009-03-01 Thread Rayne
imself. My 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

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 langua

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 Go

Re: alternate syntax

2009-02-23 Thread Rayne
On Feb 23, 12:01 pm, Laurent PETIT 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. --~--~-~--~~~---~--~~ You receive

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 subscri

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" gro

  1   2   >