Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-20 Thread Francesco Bellomi
Nicola, of course you're right. I recently switched to the 3-ary analyze in order to use :validate/wrong-tag-handler and I was wrongly passing {} as the env, instead of (empty-env). When I saw the Invalid token: ::a/b errors I was fooled into thinking they were purely syntactical errors (but

Clojure production environment

2014-08-20 Thread Serzh Nechyporchuk
Hi, guys I've just googled about clojure production environments and found nothing about it. I want to ask what environments for production do you use (e.g. application server, cloud platform, deploy tool, etc)? I think this information will be interesting for many people. For now in our

Re: Future termination

2014-08-20 Thread Serzh Nechyporchuk
Sorry for my delayed answer. I've tried examples with only futures that you give and they works really fine, all agent were closed. And I figured out that this problem arises only when I using datomic.api. java -version java version 1.7.0_55 OpenJDK Runtime Environment (IcedTea 2.4.7)

Re: Clojure production environment

2014-08-20 Thread Michael Klishin
On 20 August 2014 at 11:52:51, Serzh Nechyporchuk (nechyporc...@gmail.com) wrote: I want to ask what environments for production do you use (e.g. application server, cloud platform, deploy tool, etc)? I think this information will be interesting for many people. For now in our project we

Re: Clojure production environment

2014-08-20 Thread Bruce Durling
Embedded jetty or httpkit + uberjar running behind nginx running behind elastic load balancer on aws. On Wed, Aug 20, 2014 at 9:37 AM, Michael Klishin michael.s.klis...@gmail.com wrote: On 20 August 2014 at 11:52:51, Serzh Nechyporchuk (nechyporc...@gmail.com) wrote: I want to ask what

Re: Clojure production environment

2014-08-20 Thread dennis zhuang
jetty + lein jar + lein libdir,and used fabric to deploy applications.Uses nginx as load balancer. 2014-08-20 16:55 GMT+08:00 Max Penet m...@qbits.cc: For web stuff we use jetty (9) apps as uberjar, behind nginx, deployed and CC via ansible, hosted on DigitalOcean as well. Ansible is super

Re: Clojure production environment

2014-08-20 Thread Mikera
Typically I have been using: - embedded http-kit (both for production and dev/testing in a REPL environment) - lein uberjar to build a runnable jar file with all dependencies - hosted on any Linux server (e.g. DigitalOcean, AWS) - nginx as proxy where needed On Wednesday, 20 August 2014

Is Clojure a language for growth?

2014-08-20 Thread aboy021
Is Clojure a suitable language for a company that needs to grow quickly? If a company wants to be able to hire staff and get them up to speed, as well as have options for bringing in contractors and outsourcing some work, is Clojure a good choice? We've had trouble finding Clojure devs, and

Re: Clojure production environment

2014-08-20 Thread Bruce Durling
On Wed, Aug 20, 2014 at 11:25 AM, Mikera mike.r.anderson...@gmail.com wrote: - hosted on any Linux server (e.g. DigitalOcean, AWS) Wait... some people *don't* run everything on linux? o_O -- @otfrom | CTO co-founder @MastodonC | mastodonc.com See recent coverage of us in the Economist

Re: Clojure production environment

2014-08-20 Thread David Powell
Wait... some people *don't* run everything on linux? o_O [raises hand] embedded jetty + lein uberjar + lein libdir + windows + commons procrun -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Clojure production environment

2014-08-20 Thread Bruce Durling
David, You are a braver man than me. ;-) Do you encounter any windows only issues? cheers, Bruce On Wed, Aug 20, 2014 at 12:12 PM, David Powell djpow...@djpowell.net wrote: Wait... some people *don't* run everything on linux? o_O [raises hand] embedded jetty + lein uberjar + lein libdir +

Re: Clojure production environment

2014-08-20 Thread David Powell
Nah, everything works pretty awesomely. The only minor issue I can think of is enlive template reloading not working properly out of the box. Clojurescript and Lein have had some Windows issues in the distant past, but they are fine now. 90% of past issues have been caused by some code somewhere

Commercial Users of Functional Programming at ICFP 2014, Gothenburg, Sep 4-6

2014-08-20 Thread Michael Sperber
** CALL FOR PARTICIPATION Commercial Users of Functional Programming (CUFP) 2014 at ICFP 2014; Gothenburg, Sweden, Sep 4-6. ** Overview Functional

DevArt Co(de)Factory open source release

2014-08-20 Thread Karsten Schmidt
Hi fellow Clojurians, it's my absolute pleasure to finally announce the open source release of an art project I've been working on full-time since beginning of the year: DevArt Co(de)Factory is a joint commission by Google and the Barbican Centre London and is featured as part of DevArt at the

Re: Is Clojure a language for growth?

2014-08-20 Thread Henrik Eneroth
Have you read Paul Graham's *beating the averages http://www.paulgraham.com/avg.html*? I find it absolutely amazing, but one of the reasons that Clojure is such a phenomenal choice, if you can deal with the incidental complexity around it, is that it still is a somewhat non-obvious choice.

Re: Is Clojure a language for growth?

2014-08-20 Thread Joshua Ballanco
My advice on convincing your boss to use Clojure for a new project: don’t. Projects succeed or fail for any number of different reasons, but I can guarantee you that if you *start* a new project with Clojure, and it does happen to fail, then the choice of Clojure will bear the brunt of the

Re: [ClojureScript] DevArt Co(de)Factory open source release

2014-08-20 Thread David Nolen
Amazing work! David On Wed, Aug 20, 2014 at 8:31 AM, Karsten Schmidt i...@toxi.co.uk wrote: Hi fellow Clojurians, it's my absolute pleasure to finally announce the open source release of an art project I've been working on full-time since beginning of the year: DevArt Co(de)Factory is a

Re: Is Clojure a language for growth?

2014-08-20 Thread Phillip Lord
aboy021 arthur.bo...@gmail.com writes: We've had trouble finding Clojure devs, and others have complained of how hard it is to learn Clojure and read the code from open source projects, especially for those with backgrounds in languages like C++. I think Clojure should be a good fit for

Re: Clojure production environment

2014-08-20 Thread Larry Staton Jr.
Immutant behind nginx behind Elastic Load Balancer on AWS. Deploy tool of choice is make. On Wednesday, August 20, 2014 3:52:45 AM UTC-4, Serzh Nechyporchuk wrote: Hi, guys I've just googled about clojure production environments and found nothing about it. I want to ask what environments

Re: [ClojureScript] DevArt Co(de)Factory open source release

2014-08-20 Thread Bruce Durling
Karsten, That's awesome. I'll be going to see it soon. cheers, Bruce On Wed, Aug 20, 2014 at 1:31 PM, Karsten Schmidt i...@toxi.co.uk wrote: Hi fellow Clojurians, it's my absolute pleasure to finally announce the open source release of an art project I've been working on full-time since

Re: Is Clojure a language for growth?

2014-08-20 Thread gvim
On 20/08/2014 14:09, Phillip Lord wrote: When I got my first Java job, I had no experience at it; day one was popping into town to buy a how to program Java book. Actually, I had very little experience and no qualifications in programming at all; perhaps the world was a different place then.

Weird data reader issue (clj-time)

2014-08-20 Thread dan . stone16321
Maybe I am missing something obvious - I am using custom data readers for joda-time instants. time/inst strings are coerced into utc date times, time/insto keep the offset around. Using the exact same function to parse the string via the data-reader, and just calling the function - I get

Re: Is Clojure a language for growth?

2014-08-20 Thread Rangel Spasov
Good reasons here http://www.quora.com/Clojure/Why-would-someone-learn-Clojure On Wednesday, August 20, 2014 3:37:41 AM UTC-7, aboy021 wrote: Is Clojure a suitable language for a company that needs to grow quickly? If a company wants to be able to hire staff and get them up to speed, as

Re: Is Clojure a language for growth?

2014-08-20 Thread Nando Breiter
Perhaps the question is more Is your boss (or company) suitable for Clojure? On Wed, Aug 20, 2014 at 2:56 PM, Joshua Ballanco jball...@gmail.com wrote: My advice on convincing your boss to use Clojure for a new project: don’t. Projects succeed or fail for any number of different reasons, but

Re: Is Clojure a language for growth?

2014-08-20 Thread Marcus Blankenship
+1 to Joshua's answer. If you want to make sure that Clojure never gets used, convince your boss to try it and then fail to meet expectations for ANY reason. One thing I know, poor Clojure will take all the blame and be booted from the company. When my company was young, I convinced my

Re: Is Clojure a language for growth?

2014-08-20 Thread Jonah Benton
To add a data point to this, while the technology is great, it is not necessarily right for all companies at all lifecycle stages. My experience has been that C++ skills and interests don't necessarily translate directly to Clojure. The kinds of microdecisions one makes in modeling, algorithm

Re: Is Clojure a language for growth?

2014-08-20 Thread Phillip Lord
gvim gvi...@gmail.com writes: On 20/08/2014 14:09, Phillip Lord wrote: When I got my first Java job, I had no experience at it; day one was popping into town to buy a how to program Java book. Actually, I had very little experience and no qualifications in programming at all; perhaps the

Re: Weird data reader issue (clj-time)

2014-08-20 Thread Marshall Bockrath-Vandegrift
What's your `print-dup` for instants print them as? The way compilation for these expressions is going to work is: (a) The initial form will be read using the configured *data-readers*, handing the compiler a form with a literal instance object. (b) The compiler will generate code to create

Re: Clojure production environment

2014-08-20 Thread gvim
On 20/08/2014 14:18, Larry Staton Jr. wrote: Immutant behind nginx behind Elastic Load Balancer on AWS. Deploy tool of choice is make. I understood that Immutant is now a library which runs on something like Wildfly 8. Anyone using Wildfly as I'm considering it for an app? gvim -- You

Re: Is Clojure a language for growth?

2014-08-20 Thread Quzanti
I'd agree with this. A closely held (financially) company with a small team of very bright programmers (preferably with a decent stake in the outcome so they stay around) will be able to exploit the power and productivity of clojure to do with a small team fast what would need far more people

Re: [ClojureScript] DevArt Co(de)Factory open source release

2014-08-20 Thread Karsten Schmidt
Thanks guys, much appreciated! Bruce, I'll be at the Barbican most mornings for the next couple of weeks - so pls ping me before you go! :) K. On 20 August 2014 14:19, Bruce Durling b...@otfrom.com wrote: Karsten, That's awesome. I'll be going to see it soon. cheers, Bruce On Wed, Aug 20,

Re: Is Clojure a language for growth?

2014-08-20 Thread Henrik Eneroth
… as soon as anything goes wrong whether it has anything to do with the technology choice or not you become mr fall guy, to be blamed and fired so that other people can keep their jobs. Seen it happen so many times. Good lord, truly? Perhaps this is a good time to ask what culture OP

Re: Is Clojure a language for growth?

2014-08-20 Thread Quzanti
Whenever there is an external institutional stakeholder it is almost guaranteed to happen. Someone in that external institution has a bonus or promotion depending on the outcome, and will demand results. They will also have penalty clauses in the contract which can be anything from

Re: Is Clojure a language for growth?

2014-08-20 Thread Quzanti
Just looked at your profile. Sweden? A very enlightened place. I am a big fan of the Paradox Interactive games. What happens in Sweden when investors lose their money? On Wednesday, August 20, 2014 7:16:55 PM UTC+1, Henrik Eneroth wrote: … as soon as anything goes wrong whether it has

Re: Is Clojure a language for growth?

2014-08-20 Thread Ashton Kemerling
I personally snuck it into my company in a limited fashion by selling its libraries, test.check in particular. This has gone quite well. On Wed, Aug 20, 2014 at 1:28 PM, Quzanti quza...@googlemail.com wrote: Whenever there is an external institutional stakeholder it is almost guaranteed to

setrlimit from Clojure

2014-08-20 Thread Chai Tadada
Hello, Is it possible to call the setrlimit syscall on Unix (I want to increase the NOFILE limit from my program)? Is there a Clojure or Java binding for this? Tried to Google clojure setrlimit and java setrlimit, but did not get anything useful. -- You received this message because you are

Re: Is Clojure a language for growth?

2014-08-20 Thread Linus Ericsson
Well, for better or worse we don't like conflicts that much. This has benefits when it comes to some kinds of problem solving (the way to consensus in Swedish companies is worth at least a chapter in a big book about antrophology). This shyness for open conflicts can lead to stagnation. This

Re: setrlimit from Clojure

2014-08-20 Thread Linus Ericsson
According to this [1] post one can reachything in Glibc with JNA. I have never tried. /Linus [1] http://unix.stackexchange.com/questions/1681/invoke-syscalls-from-java On Wednesday, August 20, 2014, Chai Tadada chai.tad...@gmail.com wrote: Hello, Is it possible to call the setrlimit syscall

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-20 Thread dmiller
Nicola, Excellent work! Looking forward to seeing tools.analyzer.clr in the near future. :) Well, actually, seriously, with the use of tools.analyzer.* in critical projects such as core.async, a port of tools.analyzer.jvm seems necessary. Unless you know of plans to make a port, I'll add it

Re: Is Clojure a language for growth?

2014-08-20 Thread Quzanti
If an investor were kicking people out, its usually because money is running low or for other more diffuse reasons. If an investor or boss somewhere where kicking out people at random, he would quickly loose respect from his other employeers. The rest would soon leave as well. Hence the need