Re: clojars down?

2016-01-01 Thread Alex Miller
I agree with Kyle - I've usually run a company proxy which gives you a lot of options (it's good to publish company forks of libs too). I believe one of the items the Clojars maintainers are working on with their new funding is support for mirrors. -- You received this message because you are

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Daniel Compton
IntelliJ 15 (the new version), bundles JDK8 for Mac OS X so the concern about Java 6 will get less over time. It could be helpful to extend https://github.com/clojars/clojars-web/issues/432 to support these third party mirrors so people just need to point an Ansible script at a server and it

Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
Given the recent DDoS-triggered outages at linode (including the one today that has been the worst yet, currently 10 hours at the time I'm writing this), I've been giving some more thought to how we can make future outages less painful for the community. I have an open issue[1] (but no code yet)

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
One potential issue with the mirrors is java 6 and HTTPS - the mirrors couldn't use 2048-bit dhparams[1] or SNI[2], since neither are supported in java 6. Yes, we all should be on java 7 or 8 at this point, but I believe Intellij still uses java 6 on MacOS, which would mean Cursive couldn't

Re: clojars down?

2016-01-01 Thread Ken Restivo
For deploys, I use uberjars. They don't need any dependencies. It's also arguably more secure to have a jar that I know has everything in it, rather than trusting lein to fetch it from somewhere that might have been DNS spoofed, maliciously proxied, etc. Of course, builds can be broken by

Re: clojars down?

2016-01-01 Thread Toby Crawley
We currently have a plan to move the repo out to a block store (s3 or similar), and part of the fundraising campaign was to pay someone for that implementation. For a near term solution, I just started a new thread about running public clojars mirrors. - Toby On Fri, Jan 1, 2016 at 10:10 PM,

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Michael Gardner
> On Jan 1, 2016, at 21:31, Toby Crawley wrote: > > But if we had a regular >process that crawled all of the mirrors and the canonical repo to >verify that the checksums every artifact are identical, this could >actually improve security, since we could detect if

Re: clojars down?

2016-01-01 Thread Kyle Cordes
On January 1, 2016 at 8:18:27 PM, Brad Koch (bradkoch2...@gmail.com) wrote: Our production deploys are broken right now because lein won't be able to fetch the dependencies during build.  We can't tolerate the risk of not being able to make new deployments for an extended period of time, and a

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Andrey Antukh
On Fri, Jan 1, 2016 at 9:53 PM, William la Forge wrote: > Andrey, > > This is where I have a problem. Ii could have implemented dewdrop lenses > as functions that could be composed. But the code would be harder to > understand and possibly be slower. I just do not see the

Re: clojars down?

2016-01-01 Thread Brad Koch
Anyone know if there are any mirrors available that we can use in the time being? Our production deploys are broken right now because lein won't be able to fetch the dependencies during build. We can't tolerate the risk of not being able to make new deployments for an extended period of time,

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
Hi again Andrey! Not to drag this out, but you seem to have missed my main point, which also means that I failed to make it. :-) Understanding how comp works and seeing the function, lens, for defining a cat's lens, it is not at all obvious how a cat's lens works. On the other hand, the

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Ken Restivo
Any tooling would also have to upgrade to clj-http 2.0.0 and/or HttpClient 4.5, because before that SNI was broken even on Java 8: https://issues.apache.org/jira/browse/HTTPCLIENT-1613?devStatusDetailDialog=repository Supposedly fixed in 4.5 of HttpClient, which 2.0.0 of clj-http pulls in, but

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Toby Crawley
On Fri, Jan 1, 2016 at 11:50 PM, Daniel Compton wrote: > IntelliJ 15 (the new version), bundles JDK8 for Mac OS X so the concern about > Java 6 will get less over time. Ah, good to know. > > It could be helpful to extend >

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
Andrey, This is where I have a problem. Ii could have implemented dewdrop lenses as functions that could be composed. But the code would be harder to understand and possibly be slower. I just do not see the point. Implementing dewdrop lenses as records makes it dirt simple for anyone to

Re: Project structure when using reader conditionals

2016-01-01 Thread Matthew Boston
I've done it multiple ways: src/app/foo.clj src-cljs/app/bar.cljs src-cljc/app/baz.cljc AND src/clj/app/foo.clj src/cljs/app/bar.cljs src/cljc/app/baz.cljc I prefer the latter, probably for ease of navigation in the command line and in emacs. But I totally agree that having them all together

[ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread William la Forge
I've been looking at lenses and while it looks pretty simple and very useful, I had a hard time getting it. So I came up with my own take on lenses. https://github.com/laforge49/dewdrop#readme So perhaps I still do not understand lenses and what I've done is wrong. Or perhaps having been

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Andrey Antukh
Hi! I have read the readme and I don't found a big evidence of something wrong so, nice work! Furthermore, do you know about https://github.com/funcool/cats ? It has a lens and traversable implementation for clj/cljs. You can read the related documentation here:

Re: [ClojureScript] Boot running on Windows (was: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2016-01-01 Thread Mimmo Cosenza
> And, yes, I am a bit of a masochist for having an Emacs / Leiningen / Clojure > environment on Windows XP :) Lol :-) Happy new year! Mimmo > > Sean Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > --

Re: Project structure when using reader conditionals

2016-01-01 Thread Dru Sellers
I've attempted to catalog my craziness here, https://blog.eventgonegood.com/2015/12/26/project-structure/ On Thu, Dec 31, 2015 at 2:49 PM, Alan Moore wrote: > +1 > > On Dec 31, 2015, at 12:20 PM, Frank Castellucci > wrote: > > Clean... very

clojars down?

2016-01-01 Thread Bobby Eickhoff
Is anyone else having trouble connecting to clojars.org? Firefox can't connect: "The connection has timed out". Neither can lein: INFO: I/O exception (java.net.NoRouteToHostException) caught when processing request to {s}->https://clojars.org:443: No route to host -- You received this

Re: clojars down?

2016-01-01 Thread Mimmo Cosenza
it’s down here too. http://status.linode.com/ mimmo > On 01 Jan 2016, at 19:49, Bobby Eickhoff wrote: > > Is anyone else having trouble connecting to clojars.org? Firefox can't > connect: "The connection has timed out". Neither can lein: >

Re: clojars down?

2016-01-01 Thread Angel Java Lopez
It's down here... chrome, page not available, from Buenos Aires, Argentina On Fri, Jan 1, 2016 at 3:51 PM, Mimmo Cosenza wrote: > it’s down here too. > > http://status.linode.com/ > > mimmo > > On 01 Jan 2016, at 19:49, Bobby Eickhoff wrote: > > Is

Re: clojars down?

2016-01-01 Thread Nicolás Berger
Clojars is down because of the ongoing DDoS attacks on linode. Please check http://status.linode.com/ for status on that El 1 ene. 2016 15:53, "Angel Java Lopez" escribió: > It's down here... chrome, page not available, from Buenos Aires, Argentina > > On Fri, Jan 1, 2016

Re: [ANN] dewdrop 0.1.0 -- lenses made simple(r?)

2016-01-01 Thread Laws
William, thank you for this. At a cultural level, I feel like the Clojure community is often torn between being popular, on the one hand, versus answering critics from the Haskell community, on the other hand. The strength of Clojure is exactly that it takes inscrutable academic ideas and

Any examples of using core.async offer!

2016-01-01 Thread Laws
I am looking for examples of some of the newer stuff in core.async. Has anyone used offer! in real code? If yes, why and how? Can you post an example of the code? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to