Re: [ANN] CIDER 0.9

2015-06-17 Thread Alexis
Bozhidar Batsov writes: Yeah, I'm aware of those problems, but as you already know they have to fixed in leiningen. At least these days leiningen has an alternative ( https://github.com/boot-clj/boot). Good point - this is an opportunity for me to try out boot. :-) Alexis. -- You receive

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
Yeah, I'm aware of those problems, but as you already know they have to fixed in leiningen. At least these days leiningen has an alternative ( https://github.com/boot-clj/boot). On 18 June 2015 at 07:51, Alexis wrote: > > Bozhidar Batsov writes: > > nREPL 0.2.6 is pretty old and has some serio

[ANN] piton - SQL-targeting migrations and seeding

2015-06-17 Thread Thomas Meier
Just put up a little library for sql migrations and seeding. I wanted something really simple; naturally at the cost of generality. Thus this is a weaker take on migrations and seeding that focuses specifically on SQL databases. Comes with a plugin to help with managing things--specifically for

Re: [ANN] CIDER 0.9

2015-06-17 Thread Alexis
Bozhidar Batsov writes: nREPL 0.2.6 is pretty old and has some serious bugs in it (alas there hasn't been a lein release for a while). You'll have to pull in a newer nREPL manually to get rid of this. {:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}} Unfortunately this doesn't

Re: [ANN] Clojure 1.7.0-RC2

2015-06-17 Thread Jason Wolfe
Thanks Alex (hope you had a great vacation)! Everything is looking good for us with RC2. On Wednesday, June 17, 2015 at 10:44:39 AM UTC-7, Alex Miller wrote: > > Clojure 1.7.0-RC2 is now available. > > Try it via > - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC2/ > - Lei

stuartsierra/component is oop, can clojure namespace self init to solve the dependencies?

2015-06-17 Thread Xiangtao Zhou
hi guys, Constructing simple clojure project is trival, just make functions. if the project grows large, with more datasources, message queue, and other storages, dependencies problem is on the table. One solution is stuartsierra/component, using system to configure dependencies graph, make

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-17 Thread Daniel
Just another +1 to include a core.matrix implementation -- 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 p

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread James Reeves
On 18 June 2015 at 00:54, Thomas Heller wrote: > > > On Wed, Jun 17, 2015 at 9:50 PM, James Reeves > wrote: > >> On 17 June 2015 at 09:51, Thomas Heller wrote: >>> >>> On another note: Sessions in cookies should be VERY VERY small. >>> java.io.Serializable usually isn't small and especially if y

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Thomas Heller
On Wed, Jun 17, 2015 at 9:50 PM, James Reeves wrote: > On 17 June 2015 at 09:51, Thomas Heller wrote: >> >> On another note: Sessions in cookies should be VERY VERY small. >> java.io.Serializable usually isn't small and especially if you go java >> object -> binary -> base64 -> base64 (yes twice

Re: [ANN] Clojure 1.7.0-RC2

2015-06-17 Thread Alejandro Gómez
Migrated a library from cljx to reader conditionals and tested it with both RC1 and RC2, everything works perfectly. Thank you for your work on Clojure and looking forward to the final release. On Wed, Jun 17, 2015, at 19:44, Alex Miller wrote: > Clojure 1.7.0-RC2 is now available. > > Try it vi

Re: Component: lists of components, possibly changing

2015-06-17 Thread dilettante . coder
Take a look at Peripheral (https://github.com/xsc/peripheral). It's based on Component and may provide some of the functionality you need. -- 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

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Surgo
Altering root vars is a bit of an annoying hack but it's the only way I've found so far to be fully transparent with already-existing code and libraries. For anyone who needs Java serialization support I've wrapped all of this up into a simple library, which can be found here: https://bitbucke

ANN: clojure-maven-plugin 1.7.1

2015-06-17 Thread Mark Derricutt
Released 1.7.1 of of the clojure-maven-plugin yesterday with support for `.cljc` files and an improved test runner script. https://github.com/talios/clojure-maven-plugin Thanks to Alex Miller and Robert Evens whose pull requests made up this small release ( with a version number bounce to align

[ANN] lambada - using clojure with AWS Lambda

2015-06-17 Thread Ragnar Dahlén
Hi, I've just released lambada, a tiny library that provides a way to write AWS Lambda [1] functions in clojure: https://github.com/uswitch/lambada The slightly tricky part with using clojure on Lambda was getting the clojure runtime to load classes using the correct class loader and this

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread James Reeves
On 17 June 2015 at 09:51, Thomas Heller wrote: > > On another note: Sessions in cookies should be VERY VERY small. > java.io.Serializable usually isn't small and especially if you go java > object -> binary -> base64 -> base64 (yes twice) -> encrypt. The size of > the cookie matters as it is trans

Re: [ANN] thi,ng/geom 0.0.856 (new dataviz module)

2015-06-17 Thread Daniel Kersten
Mine too, this is fantastic work and the charts are very pretty :) On Wed, 17 Jun 2015 at 20:05 Ivan L wrote: > this is quickly becoming my clojurescript goto viz api. keep up the great > work! > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group.

Re: [ANN] thi,ng/geom 0.0.856 (new dataviz module)

2015-06-17 Thread Ivan L
this is quickly becoming my clojurescript goto viz api. keep up the great work! -- 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 p

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-17 Thread Christopher Small
First of all, nice work :-) In the docs you keep referring to core.matrix as though it was a particular implementation, saying things like "X times faster than core.matrix". This is misleading; core.matrix is an abstract API, which can have many implementations. Saying something is faster than it

[ANN] stripe-tester-clj (simulate stripe webhooks in tests)

2015-06-17 Thread Ahmad Hammad
Hi, We've put together a simple library to help simulate Stripe webhooks in order to test the end points in your application. https://github.com/buttercloud/stripe-tester-clj Feedback welcome. -- Ahmad -- You received this message because you are subscribed to the Google Groups "Clojure" gr

[ANN] Clojure 1.7.0-RC2

2015-06-17 Thread Alex Miller
Clojure 1.7.0-RC2 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC2/ - Leiningen: [org.clojure/clojure "1.7.0-RC2"] 1.7.0-RC2 has the following changes since 1.7.0-RC1: 1) CLJ-1735 - Throwable->map was missing docstring 2) CLJ-1237 - reduce gi

Component: lists of components, possibly changing

2015-06-17 Thread kovas boguta
Whats the pattern for creating lists of components? I have N of components of the same type, which get some dependencies from the system map along with instance-specific config data. I want them in a single vector (or hashmap) keyed from the system map. Do I need to create an intermediary compone

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Thomas Heller
Well, "the exact same serialization problems" do not exist with a database because size doesn't matter so much. Security does matter more also because of "replay" attacks, it is not just about keeping your key secret. Anyways, that was meant as a warning. I don't agree with the "alterable var"

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-17 Thread Dragan Djuric
Version 0.2.0 has just been released to Clojars New features: * implemented BLAS support for floats * implemented fmap!, freduce, and fold functions for all existing types of matrices and vectors Changes: No API changes were required for these features. On Tuesday, January 13, 2015 at 2:13:13

Re: [ANN] ClojureCL - OpenCL 2.0 Clojure library (GPGPU and high performance parallel computing)

2015-06-17 Thread Dragan Djuric
Certainly, but that is not a priority, since I do not use (nor need) OpenGL myself. I would be very interested to include contributions as soon as I get them, and the foundations are already there (in JOCL), so it is not that hard at might look at first glance - I just do not have time to be su

Re: [ANN] ClojureCL - OpenCL 2.0 Clojure library (GPGPU and high performance parallel computing)

2015-06-17 Thread Bobby Bobble
superb! are there any plans to include opengl context sharing for visualisation ? -- 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

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
nREPL 0.2.6 is pretty old and has some serious bugs in it (alas there hasn't been a lein release for a while). You'll have to pull in a newer nREPL manually to get rid of this. {:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}} On 17 June 2015 at 10:04, Isaac Zeng wrote: > leiningen u

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
Ouch. That's an oversight on my part. Seems we've used a few functions straight from `cl` instead of the newer `cl-lib`. Thought I had all those usages fixed, but I guess I haven't. On 17 June 2015 at 16:06, Leon Grapenthin wrote: > Nevermind, I found the solution. (require 'cl) manually before

Re: [ANN] CIDER 0.9

2015-06-17 Thread Bozhidar Batsov
Go do something useful with your IDE (or whatever) for a change and stop trolling on this thread... On 17 June 2015 at 16:56, Fluid Dynamics wrote: > On Wednesday, June 17, 2015 at 9:06:58 AM UTC-4, Leon Grapenthin wrote: >> >> Nevermind, I found the solution. (require 'cl) manually before compi

Re: [ANN] CIDER 0.9

2015-06-17 Thread maverickavi
On 17 June 2015 at 20:56, Fluid Dynamics wrote: > On Wednesday, June 17, 2015 at 9:06:58 AM UTC-4, Leon Grapenthin wrote: >> >> Nevermind, I found the solution. (require 'cl) manually before compiling >> cider. >> >> >> On Wednesday, June 17, 2015 at 3:01:47 PM UTC+2, Leon Grapenthin wrote: >>> >

Re: [ANN] CIDER 0.9

2015-06-17 Thread Fluid Dynamics
On Wednesday, June 17, 2015 at 9:06:58 AM UTC-4, Leon Grapenthin wrote: > > Nevermind, I found the solution. (require 'cl) manually before compiling > cider. > > > On Wednesday, June 17, 2015 at 3:01:47 PM UTC+2, Leon Grapenthin wrote: >> >> I think I managed to get almost everything to work. >> >

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Surgo
Let's not get into the motivation behind this too much -- the exact same serialization problems exist if you write out the session to a database. Ring also encrypts the cookies so the above issue is not a problem, it's only on you to actually choose and protect your encryption key. I came acros

Re: [ANN] CIDER 0.9

2015-06-17 Thread Leon Grapenthin
Nevermind, I found the solution. (require 'cl) manually before compiling cider. On Wednesday, June 17, 2015 at 3:01:47 PM UTC+2, Leon Grapenthin wrote: > > I think I managed to get almost everything to work. > > The only thing that doesn't work is the nrepl history. When I hit M-p or > M-n, I g

Re: [ANN] CIDER 0.9

2015-06-17 Thread Leon Grapenthin
I think I managed to get almost everything to work. The only thing that doesn't work is the nrepl history. When I hit M-p or M-n, I get Symbol's function definition is void: assert When I run (require 'cl) it changes to Invalid function: assert Am I the only one with this problem? Because I fo

Re: Weird behaviour in re-matches ?

2015-06-17 Thread Jeroen van Dijk
> > Looks like something in re-matches is printing the second argument, but > without a terminating newline. A subsequent print, such as of "nil\n" or > "(1 2)\n", by the REPL evaluator, with a newline, then completes the line > and flushes the output buffer. > > There seem to be three separate err

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Fluid Dynamics
On Wednesday, June 17, 2015 at 4:52:00 AM UTC-4, Thomas Heller wrote: > > Hey, > > the issue is not in clojure.core. It is with ring in this case, it uses > clojure.tools.reader.edn/read-string which supports an optional {:readers > {...}} argument but there is no way to specify those in ring. Sh

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Thomas Heller
Hey, the issue is not in clojure.core. It is with ring in this case, it uses clojure.tools.reader.edn/read-string which supports an optional {:readers {...}} argument but there is no way to specify those in ring. Should be a fairly simple fix though, doing anything to clojure.edn won't help as

Re: [ANN] CIDER 0.9

2015-06-17 Thread Fluid Dynamics
> I upgraded to version 0.9 I get the following error when starting cider in > emacs: > > Starting nREPL server via lein repl :headless... > nREPL server started on 55266 > nREPL: Establishing direct connection to localhost:55266 ... > nREPL: Direct connection established > error in process filt

Re: Making Java serializables transparently printable and readable

2015-06-17 Thread Gary Verhaegen
>From glancing at the source, I think you should be able to do what you want with clojure.core/*data-readers* and/or clojure.core/*default-data-readers-fn*. http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/*data-readers* It is not clearly documented that the edn reader checks t

Re: Weird behaviour in re-matches ?

2015-06-17 Thread Fluid Dynamics
On Tuesday, June 16, 2015 at 7:40:24 AM UTC-4, Jeroen van Dijk wrote: > > Ah thanks James, I missed the pending nil. The actual value is still nil > indeed: > > user=> (def m (re-matches #".*(foo\.gif).*" "foo.gif\n")) > "foo.gif\n"#'user/m > user=> m > nil > > Not sure what would be the cause her

Re: Clojure on AWS Lambda?

2015-06-17 Thread Ragnar Dahlén
You can get the initial startup time down by AOT compiling. I also believe that Lambda will re-use the same runtime and lambda function instance until a certain period of inactivity. For example, in the example below I invoke the function (AOT compiled this time) three times. First invocation t

Re: [ANN] CIDER 0.9

2015-06-17 Thread Isaac Zeng
leiningen use org.clojure/tools.nrepl 0.2.6 cider-nrepl throw warning On Tuesday, June 16, 2015 at 10:33:48 PM UTC+8, Bozhidar Batsov wrote: > > Hey everyone, > > CIDER 0.9 is finally out! You can read more about the release here > http://batsov.com/articles/2015/06/16/cider-0-dot-9/ > > Enjoy (r