ANN Elastisch 2.0.0 is released

2014-06-15 Thread Michael Klishin
Elastisch [1] is a small, feature rich Clojure client for ElasticSearch that supports both HTTP and native transports. 2.0 is packed with improvements, large and small, and brings improved compatibility with ElasticSearch up to 1.2.x. Release notes:

Re: Convert clj-time date-time to UTC

2014-06-14 Thread Michael Klishin
2014-06-14 20:49 GMT+04:00 gvim gvi...@gmail.com: Can't think why it's not baked into the library, though, as it must be a common requirement. Feel free to submit a pull request and a few tests. The clj-time maintainers are responsive and the library is primarily driven by user feedback at

ANN metrics-clojure 2.1.0 is released

2014-06-14 Thread Michael Klishin
metrics-clojure [1] is a Clojure interace to Coda Hale's Metrics library [2]. If you are not sure why collecting metrics about your app is valuable, take a moment and watch [3]. Release notes: https://github.com/sjl/metrics-clojure/blob/master/ChangeLog.md#changes-between-20x-and-210 1.

Re: [clojure-rabbitmq] Re: Socket Exception thrown when trying to make a remote connection to server over adhoc network

2014-06-11 Thread Michael Klishin
On 11 June 2014 at 21:57:11, Samuel Nelson (snels...@ycp.edu) wrote: Caused by: SocketException Connection reset This message is very generic and does not explain much. Can you see connection entries in RabbitMQ log? Try connecting to RabbitMQ via telnet, for example (note that it will quickly

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Michael O'Keefe
Thank you for all you do. This is wonderful! -Michael O'Keefe On Tuesday, June 10, 2014 6:49:52 AM UTC-6, Tim Visher wrote: (boom) On Mon, Jun 9, 2014 at 1:23 PM, Alex Miller al...@puredanger.com javascript: wrote: Starting today, we have updated the Clojure Contributor Agreement

Re: Clojure Contributor Agreement process update

2014-06-09 Thread Michael Klishin
2014-06-09 21:23 GMT+04:00 Alex Miller a...@puredanger.com: Starting today, we have updated the Clojure Contributor Agreement process. The prior process which involved signing and mailing a form has been replaced with an online e-signing process. \o/ -- MK http://github.com/michaelklishin

ANN metrics-clojure 2.0.3

2014-06-09 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2]. 2.0.3 is a bug fix release: https://github.com/sjl/metrics-clojure/blob/stable/ChangeLog.md#changes-between-202-and-203 If you are not sure why gathering metrics about your apps and infrastructure is a big deal, consider

ANN Cassaforte 2.0.0-beta1 is released

2014-06-08 Thread Michael Klishin
Cassaforte [1] is a Clojure Cassandra client built around CQL 3. 2.0 is a major release that introduces breaking public API changes announced earlier [2]. Release notes: http://blog.clojurewerkz.org/blog/2014/06/07/cassaforte-2-dot-0-0-beta1-is-released/ 1. http://clojurecassandra.info 2.

Re: [clojure-rabbitmq] Re: Can TopologyRecoveryException be simulated?

2014-06-04 Thread Michael Klishin
On 4 June 2014 at 18:21:51, Brian Marick (br...@getset.com) wrote: I'll have the new guy do it when he starts in August. Hopefully it'll be done by then ;)  -- MK Software Engineer, Pivotal/RabbitMQ -- You received this message because you are subscribed to the Google Groups

ANN Neocons 3.0 is released

2014-05-29 Thread Michael Klishin
Neocons [1] is a Clojure client for the Neo4J REST API. Release notes: http://blog.clojurewerkz.org/blog/2014/05/29/neocons-3-dot-0-0-is-released/ 1. http://clojureneo4j.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are

ANN Welle 3.0.0 is released

2014-05-29 Thread Michael Klishin
Welle [1] is a small Clojure client for Riak with batteries included. Release notes: http://blog.clojurewerkz.org/blog/2014/05/29/welle-3-dot-0-0-is-released/ 1. http://clojureriak.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message

ANN Langohr 2.11.0 is released

2014-05-26 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure RabbitMQ client. Release notes: http://blog.clojurewerkz.org/blog/2014/05/24/langohr-2-dot-11-dot-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

ANN Welle 3.0.0-rc1 is released

2014-05-26 Thread Michael Klishin
Welle [1] is a Clojure client for Riak with batteries included. 3.0 includes a major API revision announced earlier [2]. Release notes: http://blog.clojurewerkz.org/blog/2014/05/24/welle-3-dot-0-0-rc1-is-released/ 1. http://clojureriak.info 2.

Re: [ANN] monarch 0.2.0 - Simple database migrations for Clojure.

2014-05-26 Thread Michael Cramm
, Michael Cramm gmc...@gmail.comjavascript: wrote: I realize that there are other database migration frameworks already availablefor clojure projects, but I always seem to run into issues pretty fast in trying to use them. This is also the first plugin I've developed and made publicly available

[ANN] monarch 0.2.0 - Simple database migrations for Clojure.

2014-05-25 Thread Michael Cramm
I realize that there are other database migration frameworks already availablefor clojure projects, but I always seem to run into issues pretty fast in trying to use them. This is also the first plugin I've developed and made publicly available, so I'd love some feedback! I've been using

Re: [clojure-rabbitmq] SocketTimeoutExceptions terminates listening process

2014-05-21 Thread Michael Klishin
On 21 May 2014 at 16:58:38, Thomas Kristensen (thomas.kristen...@uswitch.com) wrote: you'll notice that the message gets rejected as we'd expect when the exception is NOT re-thrown, but the reject seems to be ignored in the case where we re-throw. You could argue that you should

Re: [clojure-rabbitmq] SocketTimeoutExceptions terminates listening process

2014-05-21 Thread Michael Klishin
On 21 May 2014 at 19:15:50, Thomas Kristensen (thomas.kristen...@uswitch.com) wrote: You are right, the channel has been closed by me throwing on the exception. I attached a debugger and traced it to line 106 of DefaultExceptionHandler which closes the channel in handleChannelKiller.

Re: Cljs and core.async issue

2014-05-18 Thread Michael Breen
Hi Joseph. Good to hear that you figured out your issue. LightTable has actually fixed this issue and it is available in master. Best. Mike On May 18, 2014 4:15 PM, Joseph Rollins rollins.jos...@gmail.com wrote: Managed to figure out the culprit with some help from IRC. I was attempting to

ANN Cassaforte 1.3.0 is released

2014-05-15 Thread Michael Klishin
Cassaforte [1] is a Clojure client for Cassandra built around CQL. Release notes: http://blog.clojurewerkz.org/blog/2014/05/15/cassaforte-1-dot-3-0-is-released/ Next Cassaforte release will be 2.0 and will introduce a major public API change:

ANN Monger 2.0 RC1 is released

2014-05-13 Thread Michael Klishin
Monger [1] is a Clojure MongoDB client for a more civilized age. 2.0 is a major release that has *breaking public API changes*. Release notes: http://blog.clojurewerkz.org/blog/2014/05/14/monger-2-dot-0-0-rc1-is-released/ Please give this RC a try. This is the biggest revision of Monger in the

Leiningen/javax.imageio

2014-05-12 Thread Michael Shaffer
What dependencies do I add to leiningen to get javax.imageio package? -- 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

ANN Monger 1.8.0 is released

2014-05-10 Thread Michael Klishin
Monger [1] is a Clojure MongoDB client for a more civilized age. Release notes: http://blog.clojurewerkz.org/blog/2014/05/10/monger-1-dot-8-0-is-released/ Note that the next release will be 2.0, including these breaking API changes:

Re: Do not understand the - macro here

2014-05-03 Thread Michael Wood
That whole form is not something you would be likely to write. I think the exercise is just trying to demonstrate that the version with the - is equivalent to the version without the arrow and perhaps also that (= a b c) can be used instead of (and (= a b) (= b c)). -- Michael Wood On 01 May

ANN Meltdown 1.0 is released

2014-04-29 Thread Michael Klishin
Meltdown is a Clojure interface to Reactor, an asynchronous programming, event passing and stream processing toolkit for the JVM. After several alphas and a dozen of betas, Meltdown is ready to go 1.0. If you're not sure what Meltdown is about, see the intro post:

ANN Meltdown 1.0.0-beta12

2014-04-28 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/meltdown-1-dot-0-0-beta12-is-released/ 1. http://github.com/clojurewerkz/meltdown -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message

ANN Balagan, a new ClojureWerkz project

2014-04-28 Thread Michael Klishin
On behalf of the ClojureWerkz team, I'm happy to announce a new project (brain child of Alex Petrov): Balagan [1]. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/balagan-1-dot-0-0-is-released/ 1. https://github.com/clojurewerkz/balagan -- MK http://github.com/michaelklishin

ANN Welle 2.0 is released

2014-04-28 Thread Michael Klishin
Welle [1] is a small, expressive Clojure client for Riak. 2.0 is a major release that has one major public API change. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/welle-2-dot-0-0-is-released/ Note that there is one more major public API change coming soon in 3.0:

Re: ANN Major breaking public API changes coming to several ClojureWerkz projects

2014-04-27 Thread Michael Klishin
2014-04-27 18:12 GMT+04:00 dgrnbrg dsg123456...@gmail.com: Is this slated for Welle too? I didn't see it mentioned. Yes. -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are subscribed to the Google Groups Clojure group. To

ANN Major breaking public API changes coming to several ClojureWerkz projects

2014-04-26 Thread Michael Klishin
If you use a ClojureWerkz project or two please read this announcement: http://blog.clojurewerkz.org/blog/2014/04/26/major-breaking-public-api-changes-coming-in-our-projects/ -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are

ANN Neocons 3.0.0-rc1 is released

2014-04-26 Thread Michael Klishin
Neocons [1] is an idiomatic Clojure client for the Neo4J REST API. 3.0 has a *major breaking API change*. Release notes: http://blog.clojurewerkz.org/blog/2014/04/26/neocons-3-dot-0-0-rc1-is-released/ Background:

ANN Elastisch 2.0.0-rc1 is released

2014-04-26 Thread Michael Klishin
Elastisch [1] is a small, feature complete Clojure client for ElasticSearch that supports both REST and native transports. 2.0 has one major breaking API change and is packed with improvements related to ElasticSearch 1.0 and 1.1 releases. Release notes:

Re: What's clojure killer app? I don't see any.

2014-04-19 Thread Michael Klishin
2014-04-19 20:15 GMT+04:00 Paulo Suzart paulosuz...@gmail.com: People say clojure is good for data. But where are the cases? And more specifically, where are the frameworks and libs to support it? Are they talking about wrappers around java for Hadoop? Sigh... I see lots of companies of all

Re: What's clojure killer app? I don't see any.

2014-04-19 Thread Michael Klishin
2014-04-20 1:26 GMT+04:00 Paulo Suzart paulosuz...@gmail.com: You are taking about a bunch of wrappers. They are not bad, but will not make these people to move their asses from java. Ask someone who's used Cascalog if they want to go back to writing Hadoop jobs in Java. Just a wrapper can be

Re: what's the elegant way to write this code in clojure?

2014-04-18 Thread Michael Gardner
On Apr 18, 2014, at 09:05 , sd song sd.s...@gmail.com wrote: another question is: i think code like: (if (nil? page) lmt page) is ugly. is there some functions in clojure like (get_default_value_3_if_a_is_null a 3) ? If you're OK with false being treated the same as nil, you can do (or page

ANN Meltdown 1.0.0-beta10 is released

2014-04-18 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor, an asynchronous programming toolkit for the JVM. Release notes: http://blog.clojurewerkz.org/blog/2014/04/18/meltdown-1-dot-0-0-beta10-is-released/ 1. http://github.com/clojurewerkz/meltdown -- MK http://github.com/michaelklishin

ANN Elastisch 2.0.0-beta4 is released

2014-04-18 Thread Michael Klishin
Elastisch [1] is a small, feature complete Clojure client for ElasticSearch. Release notes: http://blog.clojurewerkz.org/blog/2014/04/11/elastisch-2-dot-0-0-beta4-is-released/ 1. http://clojureelasticsearch.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You

Re: boolean problem

2014-04-17 Thread Michael Gardner
On Apr 17, 2014, at 02:34 , Tassilo Horn t...@gnu.org wrote: And now you have an if without then which will give you another exception. Not true. It's more common to use 'when', but single-branch ifs are perfectly fine. -- You received this message because you are subscribed to the Google

Re: boolean problem

2014-04-17 Thread Michael Gardner
On Apr 17, 2014, at 07:38 , Tassilo Horn t...@gnu.org wrote: Michael Gardner gardne...@gmail.com writes: And now you have an if without then which will give you another exception. Not true. It's more common to use 'when', but single-branch ifs are perfectly fine. Yes

ANN Elastisch 2.0.0-beta4 is released

2014-04-10 Thread Michael Klishin
Elastisch [1] is a small, feature complete Clojure client for ElasticSearch. Release notes: http://blog.clojurewerkz.org/blog/2014/04/11/elastisch-2-dot-0-0-beta4-is-released/ 1. http://clojureelasticsearch.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You

ANN Langohr 2.9.0 is released

2014-04-09 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. Release notes: http://blog.clojurewerkz.org/blog/2014/04/09/langohr-2-dot-9-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

Re: Thoughts on a curly-infix reader macro?

2014-04-04 Thread Michael Fogus
I prefer Unfix -- http://fogus.me/fun/unfix/ ;-) On Fri, Apr 4, 2014 at 12:45 PM, Alex Miller a...@puredanger.com wrote: Incanter supports this with the $= prefix: ($= 7 + 8 - 2 * 6 / 2) http://data-sorcery.org/2010/05/14/infix-math/ Might be worth looking at... On Thursday, April 3,

ANN Langohr 2.8.2 is released

2014-04-03 Thread Michael Klishin
Langohr 2.8.2 has no change log entry: there are no user facing changes from 2.8.1, only some corrections to make it compile against RabbitMQ Java client 3.3.0 from scratch (after `lein clean`). -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

ANN Validateur 2.0.0 is released

2014-04-02 Thread Michael Klishin
Validateur [1] is a small validation library for Clojure and ClojureScript. Release notes: http://blog.clojurewerkz.org/blog/2014/04/02/validateur-2-dot-0-0-is-released/ 1. http://clojurevalidations.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received

ANN Propertied 1.2.0

2014-04-02 Thread Michael Klishin
Propertied [1] is a tiny library for working with property files and java.util.Properties. Release notes: http://blog.clojurewerkz.org/blog/2014/04/02/propertied-1-dot-2-0-is-released/ 1. https://github.com/michaelklishin/propertied -- MK http://github.com/michaelklishin

ANN Langohr 2.8 is released

2014-04-02 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure RabbitMQ client. Release notes: http://blog.clojurewerkz.org/blog/2014/04/02/langohr-2-dot-8-1-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message

Re: Amazonica performance: options?

2014-03-28 Thread Michael Cohen
time ec2-describe-images -a ec2-cli-images.txt real 1m26.401s user 0m6.551s sys 0m1.159s and writes a 7.5MB file to disk. Note the -a flag, to list all of the available public images. in a repl, (time (spit clj-awz-images.txt (describe-images))) Elapsed time: 90258.47 msecs and writes an

Re: vim-fireplace debug workflow: modifying jars

2014-03-27 Thread Michael Blume
Don't worry about the jar, especially. You can have your own git checkout of the upstream project you're working with, and that'll work just fine. Open a source file you need to work with, connect with nrepl, edit a function, and eval -- that should be enough. On Thursday, March 27, 2014

Re: creating a map

2014-03-26 Thread Michael Gardner
For reasons unclear to me, (into {} ...) expects a sequence of 2-element *vectors*, not just 2-element collections. partition returns a seq of lists, not vectors, which is why you're getting that exception. You could try (into {} (map vec (partition 2 2 12))) instead. On Mar 26, 2014, at 15:36

ANN Elastisch 2.0.0-beta2 is released

2014-03-23 Thread Michael Klishin
Elastisch [1] is a small, feature complete client for ElasticSearch that provides both REST and native clients. Release notes: http://blog.clojurewerkz.org/blog/2014/03/23/elastisch-2-dot-0-0-beta2-is-released/ Sister projects: http://clojurewerkz.org 1. http://clojureelasticsearch.info -- MK

Re: Clojure 1.6.0-RC1 - LAST CHANCE, PLEASE TEST

2014-03-18 Thread Michael Klishin
2014-03-18 18:21 GMT+04:00 Alex Miller a...@puredanger.com: We need your help in checking out the current release candidate - this is your opportunity to let us know about problems *before* we release, rather than after. No issues to report from testing 20+ ClojureWerkz projects on

Re: Calling from a macro to a private macro

2014-03-17 Thread Michael Blume
You don't have the macro generate a call to the private function, you have the macro call the private function directly replace: (defmacro call-self* [x] `(~x ~x)) (defmacro call-self [x] `(do (println calling form ~(str x) with itself) (call-self ~x))) with: (defn- call-self*

ANN Meltdown 1.0.0-beta8

2014-03-16 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor [2], an asynchronous programming toolkit for the JVM. Release notes: http://blog.clojurewerkz.org/blog/2014/03/16/meltdown-1-dot-0-0-beta8-is-released/ 1. https://github.com/clojurewerkz/meltdown 2.

Re: XOR two arrays into a third on Clojure

2014-03-13 Thread Michael Gardner
Might be slow because of the polymorphic nature of nth. If you replace nth with aget (and turn on *warn-on-reflection*, which is a good idea when performance-tuning), you'll get reflection warnings because Clojure doesn't know what Java method to use since it doesn't know what type of objects a

Re: XOR two arrays into a third on Clojure

2014-03-13 Thread Michael Gardner
On Mar 13, 2014, at 07:34 , Alex Miller a...@puredanger.com wrote: Agreed with all the comments on this so far. I would also say that dotimes is slower than loop for stuff like this so I would also make that change. The dotimes version is slightly faster on my hardware. Why would it be

Re: traversing amazonica (or other nested data) results

2014-03-12 Thread Michael Cohen
I get a typical clojure-y set of data fairly deeply nested data structures that I have yet to master with respect to traversing using basic clojure operations You get an arbitrarily nested Clojure, not Clojure-y, data structure precisely because those maps, lists, and sets suffice in 99% of

ANN Langohr 2.7.1 is released

2014-03-11 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. Release notes: http://blog.clojurewerkz.org/blog/2014/03/11/langohr-2-dot-7-1-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

ANN Elastisch 2.0.0-beta1 is released

2014-03-11 Thread Michael Klishin
Elastisch [1] is a small, feature complete Clojure client for ElasticSearch that provides both HTTP and native transports. 2.0 focuses on compatibility with and support for the new features in ElasticSearch 1.0. Release notes:

ANN Langohr 2.5.0 is released

2014-03-06 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. Release notes: http://blog.clojurewerkz.org/blog/2014/03/06/langohr-2-dot-5-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

Re: [ANN] Clojure 1.6.0-beta2

2014-03-05 Thread Michael Klishin
2014-03-05 21:47 GMT+04:00 Sean Corfield s...@corfield.org: We've been running our (World Singles) test suite against 1.6.0-master-SNAPSHOT for some time as a matter of course and haven't tripped over anything so far (that I can recall). The only change in our bugbase due to 1.6.0 was the

Re: ANN: rx-cljs, A ClojureScript wrapper for Reactive Extensions

2014-03-01 Thread Michael Marsh
Awesome! I've been addicted to Rx lately and this is just what I need for one of my projects. I'll definitely check this out and let you know how it goes. On Tuesday, May 21, 2013 4:01:46 AM UTC-4, Leonardo Borges wrote: Hey guys, Given some recent work I've been doing with RxJS [1], I

Re: The future of CongoMongo?

2014-02-28 Thread Michael Klishin
2014-02-28 14:35 GMT+04:00 xavi xavi.caba...@gmail.com: When asked (a year ago) why I didn't use Monger I said I prefer CongoMongo because it's smaller and so probably easier to understand Monger's API follows MongoDB shell. CongoMongo invents a completely new API. I'll let you decide which

Re: Comparing Regular Expression pattens for equality?

2014-02-26 Thread Michael Gardner
You can compare the output of the .pattern or .toString methods if all you care about is finding regexes made from the exact same patterns. There's no simple way to detect equivalent regexes made from different patterns, though. As for why = doesn't do this, you'd have to talk to the Java folks

Re: error in website text

2014-02-26 Thread Michael Fogus
I do believe that the sentence is correct as written. That is, Clojure strives to solve the same kinds of problems that Java is typically used to solve. On Wed, Feb 26, 2014 at 8:58 AM, Janek Warchoł lemniskata.bernoull...@gmail.com wrote: Hello, On clojure.org/rationale there is a sentence

Re: The future of CongoMongo?

2014-02-26 Thread Michael Klishin
2014-02-27 4:56 GMT+04:00 Mark Engelberg mark.engelb...@gmail.com: I've looked at monger a couple of times, and felt it was more involved than I wanted. For example, I was turned off by the need to manually create object IDs as part of creating records. I like how congomongo does it for me.

Re: Email delivery libs not working

2014-02-25 Thread Michael Klishin
2014-02-25 14:08 GMT+04:00 The Dude (Abides) exel...@gmail.com: (postal/send-message ^{:host smtp.mandrillapp.com :user your mandrill acct email address :pass your mandrill api key :port 587} {:type text/html :from from email address :to to email

Re: Image Resizer lib exception error

2014-02-25 Thread Michael Klishin
2014-02-25 16:46 GMT+04:00 Moritz Ulrich mor...@tarn-vedra.de: Just from the looks of the exception, you might need to pass an input-stream or reader instead of a path. which can be instantiated with http://clojuredocs.org/clojure_core/clojure.java.io/input-stream and

ANN Meltdown 1.0.0-beta5 is released

2014-02-25 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor [2], an asynchronous programming toolkit for the JVM. beta5 is a development release that primarily focuses on updating Reactor to 1.1.0.M1 and fixing issues. Release notes:

Re: Clojure / polyglot position at OpinionLab in Chicago

2014-02-24 Thread Michael Klishin
2014-02-24 22:47 GMT+04:00 John Jacobsen eigenhom...@gmail.com: Though I'm fairly new here I'm happy to answer questions or forward them to the appropriate place. Lots of people on this list are not based in Chicago or US. Will remote candidates be considered? -- MK

Re: clojure - beam compiler

2014-02-23 Thread Michael Klishin
2014-02-23 13:40 GMT+04:00 t x txrev...@gmail.com: Thus, my question -- are there any active efforts to port clojure (say via cljs's compiler) to Erlang/Beam ? Take a look at Joxa: http://joxa.org/ -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Michael Klishin
2014-02-19 18:41 GMT+04:00 Paul Stadig p...@stadig.name: If you are interested in working from home on a distributed team writing Clojure code, then feel free to contact me. If you aren't quite sure how the distributed team thing works, or are concerned about your Clojure skill level etc,

Re: call clojure from java

2014-02-18 Thread Michael Klishin
2014-02-18 16:00 GMT+04:00 Sunil S Nandihalli sunil.nandiha...@gmail.com: You can't call a clojurescript function from java. However you can call clojure-code from Java and clojurescript code from javascript. I think the idea is to call a Clojure script (with a space) from Java. Use

Re: Function that weaves two collections together - looking for feedback

2014-02-18 Thread Michael Gardner
You may be interested in the core function 'interleave'. As for (into []), it's perfectly idiomatic as long as you actually need to return a vector and not just some kind of sequence (the more common case). But note also the mapv/filterv/reduce-kv family of functions, though they're not

Re: [ANN] Clojure 1.6.0-beta1

2014-02-14 Thread Michael Gardner
On Feb 14, 2014, at 17:25 , Alex Miller a...@puredanger.com wrote: The names of these functions were chosen by Rich. There was already some name overloading of some even before these new functions with some (truthy) and some-/some- (not nil). The new functions keep with the latter meaning.

Re: java.jdbc 0.3.3 select query exception: clojure.lang.LazySeq cannot be cast to clojure.lang.IFn

2014-02-14 Thread Michael Klishin
2014-02-15 7:55 GMT+04:00 The Dude (Abides) exel...@gmail.com: However this results in an exception error: java.lang.ClassCastException clojure.lang.LazySeq cannot be cast to clojure.lang.IFn Please post a complete stack trace. -- MK http://github.com/michaelklishin

Re: range-sum

2014-02-13 Thread Michael Gardner
On Feb 13, 2014, at 08:56 , Stuart Sierra the.stuart.sie...@gmail.com wrote: No. Clojure's `apply` is lazy. Varargs are passed to the function as a lazy sequence, and it's up to the function to realize them or not. It's worth noting (for people who might try to rely on that laziness) that

Re: range-sum

2014-02-13 Thread Michael Gardner
On Feb 13, 2014, at 14:31 , Michael Gardner gardne...@gmail.com wrote: On Feb 13, 2014, at 08:56 , Stuart Sierra the.stuart.sie...@gmail.com wrote: No. Clojure's `apply` is lazy. Varargs are passed to the function as a lazy sequence, and it's up to the function to realize them

Re: range-sum

2014-02-13 Thread Michael Gardner
On Feb 13, 2014, at 15:17 , Mauricio Aldazosa mauricio.aldaz...@ciencias.unam.mx wrote: My guess is that when using a rest-param a call to next is involved thus realizing two elements of the sequence. A destructured vararg is nil when there are no more items, which indeed requires realizing

Re: Korma Sql model not accepting url var

2014-02-11 Thread Michael Klishin
2014-02-11 12:22 GMT+04:00 The Dude (Abides) exel...@gmail.com: (GET /member/:id [id] (get-the-member id)) id here likely ends up being a string but your Postgres column is an integer. Try (Integer/valueOf id). -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin --

Re: map semantics

2014-02-08 Thread Michael Gardner
On Feb 8, 2014, at 15:14 , Andy C andy.coolw...@gmail.com wrote: It all boils down this: is it possible to have two clojure.lang.PersistentHashSet with identical values (in mathematical sense) but producing different seqs? Are you serious? The entire point of the email you responded to was

Re: [ANN] clara-rules 0.4 released

2014-02-07 Thread Michael Fogus
The theme of this release is rules as data Yay! Great job Ryan. I look forward to checking out your changes. On Thu, Feb 6, 2014 at 10:15 PM, Ryan Brush rbr...@gmail.com wrote: The 0.4.0 release of Clara is up on Clojars. The github page is at [1]. The theme of this release is rules as

Re: map semantics

2014-02-07 Thread Michael Gardner
On Feb 7, 2014, at 22:17 , Andy C andy.coolw...@gmail.com wrote: Having map to produce a lazy seq implies that the input must be serializable (or linear). That's just what map is in Clojure: an operation on sequences. It works on various concrete types because those can be viewed as

Re: ANN: Another binary parser combinator - this time for java's streams

2014-01-30 Thread Michael Gardner
On Jan 30, 2014, at 01:36 , Steffen steffen.die...@gmail.com wrote: If you would like to use a specific codec other than :byte or :ubyte but also restrict the number of bytes read this would only work if you expected to have some kind of optional padding after your objects, like:

Re: ANN: Another binary parser combinator - this time for java's streams

2014-01-30 Thread Michael Gardner
On Jan 30, 2014, at 08:10 , Steffen Dienst steffen.die...@gmail.com wrote: That's exactly what padding is designed to do: Let's say you know there is a run of bytes with a known length (from a header field maybe) and you want to parse an unbounded number of objects within this area. You

deadlock when using clojure data structures at startup

2014-01-30 Thread Michael Blume
I work on a Java team, so our use of clojure is either a) calling into clojure from java or b) directly using the clojure data structures. Recently we had an app fail because, as it was starting up, one thread was trying to require a clojure namespace, and another was trying to use a

Re: ANN: Another binary parser combinator - this time for java's streams

2014-01-29 Thread Michael Gardner
Looks good! A few questions: 1) Is it possible to specify a byte length for a 'repeated codec, rather than a number of objects? 2) Would you consider an enum type, for convenience? Something like: (defn enum [type m] (compile-codec type m (clojure.set/map-invert m))) 3) In the

Re: [ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2014-01-28 Thread Michael Gardner
I'm looking to deal with a stream of data that includes a structured, variable-length header followed by a (potentially large) binary blob. I'd like to parse only the header while leaving the stream (can be a java stream or NIO channel, whichever works best) positioned at the start of the

Re: simple-check gen/boolean Only Returning false

2014-01-27 Thread Michael Daines
Awesome turnaround, Thanks. I was kinda worried I was nuts or about to do some urandom debugging. -- -- 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

Re: Helping newcomers get involved in Clojure projects

2014-01-27 Thread Michael Klishin
Bridget: Are there any other Clojure projects that are doing this? Some ClojureWerkz [1] projects do, and eventually all key ones will. 1. http://clojurewerkz.org MK -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

ANN Mailer 1.0.0 is released

2014-01-26 Thread Michael Klishin
Mailer [1] is a small Clojure library that makes email delivery easy. It is inspired by Ruby's Action Mailer and combines Postal, Moustache template rendering and testing utilities. Release notes: http://blog.clojurewerkz.org/blog/2014/01/26/mailer-1-dot-0-0-is-released/ 1.

ANN Scrypt 1.1.0 is released

2014-01-26 Thread Michael Klishin
scrypt [1] is a tiny Clojure library for the scrypt key derivation function. Release notes: http://blog.clojurewerkz.org/blog/2014/01/26/scrypt-1-dot-1-0-is-released/ 1. https://github.com/clojurewerkz/scrypt -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You

Re: [ANN] com.stuartsierra/frequencies 0.1.0

2014-01-26 Thread Michael Klishin
2014-01-25 Stuart Sierra the.stuart.sie...@gmail.com Leiningen dependency: [com.stuartsierra/frequencies 0.1.0-SNAPSHOT] Please do a proper release. Non-snapshot projects cannot depend on snapshot libraries: https://github.com/technomancy/leiningen/wiki/Repeatability#snapshot-versions --

Re: [ANN] com.stuartsierra/frequencies 0.1.0

2014-01-26 Thread Michael Klishin
2014-01-27 Mimmo Cosenza mimmo.cose...@gmail.com You could clone and deploy it yourself into clojars. The only caveat is to give it an org.clojars.youusername as group-id to make it clear it's not the official one. Sorry, that's just won't fly. It's library maintainer's responsibility to

simple-check gen/boolean Only Returning false

2014-01-25 Thread Michael Daines
I decided to play with simple-check for the first time and was working through the examples on github. I noticed that all the values that use gen/boolean are returning false. I never get a true. At the extreme end, the following never returns when run in the repl: (gen/sample (gen/such-that

ANN Langohr 2.3.2 is released

2014-01-22 Thread Michael Klishin
Langohr [1] is a minimalistic, feature complete Clojure client for RabbitMQ. Release notes: http://blog.clojurewerkz.org/blog/2014/01/22/langohr-2-dot-3-2-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received

Re: [Large File Processing] What am I doing wrong?

2014-01-21 Thread Michael Gardner
On Jan 21, 2014, at 07:11 , Chris Perkins chrisperkin...@gmail.com wrote: This part: (some #{hashed} already-seen) is doing a linear lookup in `already-seen`. Try (contains? already-seen hashed) instead. Or just (already-seen hashed), given that OP's not trying to store nil hashes. To OP:

Re: clojure.java.shell/sh and expand wildcard

2014-01-21 Thread Michael Gardner
Try (sh “bash” “-c” “ls *.txt”). On Jan 21, 2014, at 21:51 , John Gabriele jmg3...@gmail.com wrote: I'd like to do something like: user= (require '[clojure.java.shell :as sh]) user= (sh/sh ls *.txt) but get: {:exit 2, :out , :err ls: cannot access *.txt: No such file or

Re: Clojure development laptop battery usage

2014-01-20 Thread Michael Gardner
On Jan 20, 2014, at 11:14 , Mars0i marsh...@logical.net wrote: Just to be clear, Leiningen only eats CPU when started in an arbitrary directory. When started from a Leiningen project directory, it doesn't use CPU unless I tell it to. I have not investigated what it is in the project

Re: [ANN] play-clj, a game library

2014-01-20 Thread Michael Gardner
On Jan 20, 2014, at 09:31 , Zach Oakes zsoa...@gmail.com wrote: Today I'm releasing play-clj, a Clojure wrapper for LibGDX that allows you to write games for desktop OSes, Android, and iOS from the same Clojure codebase. Neat! How is Clojure’s performance on the latest Android devices? Good

ANN Langohr 2.2.1

2014-01-13 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. Hot on the heels of 2.2.0, 2.2.1 is out with one bug fix. Release notes: http://blog.clojurewerkz.org/blog/2014/01/14/langohr-2-dot-2-1-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin

ANN Langohr 2.2.0 is released

2014-01-12 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. Release notes: http://blog.clojurewerkz.org/blog/2014/01/10/langohr-2-dot-2-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received this

<    1   2   3   4   5   6   7   8   9   10   >