Re: [clojure-rabbitmq] Are lazy queues still bound by memory limit?

2017-09-17 Thread Michael Klishin
The point of lazy queues is not that nothing ever is stored in memory. It's
that queues try to move messages
to disk very aggressively (default mode keeps a portion in RAM using
metrics such as ingress/egress rates and various
configurable values).

On Sun, Sep 17, 2017 at 10:29 PM, Michael Klishin <mklis...@pivotal.io>
wrote:

> This is a question for rabbitmq-users but I'm happy to answer it here.
>
> Lazy queues per se don't have a limit but RabbitMQ message store still
> does: when messages
> are sent to the message store [as opposed to being embedded into queue
> index], message store index(es)
> come into play and by default the index is in-memory.
>
> There is a plugin [1] that lets you use LevelDB for the index. Even though
> LevelDB is an efficient
> data store, expect a write throughput hit compared to the default
> implementation.
>
> 1. https://github.com/rabbitmq/rabbitmq-msg-store-index-eleveldb
>
> On Sun, Sep 17, 2017 at 8:25 PM, Steve Suehs <skelter@gmail.com>
> wrote:
>
>> I've been experimenting with Clojure and RabbitMQ using the langohr
>> library.  Thank you for building and sharing it.
>>
>> I've been learning more about the care and feeding of a rabbitmq server.
>> I crashed mine installed on my dev laptop several times by filling a queue
>> with messages.  If queues fill up and memory gets tight, a server can be
>> overwhelmed and fall over.  If I set or arrange for a reasonable memory
>> limit, things go ok. I am now running RabbitMQ in a Docker container with a
>> memory limit.
>>
>> My latest experiments were with lazy queues, which are supposed to write
>> events to disk and not exhaust memory.  I still seem to hit..well, not hit,
>> rather, an asymptotic limit at around 261 million events in the queue.  Is
>> this considered outrageously and unreasonably large?  Publication rate
>> slowed to 700/s.
>>
>> I also notice that if the consumers are caught up with the producer
>> everything seems to scream at twice the rate than when storage is used. If
>> storage is used I'm seeing about 6000r/s.  That's cool...just not exactly
>> what I expected from the description of a lazy queue.
>>
>>
>> <https://lh3.googleusercontent.com/-XSzuKvXxMxI/Wb8uHb7LKmI/EYA/G6V5v93_yGcJW6jFPCnQUUBOp1LGCm7nQCLcBGAs/s1600/rabbitmqLimit.png>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "clojure-rabbitmq" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure-rabbitmq+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> MK
>
> Staff Software Engineer, Pivotal/RabbitMQ
>



-- 
MK

Staff Software Engineer, Pivotal/RabbitMQ

-- 
You received this message because you are subscribed to the Google Groups 
"clojure-rabbitmq" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [clojure-rabbitmq] Are lazy queues still bound by memory limit?

2017-09-17 Thread Michael Klishin
This is a question for rabbitmq-users but I'm happy to answer it here.

Lazy queues per se don't have a limit but RabbitMQ message store still
does: when messages
are sent to the message store [as opposed to being embedded into queue
index], message store index(es)
come into play and by default the index is in-memory.

There is a plugin [1] that lets you use LevelDB for the index. Even though
LevelDB is an efficient
data store, expect a write throughput hit compared to the default
implementation.

1. https://github.com/rabbitmq/rabbitmq-msg-store-index-eleveldb

On Sun, Sep 17, 2017 at 8:25 PM, Steve Suehs  wrote:

> I've been experimenting with Clojure and RabbitMQ using the langohr
> library.  Thank you for building and sharing it.
>
> I've been learning more about the care and feeding of a rabbitmq server.
> I crashed mine installed on my dev laptop several times by filling a queue
> with messages.  If queues fill up and memory gets tight, a server can be
> overwhelmed and fall over.  If I set or arrange for a reasonable memory
> limit, things go ok. I am now running RabbitMQ in a Docker container with a
> memory limit.
>
> My latest experiments were with lazy queues, which are supposed to write
> events to disk and not exhaust memory.  I still seem to hit..well, not hit,
> rather, an asymptotic limit at around 261 million events in the queue.  Is
> this considered outrageously and unreasonably large?  Publication rate
> slowed to 700/s.
>
> I also notice that if the consumers are caught up with the producer
> everything seems to scream at twice the rate than when storage is used. If
> storage is used I'm seeing about 6000r/s.  That's cool...just not exactly
> what I expected from the description of a lazy queue.
>
>
> 
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "clojure-rabbitmq" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure-rabbitmq+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
MK

Staff Software Engineer, Pivotal/RabbitMQ

-- 
You received this message because you are subscribed to the Google Groups 
"clojure-rabbitmq" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 3.1.0 is released

2016-09-19 Thread Michael Klishin
Monger [1] is a Clojure MongoDB driver for a more civilized age.

Release notes:
http://blog.clojurewerkz.org/blog/2016/09/18/monger-3-dot-1-0-is-released/

1. http://clojuremongodb.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.7.0 is released

2016-06-15 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2],
originally by Steve Losh [3].

Release notes:
http://blog.clojurewerkz.org/blog/2016/06/02/metrics-clojure-2-dot-7-0-is-released/

If you're new to metrics and not sure why collecting them is a good idea,
take a moment to watch [4].

1. https://github.com/sjl/metrics-clojure
2. http://metrics.codahale.com/
3. http://stevelosh.com/
4. http://www.youtube.com/watch?v=czes-oa0yik
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Ogre 3.0.0.0-beta1 and future plans for Ogre

2016-06-15 Thread Michael Klishin
Ogre [1] is a Clojure dialect of Gremlin, a DSL for querying and otherwise
working with Apache TinkerPop [2] graphs.

Over the last 6 months or so Ogre maintainers have moved it to target
TinkerPop 3.x.
Since TinkerPop itself has changed quite a bit and is now an Apache
incubator project,
Ogre API had to change a few times.

We are happy to announce that the first milestone release is up on
Clojars: 3.0.0.0-beta1.
If you are interested in working with TinkerPop from Clojure, please
give Ogre a try and
let us know how it goes. Since the API is not entirely set in stone
yet on either TinkerPop
or Ogre end, it may change without a notice. For the same reason we
don't have documentation
guides updated. We aim to keep this new version of Ogre compatible
with TinkerPop 3.x as it
evolves and documented well when the API is stable enough.

I'd like to thank Stephen  Mallette and Andrew Fitzgerald for doing
99% of the work in this release.

In case you have a specific suggestion or run into a bug or a
usability problem, please
file an issue on GitHub [1].

1. https://github.com/clojurewerkz/ogre
2. http://tinkerpop.apache.org/
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [clojure-rabbitmq] RabbitMQ Langohr no heartbeat

2016-04-22 Thread Michael Klishin
I am traveling till mid-May, we will see how it goes.

> On 22 abr 2016, at 13:35, David Smith  wrote:
> 
> Hi Guys,
> 
> I realise you are busy, I'm just checking the status on this to make sure it 
> doesn't get forgotten :)
> 
> When I posted the issue initially it was just a theoretical problem but we 
> have now had a situation where it caused real problems.
> 
> Thanks,
> 
> David.
> 
>> On Thursday, April 14, 2016 at 5:30:53 PM UTC+1, David Smith wrote:
>> Attached is a wireshark capture, hope this helps.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "clojure-rabbitmq" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure-rabbitmq+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"clojure-rabbitmq" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [clojure-rabbitmq] RabbitMQ Langohr no heartbeat

2016-04-14 Thread Michael Klishin
No, I wasn't referring to the TCP connection timeout.

Can you please take a Wireshark capture? Our team is quite busy this and next 
week.

> On 14 abr 2016, at 17:42, David Smith <shmish...@gmail.com> wrote:
> 
> What I see in langohr is that the following are set:
> 
> (doto cf
>   (.setClientProperties   client-properties)
>   (.setUsername   username)
>   (.setPassword   password)
>   (.setVirtualHostvhost)
>   (.setHost   host)
>   (.setPort   final-port)
>   (.setRequestedHeartbeat requested-heartbeat)
>   (.setConnectionTimeout  connection-timeout)
>   (.setRequestedChannelMax requested-channel-max))
> 
> I am setting connection-timeout and requested-heartbeat, isn't that what you 
> meant by setting a timeout?
> 
>> On Thu, Apr 14, 2016 at 3:39 PM, David Smith <shmish...@gmail.com> wrote:
>> I'm using 3.5.1 which is the latest version according to github and clojars.
>> 
>> I am running rabbit as a docker container using docker-machine and image 
>> rabbitmq:3-management
>> 
>>> On Thu, Apr 14, 2016 at 3:33 PM, Michael Klishin <mklis...@pivotal.io> 
>>> wrote:
>>> Langohr is a wrapper around RabbitMQ Java client and in recent versions 
>>> relies on it to also perform connection recocovery.
>>> Heartbeats were never implemented in Clojure.
>>> 
>>> Your Langohr version is from 2014 or so. Have you considered trying the 
>>> most recent release (or does it still use 2014 in client properties? Also 
>>> possible)
>>> 
>>> Anyhow, investigating this kind if issues would be the same with every 
>>> client library:)
>>> 
>>>> On 14 abr 2016, at 17:29, David Smith <shmish...@gmail.com> wrote:
>>>> 
>>>> It was just that it sounded like you were answering the question from a 
>>>> Java perspective but didn't know anything about the Clojure wrapper, but I 
>>>> can see from the connections page that you wrote it :) I couldn't see 
>>>> anything about the heartbeat on the connections page, just:
>>>> 
>>>> productLangohr
>>>> copyright  Copyright (C) 2011-2014 Michael S. Klishin, Alex Petrov
>>>> capabilities   
>>>> exchange_exchange_bindings:true
>>>> connection.blocked:    true
>>>> authentication_failure_close:  true
>>>> basic.nack:true
>>>> publisher_confirms:true
>>>> consumer_cancel_notify:true
>>>> informationSee http://clojurerabbitmq.info/
>>>> version3.0.x
>>>> platform   Clojure 1.8.0 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_66
>>>> 
>>>>> On Thu, Apr 14, 2016 at 3:25 PM, Michael Klishin <mklis...@pivotal.io> 
>>>>> wrote:
>>>>> It is. What difference does it make? We need to base our assumptions on 
>>>>> data and network traffic capture is the best data we can get. Server logs 
>>>>> are also helpful and trivial to collect.
>>>>> 
>>>>>> On 14 abr 2016, at 17:22, David Smith <shmish...@gmail.com> wrote:
>>>>>> 
>>>>>> Isn't this a mailing list for the Clojure client?
>>>>>> 
>>>>>>> On Thu, Apr 14, 2016 at 2:21 PM, Michael Klishin <mklis...@pivotal.io> 
>>>>>>> wrote:
>>>>>>> Also, please post full RabbitMQ logs and ideally a Wireshark traffic 
>>>>>>> capture. With the amount of information we have at the moment the best 
>>>>>>> we can do is guessing.
>>>>>>> 
>>>>>>>> On 14 abr 2016, at 14:39, David Smith <shmish...@gmail.com> wrote:
>>>>>>>> 
>>>>>>> 
>>>>>>>> I have tried (connection (assoc (:rabbit conf) :requested-heartbeat 3 
>>>>>>>> :automatically-recover false :connection-timeout 5)) based on what you 
>>>>>>>> said but no joy, I would have thought I would at least see something 
>>>>>>>> in the logs to suggest it's trying to do something. I thought the 
>>>>>>>> connection was supposed to be closed if 2 heartbeats were missed?
>>>>>>>> 
>>>>>>>> Thanks.
>>>>>>>> 
>>>>>>>>> On Thu, Apr 14, 2016 at 12:31 PM, Michael Klishin 
>>>>>>>>> <mklis...@pivotal.io> wrote:
>>>>>>&g

Re: [clojure-rabbitmq] RabbitMQ Langohr no heartbeat

2016-04-14 Thread Michael Klishin
OK, that also reveals that RabbitMQ is running in a remote host,
which I expected but wasn't sure.

Are there any load balancers involved?

> On 14 abr 2016, at 17:33, David Smith <shmish...@gmail.com> wrote:
> 
> Nothing in the logs, just the open connection line then nothing:
> 
> =INFO REPORT 14-Apr-2016::14:27:45 ===
> accepting AMQP connection <0.1484.0> (192.168.99.1:50383 -> 172.17.0.2:5672)
> 
> 
>> On Thu, Apr 14, 2016 at 3:29 PM, David Smith <shmish...@gmail.com> wrote:
>> It was just that it sounded like you were answering the question from a Java 
>> perspective but didn't know anything about the Clojure wrapper, but I can 
>> see from the connections page that you wrote it :) I couldn't see anything 
>> about the heartbeat on the connections page, just:
>> 
>> product  Langohr
>> copyrightCopyright (C) 2011-2014 Michael S. Klishin, Alex Petrov
>> capabilities 
>> exchange_exchange_bindings:  true
>> connection.blocked:  true
>> authentication_failure_close:true
>> basic.nack:  true
>> publisher_confirms:  true
>> consumer_cancel_notify:  true
>> information  See http://clojurerabbitmq.info/
>> version  3.0.x
>> platform Clojure 1.8.0 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_66
>> 
>>> On Thu, Apr 14, 2016 at 3:25 PM, Michael Klishin <mklis...@pivotal.io> 
>>> wrote:
>>> It is. What difference does it make? We need to base our assumptions on 
>>> data and network traffic capture is the best data we can get. Server logs 
>>> are also helpful and trivial to collect.
>>> 
>>>> On 14 abr 2016, at 17:22, David Smith <shmish...@gmail.com> wrote:
>>>> 
>>>> Isn't this a mailing list for the Clojure client?
>>>> 
>>>>> On Thu, Apr 14, 2016 at 2:21 PM, Michael Klishin <mklis...@pivotal.io> 
>>>>> wrote:
>>>>> Also, please post full RabbitMQ logs and ideally a Wireshark traffic 
>>>>> capture. With the amount of information we have at the moment the best we 
>>>>> can do is guessing.
>>>>> 
>>>>>> On 14 abr 2016, at 14:39, David Smith <shmish...@gmail.com> wrote:
>>>>>> 
>>>>> 
>>>>>> I have tried (connection (assoc (:rabbit conf) :requested-heartbeat 3 
>>>>>> :automatically-recover false :connection-timeout 5)) based on what you 
>>>>>> said but no joy, I would have thought I would at least see something in 
>>>>>> the logs to suggest it's trying to do something. I thought the 
>>>>>> connection was supposed to be closed if 2 heartbeats were missed?
>>>>>> 
>>>>>> Thanks.
>>>>>> 
>>>>>>> On Thu, Apr 14, 2016 at 12:31 PM, Michael Klishin <mklis...@pivotal.io> 
>>>>>>> wrote:
>>>>>>> You can see effective heartbeat in the management UI on the connection 
>>>>>>> page.
>>>>>>> 
>>>>>>> Heartbeats do not close connection and it't not correct that connection 
>>>>>>> should be considered dead in 1.5 seconds with a 3 second interval: it 
>>>>>>> will be 3 seconds.
>>>>>>> 
>>>>>>> I'm curious if Langohr simply tries to re-connect because missed 
>>>>>>> heartbeats are treated the same way as connection loss in recent Java 
>>>>>>> client versions: is connection recovery enabled?
>>>>>>> 
>>>>>>>> On 14 abr 2016, at 14:20, David Smith <shmish...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>> Can anyone help me with this 
>>>>>>>> http://stackoverflow.com/questions/36596446/rabbitmq-langohr-no-heartbeat
>>>>>>>> 
>>>>>>>> I am setting up a connection to Rabbit using
>>>>>>>> 
>>>>>>>> (rmq/connect (assoc (:rabbit conf) :requested-heartbeat 3))
>>>>>>>> I have 3 subscribers to 3 channels, no producers. When I shutdown the 
>>>>>>>> rabbit server, nothing happens to my client. I would expect it to 
>>>>>>>> report missing heartbeat after 1.5 seconds and close the connection 
>>>>>>>> after 3 seconds. I have left the program running with rabbit down for 
>>>>>>>> quite a few minutes and nothing.
>>>>>>>> 

ANN Langohr 3.5.0 is released

2016-01-14 Thread Michael Klishin
Langohr [1] is a small Clojure client for RabbitMQ.

Release notes:
http://blog.clojurewerkz.org/blog/2016/01/14/langohr-3-dot-5-0-is-released/

1. http://clojurerabbitmq.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 3.0.2 is released

2016-01-11 Thread Michael Klishin
Monger [1] is a Clojure MongoDB driver for a more civilized age.

Release notes:
http://blog.clojurewerkz.org/blog/2016/01/11/monger-3-dot-0-2-is-released/

1. http://clojuremongodb.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.2.1 is released

2016-01-11 Thread Michael Klishin
Elastisch [1] is a minimalistic feature complete Clojure client
for ElasticSearch.

Release notes:
http://blog.clojurewerkz.org/blog/2016/01/12/elastisch-2-dot-2-1-is-released/

1. http://clojureelasticsearch.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.2.0 is released

2016-01-03 Thread Michael Klishin
Elastisch [1] is a minimalistic feature complete Clojure client
for ElasticSearch.

Release notes:
http://blog.clojurewerkz.org/blog/2016/01/04/elastisch-2-dot-2-0-is-released/

1. http://clojureelasticsearch.info/
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Pantomime 2.8.0 is released

2015-12-20 Thread Michael Klishin
Pantomime [1] is a Clojure interface to Apache Tika.

Release notes:
http://blog.clojurewerkz.org/blog/2015/12/20/pantomime-2-dot-8-0-is-released/

1. http://github.com/michaelklishin/pantomime
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.2.0-rc1 is released

2015-12-20 Thread Michael Klishin
Elastisch [1] is a minimalistic Clojure client for ElasticSearch that
supports
both HTTP and native transports.

Release notes:
http://blog.clojurewerkz.org/blog/2015/12/20/elastisch-2-dot-2-0-rc1-is-released/

1. http://clojureelasticsearch.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.4.2 is released

2015-12-20 Thread Michael Klishin
Langohr [1] is a minimalistic feature complete Clojure client for RabbitMQ.

Release notes:
http://blog.clojurewerkz.org/blog/2015/12/20/langohr-3-dot-4-2-is-released/

1. http://clojurerabbitmq.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.6.0 is released

2015-11-30 Thread Michael Klishin
metrics-clojure is a Clojure interface to the DropWizard Metrics
library.

Release notes:
https://github.com/sjl/metrics-clojure/blob/master/ChangeLog.md#changes-between-250-and-260
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Neocons 3.1.0 is released

2015-09-28 Thread Michael Klishin
Neocons [1] is a feature rich, idiomatic Clojure client for
Neo4J Server.

Release notes:
http://blog.clojurewerkz.org/blog/2015/09/22/neocons-3-dot-1-0-is-released/

1. http://clojureneo4j.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.4.0 is released

2015-09-28 Thread Michael Klishin
Langohr [1] is a small but complete Clojure client for RabbitMQ.

Release notes:

http://blog.clojurewerkz.org/blog/2015/09/29/langohr-3-dot-4-0-is-released/

1. http://clojurerabbitmq.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [clojure-rabbitmq] Nacks and Publisher Acknowledgements

2015-09-11 Thread Michael Klishin
Oops, sorry. Something made me believe it was a Github issue notification.

MK

> On 11/9/2015, at 6:25, j...@signafire.com wrote:
> 
> I'm confused—I thought this was the mailing list…
> That said, if there's a more appropriate place to ask this question, I'm 
> happy to move there.
> 
>> On Thursday, September 10, 2015 at 11:20:27 PM UTC-4, Michael Klishin wrote:
>> Questions belong to the mailing list.
>> 
>>> On 11/9/2015, at 6:17, jo...@signafire.com wrote:
>>> 
>>> Essentially, it's not clear to me how an application is supposed to recover 
>>> when handling a nack or when langohr.confirm/wait-for-confirms returns 
>>> false. It seems to me that the delivery tag that the nack handler receives 
>>> is only useful if I've been maintaining a map from delivery tags to 
>>> messages (so that I know which message needs to be retried). Is that a 
>>> responsibility expected of the application developer? I.e., should I be 
>>> doing something like (swap! delivery-tag->message assoc 
>>> (.getNextPublishSeqNo channel) message) before each invocation of 
>>> langohr.basic/publish? (If so, I'd probably also (swap! 
>>> delivery-tag->message dissoc delivery-tag) inside of the ack-handler.)
>>> 
>>> And in the case of langohr.confirm/wait-for-confirms returning false: all I 
>>> know in that circumstance is that some message failed to send since the 
>>> last time I called wait-for-confirms. So in order to use wait-for-confirms, 
>>> should I be maintaining a set of pending messages? Something along the 
>>> lines of:
>>> (if (wait-for-confirms channel)
>>>   (reset! sent-yet-unconfirmed-messages #{})  ; flush our memory of the 
>>> recently-sent messages
>>>   (try-resending-the-messages))
>>> 
>>> 
>>> I'd really appreciate any guidance you can provide.
>>> -Josh Tilles
>>> 
>>> P.S. I'm new to AMQP, RabbitMQ, and Langohr, so if I'm going about this the 
>>> wrong way, feel free to point it out.
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "clojure-rabbitmq" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to clojure-rabbit...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "clojure-rabbitmq" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure-rabbitmq+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"clojure-rabbitmq" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[clojure-rabbitmq] ANN Langohr 3.3.0 is released

2015-07-27 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. 

Release notes:
http://blog.clojurewerkz.org/blog/2015/07/27/langohr-3-dot-3-0-is-released/

1. http://clojurerabbitmq.info
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ  


-- 
You received this message because you are subscribed to the Google Groups 
clojure-rabbitmq group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.3.0 is released

2015-07-27 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.  

Release notes:  
http://blog.clojurewerkz.org/blog/2015/07/27/langohr-3-dot-3-0-is-released/ 

1. http://clojurerabbitmq.info  
--  
MK  


-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [clojure-rabbitmq] The execution hangs when nested publish inside consumer handler function

2015-07-22 Thread Michael Klishin
 On 22 Jul 2015 at 10:46:18, Nuttanart Pornprasitsakul (visiblet...@gmail.com) 
wrote:
 I posted the code snippet that can cause the issue on github.  
 Also posted differences in network trace between blocking and  
 success run that I've noticed there.

Thanks, this is a fairly busy week for me with 3 releases but I will take a look
in the next few days.

 The output from rabbitmqctl eval `rabbitmq_diagnostics:maybe_stuck().`  
 is
  
 Error: {undef,[{rabbitmq_diagnostics,maybe_stuck,[],[]},  
 {erl_eval,do_apply,6,[{file,erl_eval.erl},{line,657}]},  
 {rpc,'-handle_call_call/6-fun-0-',5,
 [{file,rpc.erl},{line,205}]}]}

This means your version doesn’t have that function (it’s fairly new, I think 
3.5.x)
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ  


-- 
You received this message because you are subscribed to the Google Groups 
clojure-rabbitmq group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[clojure-rabbitmq] Re: Reusing channel in message handler function

2015-07-22 Thread Michael Klishin
On Wednesday, July 22, 2015 at 12:14:36 PM UTC+3, Nuttanart Pornprasitsakul 
wrote:

 Hi,

 This question is related to blocking issue that I'm asking 
 https://github.com/michaelklishin/langohr/issues/74, but I think better 
 separating this to prevent putting more noises in that issue. I started to 
 think that the issue that happens to me causes by opening and closing 
 channel to often in the subscribe handler function (the snippet below 
 extracted from here 
 https://github.com/michaelklishin/langohr/issues/74#issuecomment-123536849
 )

 (lc/subscribe channel source (fn [ch meta message]
 (let [pub-ch (lch/open conn)]
   (lb/publish pub-ch  destination (str 
 message))
   (lch/close pub-ch))
 (lb/ack ch (:delivery-tag meta

 The reason I keep doing it this way is because in the Java RabbitMQ 
 client Channel documentation 
 https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/Channel.html
  
 says that a channel shouldn't be shared between threads. As my 
 understanding, message handler function can be executed in multiple threads 
 that's why I create a new channel and close it within the handler function. 
 But from my other test results, it seems like sharing channel between 
 threads making handler function run a lot faster and importantly, blocking 
 issue doesn't happen.


You can reuse the channel in this particular case. Yes, consumer methods 
will be executed in a thread pool but
per-channel ordering is guaranteed by the Java client (ConsumerWorkService, 
in case you wonder). I didn't
realise you were closing and opening channels inside a delivery handler. 
That should not be necessary and sounds
more dangerous than technically having channel sharing ;)

Thread sharing is a no-go if you intend to publish on a channel 
concurrently. As I explained in above,
Java client will effectively make publishing sequential in your case.
 
If this solves the blocking issue for you, I'd simply recommend you publish 
responses on the same
channel your deliveries are on (this is why the callback has `ch` as the 
first argument!) and move on :)

MK

-- 
You received this message because you are subscribed to the Google Groups 
clojure-rabbitmq group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 3.0.0 is released

2015-07-18 Thread Michael Klishin
Monger [1] is a modern Clojure MongoDB client.

3.0 has breaking API changes. Release notes:
http://blog.clojurewerkz.org/blog/2015/07/16/monger-3-dot-0-0-is-released/

1. http://clojuremongodb.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 3.0.0-rc2 is released

2015-06-27 Thread Michael Klishin
Monger [1] is a Clojure MongoDB driver for a more civilized age.

Monger 3.0 is a major release that sets up ground for various
MongoDB 3.x improvements and uses MongoDB Java driver 3.0
under the hood.

There are breaking changes in 3.0. You can learn more about
2.x to 3.0 changes in the RC1 release notes:
http://blog.clojurewerkz.org/blog/2015/06/15/monger-3-dot-0-0-rc1-is-released/

New stuff in RC2 is covered separately:
http://blog.clojurewerkz.org/blog/2015/06/27/monger-3-dot-0-0-rc2-is-released/

If you'd like to follow releases of other ClojureWerkz libraries, see [2]
and [3].

1. http://clojuremongodb.info
2. http://twitter.com/clojurewerkz
3. http://blog.clojurewerkz.org/
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] System 0.0.8

2015-05-25 Thread Michael Klishin
On 24 May 2015 at 03:59:52, Daniel Szmulewicz (daniel.szmulew...@gmail.com) 
wrote:
 System 0.0.8 has just been released, but it is not the same anymore.  

Then perhaps it deserves at least a minor version bump.
 
Non-standard, confusing version numbers is already a significant enough problem
in the community, and if you are building a thing that glues everything 
together,
using a sensible versioning scheme (something very close to SemVer) is a must. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] System 0.0.8

2015-05-25 Thread Michael Klishin
 On 26 May 2015 at 03:45:04, Daniel Szmulewicz (daniel.szmulew...@gmail.com) 
wrote:
 Is there a consensus as to what versioning scheme works best?  
 Or is there no such beast?
 Peter Taoussanis has expressed some reservations regarding  
 SemVer and is proposing a variation on it, which he calls BreakVer.  

Use BreakVer if you want. Just don’t keep endlessly bumping the patch
version while what you introduce is massive breaking changes or new features.
And don’t do what ClojureScript does (0.0.0 with a nonsensical numbers at the 
end).

SemVer has been working well for ClojureWerkz and dozens of other projects I 
asked
about it. But there are slight variations on it, and that’s perfectly fine
as long as the basic idea is the same.

0.0.8 that “changes everything, again” is nowhere close.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] System 0.0.8

2015-05-25 Thread Michael Klishin
On 26 May 2015 at 03:54:35, Daniel Szmulewicz (daniel.szmulew...@gmail.com) 
wrote:
 Yes, sir. Well understood.
  
 On top of that, the announcement was mistaken. System's version  
 is at 0.1.8, not 0.0.8.
  
 Will do better next time.

Thank you!  This sounds like a project that can grow into something
important for the ecosystem.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.2.0 is released

2015-04-18 Thread Michael Klishin
Langohr [1] is a small Clojure client for RabbitMQ. 

Release notes:
http://blog.clojurewerkz.org/blog/2015/04/19/langohr-3-dot-2-0-is-released/

1. http://clojurerabbitmq.info
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Clojure Jobs Available

2015-03-30 Thread Michael Klishin
On 31 March 2015 at 04:45:39, Jan Drake (jan.s.dr...@gmail.com) wrote:
 We have teams in Seattle, Sydney, and Costa Rica and are looking  
 to hire senior engineers with Clojure/Lisp experience.

Jan,

It would help if you clarify what locations/timezones you require candidates
to be in. Many talented engineers on this list are not in Seattle or  Sydney.

The line above suggests your team is distributed but what do I know,
maybe Costa Rica is a technology hub these days :)
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Dunaj project, an alternative core API for Clojure

2015-03-05 Thread Michael Klishin
On 6 March 2015 at 00:45:47, adrian.med...@mail.yu.edu 
(adrian.med...@mail.yu.edu) wrote:
 it strikes me as odd that this project would not come out of  
 direct collaboration with Clojure's core contributors.

I should point out that there's enough people in the community who
do not find Clojure's core contributors, ahem,
exactly open to collaborating
 on stuff not seen as exciting or important in their circle.

 Proposed  
 features should probably go through the official channels if  
 you are serious about getting them included in the language.  

Attempts to introduce major changes to clojure.core have incredibly low
chances to succeed for reasons that are outside of control of Dunai's author.

A completely new 3rd party project has the same low changes of being
*widely* adopted but may influence clojure.core in some areas in the long run
and be useful to some today. Or the day it stops being vaporware with a mailing
list and no source code publicly available.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.1.0 is released

2015-02-27 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.

Release notes:
http://blog.clojurewerkz.org/blog/2015/02/27/langohr-3-dot-1-0-is-released/

1. http://clojurerabbitmq.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[clojure-rabbitmq] ANN Langohr 3.1.0 is released

2015-02-27 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.

Release notes:
http://blog.clojurewerkz.org/blog/2015/02/27/langohr-3-dot-1-0-is-released/

1. http://clojurerabbitmq.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
You received this message because you are subscribed to the Google Groups 
clojure-rabbitmq group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure-rabbitmq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 2.1.0 is released

2015-02-22 Thread Michael Klishin
Monger [1] is a Clojure MongoDB client for a more civilized age.

2.1.0 is a minor feature released.

Change log:
http://blog.clojurewerkz.org/blog/2015/02/22/monger-2-dot-1-0-is-released/

There will be no more 2.x releases (except for bug fixes, of course).
Monger development will focus on 3.0 now. We expect 3.0 to be as compatible
with 2.1 as possible but not 100%: some things (e.g. get-last-error) are gone
in the next release of the Java client or MongoDB 3.0.

We'll post more on our 3.0 plans as they solidify.


1. http://clojuremongodb.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Serialism 1.3.0 is released

2014-12-29 Thread Michael Klishin
Serialism [1] is a tiny Clojure library that serializes and deserializes values 
into popular formats based on provided content type.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/30/serialism-1-dot-3-0-is-released/

1. https://github.com/clojurewerkz/serialism
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how do you name your protocols?

2014-12-27 Thread Michael Klishin
On 27 December 2014 at 19:10:38, Jozef Wagner (jozef.wag...@gmail.com) wrote:
 clj-time seems to be naming protocols inconsistently. It uses  
 ISomething, Something and SomethingProtocol naming.

I suspect it is because it has 60 contributors and most users never have to
extend the protocols.

Feel free to submit a PR that standardises all names on Something. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Quartzite 2.0 is released

2014-12-27 Thread Michael Klishin
Quartzite [1] is a scheduling library built on top of Quartz scheduler.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/27/quartzite-2-dot-0-is-released/

1. http://clojurequartz.info 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN cli-time 0.9.0 is released

2014-12-26 Thread Michael Klishin
clj-time [1] is a Clojure library for working with dates and time built on
top of Joda Time.

Change log:
https://github.com/clj-time/clj-time/blob/master/ChangeLog.md#changes-between-080-and-090

1. https://github.com/clj-time/clj-time/
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Basic usage of namespaces

2014-12-24 Thread Michael Klishin
On 24 December 2014 at 12:59:11, Eric Le Goff (eleg...@gmail.com) wrote:
 Now my newbie question :
 Is there a simpler way to avoid the redundant 2 lines
 (require 'myapp.other)
 (refer 'myapp.other)

(require '[myapp.other :refer [foo]])

See  http://clojure-doc.org/articles/language/namespaces.html
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.0.1 is released

2014-12-23 Thread Michael Klishin
Langohr [1] is a Clojure client for RabbitMQ. 

Release notes: 
http://blog.clojurewerkz.org/blog/2014/12/23/langohr-3-dot-0-1-is-released/

1. http://clojurerabbitmq.info
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Author a Book on Clojure - Packt Publishing

2014-12-22 Thread Michael Klishin
On 22 December 2014 at 13:39:12, Jan-Paul Bultmann 
(janpaulbultm...@googlemail.com) wrote:
 It feels to me that this publisher is just a book mill that goes  
 for quantity and not quality.
 I couldn't make it thought a single book I bought from them because  
 reading them felt like a waste of time.
  
 Of course things might have changed by now and your mileage may  
 vary.
 I'm just thinking that if somebody takes the time of writing a  
 book on Clojure,
 it should at least be worthwhile.

I have recently reviewed a book for them (on a popular open source database).
The process was sane. All code was sent to me in tarballs. The book also ended 
up
being solid, and would likely be one of the best books on the subject available
by the time it is out.

So I guess it's like a box of chocolate. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.0.0 is released

2014-12-21 Thread Michael Klishin
Langohr [1] is a Clojure client for RabbitMQ.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/21/langohr-3-dot-0-0-is-released/

1. http://clojurerabbitmq.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Buffy 1.0

2014-12-20 Thread Michael Klishin
Buffy [1] is a Clojure library for working with binary data.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/19/buffy-reaches-1-dot-0/
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Cassaforte 2.0 is released

2014-12-20 Thread Michael Klishin
Cassaforte [1] is a modern Clojure client for Apache Cassandra and DataStax 
Enterprise.

2.0 is a major release with breaking API changes. Release notes:
http://blog.clojurewerkz.org/blog/2014/12/20/cassaforte-2-dot-0-0-is-released/

1. http://clojurecassandra.info 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ANN Cassaforte 2.0 is released

2014-12-20 Thread Michael Klishin
On 20 December 2014 at 19:33:23, Michael Klishin (michael.s.klis...@gmail.com) 
wrote:
 Cassaforte [1] is a modern Clojure client for Apache Cassandra  
 and DataStax Enterprise.
  
 2.0 is a major release with breaking API changes. Release notes:  
 http://blog.clojurewerkz.org/blog/2014/12/20/cassaforte-2-dot-0-0-is-released/
   
  
 1. http://clojurecassandra.info

…and now Cassaforte documentation has gotten a update, too.
Check our doc guides out!

http://clojurecassandra.info/articles/guides.html
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Validateur 2.4.2 is released

2014-12-18 Thread Michael Klishin
Validateur [1] is a flexible data validation library for Clojure and 
ClojureScript.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/18/validateur-2-dot-4-2-is-released/

1. http://clojurevalidations.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN ClojureWerkz in 2015

2014-12-18 Thread Michael Klishin
If you use one or more ClojureWerkz projects, here's what you can
expect from us next year (besides new releases and libraries, of course):
http://blog.clojurewerkz.org/blog/2014/12/10/the-next-year-of-clojurewerkz/

If you have other ideas, simply reply in this thread. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 2.0.1 is released

2014-12-08 Thread Michael Klishin
Monger [1] is a Clojure MongoDB driver for a more civilized age.

Release notes:
http://blog.clojurewerkz.org/blog/2014/12/08/monger-2-dot-0-1-is-released/

1. http://clojuremongodb.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.1.0 is released

2014-12-07 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/12/07/elastisch-2-dot-1-0-is-released/

1. http://clojureelasticsearch.info
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Cassaforte 2.0.0-rc2 is released

2014-12-07 Thread Michael Klishin
Cassaforte [1] is a Clojure Cassandra client built around CQL 3. 

This release is a late release candidate for 2.0. Please help us
test it! 

Release notes: 
http://blog.clojurewerkz.org/blog/2014/11/30/cassaforte-2-dot-0-0-rc2-is-released/

1. http://clojurecassandra.info 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.1.0-rc1 is released

2014-11-14 Thread Michael Klishin
Elastisch [1] is a small, feature complete client for ElasticSearch 
that provides both REST and native clients. 

2.1 is packed with improvements. Please help us test this RC!

Release notes: 
http://blog.clojurewerkz.org/blog/2014/11/15/elastisch-2-dot-1-0-rc1-is-released/

1. http://clojureelasticsearch.info 

-- 
@michaelklishin, github.com/michaelklishin 

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What does .NET open sourcing mean for ClojureCLR?

2014-11-12 Thread Michael Klishin
On 12 November 2014 at 21:50:57, Evan Zamir (zamir.e...@gmail.com) wrote:
 I just read that MS is open sourcing .NET. I assume this means  
 one could now target .NET with ClojureCLR on Linux/Mac environment.  
 Assuming that is true, the natural question seems to be which  
 VM should a Clojure developer be targeting? Is performance going  
 to be similar on both? In that case, then existing libraries   
 dependencies would be the deciding factor? Thanks for opinions.  

Mono has been around for a while and as far as ClojureCLR goes,
shouldn't have any [obvious] limitations. In fact, when I have to
touch .NET these days, I do all the work on Mono and then simply
verify things against .NET on Windows. Usually works like a charm.

Mono performance has been excellent for what I do and .NET/Mono startup
time is so much better than the JVM one that often now choose F#
for scripting.

Again, I haven't tried ClojureCLR but running .NET languages on
OS X and Linux has been perfectly possible for years. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN ClojureWerkz Money 1.7.0 is released

2014-11-07 Thread Michael Klishin
Money [1] a tiny Clojure library that deals with monetary amounts and 
currencies.
It is built on top of Joda Money [2].

Release notes:
http://blog.clojurewerkz.org/blog/2014/11/07/money-1-dot-7-0-is-released/

1. https://github.com/clojurewerkz/money/
2. http://joda-money.sourceforge.net/
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.4.0 is released

2014-11-07 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2],   
originally by Steve Losh [3].  

Release notes: 
http://blog.clojurewerkz.org/blog/2014/11/08/metrics-clojure-2-dot-4-0-is-released/

If you're new to metrics and not sure why collecting them is a good idea,  
take a moment to watch [4].  

1. https://github.com/sjl/metrics-clojure  
2. http://metrics.codahale.com/  
3. http://stevelosh.com/  
4. http://www.youtube.com/watch?v=czes-oa0yik  
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Software Engineer (Clojure) opportunity in Redwood City, CA

2014-10-31 Thread Michael Klishin
 On 31 October 2014 at 17:13:15, Grant Du Plooy (gr...@tolfrey.com) wrote:
 Yummly's iOS app is already the #1 recipe app, and our site receives  
 15M monthly unique visitors. Details here:http://jobsco.re/1uhrReN  

Grant,

Many potential candidates would greatly appreciate if you clarify your policy
regarding remote work. Are remote candidates welcomed? If so, what time zones 
are OK?
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Cassaforte 2.0.0-beta8 is released

2014-10-24 Thread Michael Klishin
Cassaforte [1] is a Clojure Cassandra client built around CQL 3.

This release introduces a breaking public API change.

Release notes:
http://blog.clojurewerkz.org/blog/2014/10/13/cassaforte-2-dot-0-0-beta8-is-released/

1. http://clojurecassandra.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.1.0-beta9 is released

2014-10-24 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/10/25/elastisch-2-dot-1-0-beta9-is-released/

1. http://clojureelasticsearch.info

-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Meltdown 1.1.0 is released

2014-10-24 Thread Michael Klishin
Meltdown is a Clojure interface to Reactor, an asynchronous
programming, event passing and stream processing toolkit for the JVM.

Release notes:
http://blog.clojurewerkz.org/blog/2014/10/25/meltdown-1-dot-1-0-is-released/

Documentation:
https://github.com/clojurewerkz/meltdown#documentation

There will be no more 1.x Meltdown releases except for bug fix ones. Meltdown
master will target Reactor 2.0 and its Reactive Streams [2] implementation.

1. https://github.com/clojurewerkz/meltdown
2. http://www.reactive-streams.org/
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: book for a beginner with some exercises

2014-10-14 Thread Michael Klishin
 On 14 October 2014 at 15:59:03, Roelof Wobben (rwob...@hotmail.com) wrote:
 Is there a book for a beginner in Clojure where I can learn things  
 and practice the things I learned with some exercises ?

Exercises are provided by several online resources.

Books:
http://clojure-doc.org/articles/ecosystem/books.html

Possibly the oldest code dojo site for Clojure:
http://www.4clojure.com
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN]: clojure.jdbc 0.3.0 - A jdbc library for clojure (previously clj.jdbc)

2014-10-11 Thread Michael Klishin
 On 12 October 2014 at 00:39:40, James Reeves (ja...@booleanknot.com) wrote:
 The name of this library is really close to the clojure.java.jdbc  
 contrib library. You may want to consider changing the name so  
 people don't get confused.

…and IMO clj.jdbc was significantly easier to tell from clojure.java.jdbc.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: class file too large

2014-10-05 Thread Michael Klishin


On 5 October 2014 at 15:20:36, Sunil S Nandihalli (sunil.nandiha...@gmail.com) 
wrote:
 I am getting class file too-large errors when I compile the clojure  
 file. Do you have pointers as to how one can identify the offending  
 piece of code?

You likely have a giant function somewhere. Split it into multiple small ones. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PSA] Clojars scp disabled until further notice

2014-09-29 Thread Michael Klishin
On 27 September 2014 at 09:32:13, Sean Corfield (s...@corfield.org) wrote:
 If Clojars' scp remains unavailable, will that pain be sufficient  
 to
 switch library maintainers to https deploy? Or will those maintainers  
 just stop making releases and abandon their libraries?

I've had to do a few releases last weekend and had to urgently do one today.

`lein clojars deploy` works for some projects but fails with others.
The docs cover deploying to private repos in a lot of detail but do not
mention Clojars-specific configuration (e.g. if I don't have the time to fight
GnuPG and want to just disable signing altogether with clojars).

In general, my experience as library maintainer has gone from it's trivial to 
deploy a new release, I do it all the time to deploying libraries is a 
nightmare,
I'd rather do it as late as possible.

I have no choice to go through this whole GnuPG dance all the way — you can't 
maintain 30+ libraries otherwise — but I'm really unhappy about having to do 
that. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where can one find low hanging fruit for open source contribution?

2014-09-27 Thread Michael Klishin
On 27 September 2014 at 10:34:28, kurofune (jesseluisd...@gmail.com) wrote:
 I am an looking for a good, active, open source Clojure library/project 
 to contribute to, but am not sure where to start. Could somebody 
 give an intermediate level programmer a few pointers as to where 
 to begin?

Leiningen has issues tagged newbie and its maintainers are some of the nicest
people you'll find in open source:

https://github.com/technomancy/leiningen/labels/Newbie

Some (unfortunately, only a few to date) ClojureWerkz projects use a similar
tag:
https://github.com/clojurewerkz/elastisch/labels/low-hanging%20fruit

Ultimately I'd recommend contributing to either what you can easily see yourself
using or something that sounds really interesting. Leiningen is something
you will use if you use Clojure, which makes it a no-brainer.
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PSA] Clojars scp disabled until further notice

2014-09-25 Thread Michael Klishin
On 25 September 2014 at 02:57:39, Phil Hagelberg (p...@hagelb.org) wrote:
 In particular we would like to know reasons why you haven't
 upgraded, assuming it's not just I started on scp and it worked 
 well,
 so I never saw the need to change anything.

FWIW, that's exactly the reason I and a few other folks who maintain libraries
use scp for deployment. It just works .
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Standalone Leiningen 2.5.0

2014-09-20 Thread Michael Klishin
Standalone Leiningen [1] is a distribution of Leiningen which
doesn't require downloading .jars to ~/.lein and thus can
work in environments with restricted network connectivity,
embedded into other tools, build pipelines, etc. It does not
modify Leiningen in any other way.

The project now provides Leiningen 2.5.0.

1. https://github.com/michaelklishin/standalone-lein
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Use Require and Import

2014-09-19 Thread Michael Klishin
 On 19 September 2014 at 10:53:32, Gomzee (gettingerr...@gmail.com) wrote:
 I am new to clojure can any one give me a good example answer to  
 differentiate between Use, Require and Import. Specially I  
 am getting confused with Require and Import.

require loads and compiles Clojure namespaces. Import allows you to avoid
using fully-qualified Java class names (the same as import in Java).

See http://clojure-doc.org/articles/language/namespaces.html
and http://clojure-doc.org/articles/language/interop.html.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Use Require and Import

2014-09-19 Thread Michael Klishin
 On 19 September 2014 at 11:04:50, Hemant Gautam (gettingerr...@gmail.com) 
wrote:
 So, can you please tell me when I load b.clj in REPL then what happens  
 and What difference comes between these Require and Import.  

You do not import functions. That's what :refer, an option on require, is for.
Only Java classes are imported. If you do not need to instantiate or otherwise
use Java classes, don't use import.

When Clojure compiler compiles b.clj, it will notice that you require
com.gettingerror.a (in this example) and will compile that first,
then make it available in b as com.gettingerror.a.

This is explained in more depth with examples in the guides I've linked to.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: using Component for replacing dependencies in tests

2014-09-16 Thread Michael Klishin
On 16 September 2014 at 12:13:13, Anvar Karimson (an...@karimson.com) wrote:
 Option 1, separate lifecycle from the actual store:

I've seen this approach in use, it works well. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.1.0-beta6 is released

2014-09-15 Thread Michael Klishin
 Elastisch [1] is a minimalistic feature rich Clojure client for 
ElasticSearch.  

Release notes: 
http://blog.clojurewerkz.org/blog/2014/09/13/elastisch-2-dot-1-0-beta6-is-released/

1. http://clojureelasticsearch.info  
--  
@michaelklishin, github.com/michaelklishin  

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Cassaforte 2.0.0-beta3 is released

2014-09-15 Thread Michael Klishin
Cassaforte [1] is a Clojure Cassandra client built around CQL 3.

Release notes:
http://blog.clojurewerkz.org/blog/2014/09/13/cassaforte-2-dot-0-0-beta3-is-released/
 

1. http://clojurecassandra.info
--
MK


-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.3.0 is released

2014-09-15 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2],  
originally by Steve Losh [3].   

Release notes:  
http://blog.clojurewerkz.org/blog/2014/09/13/metrics-clojure-2-dot-3-0-is-released/

If you're new to metrics and not sure why collecting them is a good idea,   
take a moment to watch [4].   

1. https://github.com/sjl/metrics-clojure   
2. http://metrics.codahale.com/   
3. http://stevelosh.com/   
4. http://www.youtube.com/watch?v=czes-oa0yik   

--  
@michaelklishin, github.com/michaelklishin  

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Extending clj-time

2014-09-10 Thread Michael Klishin
On 10 September 2014 at 15:42:01, j...@afandian.com (j...@afandian.com) wrote:
 Is this the right way to do this?

Yes.

 Could I somehow make this implicit  
 and avoid re-writing the DateTimeProtocol implementations?  

There's no way around implementing the DateTimeProtocol functions you need for 
your
data structure but you can make some of your function delegate to the original
clj-time ones (e.g. by instantiating a DateTime or another class and passing
them on to clj-time). 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Extending clj-time

2014-09-10 Thread Michael Klishin
On 10 September 2014 at 21:11:06, j...@afandian.com (j...@afandian.com) wrote:
 I just noticed that the ReadableInstant[0] interface is generic,  
 extending Comparable [1]. Is it possible to implement a generic  
 interface with a defrecord?

Type parameters in generics do not exist at runtime, they are purely a javac
feature. So yes, you can reify a generic interface, just ignore the type 
variable(s). 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Interop nightmare

2014-09-08 Thread Michael Klishin
 On 9 September 2014 at 00:33:11, Ivan L (ivan.laza...@gmail.com) wrote:
 For an enterprising clojure hacker, this is a good opportunity  
 to write Clojure for non-Java Hackers and put it up on Pragprog.  

Sounds more like Just enough Java for Clojure. Which I think would have
too small an audience to be worth the effort.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Interop nightmare

2014-09-07 Thread Michael Klishin
On 8 September 2014 at 06:50:38, Sam Raker (sam.ra...@gmail.com) wrote:
 I can `(import  
 edu.stanford.nlp.parser.lexparser.LexicalizedParser)`,  
 but after that, it's just a nightmare of `no matching ctor`, `no  
 matching field`, `NoSuchFieldException` and `expected static  
 field` errors. I can't even initialize anything -- `(def parser  
 (new LexicalizedParser))` gives me the aforementioned `no  
 matching ctor` error.

The only constructor on that class has way more than 0 arguments:
http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/parser/lexparser/LexicalizedParser.html#LexicalizedParser(edu.stanford.nlp.parser.lexparser.Lexicon,
 edu.stanford.nlp.parser.lexparser.BinaryGrammar, 
edu.stanford.nlp.parser.lexparser.UnaryGrammar, 
edu.stanford.nlp.parser.lexparser.DependencyGrammar, 
edu.stanford.nlp.util.Index, edu.stanford.nlp.util.Index, 
edu.stanford.nlp.util.Index, edu.stanford.nlp.parser.lexparser.Options)

Perhaps you should use a factory method to instantiate it:
http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/parser/lexparser/LexicalizedParser.html#loadModel()

See http://clojure-doc.org/articles/language/interop.html, too. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: core.async take behaviour

2014-09-05 Thread Michael Klishin
On 5 September 2014 at 06:08:17, Colin Fleming (colin.mailingl...@gmail.com) 
wrote:
 Given that there's a long time between major releases and 1.6  
 just came out, are they likely to be backported to a 1.6 point release  
 when they're done or will we have to wait for 1.7?

FWIW, Clojure doesn't have a history of medium and major feature backports.
But as  Sean points out, alphas are often more stable than stable releases
of some other languages.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Langohr 3.0.0-rc2 is released

2014-08-27 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.

3.0.0-rc2 is a release candidate for 3.0, which has breaking public
API changes.

Change log:
http://blog.clojurewerkz.org/blog/2014/08/27/langohr-3-dot-0-0-rc2-is-released/

1. http://clojurerabbitmq.info
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.2.0 is released

2014-08-27 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2], 
originally by Steve Losh [3]. 

Release notes:
http://blog.clojurewerkz.org/blog/2014/08/27/metrics-clojure-2-dot-2-0-is-released/

If you're new to metrics and not sure why collecting them is a good idea, 
take a moment to watch [4]. 

1. https://github.com/sjl/metrics-clojure 
2. http://metrics.codahale.com/ 
3. http://stevelosh.com/ 
4. http://www.youtube.com/watch?v=czes-oa0yik 

--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 use Jetty server on Digital Ocean droplet.  
 We deploy by copying war file generated by lein ring uberwar.  

Jetty + lein uberjar is by far the most popular option from what I see.

You can deploy with Chef/Puppet/etc, run on Heroku or Cloud Foundry, or even
use very basic SSH commands or Capistrano to deploy. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] modular 0.5.1 with cylon 0.4.0

2014-08-05 Thread Michael Klishin
 On 5 August 2014 at 15:54:58, Malcolm Sparks (malc...@juxt.pro) wrote:
  As I mentioned in my talk, we have a Google discussion group called  
 'modularity' for discussion about this and other component-related  
 topics, all welcome.

Looks like non-members cannot even view group content. Is this intentional?
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why does this not give output

2014-08-05 Thread Michael Klishin
On 5 August 2014 at 19:41:03, Cecil Westerhof (cldwester...@gmail.com) wrote:
  ​When run in the REPL it gives the output I expect, but when executed  
 as a program, it does not give any output at all. What is going on  
 here?

Because `for` is lazy. In the REPL the result has to be computed because it 
needs
to be converted to a string. Wrap it in `doall`, that will force evaluation. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why a Long class instead of integer class

2014-08-05 Thread Michael Klishin
On 5 August 2014 at 19:43:21, Cecil Westerhof (cldwester...@gmail.com) wrote:
  Because of the class of those values is Long. Why are those not  
 Integer?

To avoid the performance penalty of automatic promotion. In dynamically typed 
languages
with auto-promotion of integers you have to perform a promotion check for every
operation.

It's not Long, by the way, it is long (the primitive). 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Validateur 2.2.0 is released

2014-08-04 Thread Michael Klishin
Validateur [1] is a functional validations library for Clojure and 
ClojureScript.

Release notes:
http://blog.clojurewerkz.org/blog/2014/08/03/validateur-2-dot-2-0-is-released/

1. http://clojurevalidations.info/
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Quartzite 1.3.0 is released

2014-08-04 Thread Michael Klishin
Quarzite [1] is a powerful Clojure scheduling library built on top the Quartz 
Scheduler.

Release notes:
http://blog.clojurewerkz.org/blog/2014/07/31/quartzite-1-dot-3-0-is-released/

1. http://clojurequartz.info/ 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Chash 1.1.0 is released

2014-08-04 Thread Michael Klishin
chash [1] is a consistent hashing library for Clojure.

Release notes:
http://blog.clojurewerkz.org/blog/2014/07/31/chash-1-dot-1-0-is-released/

1. https://github.com/michaelklishin/chash 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Mailer 1.3.0 is released

2014-08-04 Thread Michael Klishin
Mailer [1] is an ActionMailer-inspired mailer library for Clojure.

Release notes:
http://blog.clojurewerkz.org/blog/2014/08/03/mailer-1-dot-1-0-is-released/

1. https://github.com/clojurewerkz/mailer 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: docs with sphinx rst

2014-08-03 Thread Michael Klishin
 On 4 August 2014 at 03:12:07, Brian Craft (craft.br...@gmail.com) wrote:
  Any sphinx users here? Maybe adapting the common lisp domain,  
 or something?

metrics-clojure uses Sphinx:
https://github.com/sjl/metrics-clojure
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] System

2014-07-29 Thread Michael Klishin
 On 29 July 2014 at 10:00:31, Daniel Szmulewicz (daniel.szmulew...@gmail.com) 
wrote:
  The idea behind this library is to serve as a community-backed  
 repository of readymade components.

So, basically like Modular?

https://github.com/juxt/modular
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] System

2014-07-29 Thread Michael Klishin
On 29 July 2014 at 10:21:33, Daniel Szmulewicz (daniel.szmulew...@gmail.com) 
wrote:
  I wasn't aware of it.
  
 How does it relate to Jig (of which I was aware), if it does?

Jig originally was reinventing parts of Component + did what Modular does.
Malcolm will likely correct me but I believe Modular is what Jig meant to be,
built on top of Component (which has taken off in the community).

 Anyway, modular looks neat and has more components, for sure.  
 The example in the README shows usage via a Leiningen template.  
 I found it was difficult to retrofit changes on existing projects  
 with the template approach.

You can use the modules individually, the template simply brings together
a few commonly used for Web development. You can use e.g. the Netty module
w/o the template or any other modules. 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN metrics-clojure 2.1.1 is released

2014-07-27 Thread Michael Klishin
metrics-clojure [1] is a Clojure interface to the Metrics library [2],
originally by Steve Losh [3].

Release notes:
http://blog.clojurewerkz.org/blog/2014/07/26/metrics-clojure-2-dot-1-1-is-released/

If you're new to metrics and not sure why collecting them is a good idea,
take a moment to watch [4].

1. https://github.com/sjl/metrics-clojure
2. http://metrics.codahale.com/
3. http://stevelosh.com/
4. http://www.youtube.com/watch?v=czes-oa0yik
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN clj-time 0.8.0 is released

2014-07-27 Thread Michael Klishin
clj-time [1] is a popular Clojure date/time library built on top of Joda Time.

Unfortunately, the project currently doesn't have a human-friendly change log,
so here's a git one (sorry):

https://github.com/clj-time/clj-time/compare/v0.7.0...v0.8.0

1. https://github.com/clj-time/clj-time/ 
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is Korma still a good current choice for DB backend?

2014-07-22 Thread Michael Klishin
On 22 July 2014 at 16:10:31, Jonathon McKitrick (jmckitr...@gmail.com) wrote:
  Development and support seem to have slowed down. Are there  
 newer or better choices out there with momentum right now?

Just use clojure.jdbc or clojure.java.jdbc with a validation library 
(Validateur,
Schema, Bouncer,  etc).

There is no rush to use the newest hotness in the Clojure community so Korma
should work OK if that's what you want.
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN How to Make Your Open Source Project Really Awesome, part 2

2014-07-20 Thread Michael Klishin
15 months ago we wrote what ended up being quite a popular post on the 
ClojureWerkz
blog:
http://blog.clojurewerkz.org/blog/2013/04/20/how-to-make-your-open-source-project-really-awesome/

and now part 2 is up:
http://blog.clojurewerkz.org/blog/2014/07/20/how-to-make-your-open-source-project-really-awesome/

Many Clojure libraries are far from being incredibly well maintained, so I 
thought it may be
worth announcing on this list.
-- 
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Elastisch 2.1.0-beta4 is released

2014-07-19 Thread Michael Klishin
Elastisch [1] is a minimalistic feature rich Clojure client for
ElasticSearch.

2.1 has multiple improvements in the native client, including
the long awaited aggregations support: 

http://blog.clojurewerkz.org/blog/2014/07/20/elastisch-2-dot-1-0-beta4-is-released/

1. http://clojureelasticsearch.info
--  
@michaelklishin, github.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scheduling state change?

2014-07-17 Thread Michael Klishin
On 17 July 2014 at 14:40:57, Thomas (th.vanderv...@gmail.com) wrote:
  Any ides how best to achieve this in Clojure? I already had a look  
 at the various scheduling libraries (at-at, cronj and Quartzite),  
 but from what I understand they don't support this behaviour,  
 but please correct me if I am wrong.

JDK executors. Quartzite can do what you want but you don't need a lot of its
functionality so try JDK executors first.
--  
MK 

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Pantomime 2.3.0 is released

2014-07-17 Thread Michael Klishin
Pantomime [1] is a tiny Clojure library for working with
MIME types.

Release notes:
http://blog.clojurewerkz.org/blog/2014/07/18/pantomime-2-dot-3-0-is-released/

1. https://github.com/michaelklishin/pantomime
--  
 

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Local variable

2014-07-08 Thread Michael Klishin
 On 8 July 2014 at 17:40:49, Cecil Westerhof (cldwester...@gmail.com) wrote:
  In Clojure you can define a local constant with let, but I need  
 a variable (I think).

They are not constants. Locals can be overwritten but their data structures
are immutable (by default).

 I want to do the following. I have a function that checks several  
 things. Every time an error is found I want to set the variable  
 errors to:
 (concat errors new-error)
  
 Is this possible? Or is there a better way to do this?

You can do that with loop/recur or an atom. The key is to understand
that in Clojure, values and references are separate, and references
can be mutated but in a particular, concurrency-aware way:

http://clojure-doc.org/articles/language/concurrency_and_parallelism.html#identity/value-separation-(on-state-and-identity)
--  
MK

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Machine Head 1.0.0-beta9 is released

2014-07-06 Thread Michael Klishin
Machine Head [1] is a small Clojure MQTT client built on top of
Eclipse Paho.

beta9 is a milestone release that introduces one breaking API
change:
http://blog.clojurewerkz.org/blog/2014/07/06/machine-head-1-dot-0-0-beta9-is-released/

1. http://clojuremqtt.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN Monger 2.0.0 is released

2014-06-15 Thread Michael Klishin
Monger [1] is a Clojure MongoDB driver for a more civilized age.

Release notes:
http://blog.clojurewerkz.org/blog/2014/06/15/monger-2-dot-0-0-is-released/

1. http://clojuremongodb.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:
http://blog.clojurewerkz.org/blog/2014/06/15/elastisch-2-dot-0-0-is-released/

1. http://clojureelasticsearch.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   >