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-reall

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, Bo

Is this behavior with recur and pre/post a bug?

2014-07-24 Thread Michael O'Keefe
s) acc) Thanks, Michael O'Keefe -- 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.

Re: Is this behavior with recur and pre/post a bug?

2014-07-24 Thread Michael O'Keefe
position I guess the real question: is this worth filing a ticket for? Thanks all, Michael On Thursday, July 24, 2014 9:17:23 PM UTC-6, Ambrose Bonnaire-Sergeant wrote: > > Hi Michael, > > I believe your post condition should read {:post [(number? %)]}. > > Thanks, >

Re: Is this behavior with recur and pre/post a bug?

2014-07-24 Thread Michael O'Keefe
Ambrose, thanks -- I was NOT aware of that. Sorry I misunderstood your original. Andy, good advice and I agree. Thanks. I'll think on it then. Cheers, Michael On Thursday, July 24, 2014 10:20:57 PM UTC-6, Ambrose Bonnaire-Sergeant wrote: > > On Fri, Jul 25, 2014 at 12:13 PM, Mich

Re: Is this behavior with recur and pre/post a bug?

2014-07-25 Thread Michael O'Keefe
ull!". I've run out of time to deal with this right now but, Steve, if you get to it before me, feel free to submit the bug report. Thanks all for the helpful discussions! Michael On Friday, July 25, 2014 7:58:51 AM UTC-6, miner wrote: > > I will call it a bug. It's de

Re: Is this behavior with recur and pre/post a bug?

2014-07-25 Thread Michael O'Keefe
equivalent to g2... but we'll see. Thanks for the ticket and patch, Steve! Also, I seem to now be able to finally log into JIRA -- I'll sign up to watch the ticket. Anyhow, thanks everyone! We'll see what happens. Michael On Friday, July 25, 2014 8:41:47 AM UTC-6, Ambrose Bonnair

Re: Is this behavior with recur and pre/post a bug?

2014-07-26 Thread Michael O'Keefe
. where g3 actually works (but runs the risk of blowing the stack). Michael On Saturday, July 26, 2014 9:34:48 AM UTC-6, Ambrose Bonnaire-Sergeant wrote: > > Doh! I forgot preconditions :D > > Fixing.. > Ambrose > > > On Sat, Jul 26, 2014 at 11:30 PM, Ambrose Bonnaire-

Re: Is this behavior with recur and pre/post a bug?

2014-07-26 Thread Michael O'Keefe
Awesome job, everyone! You guys rock! Michael On Saturday, July 26, 2014 3:09:56 PM UTC-6, miner wrote: > > I tried the latest patch from Ambrose for CLJ-1475. Looks good to me. > Well done. > > -- You received this message because you are subscribed to the Google Groups

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

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/  -- @

Re: [ANN] System

2014-07-28 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/michaelklis

Re: [ANN] System

2014-07-28 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

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 m

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 becaus

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 beca

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

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 su

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

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

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 perfor

BOB 2015 - Call for Contributions (Berlin, Germany, January 23, 2015)

2014-08-14 Thread Michael Sperber
aived for presenters, but travel expenses will not be covered. Program Committee - Matthias Fischmann, zerobuzz UG - Matthias Neubauer, SICK AG - Michael Sperber, Active Group - Stefan Wehr, factis research Wissenschaftlicher Beirat - Annette Bieniusa, TU Kaiserslautern - Torsten Grust

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 projec

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

2014-08-20 Thread Michael Sperber
Petricek & Howard Mansell Haskell in the Misson Control Domain Michael Oswald Haskell tools for satellite operations Björn Buckwalter F# For Fun and Games Anthony Brown Some usages of functional programming for FO and quants Renaud Bechade Reactive I/O with Scala, Akka, and P

Re: GSoC: Congratulations Aleksandr and Prasant!

2014-08-25 Thread Michael O'Keefe
Awesome! Very much appreciated! Michael On Monday, August 25, 2014 12:15:51 AM UTC-6, Mikera wrote: > > Hi All, > > Prasant and Aleksandr have been working all summer making Clojure even > better for data science / numerical computing. On behalf of myself and my > co-mentor

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, g

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 wat

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

Re: [ANN] Clojure 1.7.0-alpha2

2014-09-06 Thread Michael Gardner
Great stuff, and thanks for all the hard work. But if I may, I'd like to suggest that "completing" isn't a great name for that transducer helper function-- at least not in the core namespace. It's too generic: there's no way to guess what it does from the name, and IMO a function with such a ni

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

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

2014-09-08 Thread Michael Griffiths
Hi Nicola, This is great stuff. Are there plans for a tools.emitter.js? Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

Re: 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

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

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,

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 mes

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" gr

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

BOB 2015 - 2nd Call for Contributions (Deadline Sep 30)

2014-09-16 Thread Michael Sperber
ogram Committee - Matthias Fischmann, zerobuzz UG - Matthias Neubauer, SICK AG - Michael Sperber, Active Group - Stefan Wehr, factis research Wissenschaftlicher Beirat - Annette Bieniusa, TU Kaiserslautern - Torsten Grust, Uni Tübingen - Peter Thiemann, Uni Freiburg -- You received this message be

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

Re: Use Require and Import

2014-09-18 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 namespace

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 fo

Re: Anyone willing to do a tutorial on minecraft modding in clojure?

2014-09-19 Thread Michael Swierczek
On Thursday, September 18, 2014 4:31:05 PM UTC-4, Jeb wrote: > > Is Bukkit an option? I've used https://github.com/CmdrDats/clj-minecraft. > Active project, fun and easy to use. > > On Thu, Sep 18, 2014 at 4:30 AM, Hi-tech Robert > wrote: > >> Hi, I am looking for tutorial on modding minecraft 1.

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 provide

Re: [PSA] Clojars scp disabled until further notice

2014-09-24 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

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

2014-09-26 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?

Re: [ANN] aprint (awesome print) released

2014-09-28 Thread Michael Wood
As a workaround, see if running "stty sane" fixes your terminal. -- Michael Wood On 28 Sep 2014 4:43 PM, "tao.zhou2009" wrote: > Last login: Sun Sep 28 22:30:20 on ttys005 > > 192:test tao$ lein repl > > nREPL server started on port 60609 on host 127

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

Re: [ANN] Clojure Videos (with options for Linux users)

2014-09-29 Thread Michael Wood
You're in luck! Check the link at the bottom of this page: https://tbaldridge.pivotshare.com/ -- Michael Wood On 29 Sep 2014 4:05 PM, "Luis Matoso" wrote: > +1 for Paypal. I from brazil and i would be awesome to pay using paypal > > On Monday, September 22, 2014 1:

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

2014-09-29 Thread Michael Drogalis
Hi there, About a week ago, I open sourced Onyx, a new distributed computation platform: https://github.com/MichaelDrogalis/onyx I've been looking for help from developers of all skill levels, though I have 3 or 4 open tasks particularly well suited to someone with intermediate skills. Two ta

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. Spli

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

2014-10-09 Thread Michael Blume
Agree with Michael Klishin, I've gotten a few patches into Leiningen as a relative Clojure newb and the maintainers have been super friendly and helpful. On Friday, September 26, 2014 11:45:18 PM UTC-7, Michael Klishin wrote: > > On 27 September 2014 at 10:34:28, kurofune (jessel..

Why is my function faster with eval?

2014-10-10 Thread Michael Blume
So I'm reading a bunch of rows from a huge csv file and marshalling those rows into maps using the first row as keys. I wrote the function two ways: https://gist.github.com/MichaelBlume/c67d22df0ff9c225d956 and the version with eval is twice as fast and I'm kind of curious about why. Presumably

Re: Why is my function faster with eval?

2014-10-10 Thread Michael Blume
t;> first >> (take-while (complement #{""})) >> (map keyword))] >> (map (partial zipmap headers) (rest rows >> >> (defn read-to-maps-fn [rows] >> (let [headers (->> >>

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 fr

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/e

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-10-21 Thread Michael Cohen
probably not. amazonica delegates to the official java sdk. On Tue, Oct 21, 2014 at 4:12 AM, Yehonathan Sharvit wrote: > Do you plan to have a cljs version of America > > It would ne nice if you could support s3 api. > > > On Monday, 25 March 2013 23:51:42 UTC+2, M

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/michaelklishi

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 -

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 Ther

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

Re: [ANN] Clojure 1.7.0-alpha3 now available

2014-10-31 Thread Michael Blume
Picking up the variadic arguments discussion, it seems that in a simple definition like (fn [& args] (apply f arg1 args)) One could conceivably put some sort of preprocessing smarts into the fn macro that notices that a) this is a variadic arglist b) the variadic arg (args) is a symbol, not so

Re: Get the value of the persistentArrayMap from the exception which was thrown

2014-11-05 Thread Michael Blume
Well, from the print of the exception, it looks unlikely, but let's look at the code. This stacktrace says the exception was thrown in line 429 of clojure.lang.AFn, and I'm going to assume you're using Clojure 1.6.0, so we want https://github.com/clojure/clojure/blob/clojure-1.6.0/src/jvm/cloju

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/ -- @mi

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 t

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 Clojur

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://clojureelast

Call for Participation: BOB 2015 (January 23, Berlin)

2014-11-19 Thread Michael Sperber
Check out the BOB program - many talks and tutorials on Clojure, ClojureScript & functional programming! Also, discount for joint registration at :clojured the next day! BOB 2015 Conference

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-11-20 Thread Michael Cohen
ach. What do people expect, a snapshot release for current development, and periodic version bumps and releases (less frequently than Amazonica currently bumps the version numer)? Mike On 11/20/14, Greg Mitchell wrote: > Thanks for creating this library, Michael. Your solutions for writing th

Re: Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-25 Thread Michael Griffiths
tio (float and double), Clojure cannot know exactly which you intended to call. Thanks, Michael -- 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 m

Re: Wouldn't it be nice if if-let allowed more bindings?

2014-11-26 Thread Michael Blume
Instead of the deshadowing logic, why not (defn if-and-let* [bindings then-clause else-fn-name] (if (empty? bindings) then-clause `(if-let ~(vec (take 2 bindings)) ~(if-and-let* (drop 2 bindings) then-clause else-fn-name) (~else-fn-name (defmacro if-and-let [bindin

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 --

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, g

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

:keys and :or destructuring where defaults refer to one another

2014-12-11 Thread Michael Blume
If I make my defaults on a :keys :or destructuring depend on the values of other keys, I *can* get a compile-time error, depending on what order I give the keys https://gist.github.com/MichaelBlume/4891dafdd31f0dcbc727 Is this on-spec behavior? Should the former be allowed but not the latter? Shou

Re: :keys and :or destructuring where defaults refer to one another

2014-12-11 Thread Michael Blume
riting your code, > try evaluating your form quoted with macroexpand. > > Here's a gist with the macroexpansion each form. > > https://gist.github.com/aamedina/542b084d31d4e0c9a7a8 > > Hopefully the expansion makes things clear! > > On Thursday, December 11, 2014 6:11:59 PM

BOB conference on Jan 23 in Berlin: Early-bird registration ends Friday, Dec 19!

2014-12-18 Thread Michael Sperber
Note that BOB offers several Clojure-related talks and tutorials, and also offers special rates for attendees of :clojured the following day! BOB 2015 Conference "What happens if we sim

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 becaus

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, githu

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

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.co

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.o

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 "Cl

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 o

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

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/namespace

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 rece

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. F

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 subscribe

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, git

Re: How to handle fn args in a macro ?

2015-01-01 Thread Michael Blume
If it were me I'd avoid making 'topic a "magic symbol" and let the user choose a symbol to bind. It'd look something like (defmacro listen [[topic-sym topic-name] & body] `(on-message ~topicname (fn [~topic-name] (~@body) (listen [topic "topic-test"] (println topic "test)) this way

Re: How to handle fn args in a macro ?

2015-01-01 Thread Michael Blume
Sorry, that should be (defmacro listen [[topic-sym topic-name] & body] `(on-message ~topic-name (fn [~topic-sym] (~@body) On Thu Jan 01 2015 at 11:01:53 PM Michael Blume wrote: > If it were me I'd avoid making 'topic a "magic symbol" and let the use

Re: lein uberjar not creating class files with :aot

2015-01-03 Thread Michael Blume
it's hard to say exactly what's going on without tinkering with your project, but Connectable is found in the clojure.java.jdbc, so I'd make absolutely sure that namespace has been required before Connectable is referred to. And then, well, if it were me, I'd just ditch AOT. In my experience it cau

Re: lein uberjar not creating class files with :aot

2015-01-03 Thread Michael Blume
(in the clojure.java.jdbc namespace, I should have said) On Sat Jan 03 2015 at 12:43:31 PM Michael Blume wrote: > it's hard to say exactly what's going on without tinkering with your > project, but Connectable is found in the clojure.java.jdbc, so I'd make > absolutely

Re: Extend causes error in servlet container?

2015-01-06 Thread Michael Blume
lein-ring uses AOT compilation to build war files. AOT compilation in clojure is, well, problematic sometimes. Fortunately it can almost always be avoided using clever indirection. For example: https://github.com/pdenhaan/extend-test/pull/1 builds a war that works =) I've got a pull open against

Re: Extend causes error in servlet container?

2015-01-06 Thread Michael Blume
oes. It has an initialize! function which, at run-time, rather than at compile-time, manually imports your real handler and sticks it in an atom. Then the handler exposed to ring just reads the real handler out of the atom and applies it to the incoming request. On Tue Jan 06 2015 at 1:24:4

Re: Extend causes error in servlet container?

2015-01-06 Thread Michael Blume
make your problem go away. On Tue Jan 06 2015 at 1:29:39 PM Michael Blume wrote: > TL;DR: If you wait for that lein-ring pull to get merged, you can upgrade > lein-ring and your problem will go away. If you wait for Clojure 1.7.0 it's > possible your problem will go away, though I&#x

Re: [ANN] clojure.jdbc 0.4.0-beta1: A jdbc library for clojure.

2015-01-11 Thread Michael Blume
I'm a little confused, by "last major release" do you mean the most recent major release or do you mean clojure.jdbc is about to move into maintenance mode? On Sun Jan 11 2015 at 3:02:51 AM Andrey Antukh wrote: > Hello! > > I wanted to announce the last major release of clojure.jdbc, a jdbc > li

[ANN] Onyx 0.5.0: The Cluster as a Value

2015-01-20 Thread Michael Drogalis
For those unfamiliar, Onyx is a batch/stream processing hybrid distributed platform for Clojure. It uses aggressive data-driven techniques to bridge languages. Onyx 0.5.0 has been released, featuring a new masterless design and a built-in event notification service. Source at GitHub: https://g

Re: Testing macros that throw errors at compile time?

2015-01-22 Thread Michael Blume
macroexpand-1 is a good start, I'd also recommend using the (is (thrown? ...)) special form, so (is (thrown? IllegalArgumentException (macroexpend-1 '(my-macro (ill-formed-arguments ...) On Thu Jan 22 2015 at 5:05:36 PM Ben Wolfson wrote: > (try (macroexpand-1 '(my-macro (ill-formed-argumen

Satisfies? seems strangely slow

2015-01-22 Thread Michael Blume
(defprotocol my-protocol (foo [this])) (extend-protocol my-protocol clojure.lang.IPersistentMap (foo [this] "hello from map")) (criterium.core/quick-bench (satisfies? my-protocol {})) (criterium.core/quick-bench (foo {})) Simply calling foo on an empty map takes 7 ns, but checking whe

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