Re: Excellent intro to core.logic

2011-07-18 Thread Ambrose Bonnaire-Sergeant
Hi Meikel, Excellent feedback, exactly what I need. See replies inline. On Tue, Jul 19, 2011 at 2:27 PM, Meikel Brandmeyer wrote: > Hi Ambrose, > > I haven't been exposed to logic programming besides the examples David > posted to the list. I found your tutorial very easy to follow and to read

Re: Clojure Books

2011-07-18 Thread Sergey Didenko
Also check this great online introduction (targeting 1.0): http://java.ociweb.com/mark/clojure/article.html -- 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

Re: Excellent intro to core.logic

2011-07-18 Thread Meikel Brandmeyer
Hi Ambrose, I haven't been exposed to logic programming besides the examples David posted to the list. I found your tutorial very easy to follow and to read. I have two minor nit-picks. 1. I understand, that these o, e and some third, I think, suffixes are there historically. And for s

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> But please, please, please DON'T ABANDON THIS PROJECT. I'll do my best to hang on. :) > Thinking~~: > - Maybe we need CLOOJ or something similar for .NET as well. David > Miller's work should be rewarded with a CLOOJ of it's own. > - A webstart version. > - I hope that we don't start to see hun

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Ken Wesson
On Tue, Jul 19, 2011 at 1:33 AM, Arthur Edelstein wrote: > This is a very helpful discussion -- I'm going to think about tabs on > the hammock. Thanks. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
This is a very helpful discussion -- I'm going to think about tabs on the hammock. On Jul 18, 8:06 pm, Ken Wesson wrote: > On Mon, Jul 18, 2011 at 5:14 PM, abp wrote: > > Why is it necessary to press TAB at all? Couldn't auto-indent be the > > default for a line and only manually reindented line

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
You're not discouraging...It's just mailing list 'etiquette' to check if some topic has been discussed before, I guess :) On 19/07/2011, at 3:26 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 10:19 PM, Andreas Kostler > wrote: >> I've posted the source as a suggested extension to: >> https

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Thanks to everyone who downloaded clooj, and thanks especially to those of you who kindly provided feedback! I'm really grateful for your help. Since today's release I've made some bug fixes and improvements to tighten up the handling of projects and files, to address some of the issues people hav

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 10:19 PM, Andreas Kostler wrote: > I've posted the source as a suggested extension to: > https://github.com/pallet/thread-expr > As far as I'm concerned, that's the end of it :) > I'm sorry for reposting this topic...I should have checked the mailing list > history :( No,

Re: converting a string into a set

2011-07-18 Thread Tuba Lambanog
Wow, that some function is just what I'd expect from Clojure, simple, straightforward, elegant. How did I miss it? Thanks all. Tuba On Jul 18, 11:00 pm, David Nolen wrote: > On Tue, Jul 19, 2011 at 12:48 AM, Tuba Lambanog > wrote: > > > Hi, > > I'm clear on what I want ;) (something new to me),

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
I've posted the source as a suggested extension to: https://github.com/pallet/thread-expr As far as I'm concerned, that's the end of it :) I'm sorry for reposting this topic...I should have checked the mailing list history :( Andreas On 19/07/2011, at 3:12 PM, Sean Corfield wrote: > On Mon, Jul

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
I just realised I'm missing quite a few of the replies...including Kens. I've gotta follow the web list more closely. Andreas On 19/07/2011, at 3:12 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 9:57 PM, Andreas Kostler > wrote: >> Hmm...I didn't get Chas' reply...Was that a private respons

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 9:57 PM, Andreas Kostler wrote: > Hmm...I didn't get Chas' reply...Was that a private response? No, it probably just hasn't gotten to everyone yet...? I see it on the web: http://groups.google.com/group/clojure/browse_thread/thread/949abab9c206dc1a -- Sean A Corfield --

Re: Clojure Books

2011-07-18 Thread Tuba Lambanog
Hi, I find that the 'best' instruction book is the one that most closely meets the learner's current mind-set, preparedness (do you find the author making assumptions you know nothing about?), match between the practice problems you'd like to do and what the book provides, etc. Right now I'm learni

Re: Clojure Books

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 8:01 PM, Felix Filozov wrote: > Clojure in Action - http://www.manning.com/rathore/ Targeting Clojure 1.2.0. Nice introduction, good, practical examples. > Programming Clojure - http://pragprog.com/book/shcloj/programming-clojure Aaron Bedra et al are working on a new ed

Re: converting a string into a set

2011-07-18 Thread David Nolen
On Tue, Jul 19, 2011 at 12:48 AM, Tuba Lambanog wrote: > Hi, > I'm clear on what I want ;) (something new to me), but I'm not clear on how > to get there. I'd like to compare str1 and str2, if at least one of the > letters in str1 is in str2. I'm thinking that if I can convert str1 and str2 > to s

Re: converting a string into a set

2011-07-18 Thread Sunil S Nandihalli
(some (set str1) str2) will give you what you want.. Sunil On Tue, Jul 19, 2011 at 10:06 AM, Tuba Lambanog wrote: > (thank-you "Sean A Corfield) > > > On Mon, Jul 18, 2011 at 10:29 PM, Sean Corfield wrote: > >> On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog >> wrote: >> > (set "abc") >> > give

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
Hmm...I didn't get Chas' reply...Was that a private response? I sometimes feel I miss out on certain replies to the group. Cheers Andreas On 19/07/2011, at 2:55 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 7:04 PM, Chas Emerick wrote: >> Just as a general comment: just because any of our

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 7:04 PM, Chas Emerick wrote: > Just as a general comment: just because any of our idiosyncratic functions > and macros aren't accepted for inclusion in Clojure proper does _not_ mean > that they can't find a full and vigorous life in their own libraries. Yeah, sorry, I k

Re: converting a string into a set

2011-07-18 Thread Andreas Kostler
In that case you don't need to convert to a symbol... (set "abc") should be fine... Using set intersection, something like this is probably what you're looking for... (use 'clojure.set) (if (empty? (intersection (set "abc") (set "cde"))) false true)) I'm sure there's other (better) ways though

Re: converting a string into a set

2011-07-18 Thread Tuba Lambanog
Hi, I'm clear on what I want ;) (something new to me), but I'm not clear on how to get there. I'd like to compare str1 and str2, if at least one of the letters in str1 is in str2. I'm thinking that if I can convert str1 and str2 to sets, then I can use the set intersection operation. It probably do

Re: following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Benjamin Esham
Vivek Khurana wrote: > Stuart Halloway wrote: > > > Several people have asked about access to Rich's upcoming talk this > > Wednesday night [1]. In order to make information available for those > > who are not present in NYC, we are planning to do the following: > > Please post the timing along

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
Oh yeah, fair enough. I'm not convinced though. I don't see :? changing as such, as well as I think the syntactical representation below is just as confusing... I'll rest this case :) It's not all that useful anyway. On 19/07/2011, at 2:38 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 6:51

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 6:51 PM, Andreas Kostler wrote: >> (-> "x" >>    (#(str "y" % "z")) >>    (#(str "a" % "b")) >>    println) > Here, the meaning of % changes?!? Not really, each #() is a scope for % as if it read: (-> "x" ((fn [x] (str "y" x "z"))) ((fn [c] (str "a" c "b")) pr

Re: converting a string into a set

2011-07-18 Thread Tuba Lambanog
(thank-you "Sean A Corfield) On Mon, Jul 18, 2011 at 10:29 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog > wrote: > > (set "abc") > > gives me #{\a \b \c}. > > I'm expecting instead: #{a b c} > > (set (map "abc")) > > (set (map str "Tuba Lambanog")) > -- > Sean A Corf

Re: converting a string into a set

2011-07-18 Thread Andreas Kostler
I'm with Benjamin despite my last post... On 19/07/2011, at 2:31 PM, Benjamin Esham wrote: > Tuba Lambanog wrote: > >> Tuba Lambanog wrote: >> >>> Hello, My apologies for this newbie question. I couldn't find a way to >>> convert a string to a set, thus: >>> >>> "abc" => #{a b c} >> >> (set "a

Re: converting a string into a set

2011-07-18 Thread Andreas Kostler
On 19/07/2011, at 2:29 PM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog > wrote: >> (set "abc") >> gives me #{\a \b \c}. >> I'm expecting instead: #{a b c} > > (set (map "abc")) > > (set (map str "Tuba Lambanog")) This will produce #{"a" "b" "c"} I think (set (map

Re: converting a string into a set

2011-07-18 Thread Benjamin Esham
Tuba Lambanog wrote: > Tuba Lambanog wrote: > > > Hello, My apologies for this newbie question. I couldn't find a way to > > convert a string to a set, thus: > > > > "abc" => #{a b c} > > (set "abc") gives me #{\a \b \c}. I'm expecting instead: #{a b c} Hi Tuba, Are you quite sure that #{\a

Re: converting a string into a set

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog wrote: > (set "abc") > gives me #{\a \b \c}. > I'm expecting instead: #{a b c} (set (map "abc")) (set (map str "Tuba Lambanog")) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsin

Re: converting a string into a set

2011-07-18 Thread Tuba Lambanog
Hi, (set "abc") gives me #{\a \b \c}. I'm expecting instead: #{a b c} But thanks, Tuba On Mon, Jul 18, 2011 at 9:50 PM, Tuba Lambanog wrote: > Hello, > My apologies for this newbie question. I couldn't find a way to > convert a string to a set, thus: > > "abc" => #{a b c} > > Thanks. > tuba > > -

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 11:20 PM, Lars Nilsson wrote: > On Mon, Jul 18, 2011 at 10:52 PM, Ken Wesson wrote: >> Eh. The problem seems more likely to be in either Chrome or gmail. And >> that looks like a bit-buckety sort of place anyway, where reports may >> well fall on deaf ears. A forum whose p

Re: converting a string into a set

2011-07-18 Thread Sunil S Nandihalli
(set "abc") will do it... On Tue, Jul 19, 2011 at 9:20 AM, Tuba Lambanog wrote: > Hello, > My apologies for this newbie question. I couldn't find a way to > convert a string to a set, thus: > > "abc" => #{a b c} > > Thanks. > tuba > > -- > You received this message because you are subscribed to t

Re: Excellent intro to core.logic

2011-07-18 Thread Ambrose Bonnaire-Sergeant
(I'm frenchy64) More cool stuff to come, watch this space http://twitter.com/#!/ambrosebs Ambrose On Tue, Jul 19, 2011 at 11:50 AM, Devin Walters wrote: > Thanks David! (And French64 of course) > > -- > Devin Walters > > > On Monday, July 18, 2011 at 10:33 PM, Brent Millare wrote: > > > Nice,

Re: following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Sunil S Nandihalli
awesome!! looking forward to the talk.. like everybody else, I think it will be great to have the time and time-zone info posted.. Sunil. On Mon, Jul 18, 2011 at 9:28 PM, Stuart Halloway wrote: > Several people have asked about access to Rich's upcoming talk this > Wednesday night [1]. In order

converting a string into a set

2011-07-18 Thread Tuba Lambanog
Hello, My apologies for this newbie question. I couldn't find a way to convert a string to a set, thus: "abc" => #{a b c} Thanks. tuba -- 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

Re: Excellent intro to core.logic

2011-07-18 Thread Devin Walters
Thanks David! (And French64 of course) -- Devin Walters On Monday, July 18, 2011 at 10:33 PM, Brent Millare wrote: > Nice, I'll be sure to go through it. > > On Jul 18, 10:56 am, David Nolen http://dnolen.li)...@gmail.com > (http://gmail.com)> wrote: > > I highly recommend checking this out

Re: following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Vivek Khurana
On Mon, Jul 18, 2011 at 9:28 PM, Stuart Halloway wrote: > Several people have asked about access to Rich's upcoming talk this > Wednesday night [1]. In order to make information available for those who > are not present in NYC, we are planning to do the following: Please post the timing along wit

Re: Excellent intro to core.logic

2011-07-18 Thread Brent Millare
Nice, I'll be sure to go through it. On Jul 18, 10:56 am, David Nolen wrote: > I highly recommend checking this out if you're curious about > core.logic,https://github.com/frenchy64/Logic-Starter/wiki > > David -- You received this message because you are subscribed to the Google Groups "Cloju

Re: following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Brent Millare
Please give the time when it is ready. I want to be on IRC when this happens. Chat + livestreaming is always good. On Jul 18, 12:15 pm, Baishampayan Ghose wrote: > Yoohoo!  Thanks a bunch, Stu & co. > > Regards, > BG > > --- > Sent from phone. Please excuse brevity. > On Jul 18, 2011 9:28 PM, "St

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 10:52 PM, Ken Wesson wrote: > Eh. The problem seems more likely to be in either Chrome or gmail. And > that looks like a bit-buckety sort of place anyway, where reports may > well fall on deaf ears. A forum whose posts, and answered-or-not > status, are visible to other use

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 5:14 PM, abp wrote: > Why is it necessary to press TAB at all? Couldn't auto-indent be the > default for a line and only manually reindented lines opt-out until > one opts in again using TAB or something? This is an interesting thought. On the other hand, when lines are me

Re: Clojure Books

2011-07-18 Thread Felix Filozov
Clojure in Action - http://www.manning.com/rathore/ Programming Clojure - http://pragprog.com/book/shcloj/programming-clojure Practical Clojure - http://www.apress.com/9781430272311 Joy of Clojure (not for beginners) - http://joyofclojure.com/ On Mon, Jul 18, 2011 at 1:59 PM, Teena Mathew wrote:

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 10:36 PM, Lars Nilsson wrote: > On Mon, Jul 18, 2011 at 10:21 PM, Ken Wesson wrote: >> If you know of such a place, I am all ears. > > Maybe > http://groups.google.com/support/bin/request.py?contact_type=contact_policy > ? Eh. The problem seems more likely to be in eithe

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread cljneo
I can't thank you enough for this Arthur. But please please don't abandon this project. Clojure hackers have no excuse to lend you a hand since it is written in Clojure. A newbie IDE is what Clojure needs most. Scheme was used as a first language so why shouldn't people be able to start with T

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread abp
Why is it necessary to press TAB at all? Couldn't auto-indent be the default for a line and only manually reindented lines opt-out until one opts in again using TAB or something? On 18 Jul., 22:20, Shantanu Kumar wrote: > > All indentation uses spaces. I guess my fear is that users will find > >

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread cljneo
Arthur, I can't thank you enough. Two great news in a week, that's awesome. I am eagerly awaiting Wednesday. But please, please, please DON'T ABANDON THIS PROJECT. CLJ Hackers, Please lend a hand. You have no excuse; it is written in Clojure. This is what Clojure needs the most! People shouldn't

Clojure Books

2011-07-18 Thread Teena Mathew
Hey! Which are the recommended books for Clojure newbie? Thanks! Teena -- 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: The Last Programming Language

2011-07-18 Thread Steven Tomcavage
I double we'll ever see The Last Programming Language, because we're all hackers and we all have a notion that things could be done better if we just tweaked this or that a bit, and voila, you have a new programming language. On Mon, Jul 18, 2011 at 1:36 PM, TimDaly wrote: > Robert Martin argues

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 10:21 PM, Ken Wesson wrote: > If you know of such a place, I am all ears. Maybe http://groups.google.com/support/bin/request.py?contact_type=contact_policy ? Lars Nilsson -- You received this message because you are subscribed to the Google Groups "Clojure" group. To p

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 10:07 PM, Chas Emerick wrote: > Can we *please* refrain from posting such incredibly off-topic content to the > list?  If one is even tempted to add a [meta] or [OT] to a subject line, just > let it go. If I'd known of *any*where else where I could report this experience

Re: Threading operator generalisation

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 10:04 PM, Chas Emerick wrote: > Just as a general comment: just because any of our idiosyncratic functions > and macros aren't accepted for inclusion in Clojure proper does _not_ mean > that they can't find a full and vigorous life in their own libraries.   > Clojure is r

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Chas Emerick
Can we *please* refrain from posting such incredibly off-topic content to the list? If one is even tempted to add a [meta] or [OT] to a subject line, just let it go. Thanks, - Chas -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this g

Re: Threading operator generalisation

2011-07-18 Thread Chas Emerick
Just as a general comment: just because any of our idiosyncratic functions and macros aren't accepted for inclusion in Clojure proper does _not_ mean that they can't find a full and vigorous life in their own libraries. Clojure is readily extended and improved without adding bits to the languag

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 7:14 PM, Joop Kiefte wrote: > Google is introducing Google+-like feedback buttons now. I don't see anything like that yet in gmail in Chrome ... -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker

Re: Error running Clojure 1.3 in Eclipse

2011-07-18 Thread OGINO Masanori
Hello. > Warning: *print-detail-on-error* not declared dynamic and thus is not > dynamically rebindable, but its name suggests otherwise. Please either > indicate ^:dynamic *print-detail-on-error* or change the name. Since 1.3, the default behavior of vars is non-dynamic/un-rebindable. So, when

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
On 19/07/2011, at 11:47 AM, Sean Corfield wrote: > On Mon, Jul 18, 2011 at 5:41 PM, Andreas Kostler > wrote: >> Ups, I'm not aware of that thread...I just found a more general threading >> operator handy sometimes. >> I do kinda agree that we shouldn't necessarily encourage threading in >> arb

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 5:41 PM, Andreas Kostler wrote: > Ups, I'm not aware of that thread...I just found a more general threading > operator handy sometimes. > I do kinda agree that we shouldn't necessarily encourage threading in > arbitrary positions. > However, I can't quite follow your seco

Re: Threading operator generalisation

2011-07-18 Thread Andreas Kostler
Ups, I'm not aware of that thread...I just found a more general threading operator handy sometimes. I do kinda agree that we shouldn't necessarily encourage threading in arbitrary positions. However, I can't quite follow your second argument. While it does mean two different things, I don't see t

Re: Threading operator generalisation

2011-07-18 Thread Sean Corfield
Requests for a "more general" threading macro are usually met with a link to the thread where Rich says this is not needed and we should not encourage functions that need threading anywhere except the first or last position. I don't have the link handy (sorry). The usual objection centers around t

Re: Error running Clojure 1.3 in Eclipse

2011-07-18 Thread Sean Corfield
The stack trace shows: Caused by: java.lang.UnsupportedOperationException: Cannot recur across try at clojure.lang.Compiler$RecurExpr$Parser.parse(Compiler.java:6045) This looks like an incompatibility between your code (or something you're using) and Clojure 1.3.0. You can't have recur in

Re: Construct map without associng nil values..

2011-07-18 Thread Sean Corfield
On Mon, Jul 18, 2011 at 3:23 PM, Ken Wesson wrote: > On Mon, Jul 18, 2011 at 6:09 PM, Andreas Liljeqvist wrote: >> Thanks, but I still feel that it's a little verbose though. >> Is there some sort of thrush that returns nil if any steps are nil? >> One might do something like this: >> (--> e .get

Threading operator generalisation

2011-07-18 Thread Andreas Kostler
Maybe you might find this useful (defmacro -> ([x] x) ([x form] (if (seq? form) (with-meta (replace {:? x} form) (meta form)) (list form x))) ([x form & more] `(-> (-> ~x ~form) ~@more))) This allows for a more flexible threading

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Anthony Grimes
Check out http://github.com/daveray/seesaw. It might help ease some of that Swing pain. -- 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 - ple

Reflection warning on protected methods

2011-07-18 Thread Dave Ray
Hi, I work on a project that's heavy on the Java interop. I've been working through it trying to eliminate reflection (I'd like to build unsigned applets). Anyway, I haven't been able to eliminate the reflection warning on paintComponent in this example: (set! *warn-on-reflection* true) (proxy [j

Re: [meta] Google Groups/gmail support?

2011-07-18 Thread Joop Kiefte
Google is introducing Google+-like feedback buttons now. 2011/7/18 Ken Wesson > I can no longer find any forum or submission form for reporting > problems to Google. You're a bunch of tech-savvy people using Google > Groups and, probably in many cases, gmail. Do any of you know either: > > 1. Ho

Re: Enlive (HTML templating library) tutorial

2011-07-18 Thread Stefan Ring
On Fri, Jul 15, 2011 at 5:54 PM, Brian Marick wrote: > Enlive is Christophe Grand's templating library for Clojure. Instead of the > usual substitute-into-delimited-text approach, it works by editing node trees > selected by CSS selectors. I’ve written a tutorial for it. Comments welcome, > esp

Error running Clojure 1.3 in Eclipse

2011-07-18 Thread ron peterson
I've upgraded my projects in Eclipse 3.7 to use Clojure 1.3 beta1 release, however when I try running it in Eclipse the REPL console throws the following exception. Other versions of Clojure 1.3 alpha gave the same exception: (but clojure 1.2.1 works fine) Warning: *print-detail-on-error* not dec

Re: Tutorial about web development with Clojure

2011-07-18 Thread Anders Rune Jensen
On Mon, Jul 18, 2011 at 8:04 PM, Tarantoga wrote: > I have splitted it into two projects: the Clojure-WebApp itself > (webapp-0.1.0.jar on clojars.org) and the webexample1. > https://github.com/dbushenko/Clojure-WebApp > https://github.com/dbushenko/webexample1 > Next step now: the detailed guide

Re: Construct map without associng nil values..

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 6:09 PM, Andreas Liljeqvist wrote: > Thanks, but I still feel that it's a little verbose though. > Is there some sort of thrush that returns nil if any steps are nil? > One might do something like this: > (--> e .getComments (hashmap :comments)) There's -?> in, I think, co

Re: Construct map without associng nil values..

2011-07-18 Thread Andreas Liljeqvist
Thanks, but I still feel that it's a little verbose though. Is there some sort of thrush that returns nil if any steps are nil? One might do something like this: (--> e .getComments (hashmap :comments)) not necessarily clear though... 2011/7/18 Meikel Brandmeyer > Hi, > > Am Montag, 18. Juli 2

[meta] Google Groups/gmail support?

2011-07-18 Thread Ken Wesson
I can no longer find any forum or submission form for reporting problems to Google. You're a bunch of tech-savvy people using Google Groups and, probably in many cases, gmail. Do any of you know either: 1. How to report problems to Google nowadays, in such a way that they will actually receive att

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
Java HotSpot 1.6.0_24 64-bit Server VM Windows 7 Professional 64bit Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subs

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Shantanu, > Just wanted to highlight that both Emacs Clojure-mode and Eclipse/ > CounterClockWise use TAB to auto-indent the current line correctly. > So, I guess the expectation would be likewise for the respective > proportion of Clojure users. Though of course the key bindings should > be re

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Timothy, Thanks for your message. > I don't know if it has been mentioned yet, but I'm not getting > error-output in the REPL. If I type > > (println foo) > > then do CTRL+E > > I see the REPL spit out the lines I entered, then nothing... I don't know why are aren't getting an error message.

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
So, just to expand the scope - what kind of plugins should be possible: 1. Source control plugins - Git, Mercurial, Subversion... 2. Theme/Look-n-feel plugins 3. Syntax highlight plugin - Clojure, Markdown, Textile, XML, Leiningen project.clj, Rakefile, Ruby 4. Tool plugins -- Leiningen, Marginali

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
> All indentation uses spaces. I guess my fear is that users will find > it annoying if the TAB key is devoted to smart indentation and space > and delete are the only tools for adjusting the indentation manually. > But maybe manual indentation is a rare enough that it is better to use > TAB for sm

Re: use of subseq on a vector which I know is already sorted

2011-07-18 Thread Ken Wesson
If the input is always going to be sorted, consider using a sorted-set or similar collection type to hold it in the first place. If you're going to need to refer to a particular subsequence repeatedly, and it's held in a vector, you might also consider using subvec after using loop/recur to find t

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
> > You may also consider building a plugin architecture for Clooj. For > > example, Leiningen support can be built by writing a plugin. > > That's an interesting idea. How do you envision a plugin architecture > should work? >From the top of my head it looks like it should be possible to safely m

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
I don't know if it has been mentioned yet, but I'm not getting error-output in the REPL. If I type (println foo) then do CTRL+E I see the REPL spit out the lines I entered, then nothing... Some sort of error feedback would be nice. Timothy -- You received this message because you are subscri

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> I use TAB. Just about the only file type I edit for which it doesn't > do this are Makefiles. C/C++, Clojure/Lisp, O'Caml source files, etc, > I use TAB in Emacs and expect it do make the current line indented > appropriately, whether I'm at the beginning, end or in the middle of > the line. I ca

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 2:06 PM, Arthur Edelstein wrote: > Tallied. :) What's your favorite keyboard shortcut for invoking smart > indent? Is it TAB? I imagine it's still important to be able to indent > and de-indent manually, but maybe I'm wrong. I use TAB. Just about the only file type I edit

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Yes, it does say that now that I'm checking again, I must have missed > it the first time around. I just confused it with a regular file > dialog box. My feeling about a different style dialog box stands, Thanks for pointing it out; I'll try to fix that. > I'm much, much more > interested in a

Re: Tutorial about web development with Clojure

2011-07-18 Thread Tarantoga
I have splitted it into two projects: the Clojure-WebApp itself (webapp-0.1.0.jar on clojars.org) and the webexample1. https://github.com/dbushenko/Clojure-WebApp https://github.com/dbushenko/webexample1 Next step now: the detailed guide of using Clojure-WebApp. -- You received this message becau

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 1:42 PM, Arthur Edelstein wrote: >> Not sure if I'm not misunderstanding the initial creating of a >> project, but it seems to me that I am using a file dialog box for a >> directory selection. As it wasn't entirely clear what it expected me >> to do at that point, I just t

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Not sure if I'm not misunderstanding the initial creating of a > project, but it seems to me that I am using a file dialog box for a > directory selection. As it wasn't entirely clear what it expected me > to do at that point, I just typed in some name without knowing for > sure if it was suppose

The Last Programming Language

2011-07-18 Thread TimDaly
Robert Martin argues that Clojure could be the seed of the last programming language. http://skillsmatter.com/podcast/agile-testing/bobs-last-language -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 3:03 AM, Arthur Edelstein wrote: > --- more work needed > clooj is a work in progress. Your suggestions, criticisms and code > contributions are appreciated. Not sure if I'm not misunderstanding the initial creating of a project, but it seems to me that I am using a file d

[ANN] Nimrod: logs-based metrics server

2011-07-18 Thread Sergio Bossa
Hi guys, Nimrod is a metrics server based on logs processing, and I've just published its first (0.1) binary release: https://github.com/sbtourist/nimrod Any feedback, either on source code, product usage or features, as well as any kind of contribution, will be greatly appreciated :) Enjoy, Ser

Re: Aparapi

2011-07-18 Thread Gary
I am the tech lead on the Aparapi team here at AMD. We have heard of folks attempting to use Aparapi from Clojure (as well as Beanshell, Groovy and Scala), and we would like to followup with various communities to work out what would be needed to make this work. There are a couple of challenges,

Re: FleetDB or other "NoSQL" store for Clojure?

2011-07-18 Thread Edwin Watkeys
Hi, I would recommend using — or at least giving serious consideration to — the Redis client as part of Zach Tellman's Aleph project. It has been the most reliable, robust Redis client I've found, and the Aleph framework makes it easy to deal with asynchronous I/O. Edwin -- You received this

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> One of my biggest complaints against larger IDE's is trying > to get them to look at the lein classpaths. Getting the same result in > my repl as I get by doing "lein run" would be awesome. That's more or less what I've been attempting to do, but I need to check carefully that I have covered the

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> Another kick-ass feature would be first-class integration with > Leiningen (and likewise, with Cake) - you can discover the list of > commands using the "lein" command without any args. Once you discover > the command names you can display it in a menu. When a user clicks one > of those menu ite

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
There's allot here I really like. This could end up being "the" IDE for clojure newbies. I agree though, lein integration would be awesome. One of my biggest complaints against larger IDE's is trying to get them to look at the lein classpaths. Getting the same result in my repl as I get by doing "l

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
> > The REPL input is the lower right pane. I think I should add some > > labels on each pane. > > Ah yes -- now I see it and that works fine. Thanks also to Adam Burry for > pointing this out. As Tamreen Khan noted it's a little confusing that there's > a prompt in the upper pane while input can

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Tamreen, On Jul 18, 5:38 am, Tamreen Khan wrote: > It's a little confusing to see what's normally the text for the prompt, > "user=>", be in the window that shows the result. Why can't both the prompt > and the results be shown in the same area? That is a good point. I wanted a multi-line edi

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
On Jul 18, 3:16 am, Florian Over wrote: > Hmm, good idea > but somehow i can't save ... > It always says "Oops" "Unable to save file" > When i'm at home i will give it another try. Hi Florian, There are two requirements: 1. You need to have a project open, in a writable directory. 2. You need to

Re: following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Baishampayan Ghose
Yoohoo! Thanks a bunch, Stu & co. Regards, BG --- Sent from phone. Please excuse brevity. On Jul 18, 2011 9:28 PM, "Stuart Halloway" wrote: > Several people have asked about access to Rich's upcoming talk this Wednesday night [1]. In order to make information available for those who are not pre

Re: use of subseq on a vector which I know is already sorted

2011-07-18 Thread Benny Tsai
On Monday, July 18, 2011 9:12:05 AM UTC-6, Meikel Brandmeyer wrote: > > Hi, > > *snip* > > However with a different performance promise, I believe. > Hi Meikel, I took a look at the source for subseq, and you're right. To be specific, when the comparison operation is either > or >=, seqFrom all

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lee Spector
On Jul 18, 2011, at 11:10 AM, Arthur Edelstein wrote: > > The REPL input is the lower right pane. I think I should add some > labels on each pane. Ah yes -- now I see it and that works fine. Thanks also to Adam Burry for pointing this out. As Tamreen Khan noted it's a little confusing that ther

following Rich's talk at NYC Clojure this Wednesday

2011-07-18 Thread Stuart Halloway
Several people have asked about access to Rich's upcoming talk this Wednesday night [1]. In order to make information available for those who are not present in NYC, we are planning to do the following: During the talk: * We will be live streaming the talk at [2]. This is our first time live s

  1   2   >