Raynes' legacy

2017-02-24 Thread James Laver
I'm pleased we've dealt with a new maintainer for a couple of Raynes' modules, but Raynes contributed a lot of things and half the community depends on one or more of his modules at this point. My current focus is tentacles, which has been gathering issues and PRs recently and is something I'm

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread Rangel Spasov
Forgot to add: this is my :compiler settings map. {:output-to "index.ios.js" :main "env.ios.main" :output-dir "target/ios" :static-fns true :optimize-constants true :parallel-build true ;:pretty-print true ;:pseudo-names true

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread Rangel Spasov
Hey guys, I'm getting this error. It seems that it's happening inside the transpiled core.async sources. The error carrot at line 1444 points at the semicolon, pretty strange. Feb 24, 2017 8:38:19 PM com.google.javascript.jscomp.LoggerErrorManager println SEVERE:

Re: [ANN] Odin 0.2.0 - Query DSL for Clojure

2017-02-24 Thread Timothy Baldridge
It's in the QA in the readme, but specter only queries a single path through the data. Odin supports relations, joins, recursive rules, tabling, etc. Currently Specter will probably perform a bit better, but I hope to close that gap in the future. Timothy On Fri, Feb 24, 2017 at 5:10 PM Didier

Re: ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread David Nolen
Just cut 1.9.494 to back out some macros that were made unintentionally private. On Fri, Feb 24, 2017 at 4:47 PM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code:

Re: [ANN] Odin 0.2.0 - Query DSL for Clojure

2017-02-24 Thread Didier
How does this compare to Specter? On Thursday, 23 February 2017 13:34:16 UTC-8, Alan Thompson wrote: > > Just came across this - it looks very cool! > Alan > > On Sat, Dec 10, 2016 at 7:14 AM, Timothy Baldridge > wrote: > >> I just released the first official version of

Re: How can I re-order rows in a table (hiccup)?

2017-02-24 Thread James Reeves
Generally you'd approach the problem by using an intermediate structure. For example: (def data {:headers [:color :size] :rows[{:color "blue", :size 4} {:color "red", :size 2} {:color "green", :size 7}]) Then you could build a function that

Re: How can I re-order rows in a table (hiccup)?

2017-02-24 Thread Gary Trakhman
Generally it's easier to sort the data before it gets put into hiccup table formatting. Is there any reason not to? On Feb 24, 2017 5:41 PM, "John Gabriele" wrote: > I'm using hiccup, and I'd like to build a table, but then have the option > to re-order it (sort its rows by a

How can I re-order rows in a table (hiccup)?

2017-02-24 Thread John Gabriele
I'm using hiccup, and I'd like to build a table, but then have the option to re-order it (sort its rows by a column of my choosing). I want a `sort-table-by` function. That is, if I've got Color Size -- red 2 green 7 blue4 (or, as a data structure: `(def tbl [:table

ANN: ClojureScript 1.9.493, another bugfix release

2017-02-24 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript "1.9.493"] This is a bugfix release. As always, feedback welcome! ### Fixes * CLJS-1948:

Re: how to send SSL certificate in POST request?

2017-02-24 Thread mascip
Nice :-) Under the hood it uses (puppetlabs.http.client.common/make-request) . I found the definition of the protocol, but not the actual implementation of make-request . Well, that doesn't matter so much, now I've got something that works! Thank you again -- Pierre Masci On 24 February 2017

Re: how to send SSL certificate in POST request?

2017-02-24 Thread Kevin Corcoran
On Thu, Feb 23, 2017 at 5:11 PM, mascip wrote: > Amazing, thank you James, thank you Micheal, it works! > > In Perl things are often pretty complex, but in this specific case the > code is dead easy: > > my $client = REST::Client->new( > cert => '/path/to/ssl.cert', > key

Re: Prgram uses a lot of swap

2017-02-24 Thread Timothy Baldridge
What are the JVM memory settings set at? And how much physical memory does the box have? Timothy -- 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

Prgram uses a lot of swap

2017-02-24 Thread Cecil Westerhof
Some time ago a wrote a simple program. It uses the H2 database and seesaw. It mostly sits idle, but from time to time I use it to fetch info from the database. I start it with: lein run It uses up quite a bit of swap. It is now running for a little longer as a week. The lein run process uses