Re: Collaboration Proposal: Beyond CLOS Generic Methods, Predicate Dispatch, and Pattern Matching

2011-05-13 Thread Antony Blakey
so that you reference the type tree in some way in your test and get the appropriate id range on the fly (and, of course, maintain the bounding pair of ids in the tree for each node). Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 If you pick up a starving dog and make

Re: xml parsing

2011-03-16 Thread Antony Blakey
t, and so on. > > That's not the definition of depth-first, is it ? It's a pre-order depth-first traversal. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 On the other side, you have the customer and/or user, and they tend to do what we call "automat

Re: Literate Clojure - a good lead ...

2010-07-21 Thread Antony Blakey
> are trying to solve and the issues of various approaches you considered > then I can usually understand the solution. Symbol resolution allows the environment to link symbols and their occurrences, and the same with hyperlinked output. Antony Blakey - CTO, Linkuistics Pty

Re: Literate Clojure - a good lead ...

2010-07-21 Thread Antony Blakey
erences require it. All publishers support > it and it is widely used. Going from the PLT form to Latex is possible. Why use Latex when you can use Clojure? The essence of the PLT model is the language integration that allows symbol resolution by reusing the language mechanism for the document

Literate Clojure - a good lead ...

2010-07-20 Thread Antony Blakey
Might be of interest to some here: http://lambda-the-ultimate.org/node/4017 Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent

Re: Enhanced Primitive Support

2010-06-18 Thread Antony Blakey
u have the type information at the call site. This way, you can pay for the type-driven dispatch once at the start of a computation and end up doing minimal testing (basically dynamically checking that type invariants are maintained e.g. args haven't been promoted in the case under discuss

Re: Enhanced Primitive Support

2010-06-17 Thread Antony Blakey
On 18/06/2010, at 2:26 PM, David Nolen wrote: > On Fri, Jun 18, 2010 at 12:24 AM, Antony Blakey > wrote: > > That's fine for fact, but as a consumer of library functions, how do I know > when I should pass in bigints? How do I know when an intermediate value, for > my

Re: Enhanced Primitive Support

2010-06-17 Thread Antony Blakey
be the easy solution rather than the best solution, which, I acknowledge, might be very hard work, possibly involving every such function having 2 polymorphic variants, one generic boxed form and one unboxed form, automatically selected and call-site-cached like OO dispatch. Antony Blakey ---

Re: Commercially-supported, polished Clojure development environment

2010-06-14 Thread Antony Blakey
page just > presents a few of these answers). +1 Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 What can be done with fewer [assumptions] is done in vain with more -- William of Ockham (ca. 1285-1349) -- You received this message because you are su

Re: Interface to integrate transactions with Clojure transactions

2010-06-11 Thread Antony Blakey
On 11/06/2010, at 1:48 PM, Antony Blakey wrote: > > On 11/06/2010, at 7:28 AM, James Reeves wrote: > >> On 10 June 2010 22:40, Michael Jaaka wrote: >>> Not good, since if database commit fail it is too late for dosync to >>> rollback. >>> In fact dat

Re: Interface to integrate transactions with Clojure transactions

2010-06-10 Thread Antony Blakey
change to clojure's transactional mechanism in order to break the existing commit login into a prepare and commit. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Isn't it enough to see that a garden is beautiful without having to believe that ther

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

2010-05-30 Thread Antony Blakey
On 31/05/2010, at 2:27 PM, James Cunningham wrote: > > > On May 30, 9:23 pm, Antony Blakey wrote: >> I care about Mac and Windows primarily, and building software that will sell >> (not dev tools) requires good native look and feel. > > Do you have a single examp

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

2010-05-30 Thread Antony Blakey
a lot), why get entangled > in a complex process with all the above ramifications ? > > Simplicity as some value. You should meditate a bit on this. I'm a big fan of simplicity. However there are two sayings that come to mind: 1. Make everything as simple as possible, but not simple

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

2010-05-30 Thread Antony Blakey
box as regards testing. It has it's own test regime and cross-platform validation. > Were not in the cosmetics business however so we speak for our business > (cross-platform, cross-language, cross-) You are begging the question then. Antony Blakey -- CTO

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

2010-05-30 Thread Antony Blakey
On 31/05/2010, at 12:31 PM, Mike Meyer wrote: > On Mon, 31 May 2010 10:53:45 +0930 > Antony Blakey wrote: > >> >> On 31/05/2010, at 10:44 AM, Marc Spitzer wrote: >>> also lets not forget about LD_LIBRARY_PATH issues, >> No Mac or Windows user would encoun

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

2010-05-30 Thread Antony Blakey
a user's perspective for the two consumer desktop platforms. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The project was so plagued by politics and ego that when the engineers requested technical oversight, our manager hired a psychologist instead. -

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

2010-05-30 Thread Antony Blakey
Better" is a good target and generally > much more achievable then superlative. Shipped is also a wonderful > thing. Better and shipped are really cool. And if you keep shipping > better thing you get to superlative. Not if your toolkit (Swing) places an upper bound on the quality

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

2010-05-30 Thread Antony Blakey
for producing something great. And anyway is 'good enough' what we should be aiming for. How about going for something superlative rather than something mediocre. Bundling SWT into a native wrapper isn't a big deal. Antony Blakey -- CTO, Linkuistics Pty Lt

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

2010-05-27 Thread Antony Blakey
think, are well worth the > effort. +1 SWT. I think arguments that focus on the ease of deployment are misguided because an app is *used* far more times than it is deployed, so one really should focus on the quality of the end application. In any case, deployment and pack

Re: matchure becoming clojure.contrib.match

2010-05-24 Thread Antony Blakey
reliable semantic versioning drop points e.g. stable major version numbers. I only raise this point because being a subproject IME discourages major-point releases in deference to the version number of the containing project. In an ideal world of course. Antony Blakey --

Re: matchure becoming clojure.contrib.match

2010-05-24 Thread Antony Blakey
ore needs to first pass into the quarantine zone that is clojure.contrib. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possib

Re: clojure-contrib diffs?

2010-05-02 Thread Antony Blakey
you shouldn't be using me" status. I'd like to advise you to only rely on single-purpose packages you find through dependency resolution (maven or lein) rather then the one-version-fits-all you're-a-fool-if-you-use-this indispensable big bundle of stuff that is contrib. But IM

Re: HOWTO http.agent ( PUT or potential 500 )

2010-05-02 Thread Antony Blakey
t] (with-open [w (clojure.contrib.io/writer > "/tmp/out")](clojure.contrib.io/copy (clojure.contrib.http.agent/stream > agnt) w))) > > Is there anything obvious I'm missing here? The error is that it can't send your XML as the body. Convert the XML to a string and send that

Re: Beginner's question regarding implementing a constructor using gen-class

2010-04-29 Thread Antony Blakey
IN THE FACE all along? Well, this is mine: > > (ns org.InfoML.genclassObject > (:gen-class > :extends [java.lang.Object] :extends java.lang.Object (or just extends Object, because java.lang.* is automatically imported) Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 8

Re: seq-contains? in practice

2010-04-29 Thread Antony Blakey
to select the > right containment function. So the theoretical concerns about this issue > have basically no exemplars in practice. > > "In theory, you may be right about 'contains?.' In practice, Rich Hickey is > right." - Stu Halloway. :-) Antony Blakey -

Re: Which version of Netbeans to use Compojure on OSX?

2010-04-21 Thread Antony Blakey
On 22/04/2010, at 10:48 AM, Sean Devlin wrote: > I think* the SE one will work, but I haven't tested it. Yes it does. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 If at first you don’t succeed, try, try again. Then quit. No use being a damn fool

Re: Version of netbeans with extra Clojure and Polyglot Maven/Leiningen support ...

2010-04-11 Thread Antony Blakey
xes for anyone else. I also have a version (1.1.1) of the Enclojure plugin that fixes the can't-find-clojure-jar when starting a project REPL (which is 100% of the time with my version of NB). I've sent a pull request to Eric, but in the meantime I'll make my version available. An

Re: New clojure support in Polyglot Maven

2010-04-09 Thread Antony Blakey
mplete Leiningen documentation indicates that there are a number of things not covered in my defproject macro :) I waver between thinking I should ignore properties I don't understand and wanting to deal with everything I possibly can, by treating unknowns as errors because you never know when th

Version of netbeans with extra Clojure and Polyglot Maven/Leiningen support ...

2010-04-09 Thread Antony Blakey
, or I can make an OS/X .dmg available (but not other platforms). Of course it works with the latest update-site version of Enclojure, and apart from a small bug with REPL classpath detection, that I hope is fixed soon, is really a very nice Clojure environment with useful, albeit minimal Pol

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Antony Blakey
> > > Right. Thanks for the thorough explanation. It's not so bad if you > quote the vectors instead of the individual symbols. However, it seems > to me that defmaven could very well be a plain function in that case > (just (reset! *MODEL* (apply Model args))). :) Yes,

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Antony Blakey
:configuration [[:scanIntervalSeconds 10] [:stopKey "foo"] [:stopPort ]])])) where Model, Dependency, Build,. Plugin, Execution (and many more) are functions that create e.g. org.apache.maven.model.Model and set the properties from key/value arguments. There are a variety

New clojure support in Polyglot Maven

2010-04-07 Thread Antony Blakey
vn -f project.clj install should work. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The ultimate measure of a man is not where he stands in moments of comfort and convenience, but where he stands at times of challenge and controversy. -- Martin Luther King -- You received

Re: Leiningen integration?

2010-04-04 Thread Antony Blakey
e at the end of reader.clj to see how it works. Because it's a programatic format with declarative conveniences, I hope it's fairly straightforward to understand. It also includes a leiningen defproject macro. I'm hoping to uploaded a prebuilt zip soon. Antony Blakey

Re: Leiningen integration?

2010-04-02 Thread Antony Blakey
and may get you where you > want to be for now. > > I hope this is helpful. > Eric > > On Mar 17, 9:36 am, Phil Ventura wrote: >> Are there any plans to integrate Leiningen into enclojure? > > -- > You received this message because you are subscribed to the Goog

Re: Polyglot (Clojure) Maven (Was: Re: Choosing a Clojure build tool)

2010-03-29 Thread Antony Blakey
On 28/03/2010, at 8:01 PM, B Smith-Mannschott wrote: > On Sun, Mar 28, 2010 at 08:39, Antony Blakey wrote: >> >> On 28/03/2010, at 4:42 PM, Antony Blakey wrote: >> >>> (defproject main "org.clojars.the-kenny:clojure-couchdb:0.2" >>> :add-defau

Re: Polyglot (Clojure) Maven (Was: Re: Choosing a Clojure build tool)

2010-03-28 Thread Antony Blakey
project.clj. Therefore leiningen input files are valid polyglot maven input files. It isn't 100% or bidirectionally interoperable because a) leiningen plugins don't work and b) leiningen can't take the full format. Given all of the above, the following leiningen project.clj would be

Re: Polyglot (Clojure) Maven (Was: Re: Choosing a Clojure build tool)

2010-03-28 Thread Antony Blakey
* of a string literal, rather than a single token. I prefer the forms that don't invent new lexical constructs. For a start they're more amenable to manipulation using direct language facilities. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 If a train station

Re: Can I GPL my Clojure project?

2010-03-28 Thread Antony Blakey
f this discussion: http://www.gnu.org/software/classpath/license.html Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Albert Einstein -- You received

Re: Polyglot (Clojure) Maven (Was: Re: Choosing a Clojure build tool)

2010-03-27 Thread Antony Blakey
On 28/03/2010, at 4:42 PM, Antony Blakey wrote: > (defproject main "org.clojars.the-kenny:clojure-couchdb:0.2" > :add-default-plugins true > :description "Simple Clojure interface to Apache CouchDB, fork of the > original project with function arguments instead

Polyglot (Clojure) Maven (Was: Re: Choosing a Clojure build tool)

2010-03-27 Thread Antony Blakey
ugh without leiningen plugins. I'm not sure if it's worth it, and I'm interested in hearing arguments pro and con. My next step is to make sure it's easy to write polyglot maven plugins in Clojure, with easy deployment. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 8

Re: Choosing a Clojure build tool

2010-03-26 Thread Antony Blakey
that's trivial - the command to produce pom.xml from pom.clj (and the translation is bidirectional) is this: translate pom.clj newpom.xml assuming the polyglot maven translate command is on your path. Note that you can use either maven 2 or 3 to run the resultant pom.xml. You can use eith

Re: Choosing a Clojure build tool

2010-03-25 Thread Antony Blakey
I think that reinventing all that Maven can do, all of the IDE support, tools, documentation etc is misdirected effort. Especially given the appearance of polyglot Maven (Maven 3), which is Maven recast as a Java library that can be driven by languanges such as Clojure. Antony Blakey -

Re: Choosing a Clojure build tool

2010-03-25 Thread Antony Blakey
On 26/03/2010, at 4:37 PM, Rayne wrote: > I don't think I've ever seen a language in which part of the community > shunned build tools written in the language itself. It's quite > hilarious. I've seen many examples where an overwhelming Not-Invented-Here attit

Clojure/LLVM

2010-03-23 Thread Antony Blakey
Has anyone looked at driving LLVM from Clojure and then doing code generation to LLVM? I've had some experience doing it in a JIT context for VisualWorks Smalltalk, but I'd rather not reinvent the wheel. I'd love to be able to use Clojure on the iPad. Antony Blakey --

Re: Why I have chosen not to employ clojure

2010-03-21 Thread Antony Blakey
e to adopt both the language, and a different development environment / toolchain e.g. leiningen etc (which IMO is classic NIH). You can't cross the chasm with too much baggage. Personally I don't believe this will happen unless core developers use the tools and practices that users want t

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-04 Thread Antony Blakey
ally I wish that leiningen effort was instead put towards polyglot maven http://polyglot.sonatype.org/ Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Nothing is really work unless you would rather be doing something else. -- J. M. Barre -- You received this message bec

Re: Package manager proposal

2009-08-07 Thread Antony Blakey
On 07/08/2009, at 7:15 PM, Howard Lewis Ship wrote: > > Ruby and Gem is such great terminology, can we come up with something > half as cool? Closure and Resolution, are a pair of parallel hononymic puns. Or Clojure/Seal - you close the package and seal it. Antony Blakey

Re: Package manager proposal

2009-08-06 Thread Antony Blakey
mented project I have found in a > long time. This is the first I've heard of this project, but what about the 255 page user guide available from: http://mirror.cc.vt.edu/pub/eclipse/tools/buckminster/doc/BuckyBook.pdf ? Antony Blakey -- CTO, Linkuistics

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

2009-06-24 Thread Antony Blakey
eclisp :) On 24/06/2009, at 11:05 AM, Matthew Erker wrote: > > I second that vote. > (Though I prefer Clipse, which is somewhat taken.) > > > On Jun 23, 6:47 pm, Rayne wrote: >> I vote Corona. > > > Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 04

Re: Clojure goes Git!

2009-06-16 Thread Antony Blakey
On 17/06/2009, at 10:58 AM, Antony Blakey wrote: > http://www.pragprog.com/screencasts/v-scgithub/insider-guide-to-github BTW: the first episode of this is free, and includes a section called 'Send Pull Request'. It's purely about GitHub, rather than git itse

Re: Clojure goes Git!

2009-06-16 Thread Antony Blakey
On 17/06/2009, at 10:58 AM, Antony Blakey wrote: > For anyone looking for explanatory material on git, I have, and can > therefore recommend these: > > http://www.pragprog.com/titles/tsgit/pragmatic-version-control-using-git > http://www.pragprog.com/screencasts/v-scgithub/i

Re: Clojure goes Git!

2009-06-16 Thread Antony Blakey
For anyone looking for explanatory material on git, I have, and can therefore recommend these: http://www.pragprog.com/titles/tsgit/pragmatic-version-control-using-git http://www.pragprog.com/screencasts/v-scgithub/insider-guide-to-github https://peepcode.com/products/git Antony Blakey

Re: Clojure goes Git!

2009-06-16 Thread Antony Blakey
7;s not what Rich is talking about here. A common GitHub workflow is to fork someone's repository, clone your fork, push your changes to your GitHub fork, and then send a pull request to the owner of the 'canonical' repository that you forked from, asking them to pull cer

Re: Clojure goes Git!

2009-06-16 Thread Antony Blakey
se don't send pull requests via GitHub at this > time. > > What's the reason to avoid "git pull"? Is there another way to get > updates? To send a pull *request* in git is asking a remote repository to accept *your* changes. It's how you contribute, it&#x

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

2009-05-05 Thread Antony Blakey
o be written and maintained if it's not right there, with the source files, and that's ignoring the issues of tool support and version control. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 In anything at all, perfection is finally attained not when there is no

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

2009-05-04 Thread Antony Blakey
ase review the doc for your > contributions to make sure it is complete and correct in general. Let > me know if anything doesn't seem to be going through the wringer > correctly. > > Happy perusing! > > Tom > > > Antony Blakey - CTO, Linkuistics Pty

Re: The Path to 1.0

2009-04-20 Thread Antony Blakey
On 21/04/2009, at 10:51 AM, Antony Blakey wrote: > On 21/04/2009, at 10:22 AM, Rich Hickey wrote: > >> I'm unfamiliar with the POM version coordinate system - any hints? > > My comment was in support of Laurent's proposal. I'm a relative > maven newb, b

Re: The Path to 1.0

2009-04-20 Thread Antony Blakey
will not satisfy a request for 'a.b.c' e.g. -SNAPSHOT is not a further qualifier. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The project was so plagued by politics and ego that when the engineers request

Re: The Path to 1.0

2009-04-20 Thread Antony Blakey
e scheme that maps to and from the pom version coordinate system in a transparent fashion, particularly in relation to this particular feature of that system. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Always have a vis

Re: On Stuart's Book

2009-04-20 Thread Antony Blakey
On 20/04/2009, at 6:13 PM, fft1976 wrote: > On Apr 19, 3:20 am, Antony Blakey wrote: > >> If I use Clojure commercially, I'll certainly pay for it. > > Please do not forget to pay for JVM, Java, Linux, tar and others. When they start asking for donations, and don'

Re: On Stuart's Book

2009-04-19 Thread Antony Blakey
. I've bought every Scala book available, and I'll do the same for Clojure to encourage the market for books in niche markets. If I use Clojure commercially, I'll certainly pay for it. Apart from the fact that I believe one should do so, it has the practical benefit of encouragin

Re: On Stuart's Book

2009-04-18 Thread Antony Blakey
On 19/04/2009, at 8:08 AM, Rayne wrote: > > So you want him to write something that Rich hasn't said on his > website to market his book? :\ But Rich has written that - it's from Rich's forward to Stuart's book. Am I misunderstanding your point? Antony Blakey -

Re: The Path to 1.0

2009-04-18 Thread Antony Blakey
is the only committer *and contributor* to core, then it's a moot point what VCS is used for core. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 A Buddhist walks up to a hot-dog stand and says, "Make me one with e

Re: The Path to 1.0

2009-04-17 Thread Antony Blakey
es of a book about the language, 1.0 is pretty much ready now, although wasn't there something about method dispatch / hierarchies that Rich was looking at? Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Hi, I'd like to do $THING. I know that $SOLU

Re: The Path to 1.0

2009-04-17 Thread Antony Blakey
ub - in my experience it motivates contributions/contributors because it is such a low-barrier platform for collaborative/experimentation. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The ultimate measure of a man is not where he stands in moments of comfort and convenie

Re: Has anyone on this group ever tried Forth?

2009-04-11 Thread Antony Blakey
al APL operators. More convenient, but for me it loses some of the charm of APL. Not at all Lispy. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 A priest, a minister and a rabbi walk into a bar. The bartender says "What is t

Re: Has anyone on this group ever tried Forth?

2009-04-10 Thread Antony Blakey
tivity aspect. (ie. how quick can I > get real work done) If you are interested in Forth you should probably check Factor at http://factorcode.org/ Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 It is no measure of health to be well adjust

Re: Scala vs Clojure

2009-03-31 Thread Antony Blakey
, which was my point. > I personally use IntelliJ IDEA. But who says I > paid for it? I'm not sure what point you are making. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Don't anthropomorp

Re: Scala vs Clojure

2009-03-31 Thread Antony Blakey
for which I pay 5% of my gross billings, is good deal because the productivity benefits pay for themselves. Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 He who would make his own liberty secure, must guard even his enemy from repression.

Re: Fresh Clojure Tutorial

2009-03-31 Thread Antony Blakey
On 01/04/2009, at 10:47 AM, Laurent PETIT wrote: > Something that can be thought of as "workable specs" for the GUI, > where one does not have to switch language from one abstraction > level to the other. You should have a look at the Scala wrapping of SWT. Antony Blake

Re: Scala vs Clojure

2009-03-31 Thread Antony Blakey
ou want to do mixed Scala/Clojure development, IntelliJ's Scala support has considerably loftier goals than Eclipse/NetBeans e.g. first-class support for the language model wrt refactoring etc. Antony Blakey -- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Lack of will

Re: Namespaces, use, and refer

2009-03-02 Thread Antony Blakey
sive (and in any case precisely equivalent to my first suggestion). Antony Blakey - CTO, Linkuistics Pty Ltd Ph: 0438 840 787 There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way