Re: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Stuart Halloway
nnouncements so the lazy of us could just copy/paste it into our > shells to try it out? > > Erik. > > On 5 Sep 2018, at 14:39, Stuart Halloway > wrote: > > org.clojure/clojure {:mvn/version "1.10.0-alpha7"} > > > -- > You received this message because

[ANN] Clojure 1.10.0-alpha7

2018-09-05 Thread Stuart Halloway
deps.edn dependency: org.clojure/clojure {:mvn/version "1.10.0-alpha7"} 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6: - Update deps to latest spec.alpha (0.2.176) and core.specs.alpha (0.2.44) - CLJ-2373 - categorize

Re: [ANN] Datomic Cloud

2018-01-17 Thread Stuart Halloway
cell > skype: ariamedia > > On Wed, Jan 17, 2018 at 4:59 PM, Alan Thompson wrote: > >> Cool. >> >> On Wed, Jan 17, 2018 at 6:25 AM, Jeroen van Dijk < >> jeroentjevand...@gmail.com> wrote: >> >>> Congrats! >>> >>> On Wed

[ANN] Datomic Cloud

2018-01-17 Thread Stuart Halloway
Datomic Cloud is now available! http://blog.datomic.com/2018/01/datomic-cloud.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 are moderated - please be

Re: Doc strings for complex cases?

2017-11-05 Thread Stuart Halloway
Hi Tim, You suggested a great reason yourself: "peoples approach to doc strings are as varied as people are". To the extent that is true, someone would need to propose a design considerate of that variety of needs (and tradeoffs!). Without such planning, Clojure would evolve as a semi-random-walk

Re: [core.spec] Stricter map validations?

2017-10-14 Thread Stuart Halloway
Hi Leon, I think it would be a mistake to introduce temporal coupling to prevent typos. Here is an alternative that lets you identify "missing" keys specs at the time and place of your choosing, and then handle them as you deem appropriate, without imposing those decisions on other users of spec:

Re: Releasing scope-capture, a library for easing REPL-based debugging

2017-10-09 Thread Stuart Halloway
Very cool, Val! It should be possible to recreate the original scope as a let (instead of defs) so you don't have to worry about the names cluttering up your namespace. Cheers, Stu On Sun, Oct 8, 2017 at 10:17 PM, Jiacai Liu wrote: > Wow, what a good idea. Thanks for sharing. > > On Mon, Oct 9

Re: Help ship Clojure 1.9!

2017-10-03 Thread Stuart Halloway
with non (or maybe different) spec environments. But that is extra work for sure. Stu On Mon, Oct 2, 2017 at 3:35 PM, Mark Engelberg wrote: > On Mon, Oct 2, 2017 at 7:55 AM, Stuart Halloway > wrote: > >> Hi David, >> >> Spec will be in alpha for a while. That is pa

Re: Help ship Clojure 1.9!

2017-10-02 Thread Stuart Halloway
Hi David, Spec will be in alpha for a while. That is part of the point of it being a separate library. Can you say more about what problems this is causing? Stu On Sat, Sep 30, 2017 at 4:52 AM, David Bürgin wrote: > On 28/09/17 16:00, Stuart Halloway wrote: > > Clojure 1.9 has b

Re: Help ship Clojure 1.9!

2017-09-29 Thread Stuart Halloway
And to maybe answer my own question, I guess it is https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L988-L990 . On Fri, Sep 29, 2017 at 1:45 PM, Stuart Halloway wrote: > To be clear: we can certainly cut a new release of CLJS, I just want to > understand

Re: Help ship Clojure 1.9!

2017-09-29 Thread Stuart Halloway
To be clear: we can certainly cut a new release of CLJS, I just want to understand other options, if any. On Fri, Sep 29, 2017 at 1:38 PM, Stuart Halloway wrote: > Hi Aleš, Mark, > > Thanks for the reports! It isn't clear to me how a change to tools.reader > can fix a problem w

Re: Help ship Clojure 1.9!

2017-09-29 Thread Stuart Halloway
Hi Aleš, Mark, Thanks for the reports! It isn't clear to me how a change to tools.reader can fix a problem with the core hash function. Can somebody point me to the place in the Clojurescript code where this happens? Stu On Fri, Sep 29, 2017 at 11:13 AM, Aleš Roubíček wrote: > The Cljs problem

Re: Help ship Clojure 1.9!

2017-09-28 Thread Stuart Halloway
5bb4 >> 47b51a75abbbccdc72447814883a0 >> >> STR >> >> 1. git clone https://github.com/nfisher/lein-cljsbuild >> 2. cd lein-cljsbuild/example/projects/simple >> 3. lein cljsbuild once >> >> Patch attached if you want to apply directly to >

Re: Help ship Clojure 1.9!

2017-09-28 Thread Stuart Halloway
s are as follows: > > *- [org.clojure/clojure "1.9.0-alpha19" :scope "provided"]* > > *+ [org.clojure/clojure "1.9.0-beta1" :scope "provided"]* > > A revert on my project.clj to alpha19 eliminates the error. > > Cheers! > >

Help ship Clojure 1.9!

2017-09-28 Thread Stuart Halloway
Clojure 1.9 has been quite stable throughout the alpha period, and we now hope to release after a very short beta. Please test your existing programs on the latest beta (see below), and respond on this thread ASAP if you discover anything you believe to be a regression. Thanks! Stu ;; Clojure dep

Re: Clojure core documentation

2017-09-12 Thread Stuart Halloway
Clojure has great data, and great metadata. Documentation strings are *not* great data, they are strings. If you want to provide more structured support than docstrings to help someone use Clojure, look at specs for inspiration. They are made of data, and they live in a registry separate from Cloj

Re: AOT classes with clj files on classpath causing ClassNotFoundException

2016-10-12 Thread Stuart Halloway
Hi Piotr, Yes, the limitation is how the Java classpath works. If you AOT your app, you need to AOT compile other Clojure code your app uses. See e.g. http://dev.clojure.org/jira/browse/CLJ-1544?focusedCommentId=43558&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-25 Thread Stuart Halloway
Hi Gary, Re the documentation: A lot of people have worked to make clojure.org better, including changing the contribution model to be both easier and more familiar. That said, I don't doubt that is could be a lot better. In particular, the guides section could expand to cover a lot of the "conv

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-24 Thread Stuart Halloway
Hi Brian, Not crazy at all! Spec errors are maps at the bottom, and IMO these maps should flow anywhere we are making exceptions. This is already true for the exceptions coming from spec.test, and we should make it true for the macroexpand exceptions as well. (I actually prefer reading the map f

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-24 Thread Stuart Halloway
Brian, The tone of your previous post is not constructive. Let's keep the discussion about ideas, not people. Thanks, Stu On Wed, Aug 24, 2016 at 8:46 PM, Brian Marick wrote: > > On Aug 24, 2016, at 8:39 AM, Stuart Halloway > wrote: > > 3. "Follow the inverted pyra

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-24 Thread Stuart Halloway
Hi Beau, Yes. Nevermind and everyone should learn to read spec. :-) That said, such customizations allow people to experiment and flesh out a bunch different ideas in parallel. Best, Stu On Wed, Aug 24, 2016 at 1:17 PM, Beau Fabry wrote: > Just specifically on a custom REPL printer, wouldn't

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-24 Thread Stuart Halloway
Brian originally raised 5 points that were concrete & specific, and therefore potentially actionable. That is usefully-shaped feedback, thanks Brian! My take on those points, which I will recast in my own words: 1. "Loosen rules about ns form to match what people have actually done." This is pre

Re: Is this behavior of clojure.core/pr a bug?

2016-08-06 Thread Stuart Halloway
Has anybody written a pr-edn that enforces the rules of https://github.com/edn-format/edn, refusing to print anything nonconformant? This would solve the original problem on this thread without requiring any changes to Clojure. On Fri, Aug 5, 2016 at 9:42 PM, Blake Miller wrote: > I agree with

Re: Frustrations so far

2016-08-03 Thread Stuart Halloway
Hi Peter, The latest release of Datomic (0.9.5390) includes the addition of the Log API for memory-backed databases. https://groups.google.com/d/topic/datomic/QLdZ_WePR5A/discussion. Hope this and some of other items on this thread will combine to improve your experience with Clojure. Regards, S

Re: Clojure spec screencast: Testing

2016-07-27 Thread Stuart Halloway
Yes. Short answer: Make a model of the input space. Coming in a future screencast. :-) Stu On Wed, Jul 27, 2016 at 2:13 PM, Beau Fabry wrote: > With the passing test of `my-index-of`, is there any way to be confident > that test.check generated inputs that checked the branch of the :fn spec >

[ANN] Clojure 1.9.0-alpha4

2016-05-31 Thread Stuart Halloway
Clojure 1.9.0-alpha4 is now available. Try it via - Download: https://repo1.maven.org/maven3/org/clojure/clojure/1.9.0-alpha4 - Leiningen: [org.clojure/clojure "1.9.0-alpha4"] 1.9.0-alpha4 includes the following changes since 1.9.0-alpha3: - fix describe empty cat - improve update-in perf - opt

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-18 Thread Stuart Halloway
Everyone: let's keep the tone civil. Andrey: thanks for your workflow suggestions. I politely re-decline all of them, having considered all your points multiple times over several years and having chosen approaches that I believe are better matched with my objectives. The objective of Clojur

Re: [ANN] Introducing Yagni, a Leiningen plugin for finding unused code

2015-07-02 Thread Stuart Halloway
you clarify what you meant your comment? I'm not sure I understand >> what you mean by a pure function in this context. >> >> - David >> >> On Tue, Jun 30, 2015 at 8:10 AM, Stuart Halloway < >> stuart.hallo...@gmail.com> wrote: >> >>> Nice

Re: [ANN] Introducing Yagni, a Leiningen plugin for finding unused code

2015-06-30 Thread Stuart Halloway
Nice. It would be really cool if run-yagni was a pure function of source-paths and mains. This would make the dependency on lein optional and allow adoption on e.g. mainland Java projects. Stu On Tue, Jun 30, 2015 at 5:44 AM, Yehonathan Sharvit wrote: > Yagni ignore `cljs` files. > > I have o

Re: Demoralising experience trying to install on Win 7

2014-10-25 Thread Stuart Halloway
Hi Geoff, What path from clojure.org led you to believe that leiningen was necessary to run Clojure? I would be happy to fix the docs. The instructions at http://clojure.org/getting_started should have you up and running with Clojure on Windows in no time. Stu On Sat, Oct 25, 2014 at 10:17 AM,

Re: Schrodinger's cat in clojure?

2014-09-13 Thread Stuart Halloway
A man walks into a bar and says "I used lazy evaluation and things were confusing." Bartender says "You mixed it with I/O" without bothering to look at the code. :-) Your experiment uses pr-str, which uses a dynamically scoped resource *out* in order to create its result. Your observation uses p

time sensitive: need a Clojure rep for JavaOne Script Bowl

2014-09-12 Thread Stuart Halloway
Hi Clojurians, I need to get someone to represent Clojure for this year's ScriptBowl at JavaOne, which will be in San Francisco Wednesday, Oct 1, 1:00 PM - 2:00 PM - Hilton - Continental Ballroom 7/8/9. If you haven't heard of this before, it is basically a demo contest, with reps from Scala, Gro

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony, I sent you a pull request. I believe adding those items is correct and necessary for producing a usable JAR, and that the build works so long as you have a recent version of leiningen. Stu On Mon, Sep 1, 2014 at 5:04 PM, Jony Hudson wrote: > Ahh, nice, yes that's a simple way to do

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
And now, answering part of my own question. It appears the following almost "just works" from a maven project that references gorilla: (require '[gorilla-repl.core :as gorilla]) (gorilla/run-gorilla-server {:port 8990}) The only problem is that gorilla's declaration of its own dependencies a

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony, A feature allowing connection to an external nREPL server would be great, and totally usable by anyone who can make a CLASSPATH. Having to install a particular build system (whether gradle, lein, or maven) in order to use a tool is a non-starter for 90% of the projects I am involved with

Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony, Is there a path for using Gorilla REPL from a maven or gradle project? Thanks, Stu On Mon, Sep 1, 2014 at 7:11 AM, Jony Hudson wrote: > Hi all, > > there's a new version of Gorilla REPL out :-) The headline feature is > that the autocomplete UI now shows the docs for the function yo

Clojure in financial services

2014-08-28 Thread Stuart Halloway
Many companies are using Clojure in financial services. Some of these are easily visible on the web, and I am aware of many more through private/NDAed conversations. I am working to gather experience reports, which I will then compile and share on the web. If you have experiences using Clojure i

Re: Immutable or Effectively Immutable?

2014-05-16 Thread Stuart Halloway
;; I think this shed should be painted red (def immutable-string "foo") (def ^java.lang.reflect.Field value-field (doto (.getDeclaredField String "value") (.setAccessible true))) (aset (.get value-field immutable-string) 1 \i) (aset (.get value-field immutable-string) 2 \e) (println immu

Re: Any experience with Cognitect?

2014-04-08 Thread Stuart Halloway
Applying "too early" will never hurt you, so long as you are candid about where you are and where you want to be. It took me three rounds of rejection+feedback to land my first high-profile tech job. The contracting relationship is designed to handle high variability. You might get lucky and see

Re: Is Clojure right for me?

2013-12-27 Thread Stuart Halloway
at 10:04 PM, Mark Engelberg wrote: > Does this OO pseudocode help clarify at all? > https://gist.github.com/Engelberg/8142000 > > On Thu, Dec 26, 2013 at 6:27 PM, Stuart Halloway < > stuart.hallo...@gmail.com> wrote: > >> Hi Mark, >> >> I am not following your exampl

Re: Is Clojure right for me?

2013-12-26 Thread Stuart Halloway
Hi Mark, I am not following your example. Can you post (pseudocode fine) what a good OO impl would look like, and why Clojure's defrecords can't do something similar? Stu On Thu, Dec 26, 2013 at 9:08 PM, Mark Engelberg wrote: > I do like the way Clojure steers you away from all sorts of unne

Re: Breaking out of a map type function

2013-11-24 Thread Stuart Halloway
Hi Dave, You can use reduce for this job, and have the reducing function return a (reduced retval) when you want to break out. Cheers, Stu On Sun, Nov 24, 2013 at 11:19 AM, David Simmons wrote: > Hi All. > > Still struggling to get my head around Clojure - this is attempt number 4. > > I wish

ANN: data.fressian, read and write Fressian from Clojure

2013-11-14 Thread Stuart Halloway
data.fressian [1] is a Clojure-language wrapper for the reference implementation [2] of Fressian. I am still setting up CI, maven release, etc. but wanted to get the source up so that interested parties can peruse and contribute. The wiki at [2] is currently the best source of documentation. Che

Re: Do (should?) these core.async utilities exist?

2013-11-12 Thread Stuart Halloway
Hi Paul, Two different reasons: The channel-to-sequence conversion seems like a questionable idea, making seqs that block. The doseq over a channel is easily enough implemented, and was not considered important enough to be on the core API. Stu On Tue, Nov 12, 2013 at 4:48 AM, Paul Butcher w

Re: Request for help optimising a Clojure program

2013-10-25 Thread Stuart Halloway
To save others from having to read this whole thread, is the following summary correct? 1. We believe that the performance issue Paul first encountered is substantially / entirely caused by hash collisions. 2. The hash collisions could be improved by spreading the hashes of numbers (and not needi

Re: Request for help optimising a Clojure program

2013-10-23 Thread Stuart Halloway
Is the Scala for lazy or eager? If the latter, you are not comparing apples to apples (separate from the other differences David already pointed out.) Stu On Wed, Oct 23, 2013 at 8:41 PM, Mark Engelberg wrote: > Perhaps I don't understand your point, but vector hashing is not currently > the s

Re: type checking clojure.set with core.typed

2013-09-30 Thread Stuart Halloway
Any experience reports? My experience so far: Type Checker: Found 1 error $ echo $? 0 On Mon, Sep 30, 2013 at 7:20 PM, Ben Mabey wrote: > On 9/30/13 5:16 PM, Stuart Halloway wrote: > >> I tried the following experiment with type checking clojure.set: >> >>

type checking clojure.set with core.typed

2013-09-30 Thread Stuart Halloway
I tried the following experiment with type checking clojure.set: (ns exploring.core-typed (:use clojure.core.typed clojure.repl) (:require [clojure.set :as set])) (ann ^:no-check clojure.set/difference [(Set Any) (Set Any) -> (Set Any)]) (set/difference #{1 2} [1 2]) (comment (check-ns)

Re: Type hints for clojure.set functions

2013-09-30 Thread Stuart Halloway
Hi splondike, I disagree with your arguments about what is sensible -- *any* behavior is sensible when you violate the contract of an API. Of course everybody could get behind the "throwing the error" plan if the cost of throwing that error was zero: zero assessment cost, zero development cost,

Re: Type hints for clojure.set functions

2013-09-29 Thread Stuart Halloway
I think the bar for such an enhancement is fairly high, and the value delivered fairly low. It isn't so much the impact of assessing this single change, as the impact of managing the universe of such changes. Regards, Stu -- -- You received this message because you are subscribed to the Google

Re: Parallelising over a lazy sequence - request for help

2013-09-29 Thread Stuart Halloway
mber 28, 2013 11:14:41 AM UTC-5, Jozef Wagner wrote: >> >> I would go a bit more further and suggest that you do not use sequences >> at all and work only with reducible/foldable collections. Make an input >> reader which returns a foldable collection and you will have the mo

Re: Parallelising over a lazy sequence - request for help

2013-09-27 Thread Stuart Halloway
Hi Paul, I have posted an example that shows partition-then-fold at https://github.com/stuarthalloway/exploring-clojure/blob/master/examples/exploring/reducing_apple_pie.clj . I would be curious to know how this approach performs with your data. With the generated data I used, the partition+fold

October Barnstorming in Europe

2013-07-30 Thread Stuart Halloway
event you are interested in, as well as possible dates and locations. Regards, Michael and Stu [1] http://thinkrelevance.com/team/members/stuart-halloway [2] http://thinkrelevance.com/team/members/michael-nygard [3] http://euroclojure.com/2013/ [4] http://reaktordevday.fi/2013/ [5] http://gotocon.

Re: Clojure 1.6 API: clojure.lang.IFn and clojure.api.API

2013-06-23 Thread Stuart Halloway
Hi Joerg, I am not sure I understand your question. The API class is for intraprocess communication, not interprocess. All API does is provide a public, supported entry point for the kinds of things people are already doing with Var. The latter is undesirable because using Var makes it way too ea

Re: [pre-ANN] test2, the last Clojure testing framework

2013-06-09 Thread Stuart Halloway
Hi Steven, A few thoughts: 1. You may want to look at https://github.com/clojure/test.generative/blob/master/data-model.org. 2. I don't think you want a ref for *assertion-results* -- I am not aware of any use cases that would need transactions. In any case the choice of reference type probably

Clojure and Datomic workshops at NDC Oslo week of June 10

2013-05-27 Thread Stuart Halloway
Hi all, I will be doing Clojure and Datomic workshops, as well as a few talks. at NDC Oslo in a few weeks, see http://ndcoslo.oktaset.com/Agenda for details. Hope to see some of you there! Stu -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: is there a way to use clojure.main/repl from lein?

2013-05-27 Thread Stuart Halloway
rent PETIT wrote: > Hello, > > What about > > lein run -m clojure.main > > ? > > > 2013/5/27 Stuart Halloway : > > As opposed to tools.nrepl? > > > > Thanks, > > Stu > > > > -- > > -- > > You received this message becaus

is there a way to use clojure.main/repl from lein?

2013-05-27 Thread Stuart Halloway
As opposed to tools.nrepl? Thanks, Stu -- -- 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 first post. To unsu

ANN: Simulant, a library for simulation testing

2013-03-20 Thread Stuart Halloway
Wiki/repo: https://github.com/Datomic/simulant/wiki Clojars: https://clojars.org/com.datomic/simulant Presentations: https://github.com/stuarthalloway/presentations/wiki/Simulation-Testing Enjoy! Stu -- -- You received this message because you are subscribed to the Google Groups "Cloju

Re: Clojure 1.5.1

2013-03-11 Thread Stuart Halloway
Fixed, thanks. Stu On Sun, Mar 10, 2013 at 7:28 PM, wrote: > I think there's a typo in the download link on > http://clojure.org/downloads: > > It says http://repo1.maven.org/maven2/org/clojure/clojure/1.5.*0* > /clojure-1.5.1.zip

Clojure 1.5.1

2013-03-10 Thread Stuart Halloway
Clojure 1.5.1 fixes a memory leak in Clojure 1.5, discussed here: https://groups.google.com/d/msg/clojure-dev/uAFM0Ti4AcQ/GmnKmphF1BgJ Getting Clojure: Web: http://clojure.org/downloads Lein/Maven: :dependencies [[org.clojure/clojure "1.5.1"]] Note that it will take a few hou

ANN: Clojure 1.5

2013-03-01 Thread Stuart Halloway
ner Hubert Iwaniuk Hugo Duncan John Szakmeister Juha Arpiainen Justin Kramer Kevin Downey Laurent Petit Meikel Brandmeyer Michael Fogus Michał Marczyk Michel Alexandre Salim Philip Aston Philip Potter Rich Hickey Scott Lowe Steve Miner Stuart Halloway Stuart Sierra Tassilo Horn Toby Crawley Tom Faulhab

Clojure 1.5 RC 17 wending through the maven pipes

2013-02-22 Thread Stuart Halloway
Only change from RC 16 is http://dev.clojure.org/jira/browse/CLJ-1168. Please test for regression. Stu -- -- 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

RC 16: Last chance to test against Clojure 1.5 before it ships

2013-02-13 Thread Stuart Halloway
If you care about Clojure 1.5 compatibility for your codebase, please test it against RC 16 as soon as possible. You can get the source and build it yourself from [1], or wait for Maven Central [2] to pick up the CI build, which usually takes a few hours. Thanks! Stu [1] https://github.com/cloju

Clojure in the Field 2013 edition, suggestions wanted

2013-02-13 Thread Stuart Halloway
Next week, I will be giving an all-new version of my "Clojure in the Field' experience report [1] at DevNexus in Atlanta [2]. I will be drawing in Chas's State of Clojure Survey [3], and on the community success stories page [4], but those only scratch the surface of the wealth of Clojure experien

Clojure 1.5 RC 15 coming soon to Maven Central

2013-02-10 Thread Stuart Halloway
Please test... Stu -- -- 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 first post. To unsubscribe from this gr

Re: Clojure 1.5 RC 14

2013-02-10 Thread Stuart Halloway
: Success > VM Running Arch Linux: Success > > So I can't say it is easily reproducible. I'll see if I can find what is > tripping things up on the iMac today. > > -Aaron > > On Feb 10, 2013, at 8:36 AM, Stuart Halloway > wrote: > > Aaron: > > Were y

Re: Clojure 1.5 RC 14

2013-02-10 Thread Stuart Halloway
48.046-00:00" #inst "1980-02-10T15:10:37.905-00:00" #inst >> "1978-05-09T10:52:42.400-00:00" #inst "1991-03-04T00:27:15.926-00:00" #inst >> "1993-12-10T20:33:14.714-00:00" #inst "2045-04-04T10:42:38.474-00:00" #inst >> "1

Re: `let` to automatically add metadata / fn names?

2013-02-09 Thread Stuart Halloway
It is likely that, once this Pandora's box is opened, there will be more profiles that just debug yes/no. It is almost certain that whatever we do must be maven friendly. (Maven is a de facto standard for 1000x more people than leiningen, and some of them want to use libs written in Clojure.) If

Clojure 1.5 RC 14

2013-02-09 Thread Stuart Halloway
Clojure 1.5 RC 14 (fourteen) will be available soon from Maven Central: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojure%22%20AND%20v%3A1.5.0* Please test it! Thanks, Stu -- -- You received this message because you are subscribed to the Google Groups "Cl

Re: `let` to automatically add metadata / fn names?

2013-02-09 Thread Stuart Halloway
+1 on this line of thought. We are definitely interested in decomplecting dev mode utility from production lean-and-meanness. One question along this path is "What options exist in Java/maven land for doing multiple releases of the same artifact with e.g. different performance and debugging charac

ANN: Simulant: a framework for simulation-based testing

2013-02-02 Thread Stuart Halloway
I am pleased to announce the release of Simulant, an open-source framework for simulation-based testing built using Datomic and Clojure: https://github.com/Datomic/simulant Feedback welcome! Stu -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. T

Re: the semantic of if-let macro

2013-01-31 Thread Stuart Halloway
The docs are clear that the test occurs before the bindings: (doc if-let) - clojure.core/if-let ([bindings then] [bindings then else & oldform]) Macro bindings => binding-form test If test is true, evaluates then with binding-form bound to the value of test, if not,

Clojure 1.5 RC 4 wants to be Clojure 1.5

2013-01-31 Thread Stuart Halloway
Clojure 1.5 RC 4 is now available via Maven Central: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojure%22%20AND%20v%3A1.5.0* Please test it! -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Stuart Halloway
Changing the way Clojure is *packaged* to meet the needs of an alien build system is the tail wagging the dog. Clojure uses the de facto Java standard (Maven) to deal with these things. Clojure's build depends on a number of plugins (maven-release-plugin, maven-source-plugin, maven-jar-plugin, ma

Clojure 1.5.0 RC 1

2012-12-22 Thread Stuart Halloway
I just kicked off the RC1 build for Clojure. With luck, within a few hours it will show up at Maven Central [1] Please test it. It would be fantastic if as many people as possible updated their projects and tested with the RC, so we can flush out issues now instead of in release. Regards, Stu

Re: STM - a request for "war stories"

2012-12-11 Thread Stuart Halloway
Is it possible to write a reducing function that mutates a list in Clojure? Sure. But I think it is absurdly unlikely that it would happen by accident. My 1% chance wasn't hedging against that case -- I was hedging against a bug in reduce itself. I don't really see even a 1% likelihood of either

Re: STM - a request for "war stories"

2012-12-11 Thread Stuart Halloway
Hi Paul, Here is a real-world, production software example of the advantage of values+refs over mutable objects and locks. A Datomic user reported the following stack trace as a potential bug: 12:45:43.480 [qtp517338136-84] WARN c.v.a.s.p.e.UnknownExceptionHandler - UnknownExceptionHandler: null

Re: STM - a request for "war stories"

2012-12-11 Thread Stuart Halloway
Hi Paul, If it isn't too late to change your chapter title, I would encourage emphasizing Clojure's model of references and values in general, and the option of implementing a variety of different reference semantics that all conform to the same basic API shape. That general approach has been gam

Re: Default random in Clojure doesn't seem to fit fp paradigm

2012-12-06 Thread Stuart Halloway
Yes, that fix needs to be made, patch welcome. I also have considered making a protocol for random so that (1) other impls can be used and (2) easier to port to ClojureScript. Stu On Thu, Dec 6, 2012 at 9:15 AM, Asim Jalis wrote: > On Thu, Dec 6, 2012 at 5:40 AM, Stuart Sierra > wrote: > >> T

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread Stuart Halloway
> Stuart, can you elaborate a little what better triage looks like? What are > the current issues you're facing and what would make the process better for > you? The ER metaphor perhaps isn't the best :) > What are other ways the community can help get changes pushed along better > and integra

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread Stuart Halloway
uld link out more. Leadership in making dev.clojure.org excellent would be most welcome. Don't ask for permission, just do it. Cheers, Stu Stuart Halloway Clojure/core http://clojure.com -- You received this message because you are subscribed to the Google Groups "Clojure" g

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread Stuart Halloway
> 3.) Much like an Emergency Room, there should be a a fast-track to getting > smaller patches approved and merged. > This is actually not a problem consistent across all areas of the language - > some contrib libraries and ClojureScript in particular seem to be getting > this *just right*. > Is

Re: edn

2012-09-06 Thread Stuart Halloway
The rationale appears to be up now, and for my money, it is quite clear: JSON not powerful enough, Clojure does too much and is a burden for implementers. That said, I won't complain if somebody happens to implement full Clojure serialization while implementing edn. ;-) Stu > I expect there to

Re: redefining multimethods at the repl

2012-09-05 Thread Stuart Halloway
I started a wiki page for this: http://dev.clojure.org/display/design/Never+Close+a+REPL If you have other REPL-reloading annoyances please add them there. Stuart Halloway Clojure/core http://clojure.com > Kevin Downey writes: > >> if I recall, the current defonce like

Re: redefining multimethods at the repl

2012-09-05 Thread Stuart Halloway
Brian, I share your pain. A standardized contrib solution for this would be welcomed. Are there other things like this that cause people to "restart REPL" unnecessarily? I would like to identify the whole list of such things and kill them. Stu > Thanks. I think I'll write my own `defgeneric`

Re: Question about sets

2012-09-05 Thread Stuart Halloway
Hi Mark, Thanks for extracting a summary of the conversation so far, and +1 for making sure this is on the wiki. Stu > On Tue, Sep 4, 2012 at 9:30 AM, Andy Fingerhut > wrote: > I'm just trying to get the argument for change as clearly as possible. > > The major bullet points: > 1. "It's a bu

Re: Rich's "The Value of Values" and REST

2012-08-23 Thread Stuart Halloway
> Rich was promoting functional programming. I can see functional programming > has its benefits, but you will need mutable states eventually somewhere to do > useful things. Functional programming just tell you to constraint yourself > when using mutable states. It's not like mutable states are

I will be doing Intro to Clojure at StrangeLoop

2012-08-17 Thread Stuart Halloway
Late-breaking add to the StrageLoop preconference workshops: https://thestrangeloop.com/sessions/intro-to-clojure Cheers, Stu Stuart Halloway Clojure/core http://clojure.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: reduce-kv doesn't reduce a sorted-map in order

2012-08-10 Thread Stuart Halloway
Confirmed -- thanks for the report. Stu > Hi, > > It seems reduce-kv doesn't reduce a sorted-map in the correct order. > > Example - > > user> (def *sm (into (sorted-map) {:aa 1 :zz 2 :bb 3 :yy 4 :cc 5 :xx 6})) > ;=> #'user/*sm > > user> *sm > ;=> {:aa 1, :bb 3, :cc 5, :xx 6, :yy 4, :zz 2} >

Re: Question about sets

2012-08-05 Thread Stuart Halloway
My 2c: 1. Simplicity is partially about having orthogonal primitives. A duplicate-removing collection factory cannot be sensibly used to implement a throw-on-duplicates collection factory, nor vice versa, so both seem equally primitive to me. 2. Given that both flavors are useful, they should

Fwd: [ANN] Datomic Free Edition

2012-07-24 Thread Stuart Halloway
0.8.3335 is now on the site, and includes the correct pom.xml. http://www.datomic.com/get-datomic.html Cheers, Stu > From: Stuart Halloway > Date: July 24, 2012 1:54:25 PM EDT > To: clojure@googlegroups.com > Subject: Re: [ANN] Datomic Free Edition > > Working on this,

Re: [ANN] Datomic Free Edition

2012-07-24 Thread Stuart Halloway
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 > first post. > To unsubscribe from this group, send emai

Re: Why cannot "last" be fast on vector?

2012-06-30 Thread Stuart Halloway
d 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 > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegr

Re: Is there a reason why 'some' returns "nil" instead o "false"?

2012-06-14 Thread Stuart Halloway
(doc boolean) Cheers, Stu Stuart Halloway Clojure/core http://clojure.com > >> (defmacro in? > >> "Returns true if colle contains elm, false otherwise." > >> [colle elm] > >> `(if (some #{~elm} ~colle) true false)) > > Yes. Should not

Re: [PATCH] RFC: Add Functions `tabify` And `untabify`

2012-06-08 Thread Stuart Halloway
Whatever we do let's make sure we think about how to make it available in all Clojure dialects. Stu > On Jun 8, 2012, at 8:49 AM, Jay Fields wrote: > >> I wouldn't mind seeing more in clojure.string. e.g. daserize, underscore, >> pascal-case, camel-case > > +1 > > > - > Brian Marick, Ar

Re: Clojure for shell scripts

2012-05-20 Thread Stuart Halloway
Stuart Halloway Clojure/core http://clojure.com > Hey everyone!, > > I know this is an old story. > > I've played with clojure, but the main thing that has kept me from > never looking back is the startup speed. "Hello world!" in Java takes > me .303s, but

1.5.0 alpha1 on the way

2012-05-18 Thread Stuart Halloway
ttps://groups.google.com/forum/?fromgroups#!forum/clojure-dev Thanks to everyone contributing feedback and patches, and special thanks to Andy Fingerhut for producing the Friday work lists on the dev mailing list. Stu Stuart Halloway Clojure/core http://clojure.com -- You received this message bec

Re: code as data vs. code injection vulnerability

2012-05-09 Thread Stuart Halloway
laziness. (1) Using Clojure as a print/read format does not tie your clients to Clojure. Readers exist in many languages, and are easy to implement. (2) XML, despite its baroqueness, is extensible. So is Clojure data. This is a big advantage, and many approaches lack it. Cheers, Stu Stuart

Re: Accessing collections from Datomic datalog queries

2012-05-09 Thread Stuart Halloway
> I've seen hinted (and I'm pretty sure I've seen examples, but I can't > remember where) that Datomic can incorporate data from regular Clojure > collections. Is there some doc for this or an example? > > Thanks in advance Hi Mark, I have moved this to the Datomic group and answered it the

  1   2   3   4   5   6   7   8   9   >