[ANN] clojure.math.combinatorics 0.1.0

2015-03-17 Thread Mark Engelberg
For a while now, the permutations function in the combinatorics library has had special handling for lists with duplicate items. Example: (permutations [1 2 3]) - ((1 2 3) (1 3 2) (2 1 3) (2 3 1) (3 1 2) (3 2 1)) Example: (permutations [1 1 2]) - ((1 1 2) (1 2 1) (2 1 1)) The new release,

How to get the namespace from an external Clojure resourcescript, from Java

2015-03-17 Thread Dan Campbell
Hi, At http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#Invoking_Clojure_from_Java , they use this clojure source file, from inside the classpath: ; foo.clj(ns user) (defn foo [a b] (str a b)) , to demonstrate this code for calling functions in a Clojure

Re: [ANN] mapfs: Using Clojure map as filesystem

2015-03-17 Thread Steven Yi
Hi Vish, Thanks for the feedback! It'd be possible to use metadata on objects, but I don't think EDN supports it. I could swap out and use a different format for saving data, but I find it very handy at least to keep things as EDN, as I can then load the .edn file with other tools (i.e.

Re: GSoC 2015 - Better Clojure/Android integration project discussion

2015-03-17 Thread Shubham Jain
Hey Daniel, I am too interested in this project. If by any chance there is an alternative slot for this project, please do consider my case. Regards, Shubham -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Max Gonzih
After update compilation with advanced optimizations displays following warning: WARNING: file:/home/gnzh/.m2/repository/org/clojure/google-closure-library/0.0-20140718-946a7d39/google-closure-library-0.0-20140718-946a7d39.jar!/goog/net/jsonp.js:269: WARNING - Misplaced f unction annotation.

Extend java class to participate in sequence operations

2015-03-17 Thread Juvenn Woo
Dear all, Given a node type from singly linked list: class Node { int val; Node next; } How do I extend it so `(seq node)` will return a sequence of values? And generally first, rest, and next will work on node too. While in Java, we could define the class to implement

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
And stacktrace - looks like a piggieback issue: core.clj: 4577 clojure.core/ex-info analyzer.clj: 379 cljs.analyzer/error analyzer.clj: 376 cljs.analyzer/error analyzer.clj: 1249 cljs.analyzer/analyze-deps

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-17 Thread Andrey Antukh
+1 nippy I have successfully used it in few of my projects. 2015-03-17 5:30 GMT+01:00 Lucas Bradstreet lucasbradstr...@gmail.com: I have had a lot of success with nippy https://github.com/ptaoussanis/nippy, which is quite well documented. We had problems with fressian round tripping Clojure

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
Here is the error I am still getting when compiling a ns via piggieback 0.1.5 /weasel 0.6.0 on cljs 3123: 1. Unhandled clojure.lang.ExceptionInfo No such namespace: cljsjs.react, could not locate cljsjs/react.cljs at line 1

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

2015-03-17 Thread Jozef Wagner
From now on, the experiments will tackle more practical issues and will add completely new features to the language. There will be less theory and more examples. Experiment #7 - Data Formatters A conversion between different data formats is a frequent operation in many applications. Dunaj

Announcing oolong: a config-based glue for `component`

2015-03-17 Thread James Laver
I've been using stuartsierra's handy component library for a while now, but I wanted an easier way of connecting components together. To that end, I wrote oolong. The main mode of operation is to take an edn configuration file and connect the specified systems and components.

Re: Composing Stuart Sierra's components

2015-03-17 Thread James Gatannah
On Thursday, March 12, 2015 at 10:16:10 AM UTC-5, Stuart Sierra wrote: On Wednesday, March 11, 2015, Colin Yates wrote: Nested systems don't really work. FWIW, we've been using something that smells an awful lot like nested systems for months now. I never realized we weren't supposed to.

Details about the tools.reader idea

2015-03-17 Thread Suyash Verma
Hi there, My name is Suyash and I am currently studying Computer Science at IIT Roorkee. I wanted to have a more detailed discussion on the tool.reader node.js port idea http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-toolsreadercljs . I have 2 main questions: 1. Is the

Re: Composing Stuart Sierra's components

2015-03-17 Thread Colin Yates
Hi James, Do you have a code fragment/gist for the glue? On 17 March 2015 at 17:47, James Gatannah james.gatan...@gmail.com wrote: On Thursday, March 12, 2015 at 10:16:10 AM UTC-5, Stuart Sierra wrote: On Wednesday, March 11, 2015, Colin Yates wrote: Nested systems don't really work.

Opportunity at IBM in Vermont

2015-03-17 Thread Aaron Cummings
There is a position open in my department developing software infrastructure (Clojure, Java, Perl, Bash on Linux systems) for an embedded memory design team. Some background in circuit design and EDA is helpful. https://jobs3.netmedia1.com/cp/faces/job_summary?job_id=STG-0730448 -Aaron -- You

Re: [GSoC] core.typed Annotations and Macros Proposal

2015-03-17 Thread Di Xu
Welcome, I participated core.typed GSoC last year, and happy to see another Chinese student interested in core.typed project, you may forward your email to core.typed mail list[0], also you should first sign CA[1] (if you haven't) before any of your patches get accepted by core.typed or any core

Re: Extend java class to participate in sequence operations

2015-03-17 Thread Juvenn Woo
Thanks Niels, but what if a java class is not available for rewrite? Say, it is from an external library. — Sent from Mailbox On Tue, Mar 17, 2015 at 10:01 PM, Niels van Klaveren niels.vanklave...@gmail.com wrote: If a java class implements Iterable, it automatically supports seq. On

Re: GSoC 2015 - Better Clojure/Android integration project discussion

2015-03-17 Thread Daniel Solano Gómez
Hello, On Tue Mar 17 13:54 2015, Shubham Jain wrote: Hey Daniel, I am too interested in this project. If by any chance there is an alternative slot for this project, please do consider my case. Regards, Shubham We will most likely accept only one proposal for a given project. It is

Re: GSoC 2015 - Better Clojure/Android integration project discussion

2015-03-17 Thread Daniel Solano Gómez
On Tue Mar 17 09:28 2015, Devang Shah wrote: Hello, Now, to get familiar with the lein-droid and the ecosystem, I have gotten clojure, lein-droid, and Android SDK on my machine. Anything that you'd suggest so that I get more familiar with the entire ecosystem and might be useful to

[GSoC] core.typed Annotations and Macros Proposal

2015-03-17 Thread ZhanLin Shang
Hello all, My name is Zhanlin Shang and I'd like to work with the core.typed Annotations and Macros mentored by Ambrose Bonnaire-Sergeant this summer. This is the first time for me to take part in this kind of event and I hope this mailing list is the right place. I'm a second year

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

2015-03-17 Thread Herwig Hochleitner
2015-03-12 12:15 GMT+01:00 Jozef Wagner jozef.wag...@gmail.com: Experiment #5: Reducers First Wow! There are some great ideas on how to unify reducers with lazy-seq. Have there yet been thoughts on how reduce-kv could fit in a reducer stack? Obviously, the notion of a transducer could be

Re: Announcing oolong: a config-based glue for `component`

2015-03-17 Thread Andrew Oberstar
Just a quick look so far, but it looks pretty interesting. I'm working on a multi-module project and I'd like to have the flexibility to run those modules separately or together. Extracting the component structure out into a config file could be pretty helpful in that regard. Nice work! Andrew

Re: Announcing oolong: a config-based glue for `component`

2015-03-17 Thread James Laver
If nothing else, the functions in oolong.util should be pretty handy for manipulating them. Or can serve as a guide for manipulate them programmatically. I’m working on a bunch of complementary stuff to this at present, including a library for developing components on top of oolong that will

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread David Nolen
Yes I said earlier that you'll want SNAPSHOT releases of both weasel and piggieback. The current release of piggieback doesn't include this commit https://github.com/cemerick/piggieback/commit/966c811ab817df0e818404943c473081337b286e In the case of weasel you might want to try a local install of

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread David Nolen
We bumped the Closure Compiler dependency which now spews a few innocuous warnings. Feel free to report this one to the Google Closure mailing list. I've already reported the Object type one we get now when using browser REPL. David On Tue, Mar 17, 2015 at 5:46 AM, Max Gonzih gon...@gmail.com

Streaming a large file onto a channel

2015-03-17 Thread Adrian Mowat
Hi, I've played around with core.async a bit but now I'm trying to use it for a real project and I'm running into a problem getting data off a file and into a channel on the JVM (i.e. as opposed to ClojureScript) I have around 1GB of data sitting in a file. Each line of the file contains a

Re: Extend java class to participate in sequence operations

2015-03-17 Thread Niels van Klaveren
If a java class implements Iterable, it automatically supports seq. On Tuesday, March 17, 2015 at 11:34:17 AM UTC+1, juvenn wrote: Dear all, Given a node type from singly linked list: class Node { int val; Node next; } How do I extend it so `(seq node)` will return a sequence of

Students: GSoC application period is now open

2015-03-17 Thread Daniel Solano Gómez
Hello, all, As of yesterday, the period for students to start applying to mentoring organisations. This will continue through 27 March 19:00 UTC. We have already started receiving applications and started seeing some discussion on the mailing list, and that's great news. For those of you

Re: [GSoC] Source meta information model proposal

2015-03-17 Thread Francesco Bellomi
Hi Christopher, I'm Francesco, the maintainer of crossclj.info I think it's a very interesting project. Some comments on your proposal: 1) I think the information model is by far most important deliverable. I agree with Reid that a sound coordinate system is very important 2) The toolchain

Re: [GSoC] Source meta information model proposal

2015-03-17 Thread Alex Miller
Hey all, Responding here to several things from both Reid and Francesco. I wanted to step back slightly to set some context. I proposed the project that Chris has posted and some of the points that Reid brought up are really source from my proposal so I wanted to take the blame as it were for

Re: [GSoC] Source meta information model proposal

2015-03-17 Thread Alex Miller
I'm answering these out of order, sorry. :) On Tuesday, March 17, 2015 at 12:40:53 AM UTC-5, Reid McKenzie wrote: Hey Christopher, I'm Reid, the Grimoire maintainer. I'm delighted to see that someone besides myself and Alex is interested in this project and I wish you the best in your GSoC

Re: GSoC 2015 - Better Clojure/Android integration project discussion

2015-03-17 Thread Devang Shah
Hello, On Tuesday, March 10, 2015 at 8:12:38 PM UTC-7, Daniel Solano Gómez wrote: Hello, On Tue Mar 10 01:30 2015, Devang Shah wrote: Hello Daniel Thank you for the quick response. Just to clarify and see if my understanding is correct. Please correct if I am wrong. On

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
Thanks :) On Tuesday, March 17, 2015 at 12:41:56 PM UTC+1, David Nolen wrote: Yes I said earlier that you'll want SNAPSHOT releases of both weasel and piggieback. The current release of piggieback doesn't include this commit

Re: [GSoC] core.typed Annotations and Macros Proposal

2015-03-17 Thread ZhanLin Shang
Hi, Thanks for replying, I've signed the CA and forwarded this post to the core.typed mailing list. Can you tell me what should I do for now? Thanks, Z.Shang On Tuesday, March 17, 2015 at 5:49:34 PM UTC-7, Di Xu wrote: Welcome, I participated core.typed GSoC last year, and happy to see

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

2015-03-17 Thread Jozef Wagner
Yes and yes. In Dunaj this is called the unpacked reduction, and there is IUnpackedRed protocol that is used by coll implementations to provide reduce-kv like functionality. Please see this example on how Dunaj handles reductions with 2 arguments. No intermediate tuples are created when using