Re: [ANN] clj-cbor - Concise Binary Object Representation

2017-01-03 Thread Gregory Look
A lot of the design goals are similar between CBOR and Fressian - namely, providing a compact but extensible binary serialization format. Fressian is a bit more Clojure-specific, given that it has things like sets, keywords, and symbols as first-class data types. Fressian is also concerned with pe

Re: Deploying multiple Clojure apps on one server using Reagent, Nginx, and Supervisor (Solved)

2017-01-03 Thread Sean Corfield
1GB is certainly pretty small for the JVM world, if you’re thinking of running multiple apps / sites as separate JVM processes. However, there are several ways around that. It’s common in the JVM world to have a single “web server” process load and run multiple “web applications”. A servl

The 1st interactive om.next tutorial

2017-01-03 Thread Yehonathan Sharvit
http://read.klipse.tech/om-next-interactive-tutorial/ -- 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 pos

Re: Deploying multiple Clojure apps on one server using Reagent, Nginx, and Supervisor (Solved)

2017-01-03 Thread Seth Archambault
Haha thanks for pointing that out - I mispoke - 1024 mb of ram - 1 gig of ram. Using a $10 a month Vultr account. 1000 gigs would be a tad expensive! On Monday, January 2, 2017 at 8:27:19 PM UTC-5, William la Forge wrote: > > Seth, something seems amiss. 1,000 GB is 1,000,000 MB. At 84 mb per jar

Re: maven-shade-plugin issues with Clojure core (or any clj) AOT compilation

2017-01-03 Thread Mike Rodriguez
Thanks for the feedback. I will try to track this issue via the maven-shade-plugin then. Hopefully there can be some momentum to change it there. On Saturday, December 31, 2016 at 12:09:32 PM UTC-5, Alex Miller wrote: > > This seems like a pretty straightforward bug with maven-shade-plugin not

Re: Order preservation and duplicate removal policy in `distinct`

2017-01-03 Thread Mike Rodriguez
Thanks for the feedback Alex. As far as: > If you wanted to file a jira on anything here, a jira to add a line to the doc string stating that the first duplicate is kept would be the only thing possibly worth doing. I'll get one logged then. On Saturday, December 31, 2016 at 12:05:16 PM UTC-

[core.logic] - why doesnt ITake/take* implementation always return a seqable?

2017-01-03 Thread Paulo César Cuneo
I was hacking around with core.logic, trying to implement a "bind var in sub process". So that this this succeeds: (run [q] (fresh[a] (runsub [q] ;; will "export 'q" or "bind 'q in caller context" [(== a 1) (== q 1)]) ;; 'a will be bound only inside this

Re: Destructing lists using &keys -> Difference between '(:opt1 true) and [:opt1 true]

2017-01-03 Thread skuro
It all boils down to the fact that vectors are not seqs. If you macroexpand: user> > (macroexpand '(let [{:keys [opt1]} [:opt1 true]] [opt1])) (let* [map__22659 [:opt1 true] map__22659 (if (clojure.core/seq? map__22659) (clojure.lang.PersistentHashMap/create (clojure

Re: [ANN] Clojure 1.9.0-alpha6

2017-01-03 Thread mattias w
*Please make stest/instrument check :ret too, not only :args.* I have been experimenting a lot with spec during December, and I really like it. On the downside, the syntax is very verbose, compared to prismatic schema. However, reuse is much simpler than for schemas. I disagree with this decisi