Clojure.async channels

2016-02-17 Thread Punit Naik
I want to create a clojure aync channel which will do a specific task after 
its fully filled to its capacity or after a certain amount of time since 
its activation. How do I do this?

-- 
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: A doubt about core.matrix

2016-02-17 Thread Sunil S Nandihalli
Thanks Mikera, for the detailed response. I tested the element-wise product
on two sparse matrix.. it seems to run through the entire matrix ? Am I
missing something.

Regards,
Sunil

On Wed, Feb 17, 2016 at 7:47 AM, Mikera 
wrote:

> Hi Sunil,
>
> You are correct that the naive code will eagerly produce the full matrix
> UxV, which may be very large :-)
>
> I think your strategy of extracting rows and columns from U and V is the
> best one. Row and column extraction for dense matrices in vectorz-clj is
> very efficient since it just uses strided vectors, as is the dot product
> operation, so you probably won't see much of a performance overhead from
> doing it this way. I wouldn't worry about the verbosity - obviously you
> should encapsulate this logic in a function if you are doing it in many
> places.
>
> Top tip: also remember to use (non-zero-indices W) if you want to know
> which elements of the sparse matrix are non-zero without iterating over
> every element
>
>   Mike.
>
>
> On Tuesday, 16 February 2016 23:17:52 UTC+8, Sunil Nandihalli wrote:
>>
>> Hi Everybody,
>>  I am newbie to core.matrix .. I have the following expression
>>
>> W -> a large spare matrix of size MxN
>> U  -> a dense matrix of size MxK
>> V ->  a dense matrix of size KxN
>>
>> and K << (M,N)
>> (require [clojure.core.matrix :as m])
>>
>> I want to compute (m/mul W (m/* U V))
>>
>> m/mul computes element-wise product
>>
>> m/*  computes regular matrix multiplication
>>
>> I want to know if the above would compute full-matrix UV .. if it does
>> then I want to know if there is an elegant way to compute the
>> spare-resultant matrix without blowing up memory in the intermediate stage
>>
>> I am currently just extracting the corresponding rows and columns from U
>> and V for the elements which are non-zero in W .. but that seems
>> unnecessarily verbose...
>>
>> I am using the vectorz implementation of core.matrix
>>
>> Thanks in advance.
>>
>> Sunil.
>>
> --
> 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.
>

-- 
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] Compojure-api 1.0.0

2016-02-17 Thread Mikhail Malchevskiy
Started using the library recently and it already helped me a lot. So thank 
you, it is great!

четверг, 18 февраля 2016 г., 1:24:50 UTC+3 пользователь Tommi Reiman 
написал:
>
> Just after two years of the first public version, Compojure-api 1.0.0 is 
> out!
>
> Compojure-api is a web api -library on top of Compojure, adding 
> Schema-based validation, swagger-integration, bi-directional routing and 
> more.
>
> 1.0.0 contains a lot of breaking changes (for the better), covered in the 
> Changelog[1] & the Migration Guide[2]. Biggest change is that most of the 
> internal macro magic has been thrown away and simple Protocols and Records 
> are used instead. This allows much snappier development flow, sub-routes 
> can be organized better and it gives better support for external libraries 
> like the Liberator. Looks and feels now like it should have two years ago. 
> Big thanks for all the contributors and users for feedback!
>
> more info in our blog: 
> http://metosin.github.io/metosin-dev/blog/compojure-api-100/
>
> And the code: https://github.com/metosin/compojure-api
>
> cheers,
>
> Tommi
>
> [1] 
> https://github.com/metosin/compojure-api/blob/master/CHANGELOG.md#100-1722016
> [2] https://github.com/metosin/compojure-api/wiki/Migration-Guide-to-1.0.0
>
>
>

-- 
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] finagle-clojure 0.5.0

2016-02-17 Thread Sam Neubardt
Version 0.5.0 of finagle-clojure is now available!
Changelog: 
https://github.com/finagle/finagle-clojure/blob/master/CHANGES.md#version-050

finagle-clojure is an idiomatic Clojure wrapper for Finagle.
This release upgrades to Finagle 6.33.0 and adds some HTTP utility functions.

Check out the quick-start guide to walk through building a
finagle-clojure Thrift project:
https://github.com/finagle/finagle-clojure/blob/master/doc/quick-start.md
Or check out the examples: https://github.com/samn/finagle-clojure-examples

-- 
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] Compojure-api 1.0.0

2016-02-17 Thread Tommi Reiman
Just after two years of the first public version, Compojure-api 1.0.0 is 
out!

Compojure-api is a web api -library on top of Compojure, adding 
Schema-based validation, swagger-integration, bi-directional routing and 
more.

1.0.0 contains a lot of breaking changes (for the better), covered in the 
Changelog[1] & the Migration Guide[2]. Biggest change is that most of the 
internal macro magic has been thrown away and simple Protocols and Records 
are used instead. This allows much snappier development flow, sub-routes 
can be organized better and it gives better support for external libraries 
like the Liberator. Looks and feels now like it should have two years ago. 
Big thanks for all the contributors and users for feedback!

more info in our blog: 
http://metosin.github.io/metosin-dev/blog/compojure-api-100/

And the code: https://github.com/metosin/compojure-api

cheers,

Tommi

[1] 
https://github.com/metosin/compojure-api/blob/master/CHANGELOG.md#100-1722016
[2] https://github.com/metosin/compojure-api/wiki/Migration-Guide-to-1.0.0


-- 
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]: Scheje 0.2.12 is out !

2016-02-17 Thread Rafik NACCACHE
Check all the new features in this little scheme implementation, targeting
the JVM and JS!

Have a look on the Changelog here:

Scheje 0.2.12 is out! : variadic functions, short procedure definitions and
many more:
https://github.com/turbopape/scheje

And thank you for your feedback!!

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


[CFP] Scheme and Functional Programming Workshop 2016

2016-02-17 Thread Alex Shinn
Call For Presentations

17th Annual Scheme and Functional Programming Workshop
Nara, Japan (Co-located with ICFP 2016)
18 September 2016

http://scheme2016.snow-fort.org/



The 2016 Scheme and Functional Programming Workshop is calling for
submissions.  This year we are accepting general presentation
proposals in addition to papers.

Submissions related to Scheme, Racket, Clojure, and functional
programming are welcome and encouraged. Topics of interest include
but are not limited to:

Program-development environments, debugging, testing
Implementation (interpreters, compilers, tools, benchmarks, etc.)
Syntax, macros, hygiene
Distributed computing, concurrency, parallelism
Probabilistic computing
Interoperability with other languages, FFIs
Continuations, modules, object systems, types
Theory, formal semantics, correctness
History, evolution and standardization of Scheme
Applications, experience and industrial uses of Scheme
Education
Scheme pearls (elegant, instructive uses of Scheme)

We also welcome submissions related to dynamic or multiparadigmatic
languages and programming techniques.



Full submissions are due 24 June 2016.
Authors will be notified by 22 July 2016.
Camera-ready versions are due 15 August 2016.
Workshop is 18 September 2016.
All deadlines are 23:59 (UTC-12, "Anywhere on Earth").

Paper submissions must be in ACM proceedings format, no smaller than
9-point type (10-point type preferred). Microsoft Word and LaTeX
templates for this format are available at:
http://www.acm.org/sigs/sigplan/authorInformation.htm

Paper submissions should be in PDF and printable on US Letter, and
generally in the range of 6 to 12 pages.

Presentation submissions should include an outline of the material.
Talks are 40 minutes, including questions and answers.

More information available at: http://scheme2016.snow-fort.org/



Organizers:

Alex Shinn (General Chair)
Kathryn Gray (Program Chair)

(Apologies for duplications from cross-posting.)

-- 
Alex

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