Re: [ANN] tawny-owl 0.11

2013-05-22 Thread Andrew Wagner
I went looking for the same thing. There are a few partial examples in the docs directory that might be worth looking at. On Wed, May 22, 2013 at 8:06 AM, atkaaz wrote: > For those who don't know the concepts (aka me) can we get a working > example of what can be done ? I'm having a strange fee

Re: [ANN] Linode compromise possibly affecting Clojars

2013-04-17 Thread Andrew Wagner
Just wanted to say, awesome job with this. I appreciate your diligence! On Wed, Apr 17, 2013 at 2:50 PM, Phil Hagelberg wrote: > > Update: thanks to an older backup from Ivan Kozik, we've been able to > verify the > integrity of all but 45 jars. It's likely these were legitimate > redeployments

Re: Any interest in a Nova Clug?

2009-12-16 Thread Andrew Wagner
There's a possibility I might be interested in joining such a group. It would mostly depend on scheduling. On Wed, Dec 16, 2009 at 8:35 PM, Seth wrote: > Matt, > > (conj nova-clug :me) > > Seth > > On Dec 16, 1:14 pm, Matt wrote: > > I'm looking into setting up a Northern Virginia Clojure User

Uncle Bob looking for clojure help!

2009-08-12 Thread Andrew Wagner
http://blog.objectmentor.com/articles/2009/08/11/jarvis-march-in-clojure --~--~-~--~~~---~--~~ 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 fr

Re: Very minor problem in the REPL

2009-07-17 Thread Andrew Wagner
Sounds like a good application of the broken window principle to me. On Fri, Jul 17, 2009 at 9:05 AM, AlamedaMike wrote: > > This is so trivial from a technical standpoint I'm embarrassed to > mention it. The REPL is accepting more than one sexp on a line and > then generating output for all of

Re: The "->" & "." nested usage

2009-06-09 Thread Andrew Wagner
So there's a different macro analogous to "String." for a bunch of different classes, and it doesn't work for arbitrary classes? On Tue, Jun 9, 2009 at 2:55 AM, Konrad Hinsen wrote: > > On 08.06.2009, at 21:59, Andrew Wagner wrote: > > > Just to be clear, is

Re: The "->" & "." nested usage

2009-06-08 Thread Andrew Wagner
Just to be clear, is (String.) a macro? I thought it was just a special form. On Mon, Jun 8, 2009 at 3:47 PM, Stephen C. Gilardi wrote: > > On Jun 8, 2009, at 12:38 PM, ronen wrote: > > user=> (-> String. String.) > java.lang.ClassNotFoundException: String. (NO_SOURCE_FILE:7) > > expanding the m

Re: ICFP 2009

2009-06-07 Thread Andrew Wagner
Just an update on this thread - it turns out my wife and I are out of town at a wedding the weekend of the contest this year, so if anyone wants to organize a clojure team, don't depend on me to organize it. Good luck! On Thu, Apr 23, 2009 at 1:34 PM, Jason Wolfe wrote: > > I'm interested, altho

Silly question from Programming Clojure

2009-06-04 Thread Andrew Wagner
Hey ya'all! Just got my copy of Programming Clojure last night (great book, kudos Stuart!). I've got a silly question now. There's a comment in the book about one piece of code where it says "the symbol gets associated with a var which gets bound to a value". That sounds strange to my ear. Wouldn't

Re: unit testing private methods?

2009-06-03 Thread Andrew Wagner
Well, of course this is a classic situation in OO, if you think about it. Googling around may shed some interesting light on the subject. Essentially, the question is: are you sure that's what you want to do? Why not concentrate your unit tests on the public interface in such a way that the private

Re: filter on sequence

2009-06-02 Thread Andrew Wagner
The same is true of irrefutable patterns in haskell. > > The difference is that a pattern match can fail, and in that case > other patterns are tried. Clojure's destructuring assumes that the > value has the right structure. If it doesn't, then you will get an > exception thrown. > > --~--~-

Re: filter on sequence

2009-06-02 Thread Andrew Wagner
> > Why doesn't Ruby just call it destructuring like Lisp has been doing > for decades? ;) > > So that non-academics have a prayer at not getting scared away by an unnecessarily-technical name? --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: filter on sequence

2009-06-02 Thread Andrew Wagner
> > You can use destructuring in your predicate's arg list: > > Not to hijack the thread but...is there some reason clojure doesn't just just call this pattern-matching? Is it different somehow? --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Programming Clojure Arrives!

2009-05-28 Thread Andrew Wagner
I ordered mine today and look forward to getting it soon! On Thu, May 28, 2009 at 8:51 PM, Sean Devlin wrote: > > I just got my copy of Programming Clojure in the mail today. This is > the only time I expect to see the book in pristine condition, as I > know it will get bookmarked, highlighted,

Architecture for a clojure project

2009-05-25 Thread Andrew Wagner
I'm trying to wrap my head around how to architect this project. I've got some functional programming experience (with Haskell), but am pretty new to Lisps, and feel a bit lost without the type system. So. The project is a chess AI. Now the nice thing is, there's a protocol for interacting with a

Re: Saving the Clojure.org webiste

2009-05-19 Thread Andrew Wagner
Can I get it in a bedtime-story format too? :) On Tue, May 19, 2009 at 3:49 PM, Kei Suzuki wrote: > > I wanted to save the Clojure.org website so that I can read it when > I'm off-line. The problem is that none of the website downloader tools > I found is satisfactory; the pages don't look right

Re: Clojure at JavaOne

2009-05-18 Thread Andrew Wagner
I can only speak from my experience, but the thing that really got my attention was the idea of 'code as data'. In particular, for me, looking through Koza's Genetic Programming book blew my mind. It would be cool to come up with a nice GP demo. On Mon, May 18, 2009 at 8:36 AM, Rich Hickey wrote:

Enclojure problem

2009-05-15 Thread Andrew Wagner
Hi everyone, Trying to set up a new project using enclojure. I created the new project, then put a new .clj file in Project Sources. In that file, I typed: (defn main [] (print "hi")) ...which works in a REPL. But when I try to build the project, I get a big old stack trace (http://paste.lisp.org

Re: with-open macro

2009-05-12 Thread Andrew Wagner
Oh, it's just significantly harder to read if you don't know clojure, that's all. On Tue, May 12, 2009 at 2:43 PM, Emeka wrote: > Why? > > > On Tue, May 12, 2009 at 5:37 PM, Andrew Wagner wrote: > >> Wow. Ok, yeah, I'm glad he didn't put that ver

Re: with-open macro

2009-05-12 Thread Andrew Wagner
Wow. Ok, yeah, I'm glad he didn't put that version in the article :) On Tue, May 12, 2009 at 1:17 PM, Stephen C. Gilardi wrote: > > On May 12, 2009, at 12:30 PM, Andrew Wagner wrote: > >> It seems like this idiom would be easy to implement in this macro. Or am I >>

Re: with-open macro

2009-05-12 Thread Andrew Wagner
ive that means > assigning rdr to function (reader file). So now it is pretty obvious that > what you need is the variable, rdr, (in side the scope) and that's why > clojure takes only the first element of the vector.I guess that's logical. > > Emeka > > > > > > On

with-open macro

2009-05-12 Thread Andrew Wagner
I just saw this on the JavaWorld article (great article by the way: http://www.javaworld.com/javaworld/jw-05-2009/jw-05-clojure.html ) (defmacro with-open [bindings & body] `(let bindings (try @body (finally (

Re: ANN: Full, continuously updated documentation for clojure.contrib

2009-05-04 Thread Andrew Wagner
Absolutely brilliant. Exactly what clojure-contrib and the clojure community needed. Thank you! On Mon, May 4, 2009 at 2:41 AM, Tom Faulhaber wrote: > > Hello everybody, > > As many of you know, I have been working on a "contrib autodoc robot" > for the last little while. > > It is now up and run

Re: What's the function that returns the opposite of a predicate?

2009-04-30 Thread Andrew Wagner
I think maybe you want complement: http://clojure.org/api#complement On Thu, Apr 30, 2009 at 1:50 PM, samppi wrote: > > I know there's a core function that takes a predicate and returns its > opposite: > > (defn mystery [predicate] > (fn [x] (not (predicate x > > I'm having a lot of trouble

Re: PeepCode screencast

2009-04-27 Thread Andrew Wagner
ly very good,especially as it gives a >> good overview of how to break up your code and about packaging. It >> does go a bit quick, but I found that by re-watching + reading the >> code at the same time very helpful. It a useful demo to see the power >> and conciseness of clo

Re: PeepCode screencast

2009-04-25 Thread Andrew Wagner
Just to provide a review - I must say, I really wanted to like this screencast, and failed, unfortunately. It tries to cover everything from "what is functional programming?" (tracing through passing functional arguments, and basic map/reduce stuff, for example) to the intricacies of STM use and cl

Re: ICFP 2009

2009-04-23 Thread Andrew Wagner
> > Sounds like a fun thing to try. Could someone give a brief > description of what would be required in terms of time commitment to > participate on a team? (Sadly, spare time is hard to come by...) > It's just one weekend. As much or as little time as you can commit to for that weekend. --~-

ICFP 2009

2009-04-20 Thread Andrew Wagner
It would be fun to have a team of clojure programmers work on the ICFP '09 contest. Has this been done previously? Anybody interested? I'm new to clojure and to lisps in general, but have a pretty good grasp of functional programming (mostly from haskell). It would be great fun to work with some mo

Re: Fresh Clojure Tutorial

2009-03-29 Thread Andrew Wagner
Oh, I should point out that it looks like your abs examples, under "Learning basic clojure" got mangled. On Sun, Mar 29, 2009 at 3:34 PM, Curran Kelleher wrote: > > Hello, > > I've created an introductory tutorial for Clojure and Emacs here: > > http://lifeofaprogrammergeek.blogspot.com/2009/03/l

Re: Fresh Clojure Tutorial

2009-03-29 Thread Andrew Wagner
Excellent tutorial. I pretty much zipped right through it, even though I'm on osx and had to figure out the right way to get a git client for myself. Thanks! On Sun, Mar 29, 2009 at 3:34 PM, Curran Kelleher wrote: > > Hello, > > I've created an introductory tutorial for Clojure and Emacs here: >