Re: Inside Clojure Journal

2019-02-22 Thread Karel Miarka
+1 I really appreciate this blog more and more. I is great to know that Clojure is vitally evolving and to have idea about is direction. Much appreciated, thanks Alex! On Wednesday, January 30, 2019 at 6:03:24 AM UTC+1, Shaun Parker wrote: > > I just wanted to say thanks to Alex for taking the

Re: What does "Map literal must contain an even number of forms" mean?

2016-12-05 Thread Karel Miarka
(hash-map :a 1 :b 2) is equivalent of {:a 1 :b 2} so this will work: {:c "Turd" :d "More Turd"} On Sunday, December 4, 2016 at 10:03:04 PM UTC+1, bill nom nom wrote: > > ;; This works, > (hash-map :a 1 :b 2 ) > > > ;; Here's another way to create a hash map, this won't work because map > ;;

Re: [ANN] (:brno clojure) - new Clojure focused meetup group in Brno, Czech Republic

2016-11-18 Thread Karel Miarka
The location has changed. We are going to meet in a pub: Restaurace Zlatý Grál <https://maps.google.com/maps?f=q=en=K%C5%99enov%C3%A1+66%2C+Brno%2C+cz> , Křenová 66, Brno On Friday, November 4, 2016 at 4:57:26 PM UTC+1, Karel Miarka wrote: > > Hi, > > if you are interested, fe

[ANN] (:brno clojure) - new Clojure focused meetup group in Brno, Czech Republic

2016-11-04 Thread Karel Miarka
Hi, if you are interested, feel free to join us at https://www.meetup.com/brno-clojure/ . Our first meetup is scheduled on Wednesday, November 30, 2017 at 18:15 in Impact Hub Brno, Cyrilska 7 . Everyone is welcome! Karel -- You received this message because you are subscribed to the Google

Re: Is Pallet abandoned? Alternatives?

2016-10-03 Thread Karel Miarka
I'm very happy with Ansible https://github.com/ansible/ansible (it is not Ansible Tower = their commercial product). You need only ssh server on the controled machine, no state, idempotent execution. -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Current Cider SNAPSHOT not working??

2015-11-28 Thread Karel Miarka
Thanks Alexander, all the warnings disappeared by adding the :nrepl-middleware key to the :figwheel section! On Friday, November 27, 2015 at 10:39:27 PM UTC+1, alexander adhyatma wrote: > > you need to add com.cemerick/piggieback to the project.clj (dependency > section) as well as adding

Re: Current Cider SNAPSHOT not working??

2015-11-28 Thread Karel Miarka
Thanks Bozhidar for pointing out the link. There is a lot of new interesting information. I feel it is time to dig into my project.clj generated a few months ago and think about the new recommended workflow. On Saturday, November 28, 2015 at 5:51:57 PM UTC+1, Bozhidar Batsov wrote: > > Did you

Re: Current Cider SNAPSHOT not working??

2015-11-27 Thread Karel Miarka
The plugins were pulled, cider namespace required, everything is OK when I connect from Cider to "lein repl". Works fine in both spacemacs and prelude. Both cider & refactor middleware warnings occur only in spacemacs when I start "lein figwheel" with nREPL as I'm used to. In prelude there was

Current Cider SNAPSHOT not working??

2015-11-26 Thread Karel Miarka
I have just installed a new box and cannot make Cider working with Spacemacs nor Prelude. When I open a .clj file I notice this in *Messages*: *Eager macro-expansion failure: (error "Unknown upattern `(quote request)'")* Then I try to connect to nREPL server C-c M-c and the REPL is not

Re: Current Cider SNAPSHOT not working??

2015-11-26 Thread Karel Miarka
Thanks a lot. But whatever I do, I cannot get rid of the warnings: ; CIDER 0.10.0snapshot (package: 20151125.1430) (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.12) WARNING: The following required nREPL ops are not supported: apropos classpath complete eldoc format-code format-edn info inspect-pop

Re: Immediate streaming of shell cmd stdout to a browser

2015-09-25 Thread Karel Miarka
I'm not sure. I just run some thing like this inside build.sh: git pull lein clean lein uberjar cp target/xyz.jar ~/builds/ -- 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

Re: Immediate streaming of shell cmd stdout to a browser

2015-09-25 Thread Karel Miarka
I'm not sure. I just run some thing like this inside build.sh: #!/bin/bash git pull lein clean lein uberjar cp target/xyz.jar ~/builds/ -- 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

Immediate streaming of shell cmd stdout to a browser

2015-09-24 Thread Karel Miarka
Hi, I want to run a long running bash script from a webapp and see it's continuous results on the page. I use conch to get the process' output stream and use this simple ring handler: (defn handler [req] (response/response (let [p (sh/proc "/home/xyz/build.sh")]