Re: IDE feature

2013-08-07 Thread Paul L. Snyder
>> On Wed, 07 Aug 2013, Abraham wrote: >> >> Any IDE provides the feature found in DrRacket ,that is it auto completes >> the corresponding > > >> [ or ( . by pressing ) . Keep on pressing ) in DrRacket will >> autocomplete the square or round bracket. >> >> Clojure IDE feature shld be for

Re: IDE feature

2013-08-08 Thread Paul L. Snyder
On Thu, 08 Aug 2013, Sam Aaron wrote: > Haha, I come back to this list after a good few months of not being able > to keep up with the volume to find a rant about paredit - priceless! > > Seriously though, these things are all personal and as such clearly get > people's backs up. So for what it's

Re: Newbie question about filtrering defrecord

2015-04-04 Thread Paul L. Snyder
On Sun, 05 Apr 2015, Michael Blume wrote: > your list doesn't contain the records, your list contains the symbols 'a1 > and 'a2. You can't make a list the way you're trying to. To be specific, you're quoting the list in your def, so the a1 and a2 symbols are not evaluated. user=> (defrecord A

Re: Could I get some feedback on this function?

2014-07-25 Thread Paul L. Snyder
On Fri, 25 Jul 2014, Christopher Elwell wrote: > New to Clojure, how is this function that I wrote? Any suggestions for > improvement; is it too complicated? 'filter' is a great tool to reach for in many cases, but (as you found) it's not ideal if you need your test predicate to change as it proc

Re: Could I get some feedback on this function?

2014-07-26 Thread Paul L. Snyder
On Fri, 25 Jul 2014, Richard Barker wrote: > Using partition-by will give you a lazy sequence. > > (defn only-keep-unique-ids [ids] > (map first (partition-by #(get-form-id-without-timestamp %) ids))) This will only work if all entries with the same calculated key are contiguous. user> (defn

Re: Resources for intermediate/not-absolute-beginner Clojurians

2014-08-29 Thread Paul L. Snyder
On Fri, 29 Aug 2014, Sam Raker wrote: > I'm just not sure what to do at this point in my Clojure learning > experience. I've probably written a few thousand lines of Clojure at this > point, but I'm not sure that I'm doing things "right:" I don't know if my > code is efficient, or even idiomati

Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Paul L. Snyder
On Wed, 03 Dec 2014, Fluid Dynamics wrote: > It's a giant pain to debug exceptions without stack traces. This seems to > be a problem specific to CCW, as I don't encounter it using other > development environments. > > Is this going to be fixed anytime soon? Pseudonymous obnoxious person: You

Re: Welcome the new maintainer of Loom: Paul Snyder

2016-02-14 Thread Paul L. Snyder
On Thu, 11 Feb 2016, Aysylu Greenberg wrote: > I'm pleased to announce that Paul Snyder (@pataprogramming, pataprogramming > on Github ) has joined me in > maintaining Loom. I'm excited for the coming year for Loom > , with mor

Re: Welcome the new maintainer of Loom: Paul Snyder

2016-02-15 Thread Paul L. Snyder
On Mon, 15 Feb 2016, Gregg Reynolds wrote: > On Feb 11, 2016 6:19 AM, "Aysylu Greenberg" wrote: > > > > I'm pleased to announce that Paul Snyder > (@pataprogramming, pataprogramming on Github) has joined me in maintaining > Loom. I'm excited for the coming year for Loom, with more excellent > con

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-18 Thread Paul L. Snyder
Yow, old indeed! In 2011, Dave Ray released Seesaw, which is a very nice wrapper for Swing. I've used it for a bunch of projects, and it works great. Of course, it does look like Swing, but it's plenty usable. (It's also still being maintained, so if you're looking for a toolkit that you can use

Re: threading operators

2014-03-21 Thread Paul L. Snyder
On Fri, 21 Mar 2014, Andy Smith wrote: > Im wondering if it is worthwhile to create a macro to thread together > arbitrary forms (x, f, g, h) injecting the result into different positions > into the list as required? > > (thread-together (-> x f ->> g -> h)) Maybe swiss-arrows has what you are l

Re: Regarding Clojure's license

2013-11-12 Thread Paul L. Snyder
On Wed, 13 Nov 2013, musicdenotat...@gmail.com wrote: > spirit and purpose. It's true that authors of FOSS want to get > contribution from others, but you can't force others to work for you, or > to do something that would potentially benefit you. Rich Hickey says that > it does not make sense to

Re: Regarding Clojure's license

2013-11-13 Thread Paul L. Snyder
On Wed, 13 Nov 2013, Phillip Lord wrote: > "Paul L. Snyder" writes: > > > On Wed, 13 Nov 2013, musicdenotat...@gmail.com wrote: > > > >> spirit and purpose. It's true that authors of FOSS want to get > >> contribution from others, but yo

Re: a possibly vague question

2013-11-14 Thread Paul L. Snyder
On Thu, 14 Nov 2013, Jim - FooBar(); wrote: > I have a (seesaw) GUI with a swingx.busy-label which I want > activated when certain tasks are performed. The code that i've > written so fat works perfectly at the repl but for some bizarre > reason it won't work when attached as a handler to a butto

Re: Regarding Clojure's license

2013-11-14 Thread Paul L. Snyder
On Thu, 14 Nov 2013, Korny Sietsma wrote: > > any sufficiently poorly worded argument is indistinguishable from > > trolling. > > Is that original? I want to quote it. A lot. Heh. The reaction was spontaneous and the phrasing is my own. I wasn't thinking about Poe's Law at the time, but it's som

Re: Philadelphia SICP Study Group starting Feb 5th

2013-12-17 Thread Paul L. Snyder
On Tue, 17 Dec 2013, Steve Shogren wrote: > Quite a few in the Philadelphia area expressed interest in having a study > group around the excellent book Structure and Interpretation of Computer > Programs, and so here it is! > > http://www.meetup.com/Clojadelphia/events/155920672/ Any chance of

Re: Need some Advice for my Prolog Project

2013-05-15 Thread Paul L. Snyder
On Wed, 15 May 2013, Charles Hoskinson wrote: > I'm starting an open sourced project to port Prolog to the JVM like you > guys did with LISP and I'd like to get some advice on where to start, > materials to review, pitfalls to avoid, and anything else you feel would be > useful to know. Could y

Re: are non programmers the better programmers?

2012-01-17 Thread Paul L. Snyder
On Tue, 17 Jan 2012, Cedric Greevey wrote: > On Tue, Jan 17, 2012 at 3:46 PM, Dennis Haupt > wrote: > > after the "wtf"s have worn off a bit, go on reading. > > imagine a simple problem: you have a collection of numbers and you have > > to write a function which collects all the numbers that are