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

2015-07-19 Thread Max Gonzih
On Saturday, July 18, 2015 at 5:44:29 PM UTC+2, Luc wrote: Sure, indentation is what gets the code running on metal :)) Not ranting here, just my abs dying from the pain as I laugh :)) Comments like that are often linked as an expample of Functional Programmers attitude. Let's not do

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

2015-07-19 Thread Max Gonzih
Many people feel this way, but ultimately Clojure is Rich's project and I guess Cognitect's to some extent. If they don't want to run it like other more open contribution-friendly OSS projects this is obviously their right. Similar concern and attitude caused apearence of io.js. Do we want

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Peter Taoussanis
Hey Alex, Looks terrific, thank you! Particularly excited about CLJ-703 and tuples. Quick question: are tuples intended to implement :kv-reduce? Currently (with 1.8.0-alpha2): (reduce-kv (fn [acc idx in] acc) nil [1 2 3 4 5 6 7]) ; = nil (reduce-kv (fn [acc idx in] acc) nil [1 2]) ;; = No

Agent order of message processing

2015-07-19 Thread William la Forge
I've been working with agents and it looked like messages are often processed in the reverse of the order received. I checked http://clojure.org/agents and confirmed that Actions dispatched to an agent from another single agent or thread will occur in the order they were sent, potentially

Re: Agent order of message processing

2015-07-19 Thread William la Forge
Oh, I could be all wet about the code. It is probably a ring being used to create an immutable queue. I'm going to need to think about that some more. Not sure at all why my tests are showing old values being returned after an update. Some volatile issue? I've got some cheats in my code that I

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

2015-07-19 Thread Mikera
On Sunday, 19 July 2015 00:03:04 UTC+8, Andy Fingerhut wrote: I don't think the tweets you link are the 'normal approach'. I would call them pretty unusual in several aspects. For one, I think that for the vast majority of Clojure tickets created, no on asks and gets Rich's comments on

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Robin Heggelund Hansen
Are tuples used for small maps as well? -- 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

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

2015-07-19 Thread Luc Prefontaine
Your comments are one-sided. When I modify code written by others, I follow their style. I do not complain about their code formatting habits. I wrote/modified enough code in 30 years written by hundreds of individuals to find emphasis on code formatting and variable naming a waste of time and

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

2015-07-19 Thread Luc Prefontaine
I agree with you but changes like this need time to bloom and are motivated by increased pressure to release. We have been seeing more of that in the last year. Linus did not find solid maintainers day one. You need to test drive individuals before you can delegate significant chunks and not

Re: Agent order of message processing

2015-07-19 Thread William la Forge
The code for actor looks very different this morning. Obviously an immutable queue is being used. On Sunday, July 19, 2015 at 2:12:43 AM UTC-4, William la Forge wrote: I've been working with agents and it looked like messages are often processed in the reverse of the order received. I

Re: [:ann :book] ClojureScript Unraveled

2015-07-19 Thread Nando Breiter
I'm a Clojure beginner and wanted to compliment the authors on a very clear yet concise text. Thank you. Aria Media Sagl Via Rompada 40 6987 Caslano Switzerland +41 (0)91 600 9601 +41 (0)76 303 4477 cell skype: ariamedia On Fri, Jul 17, 2015 at 7:30 PM, Alejandro Gómez alejan...@dialelo.com

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

2015-07-19 Thread Colin Fleming
On 18 July 2015 at 19:54, Luc Préfontaine lprefonta...@softaddicts.ca wrote: My tone does not please you ? It could be worse and I reserve my right to free speech. Have a look at some Linus rants. I am far from that level. I think everyone in this community should aspire to more than I'm not

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Alex Miller
Seems like a bug to me. On Sunday, July 19, 2015 at 3:10:37 AM UTC-5, Peter Taoussanis wrote: Hey Alex, Looks terrific, thank you! Particularly excited about CLJ-703 and tuples. Quick question: are tuples intended to implement :kv-reduce? Currently (with 1.8.0-alpha2): (reduce-kv (fn

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

2015-07-19 Thread Alex Miller
On Sunday, July 19, 2015 at 7:02:43 AM UTC-5, Luc wrote: I agree with you but changes like this need time to bloom and are motivated by increased pressure to release. We have been seeing more of that in the last year. Linus did not find solid maintainers day one. You need to test drive

Re: roundtripping using data.xml?

2015-07-19 Thread Andreas Liljeqvist
Matching socks and Herwig, thanks for your answers. https://github.com/bendlas/data.xml works for roundtripping the data. Currently using raw-parsing and raw-emit. Great work, hope it will be accepted into master eventually. On Tue, Jun 23, 2015 at 1:56 PM Herwig Hochleitner

Re: [:ann :book] ClojureScript Unraveled

2015-07-19 Thread Alejandro Gómez
We just released the second revision which includes a lot of corrections, an Acknowledgments section and an almost finished chapter about CSP core.async which covers all its API and introduces the CSP concepts. - Leanpub: https://leanpub.com/clojurescript-unraveled - GitHub repository:

Building Falcor/Relay/... for Clojure Clojurescript

2015-07-19 Thread Laurens Van Houtven
Hi everyone, In a recent talk, David Nolen talks about a great idea for Om Next, where components declaratively describe what data they’re interested in. [omnext] I’d like to explore the optional server-side router part. The idea is that you write your code on the front-end as if you have

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Michael Blume
(It looks like you're depending on Potemkin through clj-http, so upgrading to clj-http 2.0.0 will also solve the problem) On Sun, Jul 19, 2015 at 4:53 PM Michael Blume blume.m...@gmail.com wrote: Looks like it has, pinning to Potemkin 0.4.1 should probably sort you out On Sun, Jul 19, 2015 at

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Daniel Compton
Is this a good candidate area for adding generative tests? It seems like they may have been able to catch this regression. On Mon, Jul 20, 2015 at 1:40 AM Alex Miller a...@puredanger.com wrote: Seems like a bug to me. On Sunday, July 19, 2015 at 3:10:37 AM UTC-5, Peter Taoussanis wrote:

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Michael Blume
Sean, I think that was identified as a bug in Potemkin. The pull was merged but I'm not sure if there's been a release since. Zack? https://github.com/ztellman/potemkin/pull/40

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Sean Corfield
Bumping clj-http to 2.0.0 got me past that problem (and it uses Potemkin 0.4.1) but then I hit the problem below, which I’ve run into several times trying to use updated versions of clj-http over the last year. Message java.lang.RuntimeException: No such var: clj-tuple/vector,

[ANN] Afterglow 0.1.0, an open-source live-coding Clojure environment for light shows

2015-07-19 Thread James Elliott
I just released version 0.1.0 of Afterglow so that other interested people can start exploring it. I simply cannot believe I have been able to create a system like this in a couple of months, after being inspired by the example of Overtone. Thank you, Clojure community, for making software

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Sean Corfield
On Jul 18, 2015, at 10:33 PM, Sean Corfield s...@corfield.org wrote: Wow, that's a fast timeline. Thank you. We'll upgrade to Alpha 2 this week. We may go to production with it fairly quickly. Switched out 1.7.0 for 1.8.0-alpha2 and got the exception below. Posting here in case anyone knows

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Michael Blume
Looks like it has, pinning to Potemkin 0.4.1 should probably sort you out On Sun, Jul 19, 2015 at 4:50 PM Michael Blume blume.m...@gmail.com wrote: Sean, I think that was identified as a bug in Potemkin. The pull was merged but I'm not sure if there's been a release since. Zack?

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

2015-07-19 Thread Luc Préfontaine
Prioritizing the 'good' form over the substance is the first step toward political correctness and lobotomy. Civility is more about form than substance and has various meaning depending on the people involved. You can say horrendous things using a civil tone. It's as unbearable as a crude

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Devin Walters
http://docs.paralleluniverse.co/pulsar/ is out there. I can't say I've used it in anger, but I did enjoy experimenting with it. On Sun, Jul 19, 2015 at 11:24 AM Colin Yates colin.ya...@gmail.com wrote: I don’t have anything to add at that scale, but I wanted to echo Stuart’s comment about the

Re: #{:eduction :performance} Trying to understand when to use eduction

2015-07-19 Thread Leon Grapenthin
Stuart and Alex, thank you for your replies and recommondations. I take it then that the problem is the seq casting performed in apply and in reduce1. For now the only way to avoid applys seq casting seems to be a hackish .doInvoke call. Kind regards, Leon. On Sunday, July 19, 2015 at

Re: #{:eduction :performance} Trying to understand when to use eduction

2015-07-19 Thread Stuart Sierra
Hi Leon, I think this is an edge case related to how varargs functions are implemented in Clojure. The varargs arity of `max` is implemented with `reduce1`: core.clj line 1088 https://github.com/clojure/clojure/blob/36d665793b43f62cfd22354aced4c6892088abd6/src/clj/clojure/core.clj#L1088

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

2015-07-19 Thread Andrey Antukh
Is there any need to speak with this tone and this arrogance? It's just an attempt to improve things, and I think there is nothing negative about it. I think the initial motivation of this email is change things to be better and with good intentions. It make sense to attack good intentions without

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Stuart Sierra
This is an old thread, but it showed up in my Google Groups so I figured I would give an answer. I have worked on fairly large (10-50 machines) distributed systems written entirely in Clojure. The language itself doesn't provide an explicit mechanism for communication between machines, so you

Re: #{:eduction :performance} Trying to understand when to use eduction

2015-07-19 Thread Alex Miller
On Sunday, July 19, 2015 at 10:53:25 AM UTC-5, Stuart Sierra wrote: Hi Leon, I think this is an edge case related to how varargs functions are implemented in Clojure. The varargs arity of `max` is implemented with `reduce1`: core.clj line 1088

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread 09goral .
Thanks Stuart for your answer, it is very helpfull. Would you choose Clojure again ? 2015-07-19 17:13 GMT+02:00 Stuart Sierra the.stuart.sie...@gmail.com: This is an old thread, but it showed up in my Google Groups so I figured I would give an answer. I have worked on fairly large (10-50

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Stuart Sierra
Absolutely would use again. But I'm biased towards Clojure already. :) –S On Sunday, July 19, 2015 09goral wrote: Thanks Stuart for your answer, it is very helpfull. Would you choose Clojure again ? 2015-07-19 17:13 GMT+02:00 Stuart Sierra: This is an old thread, but it showed up in my

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Colin Yates
I don’t have anything to add at that scale, but I wanted to echo Stuart’s comment about the serialisability of EDN. Moving EDN between the front and back tiers on our app has cut down a bunch of boilerplate. That principle can scale across machines as well. On 19 Jul 2015, at 16:54, Stuart

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Christopher Small
I'll also add that if you're interested in the Storm model (distributed stream processing), you may want to check out Onyx (https://github.com/onyx-platform/onyx). It's newer, but I have a feeling that moving forward we're going to see it take a dominant position as far as that flavor of

Re: [:ann :book] ClojureScript Unraveled

2015-07-19 Thread Bozhidar Batsov
That's a really exciting project, as a lot of people are looking to get started with ClojureScript and are finding it kind of hard because of the lack of such resources. My advise would be to put a bit heavier focus on the differences between Clojure ClojureScript and add some section about

'cljsbuild' not a task

2015-07-19 Thread Bernie Baillargeon
I followed the instructions to add the proper dependencies, plugins to the project, but upon entering lein cljsbuild once as noted in every online doc/ tutorial related, I get the error C:\Functional_Languages\Clojure\clojurescript_master\!work\modern-cljslein cljsbuild once 'cljsbuild' is

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Zach Tellman
You're also going to have to target [clj-tuple 0.2.2], since something else seems to be shadowing that depedency. Sorry for all the fuss. On Sunday, July 19, 2015 at 5:02:13 PM UTC-7, Sean Corfield wrote: Bumping clj-http to 2.0.0 got me past that problem (and it uses Potemkin 0.4.1) but