Re: Incanter rendering a blank window

2015-03-28 Thread Bill Piel
This worked for me: *export _JAVA_AWT_WM_NONREPARENTING=1* source: https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console On Sunday, March 29, 2015 at 12:48:56 AM UTC-4, Bill Piel wrote: > > I tried floating/tiling, hide/showing and res

Re: Incanter rendering a blank window

2015-03-28 Thread Bill Piel
I tried floating/tiling, hide/showing and resizing, but no luck. Switching into unity DID work though. At least I know I'm not the only one with this problem. Thanks for the clue. On Sunday, March 29, 2015 at 12:07:25 AM UTC-4, Justin Smith wrote: > > I've had issues with JVM GUIs and tiling win

Re: Incanter rendering a blank window

2015-03-28 Thread Justin Smith
I've had issues with JVM GUIs and tiling window managers, sometimes floating and then tiling the window (or even hiding/ showing the window, or resizing) will make the contents show up. I don't know if there is an application level fix for this, and I'm not sure whether it should be considered

Incanter rendering a blank window

2015-03-28 Thread Bill Piel
I decided to try out incanter. Following the instructions, I ran this in the repl: *user=> (view (histogram (sample-normal 1000)))* A blank, grey window popped up. I can right-click and save it to a png. The png shows the graph as expected. I get the same results for other commands. I googled

Re: Some guidance on how to write good property tests with test.check?

2015-03-28 Thread andrea crotti
I think this is almost borderline to be too trivial to test, and definitively rewriting the same logic in the test is normally not a good idea.. I would just consider on some simple cases and on the the corner cases. For example: (is (false (valid-vector? {:vec []})) (is (true (valid-vector? {:ve

Re: [ANN][book] Clojure Reactive Programming

2015-03-28 Thread Brian Guthrie
Congratulations Leo! Folks, I had an opportunity to read some advance chapters and it looked great even then. I'm really looking forward to reading the whole thing. Well done. On Tue, Mar 24, 2015 at 10:25 AM, Leonardo Borges < leonardoborges...@gmail.com> wrote: > Hi all, > > Some of you may kno

Debugging in CIDER

2015-03-28 Thread Bozhidar Batsov
Hey everyone, Just wanted to let you know that the most requested feature for CIDER (a debugger, in case you're wondering) has just landed in the master branch ( https://github.com/clojure-emacs/cider/pull/1019#issuecomment-87240470). The new CIDER debugger is inspired by edebug (Emacs's own debu

Re: Some guidance on how to write good property tests with test.check?

2015-03-28 Thread Juvenn Woo
Hi John, since it's a simple predicate, we can test what cases will result true, and what false. E.g. : (is (false (valid-vector? [])) (is (false (valid-vector? [:a])) (is (false (valid-vector? [1])) (is (true (valid-vector? [:a 1])) Practically, I do feel it's a bit unnecessary to use test.chec

Re: [ANN][book] Clojure Reactive Programming

2015-03-28 Thread Leonardo Borges
I promise this was no marketing stunt! Not a planned one anyway :p On 27/03/2015 11:35 pm, "Jeremy Heiler" wrote: > Congrats, Leonardo! > > On Tue, Mar 24, 2015 at 10:25 AM, Leonardo Borges < > leonardoborges...@gmail.com> wrote: > >> Hi all, >> >> Some of you may know that I have been working o

Re: test.check :autotest ?

2015-03-28 Thread Juvenn Woo
In addition to lein-autotest plugin, there's also lein-auto that'll continuously reload your code and run your test. Generally, you'll find plentiful other plugins on leiningen's plugin wiki of GitHub: https://github.com/technomancy/leiningen/wiki/Plugins Best, — Sent from Mailbox On Mon,